aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRajiv Harlalka <rajivharlalka009@gmail.com>2024-03-21 13:35:29 +0530
committerAnton Khirnov <anton@khirnov.net>2024-07-03 11:37:40 +0200
commitfc446eea05b9bc7de9a3c6b56dae8255bb5c5b5d (patch)
tree725aad025bdd61eeb718a3aa053407bbf649164d /tests
parenta9c05eb657d0d05f3ac79fe9973581a41b265a5e (diff)
downloadffmpeg-fc446eea05b9bc7de9a3c6b56dae8255bb5c5b5d.tar.gz
tests/fate/filter-audio.mak: add test for atempo audio filter
Signed-off-by: Rajiv Harlalka <rajivharlalka009@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter-audio.mak3
-rw-r--r--tests/ref/fate/filter-atempo70
2 files changed, 73 insertions, 0 deletions
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index 3f22db1e05..8120620afe 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -412,6 +412,9 @@ fate-filter-hdcd-s32p: CMD = md5 -i $(SRC) -af hdcd -f s32le
fate-filter-hdcd-s32p: CMP = oneline
fate-filter-hdcd-s32p: REF = 0c5513e83eedaa10ab6fac9ddc173cf5
+FATE_AFILTER_SAMPLES-$(call FILTERDEMDECENCMUX, ATEMPO, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-atempo
+fate-filter-atempo: CMD = framecrc -i $(TARGET_PATH)/tests/data/asynth-44100-1.wav -af "atempo=2.0" -ar 44100
+
FATE_AFILTER-yes += fate-filter-formats
fate-filter-formats: libavfilter/tests/formats$(EXESUF)
fate-filter-formats: CMD = run libavfilter/tests/formats$(EXESUF)
diff --git a/tests/ref/fate/filter-atempo b/tests/ref/fate/filter-atempo
new file mode 100644
index 0000000000..abedfcd618
--- /dev/null
+++ b/tests/ref/fate/filter-atempo
@@ -0,0 +1,70 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout_name 0: mono
+0, 0, 0, 2048, 4096, 0x9c4dffa9
+0, 2048, 2048, 2048, 4096, 0x3a11f3f6
+0, 4096, 4096, 2048, 4096, 0x9835f5a5
+0, 6144, 6144, 2048, 4096, 0x7fe7e8ab
+0, 8192, 8192, 2048, 4096, 0x9450f26b
+0, 10240, 10240, 2048, 4096, 0x8f95ff6a
+0, 12288, 12288, 2048, 4096, 0xc9deebab
+0, 14336, 14336, 2048, 4096, 0x0229ec6c
+0, 16384, 16384, 2048, 4096, 0xb1b00a8c
+0, 18432, 18432, 2048, 4096, 0x43e7f197
+0, 20480, 20480, 2048, 4096, 0x60580ec1
+0, 22528, 22528, 2048, 4096, 0x1a4f084c
+0, 24576, 24576, 2048, 4096, 0x70d20213
+0, 26624, 26624, 2048, 4096, 0xaf9afc70
+0, 28672, 28672, 2048, 4096, 0x1212df6f
+0, 30720, 30720, 2048, 4096, 0x37a8f35a
+0, 32768, 32768, 2048, 4096, 0x4730f0ee
+0, 34816, 34816, 2048, 4096, 0x1fe1efd8
+0, 36864, 36864, 2048, 4096, 0xdfc4149e
+0, 38912, 38912, 2048, 4096, 0xe288ffd1
+0, 40960, 40960, 2048, 4096, 0xee7b0829
+0, 43008, 43008, 2048, 4096, 0xb20df4aa
+0, 45056, 45056, 2048, 4096, 0x0564f254
+0, 47104, 47104, 2048, 4096, 0x92daf362
+0, 49152, 49152, 2048, 4096, 0xaab3f18b
+0, 51200, 51200, 2048, 4096, 0xe2bdfcb4
+0, 53248, 53248, 2048, 4096, 0x706adab4
+0, 55296, 55296, 2048, 4096, 0x141a075b
+0, 57344, 57344, 2048, 4096, 0x87aad71f
+0, 59392, 59392, 2048, 4096, 0xfafd0233
+0, 61440, 61440, 2048, 4096, 0x74b1cb64
+0, 63488, 63488, 2048, 4096, 0x9ffee659
+0, 65536, 65536, 2048, 4096, 0x50dde96c
+0, 67584, 67584, 2048, 4096, 0xa4f5fc36
+0, 69632, 69632, 2048, 4096, 0xd40ff139
+0, 71680, 71680, 2048, 4096, 0xe93fe12a
+0, 73728, 73728, 2048, 4096, 0x747f05da
+0, 75776, 75776, 2048, 4096, 0x902601d7
+0, 77824, 77824, 2048, 4096, 0xee871089
+0, 79872, 79872, 2048, 4096, 0x8fba09ee
+0, 81920, 81920, 2048, 4096, 0x832afdea
+0, 83968, 83968, 2048, 4096, 0x7224ec15
+0, 86016, 86016, 2048, 4096, 0xf7def9f4
+0, 88064, 88064, 2048, 4096, 0x3c8af149
+0, 90112, 90112, 2048, 4096, 0x1dc1dfcf
+0, 92160, 92160, 2048, 4096, 0x8ef51140
+0, 94208, 94208, 2048, 4096, 0x4b200588
+0, 96256, 96256, 2048, 4096, 0x29e9be20
+0, 98304, 98304, 2048, 4096, 0x8298f08a
+0, 100352, 100352, 2048, 4096, 0xae5ef3b3
+0, 102400, 102400, 2048, 4096, 0xa76cfbe3
+0, 104448, 104448, 2048, 4096, 0xf784fdb0
+0, 106496, 106496, 2048, 4096, 0xea70f93e
+0, 108544, 108544, 2048, 4096, 0xea5ffc00
+0, 110592, 110592, 2048, 4096, 0x6c2f0350
+0, 112640, 112640, 2048, 4096, 0x5f94cf81
+0, 114688, 114688, 2048, 4096, 0x2f28fda2
+0, 116736, 116736, 2048, 4096, 0x3db0fc68
+0, 118784, 118784, 2048, 4096, 0x15bc0c1f
+0, 120832, 120832, 2048, 4096, 0x48840656
+0, 122880, 122880, 2048, 4096, 0xdf70ee6e
+0, 124928, 124928, 2048, 4096, 0x2dece83a
+0, 126976, 126976, 2048, 4096, 0x1e52cdf5
+0, 129024, 129024, 2048, 4096, 0x27ebc5af
+0, 131072, 131072, 1368, 2736, 0xebfc5933