FORUMS: list search recent posts

wrapping to MXF

COW Forums : Compression Techniques

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Borko Grujic
wrapping to MXF
on Oct 9, 2013 at 8:22:04 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)


Return to posts index

Lou Logan
Re: wrapping to MXF
on Oct 9, 2013 at 8:33:54 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

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 All Rights Reserved