From e78515f2ae5383bd7e0a2ca2cac126180fad1492 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 3 Jun 2016 01:09:58 +0200 Subject: [PATCH] tests/fate/h264: Add test for xavc and somewhat odd pps/sps (Ticket 4389) Signed-off-by: Michael Niedermayer --- tests/fate/h264.mak | 2 ++ tests/ref/fate/h264-xavc-4389 | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/ref/fate/h264-xavc-4389 diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak index c1bb69ba26..e12263c2ab 100644 --- a/tests/fate/h264.mak +++ b/tests/fate/h264.mak @@ -207,6 +207,7 @@ 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 FATE_H264-$(call DEMDEC, FLV, H264) += fate-h264-brokensps-2580 +FATE_H264-$(call DEMDEC, MXF, H264) += fate-h264-xavc-4389 FATE_H264_FFPROBE-$(call DEMDEC, MATROSKA, H264) += fate-h264-dts_5frames FATE_SAMPLES_AVCONV += $(FATE_H264-yes) @@ -408,6 +409,7 @@ 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-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-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-xavc-4389 b/tests/ref/fate/h264-xavc-4389 new file mode 100644 index 0000000000..b1158b8e57 --- /dev/null +++ b/tests/ref/fate/h264-xavc-4389 @@ -0,0 +1,22 @@ +#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: 4 +0, 0, 0, 1, 8294400, 0x9a02ecf2 +1, 0, 0, 1920, 3840, 0x38074ac8 +0, 1, 1, 1, 8294400, 0x626f870a +1, 1920, 1920, 1920, 3840, 0xd154829c +0, 2, 2, 1, 8294400, 0x2d60557c +1, 3840, 3840, 1920, 3840, 0x52515421 +0, 3, 3, 1, 8294400, 0x9c582956 +1, 5760, 5760, 1920, 3840, 0xdb8869d8 +0, 4, 4, 1, 8294400, 0x1c071f9a +1, 7680, 7680, 1920, 3840, 0x5b2f7758 +0, 5, 5, 1, 8294400, 0x727f33cc +1, 9600, 9600, 1920, 3840, 0xd099976a