[FFmpeg-cvslog] fate: add test for stereotools filter
Petru Rares Sincraian
git at videolan.org
Fri Jul 29 01:36:47 EEST 2016
ffmpeg | branch: master | Petru Rares Sincraian <psincraian at outlook.com> | Thu Jul 28 20:01:40 2016 +0200| [286368099a3a2db515264dd51cf12376db719ab2] | committer: Michael Niedermayer
fate: add test for stereotools filter
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=286368099a3a2db515264dd51cf12376db719ab2
---
tests/fate/filter-audio.mak | 4 ++++
tests/ref/fate/filter-stereotools | 25 +++++++++++++++++++++++++
2 files changed, 29 insertions(+)
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index ed1cbb1..ac4c3f4 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 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
More information about the ffmpeg-cvslog
mailing list