[FFmpeg-devel] [PATCH] V2 tests/fate/filter-audio.mak: add test for ATEMPO audio filter

Anton Khirnov anton at khirnov.net
Thu Mar 28 10:22:24 EET 2024


Quoting Rajiv Harlalka (2024-03-21 11:13:46)
> Please find an updated patch for tests on the atempo audio filter
> 
> From 30475d6f076d5236ee534002fffb01958ef0dfc1 Mon Sep 17 00:00:00 2001
> From: Rajiv Harlalka <rajivharlalka009 at gmail.com>
> Date: Thu, 21 Mar 2024 13:35:29 +0530
> Subject: [PATCH v2] tests/fate/filter-audio.mak: add test for ATEMPO audio
>  filter
> 
> Signed-off-by: Rajiv Harlalka <rajivharlalka009 at gmail.com>
> ---
>  tests/fate/filter-audio.mak  |  3 ++
>  tests/ref/fate/filter-atempo | 70 ++++++++++++++++++++++++++++++++++++
>  2 files changed, 73 insertions(+)
>  create mode 100644 tests/ref/fate/filter-atempo
> 
> diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
> index 308969c4ac..469c784e87 100644
> --- a/tests/fate/filter-audio.mak
> +++ b/tests/fate/filter-audio.mak
> @@ -414,6 +414,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

atempo uses floats for processing, are you sure this will produce
exactly the same results everywhere?

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list