[FFmpeg-user] Reversed order of video audio after audio merging (0:0 audio, 0:1 video)

tim nicholson nichot20 at yahoo.com
Thu May 29 10:22:24 CEST 2014


On 28/05/14 11:30, Christoph Gerstbauer wrote:
> Am 27.05.2014 17:59, schrieb tim nicholson:
>> On 27/05/14 14:19, Christoph Gerstbauer wrote:
>>> Hello Eugen,
>>>
>>> this is the falling command line:
>>>
>>> ffmpeg -i "I:\IMX_8ch_mono.mxf" -f avi -codec:v ffvhuff -strict
>>> experimental -codec:a pcm_s24le -vf "setdar=16/9,setfield=tff"
>>> -filter_complex "amerge=inputs=8" -map 0:v -map 0:a
>>> "I:\IMX_8ch_mono.avi"
>> try moving the maps earlier (say immediately after the input file.)
> 
> That does not work too.
> 

I suspect that Nicolas has hit upon the solution then, the implicit
output pad is obviously overriding the stream order.

something like:-
... -filter_complex "amerge=inputs=8 [a_out]" -map 0:v -map [a_out]

should do it.
> _[..]


More information about the ffmpeg-user mailing list