mån 2019-04-08 klockan 14:36 +0100 skrev Tomas Härdin: > On 2019-04-03 21:35, Marton Balint wrote: > > Can be useful for API users as ffmpeg/libavformat can't properly > > support some > > operational patterns. > > > > Signed-off-by: Marton Balint <c...@passwd.hu> > > --- > > libavformat/mxfdec.c | 7 +++++++ > > tests/ref/fate/mxf-probe-d10 | 1 + > > tests/ref/fate/mxf-probe-dnxhd | 1 + > > tests/ref/fate/mxf-probe-dv25 | 1 + > > 4 files changed, 10 insertions(+) > > > > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c > > index 1ba8ecd4a6..8c65a2bbcf 100644 > > --- a/libavformat/mxfdec.c > > +++ b/libavformat/mxfdec.c > > @@ -718,6 +719,12 @@ static int mxf_read_partition_pack(void *arg, > > AVIOContext *pb, int tag, int size > > } > > nb_essence_containers = avio_rb32(pb); > > > > + if (partition->type == Header) { > > + char str[36]; > > + snprintf(str, sizeof(str), "%08x.%08x.%08x.%08x", > > AV_RB32(&op[0]), AV_RB32(&op[4]), AV_RB32(&op[8]), > > AV_RB32(&op[12])); > > I was unsure wheter this was the official format for UL, so I went > and > checked. SMPTE uses the same in their XML registry: > https://registry.smpte-ra.org/view/published/Labels.xml > > Example: urn:smpte:ul:060e2b34.04010101.01010100.00000000 > > In other words: looks OK to me
I had a similar suspicion about mxf_umid_to_str(), whose output looks like this: 0x060A2B340101010501010D2313000000C3F75299A1824BEBAA8EA92ADFB7F522 But this is actually the format specified by S330m Annex C, so that's good as well. /Tomas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".