summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-12-12 14:33:28 +0000
committerAnton Khirnov <anton@khirnov.net>2016-12-14 11:01:50 +0100
commite94b9313b21c3d91a36ef064f7fe3e867616f47f (patch)
tree434a5a12860da71e28eedde3c3ec35d0b4cbe8fc
parent5c7f2cf81df06614f255f061850132355a01d75e (diff)
downloadffmpeg-streaming-e94b9313b21c3d91a36ef064f7fe3e867616f47f.zip
ffmpeg-streaming-e94b9313b21c3d91a36ef064f7fe3e867616f47f.tar.gz
fate: Add h264 test for frame num gaps
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r--tests/fate/h264.mak2
-rw-r--r--tests/ref/fate/h264-missing-frame31
2 files changed, 33 insertions, 0 deletions
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index 635abcd..3d6fde7 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -182,6 +182,7 @@ FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \
fate-h264-extreme-plane-pred \
fate-h264-intra-refresh-recovery \
fate-h264-lossless \
+ fate-h264-missing-frame \
FATE_H264-$(call DEMDEC, H264, H264) += $(FATE_H264)
FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-crop-to-container
@@ -397,5 +398,6 @@ fate-h264-lossless: CMD = framecrc -i $(TARGET_SAM
fate-h264-mixed-nal-coding: CMD = framecrc -i $(TARGET_SAMPLES)/h264/mixed-nal-coding.mp4
fate-h264-twofields-packet: CMD = framecrc -i $(TARGET_SAMPLES)/h264/twofields_packet.mp4 -an -frames 30
fate-h264-unescaped-extradata: CMD = framecrc -i $(TARGET_SAMPLES)/h264/unescaped_extradata.mp4 -an -frames 10
+fate-h264-missing-frame: CMD = framecrc -i $(TARGET_SAMPLES)/h264/nondeterministic_cut.h264
fate-h264-reinit-%: CMD = framecrc -i $(TARGET_SAMPLES)/h264/$(@:fate-h264-%=%).h264 -vf format=yuv444p10le,scale=w=352:h=288
diff --git a/tests/ref/fate/h264-missing-frame b/tests/ref/fate/h264-missing-frame
new file mode 100644
index 0000000..61c5f2f
--- /dev/null
+++ b/tests/ref/fate/h264-missing-frame
@@ -0,0 +1,31 @@
+#tb 0: 1/25
+0, 0, 0, 1, 2332800, 0x009dacb8
+0, 1, 1, 1, 2332800, 0xb1e50764
+0, 2, 2, 1, 2332800, 0xe29481e0
+0, 3, 3, 1, 2332800, 0x0b1b4de4
+0, 4, 4, 1, 2332800, 0x726a644c
+0, 5, 5, 1, 2332800, 0x7a09c4a5
+0, 6, 6, 1, 2332800, 0x2e9059ea
+0, 7, 7, 1, 2332800, 0x52071fdc
+0, 8, 8, 1, 2332800, 0x4fa00417
+0, 9, 9, 1, 2332800, 0x6037fb4d
+0, 10, 10, 1, 2332800, 0x887ffae2
+0, 11, 11, 1, 2332800, 0x887ffae2
+0, 12, 12, 1, 2332800, 0x887ffae2
+0, 13, 13, 1, 2332800, 0x887ffae2
+0, 14, 14, 1, 2332800, 0x887ffae2
+0, 15, 15, 1, 2332800, 0x887ffae2
+0, 16, 16, 1, 2332800, 0x887ffae2
+0, 17, 17, 1, 2332800, 0x887ffae2
+0, 18, 18, 1, 2332800, 0x887ffae2
+0, 19, 19, 1, 2332800, 0x887ffae2
+0, 20, 20, 1, 2332800, 0x887ffae2
+0, 21, 21, 1, 2332800, 0x887ffae2
+0, 22, 22, 1, 2332800, 0x887ffae2
+0, 23, 23, 1, 2332800, 0x887ffae2
+0, 24, 24, 1, 2332800, 0x887ffae2
+0, 25, 25, 1, 2332800, 0x887ffae2
+0, 26, 26, 1, 2332800, 0x887ffae2
+0, 27, 27, 1, 2332800, 0x887ffae2
+0, 28, 28, 1, 2332800, 0x887ffae2
+0, 29, 29, 1, 2332800, 0x824bb91b
OpenPOWER on IntegriCloud