Log in

View Full Version : Working with DCP (J2k/MXF) Files


dvdboy
2nd January 2015, 16:20
A client has sent me a DCP of a trailer to encode for DVD and Blu-ray. Without falling into the "What is best" trap, I'm trying to investigate the most effective workflow, and so far I'm coming up with a number of questions / issues that I would like some feedback on.

Unfortunately, due to the nature of the content I am unable to post a sample.

Running MediaInfo on the Video MXF gives me the following information:


Format : MXF
Format profile : OP-Atom
Format settings : Closed / Complete
File size : 1.40 GiB
Duration : 2mn 6s
Overall bit rate : 94.5 Mbps
Encoded date : 2017-11-11 12:26:47.000
Writing application : Rohde and Schwarz DVS GmbH Clipster 0.0.0.0.0
Writing library : Rohde and Schwarz DVS GmbH Clipster 0.0.0.0.0

Video
ID : 2
Format : JPEG 2000
Format_Settings_Wrapping : Frame
Codec ID : 0D010301020C0100-0401020203010103
Duration : 2mn 6s
Bit rate : 94.5 Mbps
Width : 1 998 pixels
Height : 1 080 pixels
Display aspect ratio : 1.85:1
Frame rate : 24.000 fps
Color space : RGB
Chroma subsampling : 4:4:4
Bit depth : 12 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 1.824
Stream size : 1.40 GiB (100%)
Title : Picture Track

Other
ID : 1
Type : Time code
Format : MXF TC
Time code of first frame : 00:00:00:00
Time code settings : Striped



Doing a bit of research it appears I *could* use FFMPEG to convert the above file into a ProRes using a commandline like this:


ffmpeg -i [filenamefor_vid.mxf] -i [filenamefor_aud.mxf] -c:v prores -c:a copy outputFilename.mov


Which would convert from XYZ to RGB and also from 12bit to 10bit.
I can then use the methodology describe in this topic - http://forum.doom9.org/showthread.php?t=168396 - to decode the 10bit ProRes, (crop & scale for DVD | crop for BD) and apply dithering, before using AssumeFPS to create either 25fps or 23.976fps master scripts.

My first concern is going from 12bit -> 10bit ->(16bit) ->8bit, and not knowing how good FFMPEG's conversion is, I wondered if it would be better to convert the original mxf file into a 16bit TIFF sequence.

When I go to import this into AVISynth using ImageSource, the process appears to work ok, but given that the most ImageSource appears to support is RGB24 again I'm concerned what the conversion process is like.

How do other people approach such sources?

feisty2
2nd January 2015, 16:27
Rawreader