diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-19 23:11:44 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-19 23:13:20 +0200 |
commit | 6c5989cce9e3ef93766a3c62096d4a08ee4be7c1 (patch) | |
tree | 1c521fd9b90a99cc33e2768b1511b29bc3eef382 /tests/fate/filter-audio.mak | |
parent | 4cb59ad84b97e50549f22998b2a83d0a1e7f4b97 (diff) | |
parent | b357f1d1d3dd1d6672df6a397a31be425d31b6d1 (diff) | |
download | ffmpeg-6c5989cce9e3ef93766a3c62096d4a08ee4be7c1.tar.gz |
Merge commit 'b357f1d1d3dd1d6672df6a397a31be425d31b6d1'
* commit 'b357f1d1d3dd1d6672df6a397a31be425d31b6d1':
fate: Split audio filters into their own separate file
Conflicts:
tests/Makefile
tests/fate/filter.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/fate/filter-audio.mak')
-rw-r--r-- | tests/fate/filter-audio.mak | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak new file mode 100644 index 0000000000..fd244ec1ec --- /dev/null +++ b/tests/fate/filter-audio.mak @@ -0,0 +1,64 @@ +FATE_AMIX += fate-filter-amix-simple +fate-filter-amix-simple: CMD = ffmpeg -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 = ffmpeg -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 = ffmpeg -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_AFILTER-$(call FILTERDEMDECENCMUX, AMIX, WAV, PCM_S16LE, PCM_F32LE, PCM_F32LE) += $(FATE_AMIX) +$(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_AMIX): CMP_UNIT = f32 + +FATE_AFILTER-$(call FILTERDEMDECMUX, ASYNCTS, FLV, NELLYMOSER, PCM_S16LE) += fate-filter-asyncts +fate-filter-asyncts: SRC = $(SAMPLES)/nellymoser/nellymoser-discont.flv +fate-filter-asyncts: CMD = pcm -analyzeduration 10000000 -i $(SRC) -af asyncts +fate-filter-asyncts: CMP = oneoff +fate-filter-asyncts: REF = $(SAMPLES)/nellymoser/nellymoser-discont-async-v2.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:first_pts=0 +fate-filter-aresample: CMP = oneoff +fate-filter-aresample: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm + +FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHANNELMAP, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-channelmap +fate-filter-channelmap: SRC = $(TARGET_PATH)/tests/data/asynth-44100-6.wav +fate-filter-channelmap: tests/data/asynth-44100-6.wav +fate-filter-channelmap: CMD = md5 -i $(SRC) -filter_complex_script $(SRC_PATH)/tests/filtergraphs/channelmap -f wav -flags +bitexact +fate-filter-channelmap: CMP = oneline +fate-filter-channelmap: REF = 06168d06085e2c0603e4e118ba4cade2 + +FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHANNELSPLIT, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-filter-channelsplit +fate-filter-channelsplit: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav +fate-filter-channelsplit: tests/data/asynth-44100-2.wav +fate-filter-channelsplit: CMD = md5 -i $(SRC) -filter_complex channelsplit -f s16le +fate-filter-channelsplit: CMP = oneline +fate-filter-channelsplit: REF = d92988d0fe2dd92236763f47b07ab597 + +#FATE_AFILTER-$(call FILTERDEMDECENCMUX, JOIN, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-filter-join +fate-filter-join: SRC1 = $(TARGET_PATH)/tests/data/asynth-44100-2.wav +fate-filter-join: SRC2 = $(TARGET_PATH)/tests/data/asynth-44100-3.wav +fate-filter-join: tests/data/asynth-44100-2.wav tests/data/asynth-44100-3.wav +fate-filter-join: CMD = md5 -i $(SRC1) -i $(SRC2) -filter_complex join=channel_layout=5 -f s16le +fate-filter-join: CMP = oneline +fate-filter-join: REF = 38fa1b18b0c46d77df6f17bfc4f078dd + +FATE_AFILTER-$(call ALLYES, WAV_DEMUXER PCM_S16LE_DECODER PCM_S16LE_ENCODER PCM_S16LE_MUXER APERMS_FILTER VOLUME_FILTER) += fate-filter-volume +fate-filter-volume: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav +fate-filter-volume: tests/data/asynth-44100-2.wav +fate-filter-volume: CMD = md5 -i $(SRC) -af aperms=random,volume=precision=fixed:volume=0.5 -f s16le +fate-filter-volume: CMP = oneline +fate-filter-volume: REF = 4d6ba75ef3e32d305d066b9bc771d6f4 + +FATE_SAMPLES_AVCONV += $(FATE_AFILTER-yes) +fate-afilter: $(FATE_AFILTER-yes) |