Browse Source

fate: Add h264 test for frame num gaps

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
tags/n3.3
Derek Buitenhuis 9 years ago
parent
commit
b7e4ea0c80
2 changed files with 37 additions and 0 deletions
  1. +2
    -0
      tests/fate/h264.mak
  2. +35
    -0
      tests/ref/fate/h264-missing-frame

+ 2
- 0
tests/fate/h264.mak View File

@@ -194,6 +194,7 @@ FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \
fate-h264-intra-refresh-recovery \ fate-h264-intra-refresh-recovery \
fate-h264-lossless \ fate-h264-lossless \
fate-h264-3386 \ fate-h264-3386 \
fate-h264-missing-frame \


FATE_H264-$(call DEMDEC, H264, H264) += $(FATE_H264) FATE_H264-$(call DEMDEC, H264, H264) += $(FATE_H264)
FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-crop-to-container FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-crop-to-container
@@ -432,6 +433,7 @@ 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-mixed-nal-coding: CMD = framecrc -i $(TARGET_SAMPLES)/h264/mixed-nal-coding.mp4
fate-h264-unescaped-extradata: CMD = framecrc -i $(TARGET_SAMPLES)/h264/unescaped_extradata.mp4 -an -frames 10 fate-h264-unescaped-extradata: CMD = framecrc -i $(TARGET_SAMPLES)/h264/unescaped_extradata.mp4 -an -frames 10
fate-h264-3386: CMD = framecrc -i $(TARGET_SAMPLES)/h264/bbc2.sample.h264 fate-h264-3386: CMD = framecrc -i $(TARGET_SAMPLES)/h264/bbc2.sample.h264
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 fate-h264-reinit-%: CMD = framecrc -i $(TARGET_SAMPLES)/h264/$(@:fate-h264-%=%).h264 -vf format=yuv444p10le,scale=w=352:h=288




+ 35
- 0
tests/ref/fate/h264-missing-frame View File

@@ -0,0 +1,35 @@
#tb 0: 1/30
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 1440x1080
#sar 0: 1/1
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

Loading…
Cancel
Save