VA-API VP9 Encode For GStreamer??

Patrick Cusack patrickcusack at mac.com
Wed May 20 21:55:31 UTC 2020


According this, https://en.wikipedia.org/wiki/VP9, Coffee Lake encodes VP9.

I rebooted and ran what you recommended:

rm ~/.cache/gstreamer-1.0/registry.*
export LIBVA_DRIVER_NAME=i965
gst-inspect-1.0 vaapi

That appears to work. I got this result. I’ll need to test it further. I didn’t see this prior.

[root at localhost ~]# gst-inspect-1.0 vaapi
Plugin Details:
  Name                     vaapi
  Description              VA-API based elements
  Filename                 /usr/lib64/gstreamer-1.0/libgstvaapi.so
  Version                  1.16.2
  License                  LGPL
  Source module            gstreamer-vaapi
  Source release date      2019-12-03
  Binary package           gstreamer-vaapi
  Origin URL               http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer

  vaapijpegdec: VA-API JPEG decoder
  vaapimpeg2dec: VA-API MPEG2 decoder
  vaapih264dec: VA-API H264 decoder
  vaapivc1dec: VA-API VC1 decoder
  vaapivp8dec: VA-API VP8 decoder
  vaapivp9dec: VA-API VP9 decoder
  vaapih265dec: VA-API H265 decoder
  vaapipostproc: VA-API video postprocessing
  vaapidecodebin: VA-API Decode Bin
  vaapisink: VA-API sink
  vaapimpeg2enc: VA-API MPEG-2 encoder
  vaapih265enc: VA-API H265 encoder
  vaapivp8enc: VA-API VP8 encoder
  vaapivp9enc: VA-API VP9 encoder
  vaapijpegenc: VA-API JPEG encoder
  vaapih264enc: VA-API H264 encoder

  16 features:
  +-- 16 elements


> On May 20, 2020, at 2:24 PM, Nicolas Dufresne <nicolas at ndufresne.ca> wrote:
> 
> 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=i965
> gst-inspect-1.0 vaapi
> 
> In theory that should be sufficient.
> 
> Nicolas
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200520/9a483188/attachment-0001.htm>


More information about the gstreamer-devel mailing list