[FFmpeg-cvslog] fate: add test for chorus filter

Petru Rares Sincraian git at videolan.org
Wed Jul 20 04:05:46 EEST 2016


ffmpeg | branch: master | Petru Rares Sincraian <psincraian at outlook.com> | Tue Jul 19 21:18:08 2016 +0200| [2383618a4019391e836e061dca51b59fd4c1605c] | committer: Michael Niedermayer

fate: add test for chorus filter

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2383618a4019391e836e061dca51b59fd4c1605c
---

 tests/fate/filter-audio.mak  |    5 +++++
 tests/ref/fate/filter-chorus |   15 +++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index 1a52320..21f68ee 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 0000000..777a378
--- /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



More information about the ffmpeg-cvslog mailing list