summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-06-26 21:26:12 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2018-07-07 12:09:34 +0200
commitbcc0ae5d5a3841a743f3990e5cfc2e56cad185ff (patch)
tree98250d26a75435887b12496e40c5c539bcaeaaad /tests
parent284dde24dab30225ed3e233b0e5908d67d7e13e7 (diff)
tests/fate/demux: Add test for d25c945247979a88fac6bb3b7a26370262b96ef1
Sample provided by Thierry for fate Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/demux.mak3
-rw-r--r--tests/ref/fate/ts-small-demux80
2 files changed, 83 insertions, 0 deletions
diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak
index ef9e677821..eb8d8c3655 100644
--- a/tests/fate/demux.mak
+++ b/tests/fate/demux.mak
@@ -76,6 +76,9 @@ fate-mov-mp3-demux: CMD = framecrc -i $(TARGET_SAMPLES)/mpegaudio/packed_maindat
FATE_SAMPLES_DEMUX-$(CONFIG_MPEGTS_DEMUXER) += fate-ts-opus-demux
fate-ts-opus-demux: CMD = framecrc -i $(TARGET_SAMPLES)/opus/test-8-7.1.opus-small.ts -c copy
+FATE_SAMPLES_DEMUX-$(CONFIG_MPEGTS_DEMUXER) += fate-ts-small-demux
+fate-ts-small-demux: CMD = framecrc -i $(TARGET_SAMPLES)/mpegts/h264small.ts -c copy
+
FATE_SAMPLES_DEMUX-$(CONFIG_MTV_DEMUXER) += fate-mtv
fate-mtv: CMD = framecrc -i $(TARGET_SAMPLES)/mtv/comedian_auto-partial.mtv -c copy
diff --git a/tests/ref/fate/ts-small-demux b/tests/ref/fate/ts-small-demux
new file mode 100644
index 0000000000..cdd7c09f27
--- /dev/null
+++ b/tests/ref/fate/ts-small-demux
@@ -0,0 +1,80 @@
+#extradata 0: 35, 0x83f4073d
+#tb 0: 1/90000
+#media_type 0: video
+#codec_id 0: h264
+#dimensions 0: 82x144
+#sar 0: 1/1
+0, 0, 0, 6000, 1290, 0x4684e0ab, S=1, 1, 0x00e000e0
+0, 6000, 6000, 6000, 21, 0x267504dc, F=0x0, S=1, 1, 0x00e000e0
+0, 12000, 12000, 6000, 15, 0x0f9402f6, F=0x0, S=1, 1, 0x00e000e0
+0, 18000, 18000, 6000, 15, 0x0ff40316, F=0x0, S=1, 1, 0x00e000e0
+0, 24000, 24000, 6000, 15, 0x10540336, F=0x0, S=1, 1, 0x00e000e0
+0, 30000, 30000, 6000, 15, 0x10b40356, F=0x0, S=1, 1, 0x00e000e0
+0, 36000, 36000, 6000, 15, 0x11140376, F=0x0, S=1, 1, 0x00e000e0
+0, 42000, 42000, 6000, 15, 0x11740396, F=0x0, S=1, 1, 0x00e000e0
+0, 48000, 48000, 6000, 15, 0x0ed802b7, F=0x0, S=1, 1, 0x00e000e0
+0, 54000, 54000, 6000, 15, 0x0f3802d7, F=0x0, S=1, 1, 0x00e000e0
+0, 60000, 60000, 6000, 15, 0x0f9802f7, F=0x0, S=1, 1, 0x00e000e0
+0, 66000, 66000, 6000, 15, 0x0ff80317, F=0x0, S=1, 1, 0x00e000e0
+0, 72000, 72000, 6000, 15, 0x10580337, F=0x0, S=1, 1, 0x00e000e0
+0, 78000, 78000, 6000, 15, 0x10b80357, F=0x0, S=1, 1, 0x00e000e0
+0, 84000, 84000, 6000, 15, 0x11180377, F=0x0, S=1, 1, 0x00e000e0
+0, 90000, 90000, 6000, 15, 0x11780397, F=0x0, S=1, 1, 0x00e000e0
+0, 96000, 96000, 6000, 15, 0x0ed402b6, F=0x0, S=1, 1, 0x00e000e0
+0, 102000, 102000, 6000, 15, 0x0f3402d6, F=0x0, S=1, 1, 0x00e000e0
+0, 108000, 108000, 6000, 15, 0x0f9402f6, F=0x0, S=1, 1, 0x00e000e0
+0, 114000, 114000, 6000, 15, 0x0ff40316, F=0x0, S=1, 1, 0x00e000e0
+0, 120000, 120000, 6000, 15, 0x10540336, F=0x0, S=1, 1, 0x00e000e0
+0, 126000, 126000, 6000, 15, 0x10b40356, F=0x0, S=1, 1, 0x00e000e0
+0, 132000, 132000, 6000, 15, 0x11140376, F=0x0, S=1, 1, 0x00e000e0
+0, 138000, 138000, 6000, 15, 0x11740396, F=0x0, S=1, 1, 0x00e000e0
+0, 144000, 144000, 6000, 15, 0x0ed802b7, F=0x0, S=1, 1, 0x00e000e0
+0, 150000, 150000, 6000, 15, 0x0f3802d7, F=0x0, S=1, 1, 0x00e000e0
+0, 156000, 156000, 6000, 15, 0x0f9802f7, F=0x0, S=1, 1, 0x00e000e0
+0, 162000, 162000, 6000, 15, 0x0ff80317, F=0x0, S=1, 1, 0x00e000e0
+0, 168000, 168000, 6000, 15, 0x10580337, F=0x0, S=1, 1, 0x00e000e0
+0, 174000, 174000, 6000, 15, 0x10b80357, F=0x0, S=1, 1, 0x00e000e0
+0, 180000, 180000, 6000, 15, 0x11180377, F=0x0, S=1, 1, 0x00e000e0
+0, 186000, 186000, 6000, 15, 0x11780397, F=0x0, S=1, 1, 0x00e000e0
+0, 192000, 192000, 6000, 15, 0x0ed402b6, F=0x0, S=1, 1, 0x00e000e0
+0, 198000, 198000, 6000, 15, 0x0f3402d6, F=0x0, S=1, 1, 0x00e000e0
+0, 204000, 204000, 6000, 15, 0x0f9402f6, F=0x0, S=1, 1, 0x00e000e0
+0, 210000, 210000, 6000, 15, 0x0ff40316, F=0x0, S=1, 1, 0x00e000e0
+0, 216000, 216000, 6000, 15, 0x10540336, F=0x0, S=1, 1, 0x00e000e0
+0, 222000, 222000, 6000, 15, 0x10b40356, F=0x0, S=1, 1, 0x00e000e0
+0, 228000, 228000, 6000, 15, 0x11140376, F=0x0, S=1, 1, 0x00e000e0
+0, 234000, 234000, 6000, 15, 0x11740396, F=0x0, S=1, 1, 0x00e000e0
+0, 240000, 240000, 6000, 15, 0x0ed802b7, F=0x0, S=1, 1, 0x00e000e0
+0, 246000, 246000, 6000, 15, 0x0f3802d7, F=0x0, S=1, 1, 0x00e000e0
+0, 252000, 252000, 6000, 15, 0x0f9802f7, F=0x0, S=1, 1, 0x00e000e0
+0, 258000, 258000, 6000, 15, 0x0ff80317, F=0x0, S=1, 1, 0x00e000e0
+0, 264000, 264000, 6000, 15, 0x10580337, F=0x0, S=1, 1, 0x00e000e0
+0, 270000, 270000, 6000, 15, 0x10b80357, F=0x0, S=1, 1, 0x00e000e0
+0, 276000, 276000, 6000, 15, 0x11180377, F=0x0, S=1, 1, 0x00e000e0
+0, 282000, 282000, 6000, 15, 0x11780397, F=0x0, S=1, 1, 0x00e000e0
+0, 288000, 288000, 6000, 15, 0x0ed402b6, F=0x0, S=1, 1, 0x00e000e0
+0, 294000, 294000, 6000, 15, 0x0f3402d6, F=0x0, S=1, 1, 0x00e000e0
+0, 300000, 300000, 6000, 15, 0x0f9402f6, F=0x0, S=1, 1, 0x00e000e0
+0, 306000, 306000, 6000, 15, 0x0ff40316, F=0x0, S=1, 1, 0x00e000e0
+0, 312000, 312000, 6000, 15, 0x10540336, F=0x0, S=1, 1, 0x00e000e0
+0, 318000, 318000, 6000, 15, 0x10b40356, F=0x0, S=1, 1, 0x00e000e0
+0, 324000, 324000, 6000, 15, 0x11140376, F=0x0, S=1, 1, 0x00e000e0
+0, 330000, 330000, 6000, 15, 0x11740396, F=0x0, S=1, 1, 0x00e000e0
+0, 336000, 336000, 6000, 15, 0x0ed802b7, F=0x0, S=1, 1, 0x00e000e0
+0, 342000, 342000, 6000, 15, 0x0f3802d7, F=0x0, S=1, 1, 0x00e000e0
+0, 348000, 348000, 6000, 15, 0x0f9802f7, F=0x0, S=1, 1, 0x00e000e0
+0, 354000, 354000, 6000, 15, 0x0ff80317, F=0x0, S=1, 1, 0x00e000e0
+0, 360000, 360000, 6000, 15, 0x10580337, F=0x0, S=1, 1, 0x00e000e0
+0, 366000, 366000, 6000, 15, 0x10b80357, F=0x0, S=1, 1, 0x00e000e0
+0, 372000, 372000, 6000, 15, 0x11180377, F=0x0, S=1, 1, 0x00e000e0
+0, 378000, 378000, 6000, 15, 0x11780397, F=0x0, S=1, 1, 0x00e000e0
+0, 384000, 384000, 6000, 15, 0x0ed402b6, F=0x0, S=1, 1, 0x00e000e0
+0, 390000, 390000, 6000, 15, 0x0f3402d6, F=0x0, S=1, 1, 0x00e000e0
+0, 396000, 396000, 6000, 15, 0x0f9402f6, F=0x0, S=1, 1, 0x00e000e0
+0, 402000, 402000, 6000, 15, 0x0ff40316, F=0x0, S=1, 1, 0x00e000e0
+0, 408000, 408000, 6000, 15, 0x10540336, F=0x0, S=1, 1, 0x00e000e0
+0, 414000, 414000, 6000, 15, 0x10b40356, F=0x0, S=1, 1, 0x00e000e0
+0, 420000, 420000, 6000, 15, 0x11140376, F=0x0, S=1, 1, 0x00e000e0
+0, 426000, 426000, 6000, 16, 0x15a2042d, F=0x0, S=1, 1, 0x00e000e0
+0, 432000, 432000, 6000, 16, 0x1227034e, F=0x0, S=1, 1, 0x00e000e0
+0, 438000, 438000, 6000, 16, 0x136703ae, F=0x0