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