On Mon, Jul 18, 2022 at 08:35:00PM +0200, Tomas Härdin wrote: > mån 2022-07-11 klockan 23:44 +0200 skrev Michael Niedermayer: > > Signed-off-by: Michael Niedermayer > > --- > >  libavformat/mxf.c    |  3 +++ > >  libavformat/mxf.h    |  1 + > >  libavformat/mxfdec.c | 48 > > ++++++++++++++++++++++++++++++++++++++++++++ > >  3 files changed, 52 insertions(+) > > > > diff --git a/libavformat/mxf.c b/libavformat/mxf.c > > index 36d662b58c..8ef928b8fc 100644 > > --- a/libavformat/mxf.c > > +++ b/libavformat/mxf.c > > @@ -66,6 +66,9 @@ const MXFCodecUL ff_mxf_codec_uls[] = { > >      { { > > 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x01,0x01,0x02 > > ,0x02,0x01 }, 16,       AV_CODEC_ID_V210 }, /* V210 */ > >      { { > > 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x0E,0x04,0x02,0x01,0x02,0x11 > > ,0x00,0x00 }, 14,     AV_CODEC_ID_PRORES }, /* Avid MC7 ProRes */ > >      { { > > 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x02,0x02,0x03,0x06 > > ,0x00,0x00 }, 14,     AV_CODEC_ID_PRORES }, /* Apple ProRes */ > > +    { { > > 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x02,0x02,0x03,0x09 > > ,0x01,0x00 }, 15,       AV_CODEC_ID_FFV1 }, /*FFV1 V0 */ > > +    { { > > 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x02,0x02,0x03,0x09 > > ,0x02,0x00 }, 15,       AV_CODEC_ID_FFV1 }, /*FFV1 V1 */ > > +    { { > > 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x02,0x02,0x03,0x09 > > ,0x04,0x00 }, 15,       AV_CODEC_ID_FFV1 }, /*FFV1 V3 */ > > I do not see these ULs listed in the spec. Are they in some appropriate > RP? > > > +static const uint8_t mxf_ffv1_extradata[]                  = { > > 0x06,0x0e,0x2b,0x34,0x01,0x01,0x01,0x0e,0x04,0x01,0x06,0x0c,0x01,0x00 > > ,0x00,0x00 }; > > Nor do I see this UL. In fact the spec doesn't seem to mention FFV1 at > all unless my eyes deceive me. you need this: SMPTE RDD 48:2018 Amendment 1:2022 i will update the patch to list this correctly [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB "Nothing to hide" only works if the folks in power share the values of you and everyone you know entirely and always will -- Tom Scott