[FFmpeg-devel] [PATCH] fate: add demux test for TS with AC3 (Ticket 4864)

Michael Niedermayer michael at niedermayer.cc
Wed Mar 30 21:41:10 CEST 2016


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 tests/fate/demux.mak    |    3 +++
 tests/ref/fate/ts-demux |   23 +++++++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 tests/ref/fate/ts-demux

diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak
index d6508c2..dad77ec 100644
--- a/tests/fate/demux.mak
+++ b/tests/fate/demux.mak
@@ -126,6 +126,9 @@ fate-xmv-demux: CMD = framecrc -i $(TARGET_SAMPLES)/xmv/logos1p.fmv -vcodec copy
 FATE_SAMPLES_DEMUX-$(CONFIG_XWMA_DEMUXER) += fate-xwma-demux
 fate-xwma-demux: CMD = crc -i $(TARGET_SAMPLES)/xwma/ergon.xwma -acodec copy
 
+FATE_SAMPLES_DEMUX-$(CONFIG_MPEGTS_DEMUXER) += fate-ts-demux
+fate-ts-demux: CMD = framecrc -i $(TARGET_SAMPLES)/ac3/mp3ac325-4864-small.ts -codec copy
+
 FATE_SAMPLES_DEMUX += $(FATE_SAMPLES_DEMUX-yes)
 FATE_SAMPLES_FFMPEG += $(FATE_SAMPLES_DEMUX)
 fate-demux: $(FATE_SAMPLES_DEMUX)
diff --git a/tests/ref/fate/ts-demux b/tests/ref/fate/ts-demux
new file mode 100644
index 0000000..1d867b3
--- /dev/null
+++ b/tests/ref/fate/ts-demux
@@ -0,0 +1,23 @@
+#extradata 0:      150, 0xb4192fb9
+#tb 0: 1/90000
+#tb 1: 1/90000
+1,          0,          0,     2880,     1536, 0x773ffeea, S=1,        1, 0x00bd00bd
+1,       2880,       2880,     2880,     1536, 0x6dc10748
+1,       5760,       5760,     2880,     1536, 0xbab5129c
+1,       8640,       8640,     2880,     1536, 0x602f034b
+1,      11520,      11520,     2880,      906, 0x69cdcbcd
+0,      32037,      36541,     1501,   114336, 0x37a215a8, S=1,        1, 0x00e000e0
+0,      33538,      33538,     1501,    12560, 0xb559a3d4, F=0x0, S=1,        1, 0x00e000e0
+0,      35040,      35040,     1501,    12704, 0x2614adf4, F=0x0, S=1,        1, 0x00e000e0
+0,      36541,      41046,     1501,    51976, 0x9ff1dbfe, F=0x0, S=1,        1, 0x00e000e0
+0,      38043,      38043,     1501,    13096, 0x4ff9ea23, F=0x0, S=1,        1, 0x00e000e0
+0,      39544,      39544,     1501,    13744, 0xf2b2402a, F=0x0, S=1,        1, 0x00e000e0
+0,      41046,      45550,     1501,    56568, 0x65f5aee1, F=0x0, S=1,        1, 0x00e000e0
+0,      42547,      42547,     1501,    14720, 0x8855866c, F=0x0, S=1,        1, 0x00e000e0
+0,      44049,      44049,     1501,    15216, 0x83cbc4fc, F=0x0, S=1,        1, 0x00e000e0
+0,      45550,      50055,     1501,    61720, 0xecda6b05, F=0x0, S=1,        1, 0x00e000e0
+0,      47052,      47052,     1501,    17416, 0xdf480c6d, F=0x0, S=1,        1, 0x00e000e0
+0,      48553,      48553,     1501,    18144, 0x1950624c, F=0x0, S=1,        1, 0x00e000e0
+0,      50055,      54559,     1501,    56848, 0xd4f315be, F=0x0, S=1,        1, 0x00e000e0
+0,      51556,      51556,     1501,    16296, 0xd391a1d0, F=0x0, S=1,        1, 0x00e000e0
+0,      53058,      53058,     1501,     4944, 0x4d88640e, F=0x0
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list