From 2383618a4019391e836e061dca51b59fd4c1605c Mon Sep 17 00:00:00 2001 From: Petru Rares Sincraian Date: Tue, 19 Jul 2016 21:18:08 +0200 Subject: [PATCH] fate: add test for chorus filter Signed-off-by: Michael Niedermayer --- tests/fate/filter-audio.mak | 5 +++++ tests/ref/fate/filter-chorus | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 tests/ref/fate/filter-chorus diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak index 1a52320e83..21f68eeecb 100644 --- a/tests/fate/filter-audio.mak +++ b/tests/fate/filter-audio.mak @@ -94,6 +94,11 @@ fate-filter-asetrate: tests/data/asynth-44100-2.wav fate-filter-asetrate: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav fate-filter-asetrate: CMD = framecrc -i $(SRC) -aframes 20 -af asetrate=20000 +FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHORUS, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-chorus +fate-filter-chorus: tests/data/asynth-22050-1.wav +fate-filter-chorus: SRC = $(TARGET_PATH)/tests/data/asynth-22050-1.wav +fate-filter-chorus: CMD = framecrc -i $(SRC) -aframes 10 -af chorus=0.5:0.5:64:0.5:0.25:2 + tests/data/hls-list.m3u8: TAG = GEN tests/data/hls-list.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \ diff --git a/tests/ref/fate/filter-chorus b/tests/ref/fate/filter-chorus new file mode 100644 index 0000000000..777a37877a --- /dev/null +++ b/tests/ref/fate/filter-chorus @@ -0,0 +1,15 @@ +#tb 0: 1/22050 +#media_type 0: audio +#codec_id 0: pcm_s16le +#sample_rate 0: 22050 +#channel_layout 0: 4 +0, 0, 0, 2048, 4096, 0x4cd2fbdf +0, 2048, 2048, 2048, 4096, 0x233cfca2 +0, 4096, 4096, 2048, 4096, 0xf43af2b0 +0, 6144, 6144, 2048, 4096, 0xea6eff9f +0, 8192, 8192, 2048, 4096, 0xa5ecf6a0 +0, 10240, 10240, 2048, 4096, 0x40d4f3b1 +0, 12288, 12288, 2048, 4096, 0x6b2bf76b +0, 14336, 14336, 2048, 4096, 0xf19df862 +0, 16384, 16384, 2048, 4096, 0x736ef763 +0, 18432, 18432, 2048, 4096, 0x93b6f640