From: Alexis Ballier Date: Sat, 11 Mar 2017 19:18:55 +0000 (+0100) Subject: fate: Add vf_framerate test. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=21bed3c981d17b1b5dcb1eb995075bb9ec850563;p=ffmpeg fate: Add vf_framerate test. Signed-off-by: Michael Niedermayer --- diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index c57c9c7d180..97c5e6c547c 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -78,6 +78,10 @@ fate-filter-lavd-scalenorm: tests/data/filtergraphs/scalenorm fate-filter-lavd-scalenorm: CMD = framecrc -f lavfi -graph_file $(TARGET_PATH)/tests/data/filtergraphs/scalenorm -i dummy +FATE_FILTER-$(call ALLYES FRAMERATE_FILTER TESTSRC2_FILTER) += fate-filter-framerate-up fate-filter-framerate-down +fate-filter-framerate-up: CMD = framecrc -lavfi testsrc2=r=2:d=10,framerate=fps=10 -t 1 +fate-filter-framerate-down: CMD = framecrc -lavfi testsrc2=r=2:d=10,framerate=fps=1 -t 1 + FATE_FILTER_VSYNTH-$(CONFIG_BOXBLUR_FILTER) += fate-filter-boxblur fate-filter-boxblur: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf boxblur=2:1 diff --git a/tests/ref/fate/filter-framerate-down b/tests/ref/fate/filter-framerate-down new file mode 100644 index 00000000000..4eab7aab85f --- /dev/null +++ b/tests/ref/fate/filter-framerate-down @@ -0,0 +1,6 @@ +#tb 0: 1/1 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 320x240 +#sar 0: 1/1 +0, 0, 0, 1, 115200, 0x3744b3ed diff --git a/tests/ref/fate/filter-framerate-up b/tests/ref/fate/filter-framerate-up new file mode 100644 index 00000000000..b2af9cb879d --- /dev/null +++ b/tests/ref/fate/filter-framerate-up @@ -0,0 +1,15 @@ +#tb 0: 1/10 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 320x240 +#sar 0: 1/1 +0, 0, 0, 1, 115200, 0x3744b3ed +0, 1, 1, 1, 115200, 0xc44bdc65 +0, 2, 2, 1, 115200, 0xa17f0d74 +0, 3, 3, 1, 115200, 0xb0c83274 +0, 4, 4, 1, 115200, 0x232d6368 +0, 5, 5, 1, 115200, 0x6e318ba0 +0, 6, 6, 1, 115200, 0x247e846e +0, 7, 7, 1, 115200, 0x89e27599 +0, 8, 8, 1, 115200, 0x31c5704e +0, 9, 9, 1, 115200, 0x97e45fec