feat: add subtitle extraction and display for MKV/container streams

This commit is contained in:
Trevor Mears
2026-01-10 12:35:39 -08:00
parent 346a0519e9
commit 8d36a2c07e
6 changed files with 96 additions and 1 deletions
+1
View File
@@ -25,6 +25,7 @@ router.get('/', (req, res) => {
const args = [
'-hide_banner',
'-loglevel', 'warning',
'-user_agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36',
// Faster startup - reduced probe/analyze for quicker first bytes
'-probesize', '2000000', // 2MB (reduced from 5MB)
'-analyzeduration', '3000000', // 3 seconds (reduced from 10s)