mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fate: add test for chorus filter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
1582e306a4
commit
2383618a40
@ -94,6 +94,11 @@ fate-filter-asetrate: tests/data/asynth-44100-2.wav
|
||||
fate-filter-asetrate: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
|
||||
fate-filter-asetrate: CMD = framecrc -i $(SRC) -aframes 20 -af asetrate=20000
|
||||
|
||||
FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHORUS, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-chorus
|
||||
fate-filter-chorus: tests/data/asynth-22050-1.wav
|
||||
fate-filter-chorus: SRC = $(TARGET_PATH)/tests/data/asynth-22050-1.wav
|
||||
fate-filter-chorus: CMD = framecrc -i $(SRC) -aframes 10 -af chorus=0.5:0.5:64:0.5:0.25:2
|
||||
|
||||
tests/data/hls-list.m3u8: TAG = GEN
|
||||
tests/data/hls-list.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
|
15
tests/ref/fate/filter-chorus
Normal file
15
tests/ref/fate/filter-chorus
Normal file
@ -0,0 +1,15 @@
|
||||
#tb 0: 1/22050
|
||||
#media_type 0: audio
|
||||
#codec_id 0: pcm_s16le
|
||||
#sample_rate 0: 22050
|
||||
#channel_layout 0: 4
|
||||
0, 0, 0, 2048, 4096, 0x4cd2fbdf
|
||||
0, 2048, 2048, 2048, 4096, 0x233cfca2
|
||||
0, 4096, 4096, 2048, 4096, 0xf43af2b0
|
||||
0, 6144, 6144, 2048, 4096, 0xea6eff9f
|
||||
0, 8192, 8192, 2048, 4096, 0xa5ecf6a0
|
||||
0, 10240, 10240, 2048, 4096, 0x40d4f3b1
|
||||
0, 12288, 12288, 2048, 4096, 0x6b2bf76b
|
||||
0, 14336, 14336, 2048, 4096, 0xf19df862
|
||||
0, 16384, 16384, 2048, 4096, 0x736ef763
|
||||
0, 18432, 18432, 2048, 4096, 0x93b6f640
|
Loading…
Reference in New Issue
Block a user