Replaced deprecated ffmpeg -vsync with -fps_mode

This commit is contained in:
Trevor Mears
2026-01-01 00:47:55 -08:00
parent 54cedd197b
commit 218757c6c3
+1 -1
View File
@@ -44,7 +44,7 @@ router.get('/', (req, res) => {
'-b:a', '256k', // Increased for surround sound
'-af', 'aresample=48000:async=1',
// Handle timestamp discontinuities at output
'-vsync', 'passthrough',
'-fps_mode', 'passthrough',
'-max_muxing_queue_size', '1024',
// Fragmented MP4 for streaming (browser-compatible)
'-f', 'mp4',