[FFmpeg-devel] [PATCH 0/4] add track name metadata and metadata streams for external referenced sourceclips

Mark Reid mindmark at gmail.com
Wed Sep 21 23:42:05 EEST 2016


Hi

Here is a set of mxf files that contain such metadata

https://dl.dropboxusercontent.com/u/170952/fate/mxf/track_00_v01.mxf
https://dl.dropboxusercontent.com/u/170952/fate/mxf/track_01_v02.mxf
https://dl.dropboxusercontent.com/u/170952/fate/mxf/track_02_a01.mxf
https://dl.dropboxusercontent.com/u/170952/fate/mxf/track_03_a02.mxf

Each of these files contain metadata that references the streams of other files
by a umid. These patches add a data stream with that metadata for each reference.

If the additional streams causes any problems I could also add
a demuxer option to disable/enable this feature.

the fate test just two of these files
https://dl.dropboxusercontent.com/u/170952/fate/mxf/track_01_v02.mxf
https://dl.dropboxusercontent.com/u/170952/fate/mxf/track_02_a01.mxf

Mark Reid (4):
  libavformat/mxfdec: export track name metadata
  libavformat/mxfdec: don't assume first stream index to be primary
  libavformat/mxfdec: add metadata streams for external referenced
    sourclips
  tests/fate: add mxf metadata streams test

 libavformat/mxfdec.c                    | 174 +++++++++++++++++++++++---------
 tests/fate/mxf.mak                      |   6 ++
 tests/ref/fate/mxf-metadata-source-ref1 |  13 +++
 tests/ref/fate/mxf-metadata-source-ref2 |  13 +++
 4 files changed, 156 insertions(+), 50 deletions(-)
 create mode 100644 tests/ref/fate/mxf-metadata-source-ref1
 create mode 100644 tests/ref/fate/mxf-metadata-source-ref2

--
2.9.2


More information about the ffmpeg-devel mailing list