mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: "Sven Püschel" <s.pueschel@pengutronix.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH v2 1/2] ffmpeg: enable filters and swscale
Date: Thu, 27 Nov 2025 16:12:29 +0100	[thread overview]
Message-ID: <aShqXdNMH32uK2UG@pengutronix.de> (raw)
In-Reply-To: <20251121085127.3761419-1-s.pueschel@pengutronix.de>

On Fri, Nov 21, 2025 at 09:50:55AM +0100, Sven Püschel 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.
> The remaining shared libraries from libav keep their size.
> 
> Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
> ---
>  rules/ffmpeg.make | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/rules/ffmpeg.make b/rules/ffmpeg.make
> index 3f177021b..f1b304fc4 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 \

The resulting library must be installed as well.

Michael

>  	--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 \
> -- 
> 2.47.3
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



      parent reply	other threads:[~2025-11-27 15:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-21  8:50 Sven Püschel
2025-11-21  8:50 ` [ptxdist] [PATCH v2 2/2] gst-libav1: fix avvideocompare element Sven Püschel
2025-11-27 11:10   ` Michael Olbrich
2025-11-27 15:12 ` 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=aShqXdNMH32uK2UG@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