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

Christoph Gerstbauer christophgerstbauer at gmail.com
Mon Mar 23 10:45:30 CET 2015


>
> If it works for you I will submit a tidied up version, with revised fate
> checksums, but that will have to wait awhile as I'm away next week...

Hello Tim!
thank you, it works for PAL and NTSC (720x512/720x480) but there is a 
just little bug for NTSC when encoding to 720x486 in "stored dimension"!
I have made list of all encoding examples:


FOR PAL IMX50:

When I set -s 720x608:

Signal standard      : 0 (None)
Frame layout         : 1 (Separate Fields)
Stored dimensions    : 720x608   <--- correct
Display dimensions   : 720x576   <--- correct
Display x offset     : 0
Display y offset     : 32            <--- correct
Aspect ratio         : 4/3
AFD                  : (not set)
Component depth      : 8
Horiz subsampling    : 2
Vert subsampling     : 1
Color siting         : 255 (Unknown)

When I set -s 720x576:

Signal standard      : 0 (None)
Frame layout         : 1 (Separate Fields)
Stored dimensions    : 720x576       <--- correct
Display dimensions   : 720x576     <--- correct
Display x offset     : 0
Display y offset     : 0        <--- correct
Aspect ratio         : 4/3
AFD                  : (not set)
Component depth      : 8
Horiz subsampling    : 2
Vert subsampling     : 1
Color siting         : 255 (Unknown)


FOR NTSC IMX50:

When I set -s 720x512:

Signal standard      : 0 (None)
Frame layout         : 1 (Separate Fields)
Stored dimensions    : 720x512        <--- correct
Display dimensions   : 720x486        <--- correct
Display x offset     : 0
Display y offset     : 26               <--- correct
Aspect ratio         : 4/3
AFD                  : (not set)
Component depth      : 8
Horiz subsampling    : 2
Vert subsampling     : 1
Color siting         : 255 (Unknown)


When I set: -s 720x486

Signal standard      : 0 (None)
Frame layout         : 1 (Separate Fields)
Stored dimensions    : 720x496        <--- NOT correct, should be 720x486
Display dimensions   : 720x486        <--- correct
Display x offset     : 0
Display y offset     : 0     <--- correct
Aspect ratio         : 4/3
AFD                  : (not set)
Component depth      : 8
Horiz subsampling    : 2
Vert subsampling     : 1
Color siting         : 255 (Unknown)


When I set:  -s 720x480

Signal standard      : 0 (None)
Frame layout         : 1 (Separate Fields)
Stored dimensions    : 720x480   <--- correct
Display dimensions   : 720x480   <--- correct
Display x offset     : 0
Display y offset     : 0     <--- correct
Aspect ratio         : 4/3
AFD                  : (not set)
Component depth      : 8
Horiz subsampling    : 2
Vert subsampling     : 1
Color siting         : 255 (Unknown)

Best Regards
Christoph









More information about the ffmpeg-user mailing list