2013-03-28 13:00:39 +01:00
|
|
|
FATE_FILTER-$(call ALLYES, PERMS_FILTER DELOGO_FILTER RM_DEMUXER RV30_DECODER) += fate-filter-delogo
|
2013-03-28 17:20:18 +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-04-16 16:46:40 +02:00
|
|
|
FATE_YADIF += fate-filter-yadif-mode0
|
2013-04-19 23:34:58 +02:00
|
|
|
fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vframes 30 -vf yadif=0
|
2013-04-16 16:46:40 +02:00
|
|
|
|
|
|
|
FATE_YADIF += fate-filter-yadif-mode1
|
2013-04-19 23:34:58 +02:00
|
|
|
fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vframes 59 -vf yadif=1
|
2013-04-16 16:46:40 +02:00
|
|
|
|
|
|
|
FATE_FILTER-$(call FILTERDEMDEC, YADIF, MPEGTS, MPEG2VIDEO) += $(FATE_YADIF)
|
|
|
|
|
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_FILTER-yes)
|
|
|
|
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_BOXBLUR_FILTER) += fate-filter-boxblur
|
|
|
|
fate-filter-boxblur: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf boxblur=2:1
|
2012-07-09 12:09:58 +02:00
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_DRAWBOX_FILTER) += fate-filter-drawbox
|
|
|
|
fate-filter-drawbox: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf drawbox=10:20:200:60:red@0.5
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_FADE_FILTER) += fate-filter-fade
|
|
|
|
fate-filter-fade: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf fade=in:0:25,fade=out:25:25
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun
|
|
|
|
fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_HQDN3D_FILTER) += fate-filter-hqdn3d
|
|
|
|
fate-filter-hqdn3d: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf hqdn3d
|
|
|
|
|
2013-04-04 15:39:40 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_INTERLACE_FILTER) += fate-filter-interlace
|
|
|
|
fate-filter-interlace: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace
|
|
|
|
|
2013-04-17 12:07:46 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, NEGATE_FILTER PERMS_FILTER) += fate-filter-negate
|
|
|
|
fate-filter-negate: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf perms=random,negate
|
2013-03-13 11:03:08 +01:00
|
|
|
|
2013-04-15 18:40:26 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_HISTOGRAM_FILTER) += fate-filter-histogram-levels
|
2013-04-16 03:52:51 +02:00
|
|
|
fate-filter-histogram-levels: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
2013-04-15 18:40:26 +02:00
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_HISTOGRAM_FILTER) += fate-filter-histogram-waveform
|
2013-04-16 03:52:51 +02:00
|
|
|
fate-filter-histogram-waveform: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram=mode=waveform -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
2013-04-15 18:40:26 +02:00
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_OVERLAY_FILTER) += fate-filter-overlay
|
|
|
|
fate-filter-overlay: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(SRC_PATH)/tests/filtergraphs/overlay
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, SETPTS_FILTER SETTB_FILTER) += fate-filter-setpts
|
|
|
|
fate-filter-setpts: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_script $(SRC_PATH)/tests/filtergraphs/setpts
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_TRANSPOSE_FILTER) += fate-filter-transpose
|
|
|
|
fate-filter-transpose: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf transpose
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_UNSHARP_FILTER) += fate-filter-unsharp
|
|
|
|
fate-filter-unsharp: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf unsharp
|
|
|
|
|
2013-03-28 17:25:59 +01:00
|
|
|
FATE_FILTER-$(call ALLYES, SMJPEG_DEMUXER MJPEG_DECODER PERMS_FILTER HQDN3D_FILTER) += fate-filter-hqdn3d-sample
|
2013-03-28 17:26:30 +01:00
|
|
|
fate-filter-hqdn3d-sample: CMD = framecrc -idct simple -i $(SAMPLES)/smjpeg/scenwin.mjpg -vf perms=random,hqdn3d -an
|
2012-12-02 17:15:01 +01:00
|
|
|
|
2013-03-19 15:24:15 +01:00
|
|
|
FATE_FILTER-$(call ALLYES, UTVIDEO_DECODER AVI_DEMUXER PERMS_FILTER CURVES_FILTER) += fate-filter-curves
|
2013-03-28 17:26:30 +01:00
|
|
|
fate-filter-curves: CMD = framecrc -i $(SAMPLES)/utvideo/utvideo_rgb_median.avi -vf perms=random,curves=vintage
|
2013-03-19 15:24:15 +01:00
|
|
|
|
2013-03-28 17:25:59 +01:00
|
|
|
FATE_FILTER-$(call ALLYES, VMD_DEMUXER VMDVIDEO_DECODER FORMAT_FILTER PERMS_FILTER GRADFUN_FILTER) += fate-filter-gradfun-sample
|
2013-03-28 17:35:43 +01:00
|
|
|
fate-filter-gradfun-sample: CMD = framecrc -i $(SAMPLES)/vmd/12.vmd -filter_script $(SRC_PATH)/tests/filtergraphs/gradfun -an -frames:v 20
|
2012-12-02 19:52:33 +01:00
|
|
|
|
2013-03-21 13:42:44 +01:00
|
|
|
FATE_FILTER-$(call ALLYES, TESTSRC_FILTER SINE_FILTER CONCAT_FILTER) += fate-filter-concat
|
2013-03-28 17:30:46 +01:00
|
|
|
fate-filter-concat: CMD = framecrc -filter_complex_script $(SRC_PATH)/tests/filtergraphs/concat
|
2013-03-21 13:42:44 +01:00
|
|
|
|
2013-04-15 23:39:08 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_CROP_FILTER) += fate-filter-crop
|
|
|
|
fate-filter-crop: CMD = video_filter "crop=iw-100:ih-100:100:100"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER SCALE_FILTER) += fate-filter-crop_scale
|
|
|
|
fate-filter-crop_scale: CMD = video_filter "crop=iw-100:ih-100:100:100,scale=400:-1"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER SCALE_FILTER VFLIP_FILTER) += fate-filter-crop_scale_vflip
|
|
|
|
fate-filter-crop_scale_vflip: CMD = video_filter "null,null,crop=iw-200:ih-200:200:200,crop=iw-20:ih-20:20:20,scale=200:200,scale=250:250,vflip,vflip,null,scale=200:200,crop=iw-100:ih-100:100:100,vflip,scale=200:200,null,vflip,crop=iw-100:ih-100:100:100,null"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER VFLIP_FILTER) += fate-filter-crop_vflip
|
|
|
|
fate-filter-crop_vflip: CMD = video_filter "crop=iw-100:ih-100:100:100,vflip"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_NULL_FILTER) += fate-filter-null
|
|
|
|
fate-filter-null: CMD = video_filter "null"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_SCALE_FILTER) += fate-filter-scale200
|
|
|
|
fate-filter-scale200: CMD = video_filter "scale=200:200"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_SCALE_FILTER) += fate-filter-scale500
|
|
|
|
fate-filter-scale500: CMD = video_filter "scale=500:500"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip
|
|
|
|
fate-filter-vflip: CMD = video_filter "vflip"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER VFLIP_FILTER) += fate-filter-vflip_crop
|
|
|
|
fate-filter-vflip_crop: CMD = video_filter "vflip,crop=iw-100:ih-100:100:100"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip_vflip
|
|
|
|
fate-filter-vflip_vflip: CMD = video_filter "vflip,vflip"
|
|
|
|
|
|
|
|
|
2013-04-16 00:15:15 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_FORMAT_FILTER) += fate-filter-pixdesc
|
|
|
|
fate-filter-pixdesc: CMD = pixdesc
|
|
|
|
|
|
|
|
|
2013-04-16 01:42:38 +02:00
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-copy
|
|
|
|
fate-filter-pixfmts-copy: CMD = pixfmts
|
|
|
|
|
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-crop
|
|
|
|
fate-filter-pixfmts-crop: CMD = pixfmts "100:100:100:100"
|
|
|
|
|
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-hflip
|
|
|
|
fate-filter-pixfmts-hflip: CMD = pixfmts
|
|
|
|
|
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-null
|
|
|
|
fate-filter-pixfmts-null: CMD = pixfmts
|
|
|
|
|
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-pad
|
|
|
|
fate-filter-pixfmts-pad: CMD = pixfmts "500:400:20:20"
|
|
|
|
|
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-scale
|
|
|
|
fate-filter-pixfmts-scale: CMD = pixfmts "200:100"
|
|
|
|
|
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-vflip
|
|
|
|
fate-filter-pixfmts-vflip: CMD = pixfmts
|
|
|
|
|
|
|
|
$(FATE_FILTER_PIXFMTS): libavfilter/filtfmts-test$(EXESUF)
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_FORMAT_FILTER) += $(FATE_FILTER_PIXFMTS)
|
|
|
|
|
|
|
|
|
2013-04-16 16:32:18 +02:00
|
|
|
$(FATE_FILTER_VSYNTH-yes): $(VREF)
|
2013-03-13 11:03:08 +01:00
|
|
|
$(FATE_FILTER_VSYNTH-yes): SRC = $(TARGET_PATH)/tests/vsynth1/%02d.pgm
|
|
|
|
|
|
|
|
FATE_AVCONV-$(call DEMDEC, IMAGE2, PGMYUV) += $(FATE_FILTER_VSYNTH-yes)
|
2012-10-21 20:10:37 +02:00
|
|
|
|
2012-10-10 00:36:19 +02:00
|
|
|
#
|
|
|
|
# Metadata tests
|
|
|
|
#
|
2013-03-19 23:09:36 +01:00
|
|
|
FILTER_METADATA_COMMAND = ffprobe$(EXESUF) -of compact=p=0 -show_entries frame=pkt_pts:frame_tags -bitexact -f lavfi
|
2012-10-10 00:36:19 +02:00
|
|
|
|
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-19 17:39:08 +01:00
|
|
|
SILENCEDETECT_DEPS = FFPROBE AVDEVICE LAVFI_INDEV AMOVIE_FILTER AMR_DEMUXER AMRWB_DECODER SILENCEDETECT_FILTER
|
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
|
|
|
|
2013-03-19 17:39:08 +01:00
|
|
|
EBUR128_METADATA_DEPS = FFPROBE AVDEVICE LAVFI_INDEV AMOVIE_FILTER FLAC_DEMUXER FLAC_DECODER EBUR128_FILTER
|
2013-03-15 02:52:30 +01:00
|
|
|
FATE_METADATA_FILTER-$(call ALLYES, $(EBUR128_METADATA_DEPS)) += fate-filter-metadata-ebur128
|
|
|
|
fate-filter-metadata-ebur128: SRC = $(SAMPLES)/filter/seq-3341-7_seq-3342-5-24bit.flac
|
2013-03-19 23:09:36 +01:00
|
|
|
fate-filter-metadata-ebur128: CMD = run $(FILTER_METADATA_COMMAND) "amovie='$(SRC)',ebur128=metadata=1"
|
2013-03-15 02:52:30 +01:00
|
|
|
|
2012-10-22 07:56:00 +02:00
|
|
|
FATE_SAMPLES_FFPROBE += $(FATE_METADATA_FILTER-yes)
|
2012-10-10 00:36:19 +02:00
|
|
|
|
2013-04-16 16:43:49 +02:00
|
|
|
fate-vfilter: $(FATE_FILTER-yes) $(FATE_FILTER_VSYNTH-yes)
|
|
|
|
|
2013-04-19 23:26:55 +02:00
|
|
|
fate-filter: fate-afilter fate-vfilter $(FATE_METADATA_FILTER-yes)
|