From 7339340787aaefaaa1519f6cc0ead1e1259878f9 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 29 May 2012 12:08:58 +0200 Subject: FATE: add a test for amix audio filter. --- tests/fate/filter.mak | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'tests/fate') diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak index 41916c9..2ba51ed 100644 --- a/tests/fate/filter.mak +++ b/tests/fate/filter.mak @@ -1,3 +1,25 @@ +FATE_AMIX += fate-filter-amix-simple +fate-filter-amix-simple: CMD = avconv -filter_complex amix -i $(SRC) -ss 3 -i $(SRC1) -f f32le - +fate-filter-amix-simple: REF = $(SAMPLES)/filter/amix_simple.pcm + +FATE_AMIX += fate-filter-amix-first +fate-filter-amix-first: CMD = avconv -filter_complex amix=duration=first -ss 4 -i $(SRC) -i $(SRC1) -f f32le - +fate-filter-amix-first: REF = $(SAMPLES)/filter/amix_first.pcm + +FATE_AMIX += fate-filter-amix-transition +fate-filter-amix-transition: tests/data/asynth-44100-2-3.wav +fate-filter-amix-transition: SRC2 = $(TARGET_PATH)/tests/data/asynth-44100-2-3.wav +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 - +fate-filter-amix-transition: REF = $(SAMPLES)/filter/amix_transition.pcm + +$(FATE_AMIX): tests/data/asynth-44100-2.wav tests/data/asynth-44100-2-2.wav +$(FATE_AMIX): SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav +$(FATE_AMIX): SRC1 = $(TARGET_PATH)/tests/data/asynth-44100-2-2.wav +$(FATE_AMIX): CMP = oneoff + +FATE_FILTER += $(FATE_AMIX) +FATE_SAMPLES_AVCONV += $(FATE_AMIX) + FATE_ASYNCTS += fate-filter-asyncts fate-filter-asyncts: SRC = $(SAMPLES)/nellymoser/nellymoser-discont.flv fate-filter-asyncts: CMD = pcm -i $(SRC) -af asyncts -- cgit v1.1 From 8112710f17b5ad0eda2798b4d9ddcc5d774bad02 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 9 Jul 2012 12:09:58 +0200 Subject: FATE: add a test for delogo video filter. --- tests/fate/filter.mak | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/fate') diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak index 2ba51ed..f1185ed 100644 --- a/tests/fate/filter.mak +++ b/tests/fate/filter.mak @@ -29,4 +29,9 @@ fate-filter-asyncts: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm FATE_FILTER += $(FATE_ASYNCTS) FATE_SAMPLES_AVCONV += $(FATE_ASYNCTS) +fate-filter-delogo: CMD = framecrc -i $(SAMPLES)/real/rv30.rm -vf delogo=show=0:x=290:y=25:w=26:h=16 -an + +FATE_FILTER += fate-filter-delogo +FATE_SAMPLES_AVCONV += fate-filter-delogo + fate-filter: $(FATE_FILTER) -- cgit v1.1 From 8f9537f3145bf245d3f1e8b47c2c7567f537d416 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 25 Jul 2012 08:25:38 +0200 Subject: FATE: add tests for yadif. --- tests/fate/filter.mak | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/fate') diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak index f1185ed..a4c125b 100644 --- a/tests/fate/filter.mak +++ b/tests/fate/filter.mak @@ -34,4 +34,13 @@ fate-filter-delogo: CMD = framecrc -i $(SAMPLES)/real/rv30.rm -vf delogo=show=0: FATE_FILTER += fate-filter-delogo FATE_SAMPLES_AVCONV += fate-filter-delogo +FATE_YADIF += fate-filter-yadif-mode0 +fate-filter-yadif-mode0: CMD = framecrc -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=0 + +FATE_YADIF += fate-filter-yadif-mode1 +fate-filter-yadif-mode1: CMD = framecrc -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=1 + +FATE_FILTER += $(FATE_YADIF) +FATE_SAMPLES_AVCONV += $(FATE_YADIF) + fate-filter: $(FATE_FILTER) -- cgit v1.1