[FFmpeg-cvslog] fate/filter-video: add test for Ticket1578

Michael Niedermayer git at videolan.org
Mon Feb 29 01:20:04 CET 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Feb 29 00:52:26 2016 +0100| [993d622d007017a589438f58fd7dbb97fa69c922] | committer: Michael Niedermayer

fate/filter-video: add test for Ticket1578

reference test sample is tiny

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

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

 tests/fate/filter-video.mak   |    5 +++
 tests/ref/fate/filter-fps     |   83 +++++++++++++++++++++++++++++++++++++
 tests/ref/fate/filter-fps-cfr |   90 +++++++++++++++++++++++++++++++++++++++++
 tests/ref/fate/filter-fps-r   |   70 ++++++++++++++++++++++++++++++++
 4 files changed, 248 insertions(+)

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 4186996..86ead96 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -332,6 +332,11 @@ fate-filter-concat: CMD = framecrc -filter_complex_script $(TARGET_PATH)/tests/d
 FATE_FILTER-$(call ALLYES, TESTSRC2_FILTER FPS_FILTER MPDECIMATE_FILTER) += fate-filter-mpdecimate
 fate-filter-mpdecimate: CMD = framecrc -lavfi testsrc2=r=2:d=10,fps=3,mpdecimate -r 3 -pix_fmt yuv420p
 
+FATE_FILTER-$(call ALLYES, MOV_DEMUXER FPS_FILTER QTRLE_DECODER) += fate-filter-fps-cfr fate-filter-fps fate-filter-fps-r
+fate-filter-fps-cfr: CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/apple-animation-variable-fps-bug.mov -r 30 -vsync cfr -pix_fmt yuv420p
+fate-filter-fps-r:   CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/apple-animation-variable-fps-bug.mov -r 30 -vf fps -pix_fmt yuv420p
+fate-filter-fps:     CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/apple-animation-variable-fps-bug.mov -vf fps=30 -pix_fmt yuv420p
+
 FATE_FILTER_VSYNTH-$(call ALLYES, FORMAT_FILTER SPLIT_FILTER ALPHAEXTRACT_FILTER ALPHAMERGE_FILTER) += fate-filter-alphaextract_alphamerge_rgb
 fate-filter-alphaextract_alphamerge_rgb: tests/data/filtergraphs/alphamerge_alphaextract_rgb
 fate-filter-alphaextract_alphamerge_rgb: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/alphamerge_alphaextract_rgb
