mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fate: Add vf_framerate test.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
bbc8f3d20e
commit
21bed3c981
@ -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
|
||||
|
||||
|
6
tests/ref/fate/filter-framerate-down
Normal file
6
tests/ref/fate/filter-framerate-down
Normal file
@ -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
|
15
tests/ref/fate/filter-framerate-up
Normal file
15
tests/ref/fate/filter-framerate-up
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user