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 <[email protected]>
> ---
>  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 |

Reply via email to