aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Reid <mindmark@gmail.com>2016-09-21 13:42:09 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2016-10-21 02:04:21 +0200
commit0cfd6ccedeaa7fe2258c7590a754e3c1a4d7936f (patch)
tree912adb4adb76c612f9b06ddbe9ba049dd3555f90
parent6902e1c7fab32fc3bca24dc1984a74eb2d772e3f (diff)
downloadffmpeg-0cfd6ccedeaa7fe2258c7590a754e3c1a4d7936f.tar.gz
tests/fate: add mxf metadata streams test
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--tests/fate/mxf.mak6
-rw-r--r--tests/ref/fate/mxf-metadata-source-ref113
-rw-r--r--tests/ref/fate/mxf-metadata-source-ref213
3 files changed, 32 insertions, 0 deletions
diff --git a/tests/fate/mxf.mak b/tests/fate/mxf.mak
index e95c0b514f..124c250191 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 0000000000..48e1e4150e
--- /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 0000000000..5cfa22527e
--- /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