diff options
author | Petru Rares Sincraian <psincraian@outlook.com> | 2016-08-12 19:00:09 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-08-12 23:54:04 +0200 |
commit | 777697a62c00fe17093f383388aaccaca486be93 (patch) | |
tree | 45a96ba1275ca04cf334f051215495c80e94d5d7 /tests | |
parent | 44ac2b9b086db4f026ff7f241e60e480cdfad039 (diff) | |
download | ffmpeg-777697a62c00fe17093f383388aaccaca486be93.tar.gz |
fate: add test for compand filter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/filter-audio.mak | 6 | ||||
-rw-r--r-- | tests/filtergraphs/compand | 1 | ||||
-rw-r--r-- | tests/ref/fate/filter-compand | 25 |
3 files changed, 32 insertions, 0 deletions
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak index d9db4949e4..d1d9d596c6 100644 --- a/tests/fate/filter-audio.mak +++ b/tests/fate/filter-audio.mak @@ -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)/$< \ diff --git a/tests/filtergraphs/compand b/tests/filtergraphs/compand new file mode 100644 index 0000000000..b1fdd98142 --- /dev/null +++ b/tests/filtergraphs/compand @@ -0,0 +1 @@ +compand='points=-80/-80|-9/-9|0/-5.3|20/2.9' diff --git a/tests/ref/fate/filter-compand b/tests/ref/fate/filter-compand new file mode 100644 index 0000000000..14fe0b2fdd --- /dev/null +++ b/tests/ref/fate/filter-compand @@ -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 |