aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate/filter-audio.mak
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-09-09 21:09:57 +0200
committerPaul B Mahol <onemda@gmail.com>2021-09-09 23:45:52 +0200
commit0b4d009587dd3e31b275bc29b197890adeefaf23 (patch)
treec74a0640d26b193d64f700fe0438fb78b60f7748 /tests/fate/filter-audio.mak
parentabd24eaf688d4987c75be0816abf5eb49ccaa28f (diff)
downloadffmpeg-0b4d009587dd3e31b275bc29b197890adeefaf23.tar.gz
fate: fix silenceremove test
Diffstat (limited to 'tests/fate/filter-audio.mak')
-rw-r--r--tests/fate/filter-audio.mak5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index 8b38ee5e75..db70f26438 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -178,9 +178,8 @@ fate-filter-pan-downmix2: tests/data/asynth-44100-11.wav
fate-filter-pan-downmix2: SRC = $(TARGET_PATH)/tests/data/asynth-44100-11.wav
fate-filter-pan-downmix2: CMD = framecrc -ss 3.14 -i $(SRC) -frames:a 20 -filter:a "pan=5C|c0=0.7*c0+0.7*c10|c1=c9|c2=c8|c3=c7|c4=c6"
-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) -frames:a 30 -af aresample,silenceremove=start_periods=0:start_duration=0:start_threshold=0:stop_periods=-1:stop_duration=0:stop_threshold=-90dB,aresample
+FATE_AFILTER-$(call ALLYES, LAVFI_INDEV, AEVALSRC_FILTER SILENCEREMOVE_FILTER) += fate-filter-silenceremove
+fate-filter-silenceremove: CMD = framecrc -auto_conversion_filters -f lavfi -i "aevalsrc=between(t\,1\,2)+between(t\,4\,5)+between(t\,7\,9):d=10:n=8192,silenceremove=start_periods=0:start_duration=0:start_threshold=0:stop_periods=-1:stop_duration=0:stop_threshold=-90dB:window=0:detection=peak"
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