mirror of https://git.ffmpeg.org/ffmpeg.git
fate: Add test for colorkey
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
5776344a7b
commit
1dd11160ea
|
@ -18,6 +18,10 @@ fate-mapchan: $(FATE_MAPCHAN)
|
|||
FATE_FFMPEG-$(CONFIG_COLOR_FILTER) += fate-ffmpeg-filter_complex
|
||||
fate-ffmpeg-filter_complex: CMD = framecrc -filter_complex color=d=1:r=5 -fflags +bitexact
|
||||
|
||||
FATE_FFMPEG-$(CONFIG_COLORKEY_FILTER) += fate-ffmpeg-filter_colorkey
|
||||
fate-ffmpeg-filter_colorkey: tests/data/filtergraphs/colorkey
|
||||
fate-ffmpeg-filter_colorkey: CMD = framecrc -idct simple -fflags +bitexact -flags +bitexact -sws_flags +accurate_rnd+bitexact -i $(TARGET_SAMPLES)/cavs/cavs.mpg -fflags +bitexact -flags +bitexact -sws_flags +accurate_rnd+bitexact -i $(TARGET_SAMPLES)/lena.pnm -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/colorkey -sws_flags +accurate_rnd+bitexact -fflags +bitexact -flags +bitexact -qscale 2 -vframes 10
|
||||
|
||||
FATE_FFMPEG-$(CONFIG_COLOR_FILTER) += fate-ffmpeg-lavfi
|
||||
fate-ffmpeg-lavfi: CMD = framecrc -lavfi color=d=1:r=5 -fflags +bitexact
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
sws_flags=+accurate_rnd+bitexact;
|
||||
[1]colorkey=black:0.2:0.5[t],[0][t]overlay=10:main_h-overlay_h-10
|
|
@ -0,0 +1,16 @@
|
|||
#tb 0: 1/25
|
||||
#tb 1: 1/48000
|
||||
0, 0, 0, 1, 622080, 0x4e30accb
|
||||
1, 0, 0, 1152, 4608, 0x00000000
|
||||
1, 1152, 1152, 1152, 4608, 0xbca29063
|
||||
0, 1, 1, 1, 622080, 0x7d941c14
|
||||
1, 2304, 2304, 1152, 4608, 0x6e70df10
|
||||
1, 3456, 3456, 1152, 4608, 0x95e6a535
|
||||
0, 2, 2, 1, 622080, 0xf7451c5b
|
||||
0, 3, 3, 1, 622080, 0xb2c74319
|
||||
0, 4, 4, 1, 622080, 0xc9b80b79
|
||||
0, 5, 5, 1, 622080, 0x92ce1194
|
||||
0, 6, 6, 1, 622080, 0x43ae99ac
|
||||
0, 7, 7, 1, 622080, 0x4ec3a554
|
||||
0, 8, 8, 1, 622080, 0x3200250c
|
||||
0, 9, 9, 1, 622080, 0x94ebb3f3
|
Loading…
Reference in New Issue