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

tim nicholson nichot20 at yahoo.com
Mon Apr 13 12:38:23 CEST 2015

On 13/04/15 08:34, Christoph Gerstbauer wrote:
> Hello Tim,
> do you think that these flags can also be implemented into the IMX
> encoding of ffmpeg?
>   (ITU 601)
> + Color siting = 4
>   (Rec 601)
> [..]

They could easily be hardcoded in, however they could then be wrong as
asumptions are being made which might not be true, and are probably not

For example if you are recoding an SD YUV file, you might resonably
assume that it is 601, but it might not be, and unless the source file
explicitly defines it as such, and you carry that information forward
you are just guessing, ffmpeg has no way of knowing the matrix used to
generate the values.

Therfore I think the only sane approach would be to have them as user
settable flags which would take more careful thinking about...

Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83

More information about the ffmpeg-user mailing list