I have an NTSC 50Mbit D10 MXF file. First 50MB here:
http://lists.lpb.org/ffmbc/input.mxf
It has a single, four-channel audio track (pcm_s16le). When imported
into Media Composer 3.5.4, it only plays the second audio channel (3
and 4 are empty, so I'm not sure if they are correct). Video is
fine. The file plays all four channels correctly on an Omneon when
set to eVTR playback.
The original file is 3GB (there are 2TB total actually). I don't have
any smaller files to post, unfortunately, and this 50MB sample won't
actually import into Avid either (headers think it's still six-minute
clip) so I don't know how useful it will be for testing. Anyway, here
are the things I've tried:
Remux to another MXF file with:
ffmbc -i input.mxf -vcodec copy -acodec pcm_s16le -map_audio_channel
0:1:0:0:1:0 -map_audio_channel 0:1:1:0:2:0 -map_audio_channel
0:1:2:0:3:0 -map_audio_channel 0:1:3:0:4:0 -f mxf output.mxf -newaudio
-newaudio -newaudio
Fails to import in Avid: "Can not import this file into a bin. See
the documentation for more information about transferring media
files."
Trying a simple
ffmbc -i input.mxf -vcodec copy -acodec copy -f mxf output.mxf
Fails with the same error as above.
ffmbc -i input.mxf -vcodec copy -acodec copy -f mxf_d10 output.mxf
Fails to import, but the Avid gives a different error: "This import
file has invalid width/height"
So I fall back to trying Quicktime:
ffmbc -i input.mxf -vcodec copy -acodec pcm_s16le -vtag mx5n -vbsf
imxdump output.mov
ffmbc -i input.mxf -vcodec copy -acodec pcm_s16le -vtag AVmn -vbsf
imxdump output.mov
ffmbc -i input.mxf -vcodec copy -acodec pcm_s16le -vbsf imxdump
output.mov
All three of these import and produce correct audio, but the video is
solid white. This is what usually happens when Quicktime barfs on the
input. Wrong -vtag?
Am I missing something? Using -f mxf_d10 seems the closest. Maybe a
PAL/NTSC mismatch/assumption somewhere?
This is the debug info for input.mxf:
FFmpeg version SVN-r20416, Copyright (c) 2000-2009 Fabrice Bellard, et
al.
built on Oct 30 2009 04:05:33 with gcc 4.2.4
configuration: --enable-memalign-hack --prefix=/mingw --cross-
prefix=i686-mingw32- --cc=ccache-i686-mingw32-gcc --target-os=mingw32
--arch=i686 --cpu=i686 --enable-avisynth --enable-gpl --enable-
version3 --enable-zlib --enable-bzlib --enable-libgsm --enable-libfaad
--enable-pthreads --enable-libvorbis --enable-libtheora --enable-
libspeex --enable-libmp3lame --enable-libopenjpeg --enable-libxvid --
enable-libschroedinger --enable-libx264 --enable-libopencore_amrwb --
enable-libopencore_amrnb
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.37. 1 / 52.37. 1
libavformat 52.39. 2 / 52.39. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
[NULL @ 0x3ee030]Probed with size=2048 and score=100
[mxf @ 0x3ee030]MAX_READ_SIZE:5000000 reached
Seems stream 0 codec frame rate differs from container frame rate:
59.94 (60000/1001) -> 29.97 (30000/1001)
Input #0, mxf, from 'input.mxf':
Duration: 00:06:57.15, start: 0.000000, bitrate: 1005 kb/s
Stream #0.0, 1001/30000: Video: mpeg2video, yuv422p, 720x512 [PAR
128:135 DAR 4:3], 1001/60000, 50000 kb/s, 29.97 tbr, 29.97 tbn, 59.94
tbc
Stream #0.1, 1001/30000: Audio: pcm_s16le, 48000 Hz, 4 channels,
s16, 3072 kb/s
Output #0, null, to '/dev/null':
Stream #0.0, 1/90000: Video: rawvideo, yuv422p, 720x512 [PAR
128:135 DAR 4:3], 1001/30000, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
Stream #0.1, 1/90000: Audio: pcm_s16le, 48000 Hz, 4 channels, s16,
3072 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0x1988330]vbv buffer: 9437184, bitrate:50000000
[mpeg2video @ 0x1988330]profile: 0, level: 5 vbv buffer: 9437184,
bitrate:50000000
[mpeg2video @ 0x1988330]sde w:720, h:512
[mpeg2video @ 0x1988330]GOP ( 0:00:05.[05]) closed_gop=1 broken_link=0
[mpeg2video @ 0x1988330]vbv_delay 3003, ref 0 type:1
[mpeg2video @ 0x1988330]qp:2 fc:15151515 I dc:2 pstruct:3 fdct:0
cmv:0 qtype:1 ivlc:1 rff:0
[mpeg2video @ 0x1988330]vbv buffer: 9437184, bitrate:50000000
[mpeg2video @ 0x1988330]profile: 0, level: 5 vbv buffer: 9437184,
bitrate:50000000
[mpeg2video @ 0x1988330]sde w:720, h:512
[mpeg2video @ 0x1988330]GOP ( 0:00:05.[06]) closed_gop=1 broken_link=0
[mpeg2video @ 0x1988330]vbv_delay 3003, ref 0 type:1
[mpeg2video @ 0x1988330]qp:1 fc:15151515 I dc:2 pstruct:3 fdct:0
cmv:0 qtype:1 ivlc:1 rff:0
Also there are way too many people named Phil/Phill/Phillip on this
list.