[FFmpeg-user] Reversed order of video audio after audio merging (0:0 audio, 0:1 video)
Christoph Gerstbauer
christophgerstbauer at gmail.com
Tue May 27 12:20:13 CEST 2014
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"
ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Apr 11 2014 00:32:01 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-li
bass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopenco
re-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidst
ab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs
--enable-libxvid --enable-zlib
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
[mxf @ 000000000272b240] invalid KAGSize 0 - guessing 1
[mxf @ 000000000272b240] invalid KAGSize 0 - guessing 1
[mxf @ 000000000272b240] Field dominance 0 support is not implemented.
Update your FFmpeg version to the newest one from Git. If the problem
still occurs, it means that your file h
as a feature which has not been implemented.
[mxf @ 000000000272b240] If you want to help, upload a sample of this
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the
ffmpeg-devel mailing list.
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Guessed Channel Layout for Input Stream #0.5 : mono
Guessed Channel Layout for Input Stream #0.6 : mono
Guessed Channel Layout for Input Stream #0.7 : mono
Guessed Channel Layout for Input Stream #0.8 : mono
Input #0, mxf, from 'I:\New folder (2)\IMX_8ch_mono.mxf':
Metadata:
uid : ea9fda7d-6041-e311-bd2a-98fe944f6c6c
generation_uid : d4a1da7d-6041-e311-8b25-98fe944f6c6c
company_name : Omneon Inc.
product_name : Omneon Media Subsystem
modification_date: 2013-10-30 12:40:43
product_version : Omneon libommedia 7,3,0,2 10-01-2013
16:01:28,ex={0,-1},rng={0,-1,0},trimAu,exPre
application_platform: Omneon Media Api (mach)
product_uid : 00000000-0000-0010-8000-050e0b010606
timecode : 00:00:00:00
Duration: 00:00:11.40, start: 0.000000, bitrate: 59390 kb/s
Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv), 720x608 [SAR
152:135 DAR 4:3], max. 50000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:5: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:6: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:7: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:8: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
[Parsed_amerge_0 @ 000000000282ff20] No channel layout for input 1
[Parsed_amerge_0 @ 000000000282ff20] Input channel layouts overlap:
output layout will be determined by the number of distinct input channels
Output #0, avi, to 'I:\New folder (2)\IMX_8ch_mono.avi':
Metadata:
uid : ea9fda7d-6041-e311-bd2a-98fe944f6c6c
generation_uid : d4a1da7d-6041-e311-8b25-98fe944f6c6c
company_name : Omneon Inc.
product_name : Omneon Media Subsystem
modification_date: 2013-10-30 12:40:43
product_version : Omneon libommedia 7,3,0,2 10-01-2013
16:01:28,ex={0,-1},rng={0,-1,0},trimAu,exPre
application_platform: Omneon Media Api (mach)
product_uid : 00000000-0000-0010-8000-050e0b010606
ISMP : 00:00:00:00
ISFT : Lavf55.33.100
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz,
7.1, s32, 9216 kb/s (default)
Stream #0:1: Video: ffvhuff (FFVH / 0x48564646), yuv422p, 720x608
[SAR 608:405 DAR 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream mapping:
Stream #0:1 (pcm_s24le) -> amerge:in0 (graph 0)
Stream #0:2 (pcm_s24le) -> amerge:in1 (graph 0)
Stream #0:3 (pcm_s24le) -> amerge:in2 (graph 0)
Stream #0:4 (pcm_s24le) -> amerge:in3 (graph 0)
Stream #0:5 (pcm_s24le) -> amerge:in4 (graph 0)
Stream #0:6 (pcm_s24le) -> amerge:in5 (graph 0)
Stream #0:7 (pcm_s24le) -> amerge:in6 (graph 0)
Stream #0:8 (pcm_s24le) -> amerge:in7 (graph 0)
amerge (graph 0) -> Stream #0:0 (pcm_s24le)
Stream #0:0 -> #0:1 (mpeg2video -> ffvhuff)
Press [q] to stop, [?] for help
frame= 285 fps=0.0 q=0.0 Lsize= 171104kB time=00:00:11.40
bitrate=122954.8kbits/s
video:158256kB audio:12825kB subtitle:0 data:0 global headers:0kB muxing
overhead 0.013532%
More information about the ffmpeg-user
mailing list