From 5bb0629de29a5aa96df31813b53adc4b77047d4a Mon Sep 17 00:00:00 2001 From: Trevor Mears Date: Tue, 6 Jan 2026 20:16:20 -0800 Subject: [PATCH] Changed transcode ffmpeg flags --- server/routes/transcode.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/routes/transcode.js b/server/routes/transcode.js index 16182a4..969730d 100644 --- a/server/routes/transcode.js +++ b/server/routes/transcode.js @@ -46,13 +46,12 @@ router.get('/', (req, res) => { '-c:v', 'copy', // Audio: Transcode to browser-compatible AAC '-c:a', 'aac', - '-ac', '2', // Downmix to stereo (fixes 5.1 surround issues) '-ar', '48000', '-b:a', '192k', // Handle async audio/video using async filter '-af', 'aresample=async=1:min_hard_comp=0.100000:first_pts=0', // Timestamp handling - '-vsync', 'passthrough', + '-fps_mode', 'passthrough', '-async', '1', '-max_muxing_queue_size', '2048', // Fragmented MP4 for streaming (browser-compatible)