[FFmpeg-devel] [PATCH] fate/libswresample: add a test downmixing with a custom order layout
Michael Niedermayer
michael at niedermayer.cc
Thu Feb 6 16:26:22 EET 2025
Hi James
On Wed, Feb 05, 2025 at 11:46:32AM -0300, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> tests/fate/libswresample.mak | 8 ++++++++
> tests/filtergraphs/custom_rematrix | 1 +
> 2 files changed, 9 insertions(+)
> create mode 100644 tests/filtergraphs/custom_rematrix
>
> diff --git a/tests/fate/libswresample.mak b/tests/fate/libswresample.mak
> index a1e5ab91fa..aa4438a4bd 100644
> --- a/tests/fate/libswresample.mak
> +++ b/tests/fate/libswresample.mak
> @@ -1097,5 +1097,13 @@ fate-swr-audioconvert: CMP = stddev
> fate-swr-audioconvert: FUZZ = 0
>
> FATE_SWR += $(FATE_SWR_AUDIOCONVERT-yes)
> +
> +FATE_SWR_CUSTOM_REMATRIX-$(call FILTERDEMDECENCMUX, ARESAMPLE CHANNELMAP AFORMAT, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-swr-custom-rematrix
> +fate-swr-custom-rematrix: tests/data/asynth-44100-8.wav tests/data/filtergraphs/custom_rematrix
> +fate-swr-custom-rematrix: CMD = md5 -i $(TARGET_PATH)/tests/data/asynth-44100-8.wav -/filter_complex $(TARGET_PATH)/tests/data/filtergraphs/custom_rematrix -map [OUT] -f s16le
> +fate-swr-custom-rematrix: CMP = oneline
> +fate-swr-custom-rematrix: REF = 2a14a44deb4ae26e3b474ddbfbc048f8
not a huge fan of md5 based testing of downmixing as it provides just a
"same" vs "different"
but patch ok
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250206/695b91fb/attachment.sig>
More information about the ffmpeg-devel
mailing list