summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPetru Rares Sincraian <psincraian@outlook.com>2016-07-28 20:01:40 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-07-29 00:30:22 +0200
commit286368099a3a2db515264dd51cf12376db719ab2 (patch)
tree7a8c71eb2449ad69d94a0b9b8e9d32c95daf9f67 /tests
parent08c1b6bb72e4bed711b2d082d5aaad474b302e8f (diff)
fate: add test for stereotools filter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter-audio.mak4
-rw-r--r--tests/ref/fate/filter-stereotools25
2 files changed, 29 insertions, 0 deletions
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index ed1cbb1a31..ac4c3f47bc 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -118,6 +118,10 @@ FATE_AFILTER_SAMPLES-$(call FILTERDEMDECENCMUX, SILENCEREMOVE, WAV, PCM_S16LE, P
fate-filter-silenceremove: SRC = $(TARGET_SAMPLES)/audio-reference/divertimenti_2ch_96kHz_s24.wav
fate-filter-silenceremove: CMD = framecrc -i $(SRC) -aframes 30 -af silenceremove=0:0:0:-1:0:-90dB
+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 0000000000..89babd693d
--- /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