diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-11-15 11:18:02 -0500 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-11-16 02:43:19 +0100 |
commit | 00c80798160f930ce680f98f869c23d91a261f06 (patch) | |
tree | 36703287278729d0dc39348eb63680719c54b272 /tests | |
parent | c512546689eb48c9ab4ece0a09619c18559b16c5 (diff) | |
download | ffmpeg-streaming-00c80798160f930ce680f98f869c23d91a261f06.zip ffmpeg-streaming-00c80798160f930ce680f98f869c23d91a261f06.tar.gz |
fate: Add h264 extradata reload tests
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/h264.mak | 5 | ||||
-rw-r--r-- | tests/ref/fate/h264-extradata-reload | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak index b4d7f7a..f8ef3f4 100644 --- a/tests/fate/h264.mak +++ b/tests/fate/h264.mak @@ -196,6 +196,10 @@ FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \ FATE_H264-$(call DEMDEC, H264, H264) += $(FATE_H264) FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-crop-to-container + +# this sample has two stsd entries and needs to reload extradata +FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-extradata-reload + FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-interlace-crop # this sample has invalid reference list modification, but decodes fine @@ -408,6 +412,7 @@ fate-h264-conformance-sva_nl2_e: CMD = framecrc -vsync drop -i fate-h264-bsf-mp4toannexb: CMD = md5 -i $(TARGET_SAMPLES)/h264/interlaced_crop.mp4 -vcodec copy -f h264 fate-h264-crop-to-container: CMD = framemd5 -i $(TARGET_SAMPLES)/h264/crop-to-container-dims-canon.mov +fate-h264-extradata-reload: CMD = framemd5 -i $(TARGET_SAMPLES)/h264/extradata-reload-multi-stsd.mov fate-h264-extreme-plane-pred: CMD = framemd5 -i $(TARGET_SAMPLES)/h264/extreme-plane-pred.h264 fate-h264-interlace-crop: CMD = framecrc -i $(TARGET_SAMPLES)/h264/interlaced_crop.mp4 -vframes 3 fate-h264-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/h264/lossless.h264 diff --git a/tests/ref/fate/h264-extradata-reload b/tests/ref/fate/h264-extradata-reload new file mode 100644 index 0000000..c70f805 --- /dev/null +++ b/tests/ref/fate/h264-extradata-reload @@ -0,0 +1,13 @@ +#format: frame checksums +#version: 2 +#hash: MD5 +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 256x128 +#sar 0: 1/1 +#stream#, dts, pts, duration, size, hash +0, 0, 0, 1, 49152, ae09c88e87e3ea0aa8ad267ee91222e5 +0, 1, 1, 1, 49152, 7ccd8321a6e23ae1f82bd323c8376524 +0, 2, 2, 1, 49152, 8ed93ab585ff9848801cc28b75b5e12d +0, 3, 3, 1, 49152, 0049913870ddb62ffc535282018766f4 |