[FFmpeg-user] How to set 3 specific metadata flags (ITU601/displayoffset) in FFmpegs IMX50 MXF-OP1a encoding?

tim nicholson nichot20 at yahoo.com
Fri Mar 20 16:21:33 CET 2015

On 20/03/15 09:19, tim nicholson wrote:
> On 19/03/15 15:48, Christoph Gerstbauer wrote:
>>> Shame, don't understand the qmax issue. but if you look at:-
>>> tests/lavf_regression.sh line 90
>>> you will see an IMX30 example which uses -qmax 12 and my other other
>>> parameters. However not sure what difference closed/open gop makes on I
>>> frame only, but being purist I can see how you might want to set closed
>>> gop! S356m makes no reference to it that I can see.
>>> Looks like we might need a patch for what you want.
>> In fact, the most important metadata flag is the
>> display y offset = 32 (high priority for patching, if possible)
> Having a quick scan through mxfenc.c it looks like that UL is missing,
> as are some others. I have tracked them down in RP210 but am struggling
> with the local_tag values at the moment.
> It should be relatively straightformward to add in the relevant tag though.

Attached is a quick hack that worked for me. Do you want to give it a  spin?

Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavformat-mxfenc.c-Add-Presentation-Y-offset-metad.patch
Type: text/x-patch
Size: 2332 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20150320/9dfe44f9/attachment.bin>

More information about the ffmpeg-user mailing list