[FFmpeg-cvslog] tests/fate/lossless-video: Add test for ticket4119

Michael Niedermayer git at videolan.org
Mon Feb 29 00:23:38 CET 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Feb 28 23:56:06 2016 +0100| [a11258b73234031bcd0fec197f8af586adbddbd9] | committer: Michael Niedermayer

tests/fate/lossless-video: Add test for ticket4119

The reference file is very small, and there was no previous test for the -vsync values

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

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

 tests/fate/lossless-video.mak           |    7 +++
 tests/ref/fate/lagarith-ticket4119      |    4 ++
 tests/ref/fate/lagarith-ticket4119-cfr  |   75 +++++++++++++++++++++++++++++++
 tests/ref/fate/lagarith-ticket4119-drop |    4 ++
 tests/ref/fate/lagarith-ticket4119-pass |    4 ++
 tests/ref/fate/lagarith-ticket4119-vfr  |    4 ++
 6 files changed, 98 insertions(+)

diff --git a/tests/fate/lossless-video.mak b/tests/fate/lossless-video.mak
index 514d6fd..bfbed83 100644
--- a/tests/fate/lossless-video.mak
+++ b/tests/fate/lossless-video.mak
@@ -25,6 +25,13 @@ fate-lagarith-yv12: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lag-yv12.avi
 FATE_LAGARITH += fate-lagarith-red
 fate-lagarith-red: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-red.avi
 
+FATE_LAGARITH += fate-lagarith-ticket4119 fate-lagarith-ticket4119-cfr fate-lagarith-ticket4119-vfr fate-lagarith-ticket4119-pass fate-lagarith-ticket4119-drop
+fate-lagarith-ticket4119: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi
+fate-lagarith-ticket4119-cfr : CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi -vsync cfr
+fate-lagarith-ticket4119-vfr : CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi -vsync vfr
+fate-lagarith-ticket4119-pass: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi -vsync passthrough
+fate-lagarith-ticket4119-drop: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi -vsync drop
+
 FATE_LOSSLESS_VIDEO-$(call DEMDEC, AVI, LAGARITH) += $(FATE_LAGARITH)
 fate-lagarith: $(FATE_LAGARITH)
 
