[FFmpeg-devel] [PATCH] libavformat/mxfdec.c: export the full UMID as metadata

Mark Reid mindmark at gmail.com
Mon Jan 5 21:41:27 CET 2015


Hi,
This patch exports the full umid of packages as metadata. ffmpeg currently
only exports the material number portion of the umid.

The new format is
   <ISO label>-<length>-<instance number>-<material number>
example:
   060a2b340101010101010f00-13-000000-53dc416b9a770251060e2b347f7f2a80

Some applications use the umids to link to mxf media instead using file paths.
I've been using ffmpeg for some AAF work and have encountered
MXF files with different ISO labels and having just the material number alone is not
enough to link to media for Media Composer.

For more on umids, this paper explains them pretty well
http://www.digitalpreservationeurope.eu/publications/briefs/UMID_Unique%20Material%20Identifier.pdf

umids also have a optional extened 32 bytes, but I've yet to see a file that
has them.

Mark Reid (1):
  libavformat/mxfdec.c: export the full UMID as metadata

 libavformat/mxfdec.c | 39 ++++++++++++++++++++++++++++++++-------
 1 file changed, 32 insertions(+), 7 deletions(-)

-- 
2.2.1



More information about the ffmpeg-devel mailing list