FATE: add tests for yadif.
[ffmpeg.git] / tests / fate / filter.mak
1 FATE_AMIX += fate-filter-amix-simple
2 fate-filter-amix-simple: CMD = avconv -filter_complex amix -i $(SRC) -ss 3 -i $(SRC1) -f f32le -
3 fate-filter-amix-simple: REF = $(SAMPLES)/filter/amix_simple.pcm
4
5 FATE_AMIX += fate-filter-amix-first
6 fate-filter-amix-first: CMD = avconv -filter_complex amix=duration=first -ss 4 -i $(SRC) -i $(SRC1) -f f32le -
7 fate-filter-amix-first: REF = $(SAMPLES)/filter/amix_first.pcm
8
9 FATE_AMIX += fate-filter-amix-transition
10 fate-filter-amix-transition: tests/data/asynth-44100-2-3.wav
11 fate-filter-amix-transition: SRC2 = $(TARGET_PATH)/tests/data/asynth-44100-2-3.wav
12 fate-filter-amix-transition: CMD = avconv -filter_complex amix=inputs=3:dropout_transition=0.5 -i $(SRC) -ss 2 -i $(SRC1) -ss 4 -i $(SRC2) -f f32le -
13 fate-filter-amix-transition: REF = $(SAMPLES)/filter/amix_transition.pcm
14
15 $(FATE_AMIX): tests/data/asynth-44100-2.wav tests/data/asynth-44100-2-2.wav
16 $(FATE_AMIX): SRC  = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
17 $(FATE_AMIX): SRC1 = $(TARGET_PATH)/tests/data/asynth-44100-2-2.wav
18 $(FATE_AMIX): CMP  = oneoff
19
20 FATE_FILTER += $(FATE_AMIX)
21 FATE_SAMPLES_AVCONV += $(FATE_AMIX)
22
23 FATE_ASYNCTS += fate-filter-asyncts
24 fate-filter-asyncts: SRC = $(SAMPLES)/nellymoser/nellymoser-discont.flv
25 fate-filter-asyncts: CMD = pcm -i $(SRC) -af asyncts
26 fate-filter-asyncts: CMP = oneoff
27 fate-filter-asyncts: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm
28
29 FATE_FILTER += $(FATE_ASYNCTS)
30 FATE_SAMPLES_AVCONV += $(FATE_ASYNCTS)
31
32 fate-filter-delogo: CMD = framecrc -i $(SAMPLES)/real/rv30.rm -vf delogo=show=0:x=290:y=25:w=26:h=16 -an
33
34 FATE_FILTER += fate-filter-delogo
35 FATE_SAMPLES_AVCONV += fate-filter-delogo
36
37 FATE_YADIF += fate-filter-yadif-mode0
38 fate-filter-yadif-mode0: CMD = framecrc -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=0
39
40 FATE_YADIF += fate-filter-yadif-mode1
41 fate-filter-yadif-mode1: CMD = framecrc -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=1
42
43 FATE_FILTER += $(FATE_YADIF)
44 FATE_SAMPLES_AVCONV += $(FATE_YADIF)
45
46 fate-filter: $(FATE_FILTER)