2012-05-29 12:08:58 +02:00
|
|
|
FATE_AMIX += fate-filter-amix-simple
|
2012-07-29 01:56:31 +02:00
|
|
|
fate-filter-amix-simple: CMD = ffmpeg -filter_complex amix -i $(SRC) -ss 3 -i $(SRC1) -f f32le -
|
2012-05-29 12:08:58 +02:00
|
|
|
fate-filter-amix-simple: REF = $(SAMPLES)/filter/amix_simple.pcm
|
|
|
|
|
|
|
|
FATE_AMIX += fate-filter-amix-first
|
2012-07-29 01:56:31 +02:00
|
|
|
fate-filter-amix-first: CMD = ffmpeg -filter_complex amix=duration=first -ss 4 -i $(SRC) -i $(SRC1) -f f32le -
|
2012-05-29 12:08:58 +02: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-29 01:56:31 +02: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 12:08:58 +02: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 19:11:27 +02:00
|
|
|
$(FATE_AMIX): CMP_UNIT = f32
|
2012-05-29 12:08:58 +02:00
|
|
|
|
2012-08-02 00:35:42 +02:00
|
|
|
FATE_FILTER-$(CONFIG_AMIX_FILTER) += $(FATE_AMIX)
|
2012-05-29 12:08:58 +02:00
|
|
|
|
2012-08-02 00:35:42 +02:00
|
|
|
FATE_FILTER-$(CONFIG_ASYNCTS_FILTER) += fate-filter-asyncts
|
2012-07-05 10:28:28 +02:00
|
|
|
fate-filter-asyncts: SRC = $(SAMPLES)/nellymoser/nellymoser-discont.flv
|
2012-08-12 15:45:23 +02:00
|
|
|
fate-filter-asyncts: CMD = pcm -analyzeduration 10000000 -i $(SRC) -af asyncts
|
2012-07-22 11:29:06 +02:00
|
|
|
fate-filter-asyncts: CMP = oneoff
|
2012-12-14 18:53:38 +01:00
|
|
|
fate-filter-asyncts: REF = $(SAMPLES)/nellymoser/nellymoser-discont-async-v2.pcm
|
2012-08-12 15:45:23 +02:00
|
|
|
|
|
|
|
FATE_FILTER-$(CONFIG_ARESAMPLE_FILTER) += fate-filter-aresample
|
|
|
|
fate-filter-aresample: SRC = $(SAMPLES)/nellymoser/nellymoser-discont.flv
|
2013-02-25 03:02:54 +01:00
|
|
|
fate-filter-aresample: CMD = pcm -i $(SRC) -af aresample=min_comp=0.001:min_hard_comp=0.1:first_pts=0
|
2012-08-12 15:45:23 +02:00
|
|
|
fate-filter-aresample: CMP = oneoff
|
|
|
|
fate-filter-aresample: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm
|
2012-07-05 10:28:28 +02:00
|
|
|
|
2013-03-16 16:22:56 +01:00
|
|
|
fate-filter-delogo: CMD = framecrc -i $(SAMPLES)/real/rv30.rm -vf perms=random,delogo=show=0:x=290:y=25:w=26:h=16 -an
|
2012-07-09 12:09:58 +02:00
|
|
|
|
2013-03-16 16:22:56 +01:00
|
|
|
FATE_FILTER-$(call ALLYES, PERMS_FILTER DELOGO_FILTER) += fate-filter-delogo
|
2012-07-09 12:09:58 +02:00
|
|
|
|
2012-07-25 08:25:38 +02:00
|
|
|
FATE_YADIF += fate-filter-yadif-mode0
|
2012-07-28 19:15:56 +02:00
|
|
|
fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=0
|
2012-07-25 08:25:38 +02:00
|
|
|
|
|
|
|
FATE_YADIF += fate-filter-yadif-mode1
|
2012-07-28 19:15:56 +02:00
|
|
|
fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=1
|
2012-07-25 08:25:38 +02:00
|
|
|
|
2012-08-02 00:35:42 +02:00
|
|
|
FATE_FILTER-$(CONFIG_YADIF_FILTER) += $(FATE_YADIF)
|
2012-07-25 08:25:38 +02:00
|
|
|
|
2012-12-02 17:15:01 +01:00
|
|
|
FATE_HQDN3D += fate-filter-hqdn3d
|
2013-03-14 21:59:42 +01:00
|
|
|
fate-filter-hqdn3d: CMD = framecrc -idct simple -i $(SAMPLES)/smjpeg/scenwin.mjpg -vf perms=random,hqdn3d -an
|
|
|
|
FATE_FILTER-$(call ALLYES, SMJPEG_DEMUXER MJPEG_DECODER PERMS_FILTER HQDN3D_FILTER) += $(FATE_HQDN3D)
|
2012-12-02 17:15:01 +01:00
|
|
|
|
2012-12-07 00:41:25 +01:00
|
|
|
FATE_GRADFUN += fate-filter-gradfun
|
2013-03-14 21:59:42 +01:00
|
|
|
fate-filter-gradfun: CMD = framecrc -i $(SAMPLES)/vmd/12.vmd -vf "sws_flags=+accurate_rnd+bitexact;format=gray,perms=random,gradfun=10:8" -an -frames:v 20
|
|
|
|
FATE_FILTER-$(call ALLYES, VMD_DEMUXER VMDVIDEO_DECODER FORMAT_FILTER PERMS_FILTER GRADFUN_FILTER) += $(FATE_GRADFUN)
|
2012-12-02 19:52:33 +01:00
|
|
|
|
2012-10-21 20:10:37 +02:00
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_FILTER-yes)
|
|
|
|
|
2012-10-10 00:36:19 +02:00
|
|
|
#
|
|
|
|
# Metadata tests
|
|
|
|
#
|
|
|
|
FILTER_METADATA_COMMAND = ffprobe$(EXESUF) -show_frames -of compact=nk=1:p=0 -bitexact -f lavfi
|
|
|
|
|
2012-10-22 22:12:19 +02:00
|
|
|
SCENEDETECT_DEPS = FFPROBE LAVFI_INDEV MOVIE_FILTER SELECT_FILTER SCALE_FILTER \
|
2013-03-09 14:39:13 +01:00
|
|
|
AVCODEC AVDEVICE MOV_DEMUXER SVQ3_DECODER ZLIB
|
2012-10-22 22:12:19 +02:00
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(SCENEDETECT_DEPS)) += fate-filter-metadata-scenedetect
|
2012-10-10 00:36:19 +02:00
|
|
|
fate-filter-metadata-scenedetect: SRC = $(SAMPLES)/svq3/Vertical400kbit.sorenson3.mov
|
2012-10-22 23:01:08 +02:00
|
|
|
fate-filter-metadata-scenedetect: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;movie='$(SRC)',select=gt(scene\,.4)"
|
2012-10-10 00:36:19 +02:00
|
|
|
|
2013-03-09 14:39:13 +01:00
|
|
|
SILENCEDETECT_DEPS = FFPROBE AVDEVICE LAVFI_INDEV AMOVIE_FILTER AMR_DEMUXER AMRWB_DECODER
|
2012-10-22 22:12:19 +02:00
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(SILENCEDETECT_DEPS)) += fate-filter-metadata-silencedetect
|
2012-10-09 23:01:31 +02:00
|
|
|
fate-filter-metadata-silencedetect: SRC = $(SAMPLES)/amrwb/seed-12k65.awb
|
2012-12-06 15:08:38 +01:00
|
|
|
fate-filter-metadata-silencedetect: CMD = run $(FILTER_METADATA_COMMAND) "amovie='$(SRC)',silencedetect=d=-20dB"
|
2012-10-09 23:01:31 +02:00
|
|
|
|
2012-10-22 07:56:00 +02:00
|
|
|
FATE_SAMPLES_FFPROBE += $(FATE_METADATA_FILTER-yes)
|
2012-10-10 00:36:19 +02:00
|
|
|
|
2012-10-21 20:10:37 +02:00
|
|
|
fate-filter: $(FATE_FILTER-yes) $(FATE_METADATA_FILTER-yes)
|