[FFmpeg-cvslog] fate/libswresample: add a test downmixing with a custom order layout
James Almer
git at videolan.org
Thu Feb 6 18:53:30 EET 2025
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Feb 5 11:45:14 2025 -0300| [dc9e0ca447d01b59cb8294c4857ad97e2adfd086] | committer: James Almer
fate/libswresample: add a test downmixing with a custom order layout
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dc9e0ca447d01b59cb8294c4857ad97e2adfd086
---
tests/fate/libswresample.mak | 8 ++++++++
tests/filtergraphs/custom_rematrix | 1 +
2 files changed, 9 insertions(+)
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
+
+FATE_SWR += $(FATE_SWR_CUSTOM_REMATRIX-yes)
FATE_FFMPEG += $(FATE_SWR)
fate-swr: $(FATE_SWR)
diff --git a/tests/filtergraphs/custom_rematrix b/tests/filtergraphs/custom_rematrix
new file mode 100644
index 0000000000..8579b43867
--- /dev/null
+++ b/tests/filtergraphs/custom_rematrix
@@ -0,0 +1 @@
+[0:a]aresample,channelmap=0|1|2|3|6|7|4|5:8 channels (FL+FR+FC+LFE+SL+SR+BL+BR),aresample,aformat=cl=stereo[OUT];
More information about the ffmpeg-cvslog
mailing list