MXF file validation help

962 views
Skip to first unread message

Baptiste Coudurier

unread,
Oct 14, 2011, 11:38:31 AM10/14/11
to ffmbc-...@googlegroups.com, ffmb...@googlegroups.com
Hey all,

I would like to ask for help with testing the MXF files created by FFmbc
against all applications supporting MXF like Avid Media Composer, Adobe
Premiere, Sony Vegas, and any equipment like Omneon, Grass Valley, etc..

Files created using:
- IMX: -target imx50 or -target imx30
- XDCAMHD422: -target xdcamhd422
- DVCPROHD: -vcodec dvvideo -pix_fmt yuv422p -s 1440x1080 (50i) or -s
1280x1080 (60i)
- DVCPRO50: -vcodec dvvideo -pix_fmt yuv422p -s 720x576 or -s 720x480
- DVCPRO25: -vcodec dvvideo -pix_fmt yuv411p -s 720x576 or -s 720x480
- DVCAM: -vcodec dvvideo -pix_fmt yuv420p -s 720x576 or -s 720x480

I'll add targets for DV in the next release.

The goal here is to achieve maximum compatibility.

Any help would be appreciated. Thanks a lot.

--
Baptiste COUDURIER
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org

Agustin Goya

unread,
Oct 14, 2011, 11:48:50 AM10/14/11
to ffmbc-...@googlegroups.com
Hi Baptiste, what ffmbc version you need to test, I'm running 0.6.1 and can test in an Omneon mediaDeck, and Media Composer if you want.
Do you have any video to test or you want me to use any video I have?
Cheers.

Agustin Goya
WANCAMP | POST
+54-11-6545-2427
http://www.wancamp.com.ar/
http://www.linkedin.com/in/agustingoya/
http://www.imdb.com/name/nm2339496/

emilianob

unread,
Oct 14, 2011, 5:12:14 PM10/14/11
to ffmbc-discuss
Hi, Baptiste. I'm running the FFmbc version 0.7-rc1 and when I try to
run this command: "ffmbc -i PE-IMX50.mxf -target imx30 PE-IMX30.mxf"
the result is Segmentation fault (core dumped). If you want I send to
you the core file. I can't test in Avid Media Composer, Interra Baton,
XDCAM.

Best Regards
Emiliano Billi

Baptiste Coudurier

unread,
Oct 14, 2011, 5:41:42 PM10/14/11
to ffmbc-...@googlegroups.com
Hi,

Well, could you please use 0.7-rc3 ? And try to reproduce ?

Thanks.

--
Baptiste COUDURIER
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org

emilianob

unread,
Oct 14, 2011, 6:01:32 PM10/14/11
to ffmbc-discuss
Yes, of course... I'm going to compile this version. And sorry I want
say "I CAN test in Avid Media Composer, Interra Baton, XDCAM Player"

EB

On 14 oct, 18:41, Baptiste Coudurier <baptiste.coudur...@gmail.com>
wrote:

emilianob

unread,
Oct 15, 2011, 12:01:10 PM10/15/11
to ffmbc-discuss
Hi, I have the same problem when try to export imx30 (Segmentation
Fault), not when try to export imx50. I using 0.7-rc3 in a Suse 11
64bits.

Command line to configure: ./configure --enable-gpl --disable-yasm

Thanks
EB

Baptiste Coudurier

unread,
Oct 16, 2011, 4:27:33 AM10/16/11
to ffmbc-...@googlegroups.com
Hi,

Can you please upload your file somewhere so I can try to reproduce ?

Thanks.

--
Baptiste COUDURIER
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org

Robert Krüger

unread,
Oct 17, 2011, 7:10:14 AM10/17/11
to ffmbc-...@googlegroups.com

Adobe Premiere Pro CS 5.5 imports all mxf files but dvcpro50 and dvcprohd. Those two files are rejected with an error that would translate to "unknown format or damaged file". ffplay plays both files. I only tested with one 25 fps clip.

emilianob

unread,
Oct 17, 2011, 9:46:43 AM10/17/11
to ffmbc-discuss
In Avid Media Composer: Can import IMX50 and XDCamHD. Link AMA file
only IMX50 don't with XDCamHD. Error: Failed to get the sample
temporal offset from AMA Plug-in.

Baptiste Coudurier

unread,
Oct 17, 2011, 12:16:40 PM10/17/11
to ffmbc-...@googlegroups.com
Hi Robert,

Thanks a lot. Do you know if premiere supports DV50 and DVHD ?

