[FFmpeg-devel] [PATCH 06/13] avformat/mxfenc: Add Sample width/height/x offset/y offset, Display x offset and F2 offset

Tobias Rapp t.rapp at noa-archive.com
Wed May 9 10:04:24 EEST 2018


On 08.05.2018 12:40, Tomas Härdin wrote:
> mån 2018-05-07 klockan 12:38 +0200 skrev Michael Niedermayer:
>>> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
>> +    if (sc->interlaced) {
>> +        //Display F2 Offset
>> +        mxf_write_local_tag(pb, 4, 0x3217);
>> +        avio_wb32(pb, -((st->codecpar->height - display_height)&1));
> 
> Negative values for DisplayF2Offset are not valid

Can't say anything about the formula but according to The MXF Book (ISBN 
978-0240806938, page 187) the DisplayF2Offset property is defined as 
Int32, not UInt32.

Regards,
Tobias



More information about the ffmpeg-devel mailing list