VA-API VP9 Encode For GStreamer??
Nicolas Dufresne
nicolas at ndufresne.ca
Wed May 20 21:24:43 UTC 2020
Le mercredi 20 mai 2020 à 13:12 -0700, Patrick Cusack a écrit :
> [root at localhost gstreamer-1.0]# LIBVA_DRIVER_NAME="i965" vainfo
> error: can't connect to X server!
> libva info: VA-API version 1.7.0
> libva info: User environment variable requested driver 'i965'
> libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
> libva info: Found init function __vaDriverInit_1_6
> libva info: va_openDriver() returns 0
> vainfo: VA-API version: 1.7 (libva 2.7.0.pre1)
> vainfo: Driver version: Intel i965 driver for Intel(R) Coffee Lake - 2.4.0
> vainfo: Supported profile and entrypoints
[snip]
> VAProfileVP9Profile0 : VAEntrypointEncSlice
In 1.16, iHD driver is masked as it includes some breaking change in the way the API is implemented. This will be unmasked in 1.18 (upcoming released). Though as you can see, The VP9 encoder is gone in the iHD driver (the new driver). It is not clear why the default driver was flipped without checking if that would break existing userspace. So basically, if you want to see the VP9 encoder, for now you have to do:
rm ~/.cache/gstreamer-1.0/registry.*export LIBVA_DRIVER_NAME=i965gst-inspect-1.0 vaapi
In theory that should be sufficient.
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200520/5524d1a9/attachment.htm>
More information about the gstreamer-devel
mailing list