[FFmpeg-cvslog] tests/fate: add mxf metadata streams test

Mark Reid git at videolan.org
Fri Oct 21 05:10:33 EEST 2016


ffmpeg | branch: master | Mark Reid <mindmark at gmail.com> | Wed Sep 21 13:42:09 2016 -0700| [0cfd6ccedeaa7fe2258c7590a754e3c1a4d7936f] | committer: Michael Niedermayer

tests/fate: add mxf metadata streams test

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0cfd6ccedeaa7fe2258c7590a754e3c1a4d7936f
---

 tests/fate/mxf.mak                      |  6 ++++++
 tests/ref/fate/mxf-metadata-source-ref1 | 13 +++++++++++++
 tests/ref/fate/mxf-metadata-source-ref2 | 13 +++++++++++++
 3 files changed, 32 insertions(+)

diff --git a/tests/fate/mxf.mak b/tests/fate/mxf.mak
index e95c0b5..124c250 100644
--- a/tests/fate/mxf.mak
+++ b/tests/fate/mxf.mak
@@ -8,6 +8,12 @@ fate-mxf-essencegroup-demux: CMD = framecrc -i $(TARGET_SAMPLES)/mxf/opatom_esse
 FATE_MXF += fate-mxf-multiple-components-demux
 fate-mxf-multiple-components-demux: CMD = framecrc -i $(TARGET_SAMPLES)/mxf/multiple_components.mxf -vcodec copy
 
+FATE_MXF += fate-mxf-metadata-source-ref1
+fate-mxf-metadata-source-ref1: CMD = fmtstdout ffmetadata -i $(TARGET_SAMPLES)/mxf/track_01_v02.mxf -fflags +bitexact -flags +bitexact -map 0:0 -map 0:2 -map 0:3  -map_metadata:g -1
+
+FATE_MXF += fate-mxf-metadata-source-ref2
+fate-mxf-metadata-source-ref2: CMD = fmtstdout ffmetadata -i $(TARGET_SAMPLES)/mxf/track_02_a01.mxf -fflags +bitexact -flags +bitexact -map 0:0 -map 0:1 -map 0:3  -map_metadata:g -1
+
 FATE_MXF-$(CONFIG_MXF_DEMUXER) += $(FATE_MXF)
 
 FATE_SAMPLES_AVCONV += $(FATE_MXF-yes)
diff --git a/tests/ref/fate/mxf-metadata-source-ref1 b/tests/ref/fate/mxf-metadata-source-ref1
new file mode 100644
index 0000000..48e1e41
--- /dev/null
+++ b/tests/ref/fate/mxf-metadata-source-ref1
@@ -0,0 +1,13 @@
+;FFMETADATA1
+[STREAM]
+file_package_umid=0x060A2B340101010101010F001300000057E19D16BA8302DB060E2B347F7F2A80
+track_name=Base
+data_type=video
+[STREAM]
+file_package_umid=0x060A2B340101010101010F001300000057E19D16BA8502DB060E2B347F7F2A80
+track_name=Left Channel
+data_type=audio
+[STREAM]
+file_package_umid=0x060A2B340101010101010F001300000057E19D16BA8602DB060E2B347F7F2A80
+track_name=Right Channel
+data_type=audio
diff --git a/tests/ref/fate/mxf-metadata-source-ref2 b/tests/ref/fate/mxf-metadata-source-ref2
new file mode 100644
index 0000000..5cfa225
--- /dev/null
+++ b/tests/ref/fate/mxf-metadata-source-ref2
@@ -0,0 +1,13 @@
+;FFMETADATA1
+[STREAM]
+file_package_umid=0x060A2B340101010101010F001300000057E19D16BA8302DB060E2B347F7F2A80
+track_name=Base
+data_type=video
+[STREAM]
+file_package_umid=0x060A2B340101010101010F001300000057E19D16BA8402DB060E2B347F7F2A80
+track_name=Titles
+data_type=video
+[STREAM]
+file_package_umid=0x060A2B340101010101010F001300000057E19D16BA8602DB060E2B347F7F2A80
+track_name=Right Channel
+data_type=audio



More information about the ffmpeg-cvslog mailing list