Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques wrapping to MXF

  • wrapping to MXF

    Posted by Borko Grujic on October 9, 2013 at 8:22 am

    Hi everyone,

    Local TV now insists on MXF (MPEG2 long GOP, MXF OPT1A or B, PAL, 4:2:2, 12Mbps, Audio WAV/PCM)

    So I am totally fine with creating mpeg like this… how do I wrap it in MXF? (would prefer to do it on mac)

    Thanks,
    B

    Lou Logan replied 12 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Lou Logan

    October 9, 2013 at 8:33 pm

    If you simply need to re-mux with stream copy mode:

    $ ffmpeg -i input -codec copy -map 0 output.mxf

    If you need to re-encode:
    $ ffmpeg -i input -c:v mpeg2video -b:v 12M -pix_fmt yuv422p -c:a pcm_s16le -map 0 output.mxf

    Should result in OP-1a. Note that, depending on your input, you may have to declare additional options such as an output frame rate with “-r” (or the fps video filter). Default GOP size will be 12, I believe, but this can be changed with the “-g” option.

    For encoder capabilities/restrictions and a list of private options see:

    $ ffmpeg -h encoder=mpeg2video

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