From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 28 Nov 2025 07:47:42 +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 1vOsGc-005hLy-12 for lore@lore.pengutronix.de; Fri, 28 Nov 2025 07:47:42 +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 1vOsGc-0000aZ-4s; Fri, 28 Nov 2025 07:47:42 +0100 Received: from dude04.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::ac]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vOsGJ-0000a6-DG; Fri, 28 Nov 2025 07:47:23 +0100 From: =?UTF-8?q?Sven=20P=C3=BCschel?= To: ptxdist@pengutronix.de Date: Fri, 28 Nov 2025 07:46:51 +0100 Message-ID: <20251128064720.2216811-1-s.pueschel@pengutronix.de> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH v3 1/2] 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 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 --- 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