[FFmpeg-devel] [PATCH] tests/fate: added mxf tests for essencegroups and missing index
Mark Reid
mindmark at gmail.com
Mon Jan 26 01:38:00 CET 2015
hi,
This patch addes 2 mxf tests for formats that I've been working
on. Opatom mxf files with missing index segments and ones with essence groups.
the 2 fate can be downloaded here:
https://dl.dropboxusercontent.com/u/170952/fate/mxf/opatom_missing_index.mxf
goes in
FATE_ROOT/mxf/opatom_missing_index.mxf
https://dl.dropboxusercontent.com/u/170952/fate/mxf/opatom_essencegroup_alpha_raw.mxf
goes in
FATE_ROOT/mxf/opatom_essencegroup_alpha_raw.mxf
---
tests/Makefile | 1 +
tests/fate/mxf.mak | 11 +++++++++++
tests/ref/fate/mxf-essencegroup-demux | 2 ++
tests/ref/fate/mxf-missing-index-demux | 1 +
4 files changed, 15 insertions(+)
create mode 100644 tests/fate/mxf.mak
create mode 100644 tests/ref/fate/mxf-essencegroup-demux
create mode 100644 tests/ref/fate/mxf-missing-index-demux
diff --git a/tests/Makefile b/tests/Makefile
index 84caed6..a4d4b15 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -135,6 +135,7 @@ include $(SRC_PATH)/tests/fate/monkeysaudio.mak
include $(SRC_PATH)/tests/fate/mp3.mak
include $(SRC_PATH)/tests/fate/mpc.mak
include $(SRC_PATH)/tests/fate/mpeg4.mak
+include $(SRC_PATH)/tests/fate/mxf.mak
include $(SRC_PATH)/tests/fate/opus.mak
include $(SRC_PATH)/tests/fate/pcm.mak
include $(SRC_PATH)/tests/fate/probe.mak
diff --git a/tests/fate/mxf.mak b/tests/fate/mxf.mak
new file mode 100644
index 0000000..6032c85
--- /dev/null
+++ b/tests/fate/mxf.mak
@@ -0,0 +1,11 @@
+
+FATE_MXF += fate-mxf-missing-index-demux
+fate-mxf-missing-index-demux: CMD = crc -i $(TARGET_SAMPLES)/mxf/opatom_missing_index.mxf -acodec copy
+
+FATE_MXF += fate-mxf-essencegroup-demux
+fate-mxf-essencegroup-demux: CMD = framecrc -i $(TARGET_SAMPLES)/mxf/opatom_essencegroup_alpha_raw.mxf -vcodec copy
+
+FATE_MXF-$(CONFIG_MXF_DEMUXER) += $(FATE_MXF)
+
+FATE_SAMPLES_AVCONV += $(FATE_MXF-yes)
+fate-mxf: $(FATE_MXF-yes)
diff --git a/tests/ref/fate/mxf-essencegroup-demux b/tests/ref/fate/mxf-essencegroup-demux
new file mode 100644
index 0000000..8420db9
--- /dev/null
+++ b/tests/ref/fate/mxf-essencegroup-demux
@@ -0,0 +1,2 @@
+#tb 0: 1001/24000
+0, 0, 0, 1, 2080768, 0xe99233d9
diff --git a/tests/ref/fate/mxf-missing-index-demux b/tests/ref/fate/mxf-missing-index-demux
new file mode 100644
index 0000000..8f03fc1
--- /dev/null
+++ b/tests/ref/fate/mxf-missing-index-demux
@@ -0,0 +1 @@
+CRC=0x48508eed
--
2.2.1
More information about the ffmpeg-devel
mailing list