[FFmpeg-devel] [PATCH] fate/h264: add test for ticket #631

Clément Bœsch u at pkh.me
Fri Jun 17 14:38:14 CEST 2016


From: Clément Bœsch <clement at stupeflix.com>

---
 tests/fate/h264.mak                |  2 ++
 tests/ref/fate/h264-attachment-631 | 20 ++++++++++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 tests/ref/fate/h264-attachment-631

diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index e12263c..4ae1305 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -208,6 +208,7 @@ FATE_H264-$(call ALLYES, MOV_DEMUXER H264_MP4TOANNEXB_BSF) += fate-h264-bsf-mp4t
 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_FFPROBE-$(call DEMDEC, MATROSKA, H264) += fate-h264-dts_5frames
 
 FATE_SAMPLES_AVCONV += $(FATE_H264-yes)
@@ -410,6 +411,7 @@ fate-h264-lossless:                               CMD = framecrc -i $(TARGET_SAM
 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-attachment-631:                         CMD = framecrc -i $(TARGET_SAMPLES)/h264/attachment631-small.mp4 -an -max_error_rate 0.95
 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-attachment-631 b/tests/ref/fate/h264-attachment-631
new file mode 100644
index 0000000..ebb5eb4
--- /dev/null
+++ b/tests/ref/fate/h264-attachment-631
@@ -0,0 +1,20 @@
+#tb 0: 1/60
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 720x480
+#sar 0: 8/9
+0,        598,        598,        1,   518400, 0xc3c0f1cf
+0,        603,        603,        1,   518400, 0x21a5df80
+0,        607,        607,        1,   518400, 0x5b8e115b
+0,        611,        611,        1,   518400, 0x7ce09331
+0,        615,        615,        1,   518400, 0x30ff1f1f
+0,        619,        619,        1,   518400, 0x64f091ed
+0,        623,        623,        1,   518400, 0xb3c117a2
+0,        627,        627,        1,   518400, 0x0fbe146d
+0,        631,        631,        1,   518400, 0x75209293
+0,        635,        635,        1,   518400, 0xa3030208
+0,        639,        639,        1,   518400, 0x8cea6941
+0,        643,        643,        1,   518400, 0xf41d1dbd
+0,        647,        647,        1,   518400, 0xcc9fe95e
+0,        651,        651,        1,   518400, 0xa2a60dbc
+0,        655,        655,        1,   518400, 0x3f5eecdb
-- 
2.8.3



More information about the ffmpeg-devel mailing list