Hi there,

Here is a test for stereotools filter.


Regards,
Petru :D
From fae8038c19ec162179d7606f74c698a0f6de61c2 Mon Sep 17 00:00:00 2001
From: Petru Rares Sincraian <psincra...@outlook.com>
Date: Thu, 28 Jul 2016 20:01:40 +0200
Subject: [PATCH] fate: add test for stereotools filter

---
 tests/fate/filter-audio.mak       |  4 ++++
 tests/ref/fate/filter-stereotools | 25 +++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 tests/ref/fate/filter-stereotools

diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index 32787a7..cb278c8 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -114,6 +114,10 @@ fate-filter-extrastereo: tests/data/asynth-44100-2.wav
 fate-filter-extrastereo: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
 fate-filter-extrastereo: CMD = framecrc -i $(SRC) -aframes 20 -af extrastereo=m=2
 
+FATE_AFILTER_SAMPLES-$(call FILTERDEMDECENCMUX, STEREOTOOLS, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-stereotools
+fate-filter-stereotools: SRC = $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
+fate-filter-stereotools: CMD = framecrc -i $(SRC) -aframes 20 -af stereotools=mlev=0.015625
+
 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-stereotools b/tests/ref/fate/filter-stereotools
new file mode 100644
index 0000000..89babd6
--- /dev/null
+++ b/tests/ref/fate/filter-stereotools
@@ -0,0 +1,25 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout 0: 3
+0,          0,          0,     1024,     4096, 0x48b6d241
+0,       1024,       1024,     1024,     4096, 0xe0c4ca9a
+0,       2048,       2048,     1024,     4096, 0x6dd8e26c
+0,       3072,       3072,     1024,     4096, 0x047cce1c
+0,       4096,       4096,     1024,     4096, 0x0b7bc8e4
+0,       5120,       5120,     1024,     4096, 0xf0c9d037
+0,       6144,       6144,     1024,     4096, 0x6f23c83d
+0,       7168,       7168,     1024,     4096, 0xe6d8c099
+0,       8192,       8192,     1024,     4096, 0xcca3cb25
+0,       9216,       9216,     1024,     4096, 0xefced25b
+0,      10240,      10240,     1024,     4096, 0x8614cdcb
+0,      11264,      11264,     1024,     4096, 0x06d1eb3f
+0,      12288,      12288,     1024,     4096, 0x7afbcffd
+0,      13312,      13312,     1024,     4096, 0x6371dcd8
+0,      14336,      14336,     1024,     4096, 0xdd8f90d9
+0,      15360,      15360,     1024,     4096, 0x448c08f4
+0,      16384,      16384,     1024,     4096, 0x4d9b2d26
+0,      17408,      17408,     1024,     4096, 0x735a05da
+0,      18432,      18432,     1024,     4096, 0x8651bf40
+0,      19456,      19456,     1024,     4096, 0xbf98c4e7
-- 
1.9.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to