mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v3 1/2] ffmpeg: enable filters and swscale
@ 2025-11-28  6:46 Sven Püschel
  2025-11-28  6:46 ` [ptxdist] [PATCH v3 2/2] gst-libav1: fix avvideocompare element Sven Püschel
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Püschel @ 2025-11-28  6:46 UTC (permalink / raw)
  To: ptxdist; +Cc: Sven Püschel

Enable the filters and swscale, as they are required by the GStreamer
avvideocompare element. This uses the ssim or psnr filter to compare
two video inputs. Internally this also expects swscale to be available
to potentially scale the inputs to the same size.

The change increases the libavfilter.so file size from 148.0K to 4.3M
and adds the libswscale shared library with a size of 340K.
The remaining shared libraries from libav keep their size.

Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
---
Changes in v3: also install libswscale
Changes in v2: none
---
 rules/ffmpeg.make | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/rules/ffmpeg.make b/rules/ffmpeg.make
index 3f177021b..37326779b 100644
--- a/rules/ffmpeg.make
+++ b/rules/ffmpeg.make
@@ -75,7 +75,7 @@ FFMPEG_CONF_OPT		:= \
 	--enable-avcodec \
 	--enable-avformat \
 	--enable-swresample \
-	--disable-swscale \
+	--enable-swscale \
 	--enable-avfilter \
 	\
 	--enable-pthreads \
@@ -98,7 +98,7 @@ FFMPEG_CONF_OPT		:= \
 	--disable-indevs \
 	--disable-outdevs \
 	--disable-devices \
-	--disable-filters \
+	--enable-filters \
 	\
 	--disable-alsa \
 	--disable-appkit \
@@ -285,6 +285,7 @@ $(STATEDIR)/ffmpeg.targetinstall:
 	@$(call install_lib, ffmpeg, 0, 0, 0644, libavformat)
 	@$(call install_lib, ffmpeg, 0, 0, 0644, libavutil)
 	@$(call install_lib, ffmpeg, 0, 0, 0644, libswresample)
+	@$(call install_lib, ffmpeg, 0, 0, 0644, libswscale)
 
 	@$(call install_finish, ffmpeg)
 
-- 
2.47.3




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-28  6:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-28  6:46 [ptxdist] [PATCH v3 1/2] ffmpeg: enable filters and swscale Sven Püschel
2025-11-28  6:46 ` [ptxdist] [PATCH v3 2/2] gst-libav1: fix avvideocompare element Sven Püschel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox