Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques Export to MXF container in M-JPEG2000 codec possible in ffmepg?

  • Reuben Martin

    March 8, 2012 at 3:19 am

    No, ffmpeg will only mux MPEG2 video codec into MXF files. It can demux quite a few different codecs, but until now it has had quite a few bugs. For what it’s worth there has been a lot code commits to improve MXF support over the last few months, but that has not been released yet. Another resource is keep an eye on in libMXF, which has some very handy MXF tools. (https://ingex.sourceforge.net/libMXF/)

    But what you probably would be most interested is OpenDCP. (https://code.google.com/p/opendcp/)

  • Dirk Dejonghe

    March 18, 2012 at 7:13 pm

    thanks,

    I already have a DCP solution, M-Jpeg2000 is different animal for archive purposes. Let’s hope ffmpeg can handle this soon.

    Dirk

    http://www.postproduction.be

  • Reuben Martin

    March 18, 2012 at 9:48 pm

    I think you miss my point. It’s more than just a DCP solution. It has the tool set to encode an image sequence into JPEG2000 and mux into an MXF file. The only difference between what you described and DCP, is that you would probably want to turn off the XYZ colorspace conversion.

    i.e. Use FFmpeg to render to image sequence and use that as the input source with OpenDCP to create the Mjpeg2k MXF file.

  • Dirk Dejonghe

    March 19, 2012 at 7:10 am

    OK, I will have a look today, my usual DCP output is J2C stream in MXF container.

    thanks,

    Dirk

    http://www.postproduction.be

  • Dirk Dejonghe

    March 19, 2012 at 7:36 pm

    I installed OpenDCP. It will do MPEG2 or JPEG2000 (.j2c) but not M-JPEG2000 (.m2j) as far as I can see. Still looking.

    Dirk

    http://www.postproduction.be

  • Terrence Meiczinger

    March 20, 2012 at 2:39 am

    OpenDCP is geared toward digital cinema and wouldn’t really be suitable as it is. It wouldn’t be difficult to use an example to create something similar for archival material since it is fairly similar.

    I know these guys were looking to do something along those lines… dunno if it is helpful for you.

    https://www.archivematica.org/

  • Dirk Dejonghe

    March 20, 2012 at 6:19 am

    We do make DCPs on a daily basis, but we also do digital archiving from analog and digital media, so this is where we need m-jpeg2000.

    Dirk

    http://www.postproduction.be

  • Reuben Martin

    March 27, 2012 at 12:14 am

    OpenDCP incorporates the functionality of the OpenJPEG library, which supports mj2 if built with the extension enabled. So the code to do it is available in the library. It would be unfortunate if that functionality is not exposed in the tools provided. Perhaps OpenJPEG has tools to convert the mj2 to a sequence.

  • Reuben Martin

    March 27, 2012 at 12:31 am

    Ok, I just re-built OpenJPEG with the mj2 extension enabled, and it includes tools like:

    mj2_to_frames
    frames_to_mj2
    extract_j2k_from_mj2
    wrap_j2k_in_mj2

    The “extract_j2k_from_mj2” tool should allow you to dump to a sequence that could then be muxed into an MXF using the OpenDCP toolset.

  • Dirk Dejonghe

    April 2, 2012 at 8:15 pm

    In my case, frames_to_MJ2 would probably work, will have to test.

    Dirk

    http://www.postproduction.be

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy