From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Sven Püschel" <s.pueschel@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] ffmpeg: enable filters and swscale
Date: Thu, 4 Dec 2025 14:14:58 +0100 [thread overview]
Message-ID: <20251204131458.2197781-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20251128064720.2216811-1-s.pueschel@pengutronix.de>
Thanks, applied as 6936e107becb7b2b8769f682cfcbbd9b834fe931.
Michael
[sent from post-receive hook]
On Thu, 04 Dec 2025 14:14:58 +0100, Sven Püschel <s.pueschel@pengutronix.de> wrote:
> 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>
> Message-Id: <20251128064720.2216811-1-s.pueschel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/ffmpeg.make b/rules/ffmpeg.make
> index 3f177021b756..37326779b04e 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)
>
prev parent reply other threads:[~2025-12-04 13:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-28 6:46 [ptxdist] [PATCH v3 1/2] " Sven Püschel
2025-11-28 6:46 ` [ptxdist] [PATCH v3 2/2] gst-libav1: fix avvideocompare element Sven Püschel
2025-12-04 13:14 ` Michael Olbrich [this message]
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=20251204131458.2197781-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
--cc=s.pueschel@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