--
Baptiste COUDURIER
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org

Baptiste Coudurier

unread,
Oct 17, 2011, 12:18:05 PM10/17/11
to ffmbc-...@googlegroups.com
Hi,

Humm, that's weird. I suspect it works with an original xdcam hd sample,
right ?

Best

--
Baptiste COUDURIER
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org

Robert Krüger

unread,
Oct 18, 2011, 3:44:05 AM10/18/11
to ffmbc-...@googlegroups.com

Hi Baptiste,

the manual lists the Panasonic Op atom MXF variant with the formats DV, DVCPRO, DVCPRO 50, DVCPRO HD as supported.

Guillermo Bertossi

unread,
Oct 18, 2011, 8:26:02 PM10/18/11
to ffmbc-...@googlegroups.com, ffmb...@googlegroups.com
All tests in NTSC / 59,94i:
ffmbc 0.7rc3
SD Source Quicktime DV25 - Stereo audio
HD Source MXF XDCAMHD422 1080i - 8 audio tracks
MacOS X 

* IMX30:
- ffmbc Segmentation fault error

* IMX50:
- Plays back correctly on Sony XDCAM Viewer
- Avid MC 5.0.3 imported ok
- Avid MC 5.0.3 AMA Link ok
- Adobe Premiere CS5 imports ok

* XDCAMHD422 (-target xdcamhd422) :
- Scan type says "Progressive" in mediainfo (even if source is interlaced)
- Only has 1 audio channel in 16 bits
- Crashes Sony XDCAM Viewer
- Avid MC 5.0.3 imported ok
- Avid MC 5.0.3 AMA Link error "Failed to get the sample temporal offset from AMA plug-in" 
- Adobe Premiere CS5 imports ok

* XDCAMHD422 (-target xdcamhd422 -acodec pcm_s24le -map_audio_channel 0:1:0:0:1 -map_audio_channel 0:2:0:0:2 outxdcamhd24bits.mxf -acodec pcm_s24le -newaudio)
- Scan type says "Progressive"
- Plays back correctly in Sony XDCAM Viewer (metadata says 29,97p)
- Avid MC 5.0.3 imported ok
- Avid MC 5.0.3 AMA Link error "Failed to get the sample temporal offset from AMA plug-in" 
- Adobe Premiere CS5 imports ok

* DV25:
- Avid MC 5.0.3 import error: XDCAMHiresAudioImportReader::LocateSamples - Sample Miscalculation
- Avid MC 5.0.3 AMA Link fails and crashes
- Adobe Premiere CS5 imports but audio plays back "in slow motion"

* DV50:
- Avid MC 5.0.3 import error: XDCAMHiresAudioImportReader::LocateSamples - Sample Miscalculation
- Avid MC 5.0.3 AMA Link fails and crashes
- Adobe Premiere CS5 imports as audio only

* DVCAM:
- ffmbc error: [dvvideo @ 0x101009400] Found no DV profile for 720x480 yuv420p video

I hope it helps,
Guillermo

Baptiste Coudurier

unread,
Oct 18, 2011, 8:43:12 PM10/18/11
to ffmbc-...@googlegroups.com, ffmb...@googlegroups.com
Hi Guillermo,

Thanks a lot for the extensive testing ! I really appreciate it.

On 10/18/2011 05:26 PM, Guillermo Bertossi wrote:
> All tests in NTSC / 59,94i:
> ffmbc 0.7rc3
> SD Source Quicktime DV25 - Stereo audio
> HD Source MXF XDCAMHD422 1080i - 8 audio tracks
> MacOS X
>
> * IMX30:
> - ffmbc Segmentation fault error

Yes, will be fixed in rc4 due to yesterday ;)

> * IMX50:
> - Plays back correctly on Sony XDCAM Viewer
> - Avid MC 5.0.3 imported ok
> - Avid MC 5.0.3 AMA Link ok
> - Adobe Premiere CS5 imports ok

Good

> * XDCAMHD422 (-target xdcamhd422) :
> - Scan type says "Progressive" in mediainfo (even if source is interlaced)
> - Only has 1 audio channel in 16 bits
> - Crashes Sony XDCAM Viewer
> - Avid MC 5.0.3 imported ok
> - Avid MC 5.0.3 AMA Link error "Failed to get the sample temporal offset
> from AMA plug-in"
> - Adobe Premiere CS5 imports ok

If you want interlaced use -tff or -bff, default is progressive.
Maybe I should change the default.

