[FFmpeg-cvslog] fate: Add vf_framerate test.
Alexis Ballier
git at videolan.org
Thu Mar 16 17:17:08 EET 2017
ffmpeg | branch: master | Alexis Ballier <aballier at gentoo.org> | Sat Mar 11 20:18:55 2017 +0100| [21bed3c981d17b1b5dcb1eb995075bb9ec850563] | committer: Michael Niedermayer
fate: Add vf_framerate test.
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=21bed3c981d17b1b5dcb1eb995075bb9ec850563
---
tests/fate/filter-video.mak | 4 ++++
tests/ref/fate/filter-framerate-down | 6 ++++++
tests/ref/fate/filter-framerate-up | 15 +++++++++++++++
3 files changed, 25 insertions(+)
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index c57c9c7..97c5e6c 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 0000000..4eab7aa
--- /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 0000000..b2af9cb
--- /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
More information about the ffmpeg-cvslog
mailing list