2012-05-29 10:08:58 +00:00
|
|
|
FATE_AMIX += fate-filter-amix-simple
|
2012-07-28 23:56:31 +00:00
|
|
|
fate-filter-amix-simple: CMD = ffmpeg -filter_complex amix -i $(SRC) -ss 3 -i $(SRC1) -f f32le -
|
2012-05-29 10:08:58 +00:00
|
|
|
fate-filter-amix-simple: REF = $(SAMPLES)/filter/amix_simple.pcm
|
|
|
|
|
|
|
|
FATE_AMIX += fate-filter-amix-first
|
2012-07-28 23:56:31 +00:00
|
|
|
fate-filter-amix-first: CMD = ffmpeg -filter_complex amix=duration=first -ss 4 -i $(SRC) -i $(SRC1) -f f32le -
|
2012-05-29 10:08:58 +00:00
|
|
|
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
|
2012-07-28 23:56:31 +00:00
|
|
|
fate-filter-amix-transition: CMD = ffmpeg -filter_complex amix=inputs=3:dropout_transition=0.5 -i $(SRC) -ss 2 -i $(SRC1) -ss 4 -i $(SRC2) -f f32le -
|
2012-05-29 10:08:58 +00:00
|
|
|
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
|
2012-07-29 17:11:27 +00:00
|
|
|
$(FATE_AMIX): CMP_UNIT = f32
|
2012-05-29 10:08:58 +00:00
|
|
|
|
2012-08-01 22:35:42 +00:00
|
|
|
FATE_FILTER-$(CONFIG_AMIX_FILTER) += $(FATE_AMIX)
|
2012-05-29 10:08:58 +00:00
|
|
|
|
2012-08-01 22:35:42 +00:00
|
|
|
FATE_FILTER-$(CONFIG_ASYNCTS_FILTER) += fate-filter-asyncts
|
2012-07-05 08:28:28 +00:00
|
|
|
fate-filter-asyncts: SRC = $(SAMPLES)/nellymoser/nellymoser-discont.flv
|
2012-08-12 13:45:23 +00:00
|
|
|
fate-filter-asyncts: CMD = pcm -analyzeduration 10000000 -i $(SRC) -af asyncts
|
2012-07-22 09:29:06 +00:00
|
|
|
fate-filter-asyncts: CMP = oneoff
|
2012-08-12 13:45:23 +00:00
|
|
|
fate-filter-asyncts: REF = $(SAMPLES)/nellymoser/nellymoser-discont-async.pcm
|
|
|
|
|
|
|
|
FATE_FILTER-$(CONFIG_ARESAMPLE_FILTER) += fate-filter-aresample
|
|
|
|
fate-filter-aresample: SRC = $(SAMPLES)/nellymoser/nellymoser-discont.flv
|
|
|
|
fate-filter-aresample: CMD = pcm -i $(SRC) -af aresample=min_comp=0.001:min_hard_comp=0.1
|
|
|
|
fate-filter-aresample: CMP = oneoff
|
|
|
|
fate-filter-aresample: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm
|
2012-07-05 08:28:28 +00:00
|
|
|
|
2012-07-09 10:09:58 +00:00
|
|
|
fate-filter-delogo: CMD = framecrc -i $(SAMPLES)/real/rv30.rm -vf delogo=show=0:x=290:y=25:w=26:h=16 -an
|
|
|
|
|
2012-08-01 22:35:42 +00:00
|
|
|
FATE_FILTER-$(CONFIG_DELOGO_FILTER) += fate-filter-delogo
|
2012-07-09 10:09:58 +00:00
|
|
|
|
2012-07-25 06:25:38 +00:00
|
|
|
FATE_YADIF += fate-filter-yadif-mode0
|
2012-07-28 17:15:56 +00:00
|
|
|
fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=0
|
2012-07-25 06:25:38 +00:00
|
|
|
|
|
|
|
FATE_YADIF += fate-filter-yadif-mode1
|
2012-07-28 17:15:56 +00:00
|
|
|
fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=1
|
2012-07-25 06:25:38 +00:00
|
|
|
|
2012-08-01 22:35:42 +00:00
|
|
|
FATE_FILTER-$(CONFIG_YADIF_FILTER) += $(FATE_YADIF)
|
2012-07-25 06:25:38 +00:00
|
|
|
|
2012-10-21 18:10:37 +00:00
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_FILTER-yes)
|
|
|
|
|
2012-10-09 22:36:19 +00:00
|
|
|
#
|
|
|
|
# Metadata tests
|
|
|
|
#
|
|
|
|
FILTER_METADATA_COMMAND = ffprobe$(EXESUF) -show_frames -of compact=nk=1:p=0 -bitexact -f lavfi
|
|
|
|
|
2012-10-22 20:12:19 +00:00
|
|
|
SCENEDETECT_DEPS = FFPROBE LAVFI_INDEV MOVIE_FILTER SELECT_FILTER SCALE_FILTER \
|
|
|
|
AVCODEC MOV_DEMUXER SVQ3_DECODER ZLIB
|
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(SCENEDETECT_DEPS)) += fate-filter-metadata-scenedetect
|
2012-10-09 22:36:19 +00:00
|
|
|
fate-filter-metadata-scenedetect: SRC = $(SAMPLES)/svq3/Vertical400kbit.sorenson3.mov
|
2012-10-22 21:01:08 +00:00
|
|
|
fate-filter-metadata-scenedetect: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;movie='$(SRC)',select=gt(scene\,.4)"
|
2012-10-09 22:36:19 +00:00
|
|
|
|
2012-10-22 20:12:19 +00:00
|
|
|
SILENCEDETECT_DEPS = FFPROBE LAVFI_INDEV AMOVIE_FILTER AMR_DEMUXER AMRWB_DECODER
|
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(SILENCEDETECT_DEPS)) += fate-filter-metadata-silencedetect
|
2012-10-09 21:01:31 +00:00
|
|
|
fate-filter-metadata-silencedetect: SRC = $(SAMPLES)/amrwb/seed-12k65.awb
|
2012-10-22 21:01:08 +00:00
|
|
|
fate-filter-metadata-silencedetect: CMD = run $(FILTER_METADATA_COMMAND) "amovie='$(SRC)',silencedetect=d=.1"
|
2012-10-09 21:01:31 +00:00
|
|
|
|
2012-10-22 05:56:00 +00:00
|
|
|
FATE_SAMPLES_FFPROBE += $(FATE_METADATA_FILTER-yes)
|
2012-10-09 22:36:19 +00:00
|
|
|
|
2012-10-21 18:10:37 +00:00
|
|
|
fate-filter: $(FATE_FILTER-yes) $(FATE_METADATA_FILTER-yes)
|