Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.
3060 Discussions

build FFmpeg with oneVPL, libvpl>=2.6 not found

shenuo
Employee
3,274 Views

I try to build ffmpeg with oneVPL, but get this error:

   

ERROR: libvpl >= 2.6 not found

 

I use ffmpeg (6.0) and oneAPI 2023 on windows 11 visual studio 2022, (i7-12700H,A770).

 

the command line for run configure is:

./configure --toolchain=msvc --enable-gpl --enable-libx264 --enable-libx265 --enable-libvpl --enable-shared

by the way, if set toolchain=icl,  get error like

C compiler test failed

 

I run this command line by these steps:

Intel oneAPI command prompt for intel64 for visual studio 2022->

msys2 (need to install msys2 ) window , run configure 

 

 

 

7 Replies
JaideepK_Intel
Moderator
3,220 Views

Hi,

 

Thank you for posting in Intel communities.

 

We were able to reproduce your issue on our Linux machines and we are working on it internally. We will get back to you with an update.

JaideepK_Intel_0-1680688650495.png

 

Thanks,

Jaideep

 

0 Kudos
clytle
Beginner
3,166 Views

I have the same issue. 

Perhaps a clue...  I ran the following:

> wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null

> echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list

> sudo apt install intel-basekit

> PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --pkg-config-flags="--static" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --extra-libs="-lpthread -lm" --ld="g++" --bindir="$HOME/bin" --enable-gpl --enable-gnutls --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libvmaf --enable-nonfree --enable-libvpl

RESULT:
> ERROR: libvpl >= 2.6 not found

0 Kudos
shenuo
Employee
3,144 Views

Hi,

   actually I can solve this by moving oneVPL related files to the usr/local, lib, bin ,include and packge-config path. 

0 Kudos
fan123
Beginner
284 Views

Did this problem has been solved? I meet the same question and am looking for the solution.

0 Kudos
JaideepK_Intel
Moderator
3,120 Views

Hi,

 

Glad to know that your issue is resolved. Thanks for sharing the solution with us. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.

 

Thanks,

Jaideep

 

 

0 Kudos
MrKay
Beginner
1,767 Views

Facing the same issue on Ubuntu 22.04, installed all the latest VPL packages, yet cannot build ffmpeg from intel cartwheels:

 

apt install -y \
intel-opencl-icd intel-level-zero-gpu level-zero \
intel-media-va-driver-non-free libmfx1 libmfxgen1 libvpl2 \
libegl-mesa0 libegl1-mesa libegl1-mesa-dev libgbm1 libgl1-mesa-dev libgl1-mesa-dri \
libglapi-mesa libgles2-mesa-dev libglx-mesa0 libigdgmm12 libxatracker2 mesa-va-drivers \
mesa-vdpau-drivers mesa-vulkan-drivers va-driver-all vainfo hwinfo clinfo
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
clinfo is already the newest version (3.0.21.02.21-1).
hwinfo is already the newest version (21.72-1).
intel-media-va-driver-non-free is already the newest version (23.2.4-682~22.04).
level-zero is already the newest version (1.11.0-649~22.04).
libegl-mesa0 is already the newest version (23.2.0.20230712.1-2073~22.04).
libegl1-mesa is already the newest version (23.2.0.20230712.1-2073~22.04).
libegl1-mesa-dev is already the newest version (23.2.0.20230712.1-2073~22.04).
libgbm1 is already the newest version (23.2.0.20230712.1-2073~22.04).
libgl1-mesa-dev is already the newest version (23.2.0.20230712.1-2073~22.04).
libgl1-mesa-dri is already the newest version (23.2.0.20230712.1-2073~22.04).
libglapi-mesa is already the newest version (23.2.0.20230712.1-2073~22.04).
libgles2-mesa-dev is already the newest version (23.2.0.20230712.1-2073~22.04).
libglx-mesa0 is already the newest version (23.2.0.20230712.1-2073~22.04).
libigdgmm12 is already the newest version (22.3.7-678~22.04).
libmfx1 is already the newest version (23.2.2-682~22.04).
libmfxgen1 is already the newest version (23.2.4-682~22.04).
libvpl2 is already the newest version (2023.3.0.0-682~22.04).
libxatracker2 is already the newest version (23.2.0.20230712.1-2073~22.04).
mesa-va-drivers is already the newest version (23.2.0.20230712.1-2073~22.04).
mesa-vdpau-drivers is already the newest version (23.2.0.20230712.1-2073~22.04).
mesa-vulkan-drivers is already the newest version (23.2.0.20230712.1-2073~22.04).
va-driver-all is already the newest version (2.19.0.2-66~u22.04).
vainfo is already the newest version (2.19.0.2-1~u22.04).
intel-level-zero-gpu is already the newest version (1.3.26918.9).
intel-opencl-icd is already the newest version (23.30.26918.9).

 

 

export PKG_CONFIG_PATH=/opt/intel/mediasdk/lib/pkgconfig
root@gpu02 ~/cartwheel-ffmpeg/ffmpeg # ./configure \
--prefix=/usr/local/ \
--extra-ldflags=-L/usr/local/lib \
--extra-ldflags=-L./libmp3lame/.libs/libmp3lame.a \
--enable-libvpl \
--enable-vaapi \
--enable-opencl \
--disable-debug \
--enable-gnutls \
--enable-libvorbis \
--enable-libvpx \
--enable-libdrm \
--enable-gpl \
--cpu=native \
--enable-libfdk-aac \
--enable-libx264 \
--enable-libx265 \
--extra-libs=-lpthread \
--enable-nonfree \
--enable-libass \
--enable-libfreetype \
--enable-libmp3lame \
--enable-libopus \
--enable-libwebp \
--enable-libzimg \
--enable-shared \
--enable-nonfree
ERROR: libvpl >= 2.6 not found

 

 

 

0 Kudos
MrKay
Beginner
1,789 Views
0 Kudos
Reply