m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.49k stars 257 forks source link

Request: libvpl to replace deprecated libmfx #2671

Open l-l-l-l-l-l opened 1 month ago

l-l-l-l-l-l commented 1 month ago

While compiling, it gives the following warning.

WARNING: libmfx is deprecated. Please run configure with --enable-libvpl to use libvpl instead.

I believe it would be wise to add libvpl capabilities (which the suite currently lacks).

Psynosaur commented 1 month ago

Hi

I've had the same warning.

You may include libvpl using the mingwpackages in media-autobuild_suite.bat

set mingwpackages=cmake dlfcn libpng nasm pcre tools-git yasm ninja pkgconf meson ccache jq ^
clang gettext-tools lld rust libvpl

Then including it in ffmpeg_options_basic adds libvpl, if you included libmfx this way, you'd need to remove it first.

:: common external libs
set ffmpeg_options_basic=gmp libmp3lame libopus libvorbis libvpx libx264 libx265 ^
libdav1d libaom --disable-debug libfdk-aac librav1e libsrt libvmaf libsvtav1 librist libsvthevc libvvenc libvvdec libvpl

Cheers