Converting DNxHD 115 QT to OP-ATOM MXF for ingest into Avid Media Composer

727 views
Skip to first unread message

iz...@izyk.net

unread,
Mar 19, 2014, 9:14:47 PM3/19/14
to ffmbc-...@googlegroups.com
I'm looking to automate a process that will require converting thousands of Avid DNxHD Quicktimes to MXF files to be used by an Avid Media Composer (MC). Hence it needs to be OP-ATOM

I feel like I am inches away from a solution, but AVID chokes on all my tests so far. I'm hoping someone with some experience with this or a similar workflow might be able to offer some guidance?


Since my QT is already DNxHD, I'm going for a barebones command like this.

> ffmbc -i input_test.mov -threads 8 -s 1920x1080 -vcodec copy -an -y output_test.mxf
FFmbc version 0.7-rc8
Copyright (c) 2008-2013 Baptiste Coudurier and the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input_test.mov':
  Metadata:
    major_brand: qt
    minor_version: 537199360
    compatible_brands: qt
  Duration: 00:00:04.12, bitrate: 116278 kb/s
    Stream #0.0(eng): Video: dnxhd, yuv422p, 1920x1080p, 116275 kb/s, 23.98 fps
    Metadata:
      codec_name: DNxHD  709
Output #0, mxf, to 'output_test.mxf':
  Metadata:
    encoder: FFmbc 0.7
    Stream #0.0(und): Video: dnxhd, yuv422p, 1920x1080p, stream copy, 23.98 fps
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
frame=   99 fps= 41 Lsize=   58713kB time=00:00:04.12 bitrate=116483.0kbits/s
video:58608kB audio:0kB global headers:0kB muxing overhead 0.178383%

This produces an Op1a MXF, but i need an OP-Atom. From what I can see, FFMBC does not do that, which means I need to use writeavidmxf from Ingex, which I do with the following command

> writeavidmxf.exe --film23.976 --prefix "output_op-atom"  --DNxHD1080p115 output_test.mxf

avidmxfinfo tells me the following about the file that produces.

Filename = output_op-atom_v1.mxf
Project name =
Project edit rate = 24000/1001
Clip name = output_op-atom
Clip created = 2014-03-20 00:32:49.596
Clip edit rate = 24000/1001
Clip duration = 99 samples (00:00:04:03)
Clip video tracks = 1
Clip audio tracks = 0
Clip track string = V1
Video essence
Essence type = DNxHD 120
Essence label = 060e2b34040101010e04030102060102
Track number = 1
Edit rate = 24000/1001
Track duration = 99 samples (00:00:04:03)
Track segment duration = 99 samples (00:00:04:03)
Track segment offset = 0 samples (00:00:00:00)
Start timecode = 0 samples (00:00:00:00)
Image aspect ratio = 16/9
Stored WxH = 1920x1080 (full frame)
Display WxH = 1920x1080 (full frame)
Material package UID = 060a2b340101010101010f0013000000532a37315cbf0c25060e2b347f7f2a80
File package UID     = 060a2b340101010101010f0013000000532a37315cc10c25060e2b347f7f2a80
Physical package UID = 060a2b340101010101010f0013000000532a37315cc00c25060e2b347f7f2a80
Physical package type = Tape
Physical package name =


The problem is that the resulting MXF is not recognized by the Avid. When I copy it into D:\Avid MediaFiles\MXF\1 the console reports the following error

CChannel: error: CMError_Codec, function Execute, line 284, internal codec error string: HDCODEC Error Non HD Format


DecodeFrame error: HDCODEC Error Non HD Format

Exception caught in APlayer::Play - Exception: CORE_CONSISTENCY_CHECK_FAILURE, className:SWDC_CodecInterface_Task, methodName:Execute, mDecodeResult:2


FileDebugDump - bad sample(in clip): 35, (in sequence): 35, length: 606208 bytes, starting offset: 0x0x149c000 in file: /Volumes/3TB RAID Set 1/Avid MediaFiles/MXF/1/083_AWC_5015_PF_thru_m2v.mxf


Exception caught in APlayer::Play - Exception Exception: std::exception, what:CORE_CONSISTENCY_CHECK_FAILURE raised Quiescing in the exception handlerMCVDeck initialized!!!


I've tried a variety of different command options for the ffmbc command - but so far none have worked out. Can anyone offer any insight into what I might be doing wrong, or a better path to follow? I'm hitting the wall here.

thanks in advance for any help

Isaac G. 


Jan Fröhling

unread,
Mar 20, 2014, 5:45:47 AM3/20/14
to ffmbc-...@googlegroups.com
Hi Isaac,

maybe you should rather have a look at the BMX-librarys. 

--
You received this message because you are subscribed to the Google Groups "ffmbc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ffmbc-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Isaac Guenard

unread,
Mar 20, 2014, 8:04:35 PM3/20/14
to ffmbc-...@googlegroups.com
Yes!

That led me to my solution.

ffmbc -i test.mov -vcodec copy -f rawvideo test.dnx
raw2bmx.exe -t avid -f 23976 --tape testdnx --project test -o testdnx --vc3 test.dnx

Instead of trying to create an MXF using ffmbc, I used it to extract the video essence to a raw file, then used raw2bmx to create the mxf wrapper. If I understand everything correctly, the above should skip any re-encoding and basically repackage the QT video into an MXF container.

Exactly what I needed to get a working solution. Thank you.
Reply all
Reply to author
Forward
0 new messages