VA-API VP9 Encode For GStreamer??

Patrick Cusack patrickcusack at mac.com
Wed May 20 23:41:36 UTC 2020


After making the changes, I was able to run the following command:

gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapivp9enc ! matroskamux ! filesink location=test.mkv

This worked successfully. The file played back fine on VLC.

Patrick

> 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/5faf2644/attachment.htm>


More information about the gstreamer-devel mailing list