From: "Sven Püschel" <s.pueschel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Sven Püschel" <s.pueschel@pengutronix.de>
Subject: [ptxdist] [PATCH v3 1/2] ffmpeg: enable filters and swscale
Date: Fri, 28 Nov 2025 07:46:51 +0100 [thread overview]
Message-ID: <20251128064720.2216811-1-s.pueschel@pengutronix.de> (raw)
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
next reply other threads:[~2025-11-28 6:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-28 6:46 Sven Püschel [this message]
2025-11-28 6:46 ` [ptxdist] [PATCH v3 2/2] gst-libav1: fix avvideocompare element Sven Püschel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251128064720.2216811-1-s.pueschel@pengutronix.de \
--to=s.pueschel@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox