summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter-audio.mak4
-rw-r--r--tests/ref/fate/filter-silenceremove35
2 files changed, 39 insertions, 0 deletions
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index f71fb52b51..ed1cbb1a31 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, SILENCEREMOVE, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-silenceremove
+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
+
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-silenceremove b/tests/ref/fate/filter-silenceremove
new file mode 100644
index 0000000000..43360e8dbc
--- /dev/null
+++ b/tests/ref/fate/filter-silenceremove
@@ -0,0 +1,35 @@
+#tb 0: 1/192000
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 192000
+#channel_layout 0: 3
+0, 0, 0, 1, 4, 0x00200008
+0, 1, 1, 1, 4, 0x00180006
+0, 2, 2, 1, 4, 0x001c0007
+0, 3, 3, 1, 4, 0x03250208
+0, 4, 4, 1, 4, 0x03290208
+0, 5, 5, 1, 4, 0x03230207
+0, 6, 6, 1, 4, 0x031f0206
+0, 7, 7, 1, 4, 0x03250208
+0, 8, 8, 1, 4, 0x00220009
+0, 9, 9, 1, 4, 0x00200009
+0, 10, 10, 1, 4, 0x03250208
+0, 11, 11, 1, 4, 0x0335020c
+0, 12, 12, 1, 4, 0x034b0211
+0, 13, 13, 1, 4, 0x034b020f
+0, 14, 14, 1, 4, 0x0343020e
+0, 15, 15, 1, 4, 0x00440011
+0, 16, 16, 1, 4, 0x00400011
+0, 17, 17, 1, 4, 0x003a000f
+0, 18, 18, 1, 4, 0x0339020d
+0, 19, 19, 1, 4, 0x003a000f
+0, 20, 20, 1, 4, 0x0034000d
+0, 21, 21, 1, 4, 0x0034000d
+0, 22, 22, 1, 4, 0x0036000e
+0, 23, 23, 1, 4, 0x03290208
+0, 24, 24, 1, 4, 0x03230204
+0, 25, 25, 1, 4, 0x03170201
+0, 26, 26, 1, 4, 0x030701fd
+0, 27, 27, 1, 4, 0x02fd01fc
+0, 28, 28, 1, 4, 0x00060002
+0, 29, 29, 1, 4, 0x000c0004