2017-10-23 13:07 GMT+02:00 Carl Eugen Hoyos <ceffm...@gmail.com>: > 2017-10-23 12:31 GMT+02:00 <developm...@axeltechnology.com>: >> This patch fixes the MXF format write. This is required for >> Sony XDCAM Station and Sony Content Browser compatibility.
>> + mxf_write_local_tag(pb, 4, 0x3308); >> + if (st->codec->pix_fmt == AV_PIX_FMT_YUV420P) >> + avio_wb32(pb, 2); >> + else >> + avio_wb32(pb, 1); > > This looks a little suspicious: See what's done for 0x3302, add a new context variable v_chroma_sub_sample, set it together with the existing h_chroma_sub_sample and use it here. Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel