[FFmpeg-devel] [PATCH v2 4/4] tests/fate/filter-audio: add aloop test

Anton Khirnov anton at khirnov.net
Tue Nov 5 11:20:17 EET 2024


Quoting Marton Balint (2024-11-05 08:15:31)
> v2: use -filter_complex instead of -f lavfi to generate input
> 
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  tests/fate/filter-audio.mak |  3 +++
>  tests/ref/fate/filter-aloop | 45 +++++++++++++++++++++++++++++++++++++
>  2 files changed, 48 insertions(+)
>  create mode 100644 tests/ref/fate/filter-aloop
> 
> diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
> index 84478740c7..343fa40e9d 100644
> --- a/tests/fate/filter-audio.mak
> +++ b/tests/fate/filter-audio.mak
> @@ -418,6 +418,9 @@ fate-filter-atempo: CMD = pcm -i $(TARGET_PATH)/tests/data/asynth-44100-1.wav -a
>  fate-filter-atempo: CMP = oneoff
>  fate-filter-atempo: REF = $(SAMPLES)/filter-reference/atempo.pcm
>  
> +fate-filter-aloop: CMD = framecrc -filter_complex "sine=r=48000:f=480:d=4,aloop=loop=4:start=48000:size=48000,asetnsamples=9600"
> +FATE_AFILTER-$(call ALLYES, SINE_FILTER ALOOP_FILTER ASETNSAMPLES_FILTER PCM_S16LE_ENCODER FRAMECRC_MUXER PIPE_PROTOCOL) += fate-filter-aloop

Looks ok

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list