1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

fate/filter-audio: Added test for aselect

This commit is contained in:
Anders Rein
2025-11-18 11:22:18 +01:00
committed by Marton Balint
parent 7411e902da
commit 32f73138f5
2 changed files with 21 additions and 0 deletions

View File

@@ -259,6 +259,11 @@ fate-filter-aresample: CMD = pcm -analyzeduration 10000000 -i $(SRC) -af aresamp
fate-filter-aresample: CMP = oneoff fate-filter-aresample: CMP = oneoff
fate-filter-aresample: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm fate-filter-aresample: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm
FATE_AFILTER-$(call FILTERDEMDECENCMUX, ASELECT, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-aselect
fate-filter-aselect: tests/data/asynth-44100-2.wav
fate-filter-aselect: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
fate-filter-aselect: CMD = framecrc -i $(SRC) -af "aselect=gte(t\,1)*lt(t\,2)"
FATE_ATRIM += fate-filter-atrim-duration FATE_ATRIM += fate-filter-atrim-duration
fate-filter-atrim-duration: CMD = framecrc -i $(SRC) -af atrim=start=0.1:duration=0.01 fate-filter-atrim-duration: CMD = framecrc -i $(SRC) -af atrim=start=0.1:duration=0.01
FATE_ATRIM += fate-filter-atrim-mixed FATE_ATRIM += fate-filter-atrim-mixed

View File

@@ -0,0 +1,16 @@
#tb 0: 1/44100
#media_type 0: audio
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout_name 0: stereo
0, 45056, 45056, 4096, 16384, 0xe92bd835
0, 49152, 49152, 4096, 16384, 0x1126dca3
0, 53248, 53248, 4096, 16384, 0x9647edcf
0, 57344, 57344, 4096, 16384, 0x5cc345aa
0, 61440, 61440, 4096, 16384, 0x19d7bd51
0, 65536, 65536, 4096, 16384, 0x19eccef7
0, 69632, 69632, 4096, 16384, 0x4b68eeed
0, 73728, 73728, 4096, 16384, 0x0b3d1bfc
0, 77824, 77824, 4096, 16384, 0xe9b2e069
0, 81920, 81920, 4096, 16384, 0xcaa5590e
0, 86016, 86016, 4096, 16384, 0x47d0b227