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

tim nicholson nichot20 at yahoo.com
Tue May 27 14:30:09 CEST 2014


On 27/05/14 11:20, Christoph Gerstbauer wrote:
> Hello,
> 
> I have multiple MXF files where first track is video and followed tracks
> are audio which have to me merged to one audio output stream:
> e.g.: Inputfile has
> 0:0 video
> 0:1 audio
> 0:2 audio
> 0:3 audio
> 0:4 audio
> 
> When I merge the multiple audio channel from an MXF file to one audio
> output stream I get following:
> 
> 0:0 audio
> 0:1 video
> 
> How can I force that ffmpeg outputs always a video file where the video
> stream is on first place (0:0)?
> 
> Best Regards
> Christoph
> 
> Commandline output:
> 
> ffmpeg -i "I:\New folder (2)\IMX_8ch_mono.mxf" -f avi -codec:v ffvhuff
> -strict experimental -codec:a pcm_s24le -vf "setdar=16/9,setfield=tff"
> -filter_complex "amerg
> e=inputs=8" -map 0 "I:\New folder (2)\IMX_8ch_mono.avi"
> [..]

try -map 0:v -map 0:a instead of -map 0, this should force the order.

-- 
Tim



More information about the ffmpeg-user mailing list