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 <mich...@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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to