Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Moderator
![]() Join Date: Feb 2005
Location: Spain
Posts: 6,090
|
ffmpeg downmix 7.1 -> 5.1
The simple way to do the downmix 7.1 -> 5.1 is:
Code:
ffmpeg -i INPUT71 -af "pan=5.1(side)|FL=FL|FR=FR|FC=FC|LFE=LFE|SL=0.5*BL+0.5*SL|SR=0.5*BR+0.5*SR" OUT51.wav Then I make a separated chain for the surround channels with: Code:
ffmpeg -i INPUT71 -filter_complex "asplit [f][s]; \ [f] pan=4c|c0=c0|c1=c1|c2=c2|c3=c3 [r]; \ [s] pan=2c|c0=0.5*c4+0.5*c6|c1=0.5*c5+0.5*c7, \ acontrast=2, aformat=sample_fmts=s16:channel_layouts=stereo [d]; \ [r][d] amerge=inputs=2,pan=5.1(side) [a]" -map "[a]" OUT51.wav Only the previous command work without errors, the output wav have the format, length, ... correct, but is empty. I only obtain silence. Please, there are some ffmpeg guru than can help me.
__________________
BeHappy, AviSynth audio transcoder. Last edited by tebasuna51; 15th July 2020 at 01:26. Reason: typo |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|