diff --git a/tests/ref/fate/lagarith-ticket4119 b/tests/ref/fate/lagarith-ticket4119
new file mode 100644
index 0000000..ac74875
--- /dev/null
+++ b/tests/ref/fate/lagarith-ticket4119
@@ -0,0 +1,4 @@
+#tb 0: 1/25
+0,          0,          0,        1,   691200, 0x00000000
+0,         25,         25,        1,   691200, 0xc88a6f24
+0,         50,         50,        1,   691200, 0x906d474c
diff --git a/tests/ref/fate/lagarith-ticket4119-cfr b/tests/ref/fate/lagarith-ticket4119-cfr
new file mode 100644
index 0000000..51e841f
--- /dev/null
+++ b/tests/ref/fate/lagarith-ticket4119-cfr
@@ -0,0 +1,75 @@
+#tb 0: 1/25
+0,          0,          0,        1,   691200, 0x00000000
+0,          1,          1,        1,   691200, 0x00000000
+0,          2,          2,        1,   691200, 0x00000000
+0,          3,          3,        1,   691200, 0x00000000
+0,          4,          4,        1,   691200, 0x00000000
+0,          5,          5,        1,   691200, 0x00000000
+0,          6,          6,        1,   691200, 0x00000000
+0,          7,          7,        1,   691200, 0x00000000
+0,          8,          8,        1,   691200, 0x00000000
+0,          9,          9,        1,   691200, 0x00000000
+0,         10,         10,        1,   691200, 0x00000000
+0,         11,         11,        1,   691200, 0x00000000
+0,         12,         12,        1,   691200, 0x00000000
+0,         13,         13,        1,   691200, 0x00000000
+0,         14,         14,        1,   691200, 0x00000000
+0,         15,         15,        1,   691200, 0x00000000
+0,         16,         16,        1,   691200, 0x00000000
+0,         17,         17,        1,   691200, 0x00000000
+0,         18,         18,        1,   691200, 0x00000000
+0,         19,         19,        1,   691200, 0x00000000
+0,         20,         20,        1,   691200, 0x00000000
+0,         21,         21,        1,   691200, 0x00000000
+0,         22,         22,        1,   691200, 0x00000000
+0,         23,         23,        1,   691200, 0x00000000
+0,         24,         24,        1,   691200, 0xc88a6f24
+0,         25,         25,        1,   691200, 0xc88a6f24
+0,         26,         26,        1,   691200, 0xc88a6f24
+0,         27,         27,        1,   691200, 0xc88a6f24
+0,         28,         28,        1,   691200, 0xc88a6f24
+0,         29,         29,        1,   691200, 0xc88a6f24
+0,         30,         30,        1,   691200, 0xc88a6f24
+0,         31,         31,        1,   691200, 0xc88a6f24
+0,         32,         32,        1,   691200, 0xc88a6f24
+0,         33,         33,        1,   691200, 0xc88a6f24
+0,         34,         34,        1,   691200, 0xc88a6f24
+0,         35,         35,        1,   691200, 0xc88a6f24
+0,         36,         36,        1,   691200, 0xc88a6f24
+0,         37,         37,        1,   691200, 0xc88a6f24
+0,         38,         38,        1,   691200, 0xc88a6f24
+0,         39,         39,        1,   691200, 0xc88a6f24
+0,         40,         40,        1,   691200, 0xc88a6f24
+0,         41,         41,        1,   691200, 0xc88a6f24
+0,         42,         42,        1,   691200, 0xc88a6f24
+0,         43,         43,        1,   691200, 0xc88a6f24
+0,         44,         44,        1,   691200, 0xc88a6f24
+0,         45,         45,        1,   691200, 0xc88a6f24
+0,         46,         46,        1,   691200, 0xc88a6f24
+0,         47,         47,        1,   691200, 0xc88a6f24
+0,         48,         48,        1,   691200, 0xc88a6f24
+0,         49,         49,        1,   691200, 0x906d474c
+0,         50,         50,        1,   691200, 0x906d474c
+0,         51,         51,        1,   691200, 0x906d474c
+0,         52,         52,        1,   691200, 0x906d474c
+0,         53,         53,        1,   691200, 0x906d474c
+0,         54,         54,        1,   691200, 0x906d474c
+0,         55,         55,        1,   691200, 0x906d474c
+0,         56,         56,        1,   691200, 0x906d474c
+0,         57,         57,        1,   691200, 0x906d474c
+0,         58,         58,        1,   691200, 0x906d474c
+0,         59,         59,        1,   691200, 0x906d474c
+0,         60,         60,        1,   691200, 0x906d474c
+0,         61,         61,        1,   691200, 0x906d474c
+0,         62,         62,        1,   691200, 0x906d474c
+0,         63,         63,        1,   691200, 0x906d474c
+0,         64,         64,        1,   691200, 0x906d474c
+0,         65,         65,        1,   691200, 0x906d474c
+0,         66,         66,        1,   691200, 0x906d474c
+0,         67,         67,        1,   691200, 0x906d474c
+0,         68,         68,        1,   691200, 0x906d474c
+0,         69,         69,        1,   691200, 0x906d474c
+0,         70,         70,        1,   691200, 0x906d474c
+0,         71,         71,        1,   691200, 0x906d474c
+0,         72,         72,        1,   691200, 0x906d474c
+0,         73,         73,        1,   691200, 0x906d474c
diff --git a/tests/ref/fate/lagarith-ticket4119-drop b/tests/ref/fate/lagarith-ticket4119-drop
new file mode 100644
index 0000000..ae6309b
--- /dev/null
+++ b/tests/ref/fate/lagarith-ticket4119-drop
@@ -0,0 +1,4 @@
+#tb 0: 1/25
+0,          0,          0,        1,   691200, 0x00000000
+0,          1,          1,        1,   691200, 0xc88a6f24
+0,          2,          2,        1,   691200, 0x906d474c
diff --git a/tests/ref/fate/lagarith-ticket4119-pass b/tests/ref/fate/lagarith-ticket4119-pass
new file mode 100644
index 0000000..ac74875
--- /dev/null
+++ b/tests/ref/fate/lagarith-ticket4119-pass
@@ -0,0 +1,4 @@
+#tb 0: 1/25
+0,          0,          0,        1,   691200, 0x00000000
+0,         25,         25,        1,   691200, 0xc88a6f24
+0,         50,         50,        1,   691200, 0x906d474c
diff --git a/tests/ref/fate/lagarith-ticket4119-vfr b/tests/ref/fate/lagarith-ticket4119-vfr
new file mode 100644
index 0000000..ac74875
--- /dev/null
+++ b/tests/ref/fate/lagarith-ticket4119-vfr
@@ -0,0 +1,4 @@
+#tb 0: 1/25
+0,          0,          0,        1,   691200, 0x00000000
+0,         25,         25,        1,   691200, 0xc88a6f24
+0,         50,         50,        1,   691200, 0x906d474c



More information about the ffmpeg-cvslog mailing list