diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak index 4ae1305f63..9b388bb843 100644 --- a/tests/fate/h264.mak +++ b/tests/fate/h264.mak @@ -209,6 +209,7 @@ FATE_H264-$(call DEMDEC, MATROSKA, H264) += fate-h264-direct-bff FATE_H264-$(call DEMDEC, FLV, H264) += fate-h264-brokensps-2580 FATE_H264-$(call DEMDEC, MXF, H264) += fate-h264-xavc-4389 FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-attachment-631 +FATE_H264-$(call DEMDEC, MPEGTS, H264) += fate-h264-skip-nokey fate-h264-skip-nointra FATE_H264_FFPROBE-$(call DEMDEC, MATROSKA, H264) += fate-h264-dts_5frames FATE_SAMPLES_AVCONV += $(FATE_H264-yes) @@ -412,6 +413,8 @@ fate-h264-direct-bff: CMD = framecrc -i $(TARGET_SAM fate-h264-brokensps-2580: CMD = framecrc -i $(TARGET_SAMPLES)/h264/brokensps.flv -vf format=yuv420p,scale=w=192:h=144 -sws_flags bitexact+bilinear fate-h264-xavc-4389: CMD = framecrc -i $(TARGET_SAMPLES)/h264/SonyXAVC_LongGOP_green_pixelation_early_Frames.MXF -pix_fmt yuv422p10le fate-h264-attachment-631: CMD = framecrc -i $(TARGET_SAMPLES)/h264/attachment631-small.mp4 -an -max_error_rate 0.95 +fate-h264-skip-nokey: CMD = framecrc -skip_frame nokey -i $(TARGET_SAMPLES)/h264/h264_intra_first-small.ts +fate-h264-skip-nointra: CMD = framecrc -skip_frame nointra -i $(TARGET_SAMPLES)/h264/h264_intra_first-small.ts 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 diff --git a/tests/ref/fate/h264-skip-nointra b/tests/ref/fate/h264-skip-nointra new file mode 100644 index 0000000000..40b5bb26d4 --- /dev/null +++ b/tests/ref/fate/h264-skip-nointra @@ -0,0 +1,54 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 1920x1080 +#sar 0: 1/1 +#tb 1: 1/48000 +#media_type 1: audio +#codec_id 1: pcm_s16le +#sample_rate 1: 48000 +#channel_layout 1: 3 +1, 0, 0, 1152, 4608, 0x00000000 +1, 1152, 1152, 1152, 4608, 0x00000000 +1, 2304, 2304, 1152, 4608, 0x00000000 +1, 3456, 3456, 1152, 4608, 0x00000000 +1, 4608, 4608, 1152, 4608, 0x00000000 +1, 5760, 5760, 1152, 4608, 0x00000000 +1, 6912, 6912, 1152, 4608, 0x00000000 +1, 8064, 8064, 1152, 4608, 0x00000000 +1, 9216, 9216, 1152, 4608, 0x00000000 +1, 10368, 10368, 1152, 4608, 0x00000000 +1, 11520, 11520, 1152, 4608, 0x00000000 +1, 12672, 12672, 1152, 4608, 0x00000000 +1, 13824, 13824, 1152, 4608, 0x00000000 +1, 14976, 14976, 1152, 4608, 0x00000000 +1, 16128, 16128, 1152, 4608, 0x00000000 +1, 17280, 17280, 1152, 4608, 0x00000000 +1, 18432, 18432, 1152, 4608, 0x00000000 +1, 19584, 19584, 1152, 4608, 0x00000000 +1, 20736, 20736, 1152, 4608, 0x00000000 +1, 21888, 21888, 1152, 4608, 0x00000000 +1, 23040, 23040, 1152, 4608, 0x00000000 +1, 24192, 24192, 1152, 4608, 0x00000000 +1, 25344, 25344, 1152, 4608, 0x00000000 +1, 26496, 26496, 1152, 4608, 0x00000000 +1, 27648, 27648, 1152, 4608, 0x00000000 +1, 28800, 28800, 1152, 4608, 0x00000000 +1, 29952, 29952, 1152, 4608, 0x00000000 +1, 31104, 31104, 1152, 4608, 0x00000000 +1, 32256, 32256, 1152, 4608, 0x00000000 +1, 33408, 33408, 1152, 4608, 0x00000000 +1, 34560, 34560, 1152, 4608, 0x00000000 +1, 35712, 35712, 1152, 4608, 0x00000000 +1, 36864, 36864, 1152, 4608, 0x00000000 +1, 38016, 38016, 1152, 4608, 0x00000000 +1, 39168, 39168, 1152, 4608, 0x00000000 +1, 40320, 40320, 1152, 4608, 0x00000000 +1, 41472, 41472, 1152, 4608, 0x00000000 +1, 42624, 42624, 1152, 4608, 0x00000000 +1, 43776, 43776, 1152, 4608, 0x00000000 +1, 44928, 44928, 1152, 4608, 0x00000000 +1, 46080, 46080, 1152, 4608, 0x00000000 +1, 47232, 47232, 1152, 4608, 0x00000000 +1, 48384, 48384, 1152, 4608, 0x9eca8b7c +0, 45, 45, 1, 3110400, 0xa426f15d diff --git a/tests/ref/fate/h264-skip-nokey b/tests/ref/fate/h264-skip-nokey new file mode 100644 index 0000000000..40b5bb26d4 --- /dev/null +++ b/tests/ref/fate/h264-skip-nokey @@ -0,0 +1,54 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 1920x1080 +#sar 0: 1/1 +#tb 1: 1/48000 +#media_type 1: audio +#codec_id 1: pcm_s16le +#sample_rate 1: 48000 +#channel_layout 1: 3 +1, 0, 0, 1152, 4608, 0x00000000 +1, 1152, 1152, 1152, 4608, 0x00000000 +1, 2304, 2304, 1152, 4608, 0x00000000 +1, 3456, 3456, 1152, 4608, 0x00000000 +1, 4608, 4608, 1152, 4608, 0x00000000 +1, 5760, 5760, 1152, 4608, 0x00000000 +1, 6912, 6912, 1152, 4608, 0x00000000 +1, 8064, 8064, 1152, 4608, 0x00000000 +1, 9216, 9216, 1152, 4608, 0x00000000 +1, 10368, 10368, 1152, 4608, 0x00000000 +1, 11520, 11520, 1152, 4608, 0x00000000 +1, 12672, 12672, 1152, 4608, 0x00000000 +1, 13824, 13824, 1152, 4608, 0x00000000 +1, 14976, 14976, 1152, 4608, 0x00000000 +1, 16128, 16128, 1152, 4608, 0x00000000 +1, 17280, 17280, 1152, 4608, 0x00000000 +1, 18432, 18432, 1152, 4608, 0x00000000 +1, 19584, 19584, 1152, 4608, 0x00000000 +1, 20736, 20736, 1152, 4608, 0x00000000 +1, 21888, 21888, 1152, 4608, 0x00000000 +1, 23040, 23040, 1152, 4608, 0x00000000 +1, 24192, 24192, 1152, 4608, 0x00000000 +1, 25344, 25344, 1152, 4608, 0x00000000 +1, 26496, 26496, 1152, 4608, 0x00000000 +1, 27648, 27648, 1152, 4608, 0x00000000 +1, 28800, 28800, 1152, 4608, 0x00000000 +1, 29952, 29952, 1152, 4608, 0x00000000 +1, 31104, 31104, 1152, 4608, 0x00000000 +1, 32256, 32256, 1152, 4608, 0x00000000 +1, 33408, 33408, 1152, 4608, 0x00000000 +1, 34560, 34560, 1152, 4608, 0x00000000 +1, 35712, 35712, 1152, 4608, 0x00000000 +1, 36864, 36864, 1152, 4608, 0x00000000 +1, 38016, 38016, 1152, 4608, 0x00000000 +1, 39168, 39168, 1152, 4608, 0x00000000 +1, 40320, 40320, 1152, 4608, 0x00000000 +1, 41472, 41472, 1152, 4608, 0x00000000 +1, 42624, 42624, 1152, 4608, 0x00000000 +1, 43776, 43776, 1152, 4608, 0x00000000 +1, 44928, 44928, 1152, 4608, 0x00000000 +1, 46080, 46080, 1152, 4608, 0x00000000 +1, 47232, 47232, 1152, 4608, 0x00000000 +1, 48384, 48384, 1152, 4608, 0x9eca8b7c +0, 45, 45, 1, 3110400, 0xa426f15d