Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPetru Rares Sincraian <psincraian@outlook.com>2016-07-20 19:41:58 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-07-21 00:09:04 +0300
commit3fd2ef922eab70e8b35b88f05f84b04332ee4ced (patch)
treedd0735e31314c2358db6ea8ef81b0cbca6ac6128 /tests
parent7403dcc34e0f9b1451e081e68c55c15c9a58cbc8 (diff)
fate: add test for earwax filter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter-audio.mak5
-rw-r--r--tests/ref/fate/filter-earwax25
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index 67340c134c..bdf6720920 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -104,6 +104,11 @@ fate-filter-dcshift: tests/data/asynth-44100-2.wav
fate-filter-dcshift: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
fate-filter-dcshift: CMD = framecrc -i $(SRC) -aframes 20 -af dcshift=shift=0.25:limitergain=0.05
+FATE_AFILTER-$(call FILTERDEMDECENCMUX, EARWAX, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-earwax
+fate-filter-earwax: tests/data/asynth-44100-2.wav
+fate-filter-earwax: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
+fate-filter-earwax: CMD = framecrc -i $(SRC) -aframes 20 -af earwax
+
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-earwax b/tests/ref/fate/filter-earwax
new file mode 100644
index 0000000000..8d4eaa8be8
--- /dev/null
+++ b/tests/ref/fate/filter-earwax
@@ -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, 0x900af751
+0, 1024, 1024, 1024, 4096, 0xad570065
+0, 2048, 2048, 1024, 4096, 0x93d5f494
+0, 3072, 3072, 1024, 4096, 0x2c65ef7d
+0, 4096, 4096, 1024, 4096, 0xdc8af6d2
+0, 5120, 5120, 1024, 4096, 0x7ae00249
+0, 6144, 6144, 1024, 4096, 0xaab5fdd0
+0, 7168, 7168, 1024, 4096, 0x4373ef39
+0, 8192, 8192, 1024, 4096, 0x0756eb43
+0, 9216, 9216, 1024, 4096, 0x494d06e0
+0, 10240, 10240, 1024, 4096, 0x4393ffae
+0, 11264, 11264, 1024, 4096, 0x6972f97e
+0, 12288, 12288, 1024, 4096, 0xb834ea05
+0, 13312, 13312, 1024, 4096, 0x39b8f871
+0, 14336, 14336, 1024, 4096, 0xf032fccd
+0, 15360, 15360, 1024, 4096, 0xefcd0709
+0, 16384, 16384, 1024, 4096, 0x0590ebc0
+0, 17408, 17408, 1024, 4096, 0x2e75f264
+0, 18432, 18432, 1024, 4096, 0xbea1fd03
+0, 19456, 19456, 1024, 4096, 0x9bbe0434