You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
tests/fate: add fate test for excessive frame buffering when using filters
Based on the command line of ticket #10959. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@ -328,6 +328,10 @@ fate-filter-select-alternate: CMD = framecrc -c:v pgmyuv -i $(SRC) -/filter $(TA
|
||||
FATE_FILTER-$(call ALLYES, FFPROBE SELECT_FILTER SMPTEBARS_FILTER LAVFI_INDEV) += fate-filter-select-ffprobe
|
||||
fate-filter-select-ffprobe: CMD = probe -print_format compact -show_entries packet=stream_index,pts,pts_time -f lavfi "smptebars=d=1,select=n=2:e=1[out0][out1]"
|
||||
|
||||
FATE_FILTER-$(call FILTERFRAMECRC, SMPTEBARS SELECT, LAVFI_INDEV WRAPPED_AVFRAME_ENCODER NULL_MUXER) += fate-filter-select-buffering
|
||||
fate-filter-select-buffering: tests/data/filtergraphs/select-buffering
|
||||
fate-filter-select-buffering: CMD = framecrc -filter_buffered_frames 1 -f lavfi -i "smptebars=d=21" -/filter_complex $(TARGET_PATH)/tests/data/filtergraphs/select-buffering -map "[o1]" -f null none -map "[o2]" -f null none -map "[o3]"
|
||||
|
||||
FATE_FILTER_VSYNTH_PGMYUV-$(call ALLYES, SETPTS_FILTER SETTB_FILTER) += fate-filter-setpts
|
||||
fate-filter-setpts: tests/data/filtergraphs/setpts
|
||||
fate-filter-setpts: CMD = framecrc -c:v pgmyuv -i $(SRC) -/filter $(TARGET_PATH)/tests/data/filtergraphs/setpts
|
||||
|
1
tests/filtergraphs/select-buffering
Normal file
1
tests/filtergraphs/select-buffering
Normal file
@ -0,0 +1 @@
|
||||
select=n=3:e='lt(t,10)+gte(t,10)*lt(t,20)*2+gte(t,20)*3'[o1][o2][o3]
|
30
tests/ref/fate/filter-select-buffering
Normal file
30
tests/ref/fate/filter-select-buffering
Normal file
@ -0,0 +1,30 @@
|
||||
#tb 0: 1/25
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 320x240
|
||||
#sar 0: 1/1
|
||||
0, 500, 500, 1, 115200, 0x87d91dc5
|
||||
0, 501, 501, 1, 115200, 0x87d91dc5
|
||||
0, 502, 502, 1, 115200, 0x87d91dc5
|
||||
0, 503, 503, 1, 115200, 0x87d91dc5
|
||||
0, 504, 504, 1, 115200, 0x87d91dc5
|
||||
0, 505, 505, 1, 115200, 0x87d91dc5
|
||||
0, 506, 506, 1, 115200, 0x87d91dc5
|
||||
0, 507, 507, 1, 115200, 0x87d91dc5
|
||||
0, 508, 508, 1, 115200, 0x87d91dc5
|
||||
0, 509, 509, 1, 115200, 0x87d91dc5
|
||||
0, 510, 510, 1, 115200, 0x87d91dc5
|
||||
0, 511, 511, 1, 115200, 0x87d91dc5
|
||||
0, 512, 512, 1, 115200, 0x87d91dc5
|
||||
0, 513, 513, 1, 115200, 0x87d91dc5
|
||||
0, 514, 514, 1, 115200, 0x87d91dc5
|
||||
0, 515, 515, 1, 115200, 0x87d91dc5
|
||||
0, 516, 516, 1, 115200, 0x87d91dc5
|
||||
0, 517, 517, 1, 115200, 0x87d91dc5
|
||||
0, 518, 518, 1, 115200, 0x87d91dc5
|
||||
0, 519, 519, 1, 115200, 0x87d91dc5
|
||||
0, 520, 520, 1, 115200, 0x87d91dc5
|
||||
0, 521, 521, 1, 115200, 0x87d91dc5
|
||||
0, 522, 522, 1, 115200, 0x87d91dc5
|
||||
0, 523, 523, 1, 115200, 0x87d91dc5
|
||||
0, 524, 524, 1, 115200, 0x87d91dc5
|
Reference in New Issue
Block a user