mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 14:01:27 +00:00
fate: add test for compand filter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
44ac2b9b08
commit
777697a62c
@ -127,6 +127,12 @@ fate-filter-tremolo: tests/data/asynth-44100-2.wav
|
||||
fate-filter-tremolo: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
|
||||
fate-filter-tremolo: CMD = framecrc -i $(SRC) -aframes 20 -af tremolo
|
||||
|
||||
FATE_AFILTER-$(call FILTERDEMDECENCMUX, COMPAND, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-compand
|
||||
fate-filter-compand: tests/data/asynth-44100-2.wav
|
||||
fate-filter-compand: tests/data/filtergraphs/compand
|
||||
fate-filter-compand: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
|
||||
fate-filter-compand: CMD = framecrc -i $(SRC) -aframes 20 -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/compand
|
||||
|
||||
tests/data/hls-list.m3u8: TAG = GEN
|
||||
tests/data/hls-list.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
|
1
tests/filtergraphs/compand
Normal file
1
tests/filtergraphs/compand
Normal file
@ -0,0 +1 @@
|
||||
compand='points=-80/-80|-9/-9|0/-5.3|20/2.9'
|
25
tests/ref/fate/filter-compand
Normal file
25
tests/ref/fate/filter-compand
Normal file
@ -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, 0xfc10e61b
|
||||
0, 1024, 1024, 1024, 4096, 0x8801ef13
|
||||
0, 2048, 2048, 1024, 4096, 0xba55fc17
|
||||
0, 3072, 3072, 1024, 4096, 0x70f203a0
|
||||
0, 4096, 4096, 1024, 4096, 0x9f2ff593
|
||||
0, 5120, 5120, 1024, 4096, 0x52f0fb77
|
||||
0, 6144, 6144, 1024, 4096, 0x435502ec
|
||||
0, 7168, 7168, 1024, 4096, 0xaacfe4bb
|
||||
0, 8192, 8192, 1024, 4096, 0x38010f44
|
||||
0, 9216, 9216, 1024, 4096, 0x8a79e351
|
||||
0, 10240, 10240, 1024, 4096, 0x3d66ec91
|
||||
0, 11264, 11264, 1024, 4096, 0x03031b7e
|
||||
0, 12288, 12288, 1024, 4096, 0xd9c310ec
|
||||
0, 13312, 13312, 1024, 4096, 0x076af28b
|
||||
0, 14336, 14336, 1024, 4096, 0xb80fdfe3
|
||||
0, 15360, 15360, 1024, 4096, 0xff0fe68d
|
||||
0, 16384, 16384, 1024, 4096, 0x679efb4d
|
||||
0, 17408, 17408, 1024, 4096, 0xf84fe6e3
|
||||
0, 18432, 18432, 1024, 4096, 0x01ebf175
|
||||
0, 19456, 19456, 1024, 4096, 0xe7cdea1b
|
Loading…
Reference in New Issue
Block a user