> * XDCAMHD422 (-target xdcamhd422 -acodec pcm_s24le -map_audio_channel
> 0:1:0:0:1 -map_audio_channel 0:2:0:0:2 outxdcamhd24bits.mxf -acodec
> pcm_s24le -newaudio)
> - Scan type says "Progressive"
> - Plays back correctly in Sony XDCAM Viewer (metadata says 29,97p)
> - Avid MC 5.0.3 imported ok
> - Avid MC 5.0.3 AMA Link error "Failed to get the sample temporal offset
> from AMA plug-in"
> - Adobe Premiere CS5 imports ok

So xdcam viewer don't like 1 channel at all...
Avid AMA has issues for some reason, do you have an xdcam hd 422 file
that works with AMA ? So I can compare.

> * DV25:
> - Avid MC 5.0.3 import error: XDCAMHiresAudioImportReader::LocateSamples -
> Sample Miscalculation
> - Avid MC 5.0.3 AMA Link fails and crashes
> - Adobe Premiere CS5 imports but audio plays back "in slow motion"

Did you test XDCAM view ? It should support DV25

> * DV50:
> - Avid MC 5.0.3 import error: XDCAMHiresAudioImportReader::LocateSamples -
> Sample Miscalculation
> - Avid MC 5.0.3 AMA Link fails and crashes
> - Adobe Premiere CS5 imports as audio only

I guess I need a working DV50 sample here.

> * DVCAM:
> - ffmbc error: [dvvideo @ 0x101009400] Found no DV profile for 720x480
> yuv420p video

yuv420p is for DVCAM and is pal only so resolution is 720x576.

Thanks a lot again.

Stephane PELEGRY

unread,
Oct 19, 2011, 5:10:18 PM10/19/11
to ffmbc-discuss
What kind of MXF contenair is generated by FFmbc ??
=> OP Atom or OP1a ?

Omneon works with OP1b
Sony XDCAM 422 is OP1a
Avid works in OP Atom (either in DNxHD or AVC Intra 100 )
Final Cut Pro doesn't work with MXF unless a plug in provide by
MXF4Mac...

Cheers

SteF

On 19 oct, 02:43, Baptiste Coudurier <baptiste.coudur...@gmail.com>
wrote:

Baptiste Coudurier

unread,
Oct 19, 2011, 6:10:13 PM10/19/11
to ffmbc-...@googlegroups.com
Hi,

On 10/19/2011 02:10 PM, Stephane PELEGRY wrote:
> What kind of MXF contenair is generated by FFmbc ??
> => OP Atom or OP1a ?

Op1a

> Omneon works with OP1b

Yes, but it should be able to read Op1a too, no ?

> Sony XDCAM 422 is OP1a

Yes

> Avid works in OP Atom (either in DNxHD or AVC Intra 100 )

Avid should be able to ingest Op1a.

Phil Rhodes

unread,
Oct 20, 2011, 11:38:36 AM10/20/11
to ffmbc-...@googlegroups.com
>> What kind of MXF contenair is generated by FFmbc ??
>> => OP Atom or OP1a ?
>
> Op1a
>
>> Omneon works with OP1b

I hate MXF very much indeed.

P

Stephane PELEGRY

unread,
Oct 21, 2011, 7:25:57 AM10/21/11
to ffmbc-discuss
Op1a with Omneon : I have to check.
Omneon can read many different contenair & codec ; it depends of the
setup configuration.

Have you heard of
=> libMXF : http://ingex.sourceforge.net/libMXF/ ... to write OpAtom
files ?
=> TransfertP2 : http://ingex.sourceforge.net/TransferToP2.html ... to
send (DV25 or DV25) to P2 ... maybe it could be fin with FFmbc to do
the same with AVC Intra 100 ...,!?
=> BMX : http://sourceforge.net/p/bmxlib/home/Home/ ?

Anyway, you do a great job and I would like to thank you for spending
time on this project!

Cheers.

Stephane.


On 20 oct, 00:10, Baptiste Coudurier <baptiste.coudur...@gmail.com>
wrote:

Baptiste Coudurier

unread,
Oct 23, 2011, 9:46:51 PM10/23/11
to ffmbc-...@googlegroups.com, ffmb...@googlegroups.com
Hi Guillermo,

One more comment: it seems XDCAM Viewer only supports mono tracks with
DV and XDCAM HD 422, so make sure you create mono tracks.

--
Baptiste COUDURIER
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org

Reply all
Reply to author
Forward
0 new messages