Browse Source

FATE: add an H.264 test with unescaped extradata

See commit a7829a2
tags/n3.1
Anton Khirnov 9 years ago
parent
commit
18019f8cb9
2 changed files with 15 additions and 0 deletions
  1. +4
    -0
      tests/fate/h264.mak
  2. +11
    -0
      tests/ref/fate/h264-unescaped-extradata

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

@@ -190,6 +190,9 @@ FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-interlace-crop
# by using a previous ref frame instead of a missing one
FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-invalid-ref-mod

# this sample has invalid extradata that is not escaped
FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-unescaped-extradata

FATE_H264-$(call ALLYES, MOV_DEMUXER H264_MP4TOANNEXB_BSF) += fate-h264-bsf-mp4toannexb
FATE_H264-$(call DEMDEC, MATROSKA, H264) += fate-h264-direct-bff

@@ -377,5 +380,6 @@ fate-h264-interlace-crop: CMD = framecrc -i $(TARGET_SAM
fate-h264-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/h264/lossless.h264
fate-h264-direct-bff: CMD = framecrc -i $(TARGET_SAMPLES)/h264/direct-bff.mkv
fate-h264-invalid-ref-mod: CMD = framecrc -i $(TARGET_SAMPLES)/h264/h264refframeregression.mp4 -an -frames 10 -pix_fmt yuv420p10le
fate-h264-unescaped-extradata: CMD = framecrc -i $(TARGET_SAMPLES)/h264/unescaped_extradata.mp4 -an -frames 10

fate-h264-reinit-%: CMD = framecrc -i $(TARGET_SAMPLES)/h264/$(@:fate-h264-%=%).h264 -vf format=yuv444p10le,scale=w=352:h=288

+ 11
- 0
tests/ref/fate/h264-unescaped-extradata View File

@@ -0,0 +1,11 @@
#tb 0: 1/44100
0, 0, 0, 0, 84480, 0x0699eb38
0, 1764, 1764, 0, 84480, 0xce902c32
0, 3528, 3528, 0, 84480, 0xb6d125f7
0, 5292, 5292, 0, 84480, 0x2555e93b
0, 7056, 7056, 0, 84480, 0xaea5c08c
0, 8820, 8820, 0, 84480, 0x848eb3da
0, 10584, 10584, 0, 84480, 0x6cfabe90
0, 12348, 12348, 0, 84480, 0xed16cc5e
0, 14112, 14112, 0, 84480, 0xda8df8f8
0, 15876, 15876, 0, 84480, 0x83fa054b

Loading…
Cancel
Save