bytedeco / javacv

Java interface to OpenCV, FFmpeg, and more
Other
7.45k stars 1.57k forks source link

Support ffmpeg VA-API version 1.17.0 #1995

Closed plandol closed 1 year ago

plandol commented 1 year ago

Can you please support a recent version of VA-API? Currently version 0.40.0 is supported:

libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva error: /usr/lib64/dri/iHD_drv_video.so has no function __vaDriverInit_0_32
libva info: va_openDriver() returns -1

My Linux System supports VA-API 1.17.0:

libva info: VA-API version 1.17.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.17 (libva 2.13.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.3.4 ()

I would appreciate any VA-API 1.0 version. Is this possible?

saudet commented 1 year ago

Sure it's possible. And contributions are welcome too!

saudet commented 1 year ago

Duplicate of https://github.com/bytedeco/javacpp-presets/issues/1289

saudet commented 1 year ago

Thanks to @silenium-dev, this has been fixed! Please give it a try with the snapshots: http://bytedeco.org/builds/