Refine audio downmix to ITU standards

This commit is contained in:
Trevor Mears
2026-01-17 03:31:33 -08:00
parent de7d28d3bc
commit 9919975663
+3 -2
View File
@@ -227,8 +227,9 @@ class TranscodeSession extends EventEmitter {
'-c:a', 'aac', '-c:a', 'aac',
'-ar', '48000', '-ar', '48000',
'-b:a', '192k', '-b:a', '192k',
// Smart Stereo Downmix (NetV Style): Boosts dialogue (FC) and preserves LFE // Smart Stereo Downmix (ITU-R BS.775 Standard + LFE):
'-af', 'pan=stereo|FL=FC+0.30*FL+0.30*BL|FR=FC+0.30*FR+0.30*BR,aresample=async=1' // Balanced mix: FL/FR=100%, FC=70% (Unity), Surrounds=70%, LFE=50%
'-af', 'pan=stereo|FL=FL+0.707*FC+0.707*BL+0.5*LFE|FR=FR+0.707*FC+0.707*BR+0.5*LFE,aresample=async=1'
); );
// HLS output options // HLS output options