[FFmpeg-cvslog] fate: Add test for broken SPS (Ticket 2580)

Michael Niedermayer git at videolan.org
Thu May 5 04:15:03 CEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue May  3 16:30:03 2016 +0200| [e7a9b434c57c1ca8dd8c2ad403925ab54357c849] | committer: Michael Niedermayer

fate: Add test for broken SPS (Ticket 2580)

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e7a9b434c57c1ca8dd8c2ad403925ab54357c849
---

 tests/fate/h264.mak                |    2 +
 tests/ref/fate/h264-brokensps-2580 |   84 ++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index eb42b12..7f3fe69 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -198,6 +198,7 @@ FATE_H264-$(call DEMDEC,  MOV, H264) += fate-h264-crop-to-container
 FATE_H264-$(call DEMDEC,  MOV, H264) += fate-h264-interlace-crop
 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_FFPROBE-$(call DEMDEC, MATROSKA, H264) += fate-h264-dts_5frames
 
 FATE_SAMPLES_AVCONV += $(FATE_H264-yes)
@@ -398,6 +399,7 @@ fate-h264-extreme-plane-pred:                     CMD = framemd5 -i $(TARGET_SAM
 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
 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-reinit-%:                               CMD = framecrc -i $(TARGET_SAMPLES)/h264/$(@:fate-h264-%=%).h264 -vf format=yuv444p10le,scale=w=352:h=288
 
diff --git a/tests/ref/fate/h264-brokensps-2580 b/tests/ref/fate/h264-brokensps-2580
new file mode 100644
index 0000000..0bdb1da
--- /dev/null
+++ b/tests/ref/fate/h264-brokensps-2580
@@ -0,0 +1,84 @@
+#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 192x144
+#sar 0: 0/1
+0,          0,          0,        1,    41472, 0x89c63720
+0,          2,          2,        1,    41472, 0x4605aca8
+0,          4,          4,        1,    41472, 0xc1c6fdf7
+0,          6,          6,        1,    41472, 0x09f7f4c9
+0,          8,          8,        1,    41472, 0x823abdcb
+0,         10,         10,        1,    41472, 0xc338b5e3
+0,         12,         12,        1,    41472, 0xb961599b
+0,         14,         14,        1,    41472, 0x871b59ea
+0,         16,         16,        1,    41472, 0x949a2948
+0,         18,         18,        1,    41472, 0x32561424
+0,         20,         20,        1,    41472, 0x54920aec
+0,         22,         22,        1,    41472, 0x14d6ec9d
+0,         24,         24,        1,    41472, 0x2a30e4ba
+0,         26,         26,        1,    41472, 0x8774de8b
+0,         28,         28,        1,    41472, 0xf33cd23f
+0,         32,         32,        1,    41472, 0x41059fc9
+0,         34,         34,        1,    41472, 0x65a3a3b9
+0,         36,         36,        1,    41472, 0xbf28a6bc
+0,         38,         38,        1,    41472, 0xc69bab99
+0,         40,         40,        1,    41472, 0xc5f4ae3f
+0,         42,         42,        1,    41472, 0x4c98b28e
+0,         44,         44,        1,    41472, 0x81d8afa5
+0,         46,         46,        1,    41472, 0x5293b73c
+0,         48,         48,        1,    41472, 0x5ba2bb28
+0,         50,         50,        1,    41472, 0x7fcfc16d
+0,         52,         52,        1,    41472, 0x86a4bd93
+0,         54,         54,        1,    41472, 0x7337bd9f
+0,         56,         56,        1,    41472, 0x6f84bfa0
+0,         58,         58,        1,    41472, 0x4868c1fe
+0,         60,         60,        1,    41472, 0x38d8ada8
+0,         62,         62,        1,    41472, 0x4bb988aa
+0,         64,         64,        1,    41472, 0x33a67dc5
+0,         66,         66,        1,    41472, 0xaf187be9
+0,         68,         68,        1,    41472, 0xf7d27ca8
+0,         70,         70,        1,    41472, 0xf9807fb3
+0,         72,         72,        1,    41472, 0x14447ee3
+0,         74,         74,        1,    41472, 0xf66285e9
+0,         76,         76,        1,    41472, 0x10b38fa5
+0,         78,         78,        1,    41472, 0x335d916d
+0,         80,         80,        1,    41472, 0xe82e93be
+0,         82,         82,        1,    41472, 0x2b3393d5
+0,         84,         84,        1,    41472, 0x95239770
+0,         86,         86,        1,    41472, 0xe3989676
+0,         88,         88,        1,    41472, 0x627398fd
+0,         90,         90,        1,    41472, 0xd2639c33
+0,         92,         92,        1,    41472, 0x361fa861
+0,         94,         94,        1,    41472, 0x0bf6a938
+0,         96,         96,        1,    41472, 0xf2caab81
+0,         98,         98,        1,    41472, 0xae2aab1b
+0,        100,        100,        1,    41472, 0x1c54a705
+0,        102,        102,        1,    41472, 0xe681a95f
+0,        104,        104,        1,    41472, 0x4ee7abc6
+0,        125,        125,        1,    41472, 0x68a45a04
+0,        131,        131,        1,    41472, 0xf41a4071
+0,        133,        133,        1,    41472, 0xa269adab
+0,        135,        135,        1,    41472, 0xaa1eb23d
+0,        137,        137,        1,    41472, 0xae605bff
+0,        139,        139,        1,    41472, 0xabc75beb
+0,        141,        141,        1,    41472, 0x3f988c08
+0,        143,        143,        1,    41472, 0xc2968ef7
+0,        145,        145,        1,    41472, 0x90d75ca9
+0,        147,        147,        1,    41472, 0x57096134
+0,        149,        149,        1,    41472, 0x32398f58
+0,        151,        151,        1,    41472, 0xde0c8b4c
+0,        153,        153,        1,    41472, 0x7c489797
+0,        155,        155,        1,    41472, 0xaa4e9f12
+0,        157,        157,        1,    41472, 0x9c29a032
+0,        159,        159,        1,    41472, 0x75154e97
+0,        161,        161,        1,    41472, 0x090ba403
+0,        163,        163,        1,    41472, 0xefbfa8bd
+0,        165,        165,        1,    41472, 0x7ce0289a
+0,        167,        167,        1,    41472, 0x48cc318b
+0,        169,        169,        1,    41472, 0xaf6fae87
+0,        171,        171,        1,    41472, 0xf7bab36b
+0,        173,        173,        1,    41472, 0x4a5b38cd
+0,        175,        175,        1,    41472, 0x73de3c81
+0,        177,        177,        1,    41472, 0x46e2aba0
+0,        179,        179,        1,    41472, 0xe75eb500
+0,        181,        181,        1,    41472, 0xfaf40d50



More information about the ffmpeg-cvslog mailing list