diff --git a/tests/ref/fate/filter-fps b/tests/ref/fate/filter-fps
new file mode 100644
index 0000000..eb21de2
--- /dev/null
+++ b/tests/ref/fate/filter-fps
@@ -0,0 +1,83 @@
+#tb 0: 1/30
+0,          0,          0,        1,    30576, 0xcdc29b3d
+0,          1,          1,        1,    30576, 0xcdc29b3d
+0,          2,          2,        1,    30576, 0xcdc29b3d
+0,          3,          3,        1,    30576, 0xcdc29b3d
+0,          4,          4,        1,    30576, 0xcdc29b3d
+0,          5,          5,        1,    30576, 0xcdc29b3d
+0,          6,          6,        1,    30576, 0x5c83656c
+0,          7,          7,        1,    30576, 0x5c83656c
+0,          8,          8,        1,    30576, 0x5c83656c
+0,          9,          9,        1,    30576, 0x5c83656c
+0,         10,         10,        1,    30576, 0x5c83656c
+0,         11,         11,        1,    30576, 0x5c83656c
+0,         12,         12,        1,    30576, 0x5c83656c
+0,         13,         13,        1,    30576, 0x26b67f83
+0,         14,         14,        1,    30576, 0x26b67f83
+0,         15,         15,        1,    30576, 0x26b67f83
+0,         16,         16,        1,    30576, 0x26b67f83
+0,         17,         17,        1,    30576, 0x26b67f83
+0,         18,         18,        1,    30576, 0x26b67f83
+0,         19,         19,        1,    30576, 0x26b67f83
+0,         20,         20,        1,    30576, 0x26b67f83
+0,         21,         21,        1,    30576, 0x26b67f83
+0,         22,         22,        1,    30576, 0x26b67f83
+0,         23,         23,        1,    30576, 0x26b67f83
+0,         24,         24,        1,    30576, 0x26b67f83
+0,         25,         25,        1,    30576, 0x26b67f83
+0,         26,         26,        1,    30576, 0x26b67f83
+0,         27,         27,        1,    30576, 0x26b67f83
+0,         28,         28,        1,    30576, 0x26b67f83
+0,         29,         29,        1,    30576, 0x26b67f83
+0,         30,         30,        1,    30576, 0x26b67f83
+0,         31,         31,        1,    30576, 0x26b67f83
+0,         32,         32,        1,    30576, 0x26b67f83
+0,         33,         33,        1,    30576, 0x26b67f83
+0,         34,         34,        1,    30576, 0x26b67f83
+0,         35,         35,        1,    30576, 0x26b67f83
+0,         36,         36,        1,    30576, 0x26b67f83
+0,         37,         37,        1,    30576, 0x26b67f83
+0,         38,         38,        1,    30576, 0x26b67f83
+0,         39,         39,        1,    30576, 0x26b67f83
+0,         40,         40,        1,    30576, 0x26b67f83
+0,         41,         41,        1,    30576, 0x26b67f83
+0,         42,         42,        1,    30576, 0x26b67f83
+0,         43,         43,        1,    30576, 0x26b67f83
+0,         44,         44,        1,    30576, 0x26b67f83
+0,         45,         45,        1,    30576, 0x26b67f83
+0,         46,         46,        1,    30576, 0x26b67f83
+0,         47,         47,        1,    30576, 0x26b67f83
+0,         48,         48,        1,    30576, 0x26b67f83
+0,         49,         49,        1,    30576, 0x26b67f83
+0,         50,         50,        1,    30576, 0x26b67f83
+0,         51,         51,        1,    30576, 0x26b67f83
+0,         52,         52,        1,    30576, 0x26b67f83
+0,         53,         53,        1,    30576, 0x26b67f83
+0,         54,         54,        1,    30576, 0x26b67f83
+0,         55,         55,        1,    30576, 0x26b67f83
+0,         56,         56,        1,    30576, 0x26b67f83
+0,         57,         57,        1,    30576, 0x26b67f83
+0,         58,         58,        1,    30576, 0x26b67f83
+0,         59,         59,        1,    30576, 0x26b67f83
+0,         60,         60,        1,    30576, 0x26b67f83
+0,         61,         61,        1,    30576, 0x26b67f83
+0,         62,         62,        1,    30576, 0x26b67f83
+0,         63,         63,        1,    30576, 0x26b67f83
+0,         64,         64,        1,    30576, 0x26b67f83
+0,         65,         65,        1,    30576, 0x26b67f83
+0,         66,         66,        1,    30576, 0x26b67f83
+0,         67,         67,        1,    30576, 0x26b67f83
+0,         68,         68,        1,    30576, 0x26b67f83
+0,         69,         69,        1,    30576, 0x26b67f83
+0,         70,         70,        1,    30576, 0x26b67f83
+0,         71,         71,        1,    30576, 0x26b67f83
+0,         72,         72,        1,    30576, 0x26b67f83
+0,         73,         73,        1,    30576, 0xa2fcd06f
+0,         74,         74,        1,    30576, 0xa2fcd06f
+0,         75,         75,        1,    30576, 0xa2fcd06f
+0,         76,         76,        1,    30576, 0xa2fcd06f
+0,         77,         77,        1,    30576, 0xa2fcd06f
+0,         78,         78,        1,    30576, 0xa2fcd06f
+0,         79,         79,        1,    30576, 0xa2fcd06f
+0,         80,         80,        1,    30576, 0xa2fcd06f
+0,         81,         81,        1,    30576, 0xd4150aad
diff --git a/tests/ref/fate/filter-fps-cfr b/tests/ref/fate/filter-fps-cfr
new file mode 100644
index 0000000..928c11e
--- /dev/null
+++ b/tests/ref/fate/filter-fps-cfr
@@ -0,0 +1,90 @@
+#tb 0: 1/30
+0,          0,          0,        1,    30576, 0xcdc29b3d
+0,          1,          1,        1,    30576, 0xcdc29b3d
+0,          2,          2,        1,    30576, 0xcdc29b3d
+0,          3,          3,        1,    30576, 0xcdc29b3d
+0,          4,          4,        1,    30576, 0xcdc29b3d
+0,          5,          5,        1,    30576, 0xcdc29b3d
+0,          6,          6,        1,    30576, 0x5c83656c
+0,          7,          7,        1,    30576, 0x5c83656c
+0,          8,          8,        1,    30576, 0x5c83656c
+0,          9,          9,        1,    30576, 0x5c83656c
+0,         10,         10,        1,    30576, 0x5c83656c
+0,         11,         11,        1,    30576, 0x5c83656c
+0,         12,         12,        1,    30576, 0x5c83656c
+0,         13,         13,        1,    30576, 0x26b67f83
+0,         14,         14,        1,    30576, 0x26b67f83
+0,         15,         15,        1,    30576, 0x26b67f83
+0,         16,         16,        1,    30576, 0x26b67f83
+0,         17,         17,        1,    30576, 0x26b67f83
+0,         18,         18,        1,    30576, 0x26b67f83
+0,         19,         19,        1,    30576, 0x26b67f83
+0,         20,         20,        1,    30576, 0x26b67f83
+0,         21,         21,        1,    30576, 0x26b67f83
+0,         22,         22,        1,    30576, 0x26b67f83
+0,         23,         23,        1,    30576, 0x26b67f83
+0,         24,         24,        1,    30576, 0x26b67f83
+0,         25,         25,        1,    30576, 0x26b67f83
+0,         26,         26,        1,    30576, 0x26b67f83
+0,         27,         27,        1,    30576, 0x26b67f83
+0,         28,         28,        1,    30576, 0x26b67f83
+0,         29,         29,        1,    30576, 0x26b67f83
+0,         30,         30,        1,    30576, 0x26b67f83
+0,         31,         31,        1,    30576, 0x26b67f83
+0,         32,         32,        1,    30576, 0x26b67f83
+0,         33,         33,        1,    30576, 0x26b67f83
+0,         34,         34,        1,    30576, 0x26b67f83
+0,         35,         35,        1,    30576, 0x26b67f83
+0,         36,         36,        1,    30576, 0x26b67f83
+0,         37,         37,        1,    30576, 0x26b67f83
+0,         38,         38,        1,    30576, 0x26b67f83
+0,         39,         39,        1,    30576, 0x26b67f83
+0,         40,         40,        1,    30576, 0x26b67f83
+0,         41,         41,        1,    30576, 0x26b67f83
+0,         42,         42,        1,    30576, 0x26b67f83
+0,         43,         43,        1,    30576, 0x26b67f83
+0,         44,         44,        1,    30576, 0x26b67f83
+0,         45,         45,        1,    30576, 0x26b67f83
+0,         46,         46,        1,    30576, 0x26b67f83
+0,         47,         47,        1,    30576, 0x26b67f83
+0,         48,         48,        1,    30576, 0x26b67f83
+0,         49,         49,        1,    30576, 0x26b67f83
+0,         50,         50,        1,    30576, 0x26b67f83
+0,         51,         51,        1,    30576, 0x26b67f83
+0,         52,         52,        1,    30576, 0x26b67f83
+0,         53,         53,        1,    30576, 0x26b67f83
+0,         54,         54,        1,    30576, 0x26b67f83
+0,         55,         55,        1,    30576, 0x26b67f83
+0,         56,         56,        1,    30576, 0x26b67f83
+0,         57,         57,        1,    30576, 0x26b67f83
+0,         58,         58,        1,    30576, 0x26b67f83
+0,         59,         59,        1,    30576, 0x26b67f83
+0,         60,         60,        1,    30576, 0x26b67f83
+0,         61,         61,        1,    30576, 0x26b67f83
+0,         62,         62,        1,    30576, 0x26b67f83
+0,         63,         63,        1,    30576, 0x26b67f83
+0,         64,         64,        1,    30576, 0x26b67f83
+0,         65,         65,        1,    30576, 0x26b67f83
+0,         66,         66,        1,    30576, 0x26b67f83
+0,         67,         67,        1,    30576, 0x26b67f83
+0,         68,         68,        1,    30576, 0x26b67f83
+0,         69,         69,        1,    30576, 0x26b67f83
+0,         70,         70,        1,    30576, 0x26b67f83
+0,         71,         71,        1,    30576, 0x26b67f83
+0,         72,         72,        1,    30576, 0x26b67f83
+0,         73,         73,        1,    30576, 0xa2fcd06f
+0,         74,         74,        1,    30576, 0xa2fcd06f
+0,         75,         75,        1,    30576, 0xa2fcd06f
+0,         76,         76,        1,    30576, 0xa2fcd06f
+0,         77,         77,        1,    30576, 0xa2fcd06f
+0,         78,         78,        1,    30576, 0xa2fcd06f
+0,         79,         79,        1,    30576, 0xa2fcd06f
+0,         80,         80,        1,    30576, 0xa2fcd06f
+0,         81,         81,        1,    30576, 0xd4150aad
+0,         82,         82,        1,    30576, 0xd4150aad
+0,         83,         83,        1,    30576, 0xd4150aad
+0,         84,         84,        1,    30576, 0xd4150aad
+0,         85,         85,        1,    30576, 0xd4150aad
+0,         86,         86,        1,    30576, 0xd4150aad
+0,         87,         87,        1,    30576, 0xd4150aad
+0,         88,         88,        1,    30576, 0xd4150aad
diff --git a/tests/ref/fate/filter-fps-r b/tests/ref/fate/filter-fps-r
new file mode 100644
index 0000000..d91e487
--- /dev/null
+++ b/tests/ref/fate/filter-fps-r
@@ -0,0 +1,70 @@
+#tb 0: 1/30
+0,          0,          0,        1,    30576, 0xcdc29b3d
+0,          1,          1,        1,    30576, 0xcdc29b3d
+0,          2,          2,        1,    30576, 0xcdc29b3d
+0,          4,          4,        1,    30576, 0xcdc29b3d
+0,          5,          5,        1,    30576, 0xcdc29b3d
+0,          6,          6,        1,    30576, 0x5c83656c
+0,          7,          7,        1,    30576, 0x5c83656c
+0,          8,          8,        1,    30576, 0x5c83656c
+0,         10,         10,        1,    30576, 0x5c83656c
+0,         11,         11,        1,    30576, 0x5c83656c
+0,         12,         12,        1,    30576, 0x5c83656c
+0,         13,         13,        1,    30576, 0x26b67f83
+0,         14,         14,        1,    30576, 0x26b67f83
+0,         16,         16,        1,    30576, 0x26b67f83
+0,         17,         17,        1,    30576, 0x26b67f83
+0,         18,         18,        1,    30576, 0x26b67f83
+0,         19,         19,        1,    30576, 0x26b67f83
+0,         20,         20,        1,    30576, 0x26b67f83
+0,         22,         22,        1,    30576, 0x26b67f83
+0,         23,         23,        1,    30576, 0x26b67f83
+0,         24,         24,        1,    30576, 0x26b67f83
+0,         25,         25,        1,    30576, 0x26b67f83
+0,         26,         26,        1,    30576, 0x26b67f83
+0,         28,         28,        1,    30576, 0x26b67f83
+0,         29,         29,        1,    30576, 0x26b67f83
+0,         30,         30,        1,    30576, 0x26b67f83
+0,         31,         31,        1,    30576, 0x26b67f83
+0,         32,         32,        1,    30576, 0x26b67f83
+0,         34,         34,        1,    30576, 0x26b67f83
+0,         35,         35,        1,    30576, 0x26b67f83
+0,         36,         36,        1,    30576, 0x26b67f83
+0,         37,         37,        1,    30576, 0x26b67f83
+0,         38,         38,        1,    30576, 0x26b67f83
+0,         40,         40,        1,    30576, 0x26b67f83
+0,         41,         41,        1,    30576, 0x26b67f83
+0,         42,         42,        1,    30576, 0x26b67f83
+0,         43,         43,        1,    30576, 0x26b67f83
+0,         44,         44,        1,    30576, 0x26b67f83
+0,         46,         46,        1,    30576, 0x26b67f83
+0,         47,         47,        1,    30576, 0x26b67f83
+0,         48,         48,        1,    30576, 0x26b67f83
+0,         49,         49,        1,    30576, 0x26b67f83
+0,         50,         50,        1,    30576, 0x26b67f83
+0,         52,         52,        1,    30576, 0x26b67f83
+0,         53,         53,        1,    30576, 0x26b67f83
+0,         54,         54,        1,    30576, 0x26b67f83
+0,         55,         55,        1,    30576, 0x26b67f83
+0,         56,         56,        1,    30576, 0x26b67f83
+0,         58,         58,        1,    30576, 0x26b67f83
+0,         59,         59,        1,    30576, 0x26b67f83
+0,         60,         60,        1,    30576, 0x26b67f83
+0,         61,         61,        1,    30576, 0x26b67f83
+0,         62,         62,        1,    30576, 0x26b67f83
+0,         64,         64,        1,    30576, 0x26b67f83
+0,         65,         65,        1,    30576, 0x26b67f83
+0,         66,         66,        1,    30576, 0x26b67f83
+0,         67,         67,        1,    30576, 0x26b67f83
+0,         68,         68,        1,    30576, 0x26b67f83
+0,         70,         70,        1,    30576, 0x26b67f83
+0,         71,         71,        1,    30576, 0x26b67f83
+0,         72,         72,        1,    30576, 0x26b67f83
+0,         73,         73,        1,    30576, 0xa2fcd06f
+0,         74,         74,        1,    30576, 0xa2fcd06f
+0,         76,         76,        1,    30576, 0xa2fcd06f
+0,         77,         77,        1,    30576, 0xa2fcd06f
+0,         78,         78,        1,    30576, 0xa2fcd06f
+0,         79,         79,        1,    30576, 0xa2fcd06f
+0,         80,         80,        1,    30576, 0xa2fcd06f
+0,         82,         82,        1,    30576, 0xd4150aad



More information about the ffmpeg-cvslog mailing list