From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 04 Dec 2025 14:18:07 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vR9Dj-007sA0-0d for lore@lore.pengutronix.de; Thu, 04 Dec 2025 14:18:07 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vR9Dj-0003d0-1N; Thu, 04 Dec 2025 14:18:07 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vR9Ah-0007W7-Dp; Thu, 04 Dec 2025 14:14:59 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vR9Ag-003xb6-3D; Thu, 04 Dec 2025 14:14:59 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1vR9Ag-00000009DkG-3xs8; Thu, 04 Dec 2025 14:14:58 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 4 Dec 2025 14:14:58 +0100 Message-ID: <20251204131458.2197781-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251128064720.2216811-1-s.pueschel@pengutronix.de> References: <20251128064720.2216811-1-s.pueschel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] ffmpeg: enable filters and swscale X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: =?UTF-8?q?Sven=20P=C3=BCschel?= Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 6936e107becb7b2b8769f682cfcbbd9b834fe931. Michael [sent from post-receive hook] On Thu, 04 Dec 2025 14:14:58 +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 > 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 > Message-Id: <20251128064720.2216811-1-s.pueschel@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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) >