Problem installing GStreamer-vaapi

Scott D Phillips scott.d.phillips at intel.com
Wed Jun 7 17:58:51 UTC 2017


Hi Zelnes,

On Wed, Jun 07, 2017 at 04:42:56AM -0700, Zelnes wrote:
> Hi everyone,
> 
> I am attempting to learn and use GStreamer, and especially it's
> plugin GStreamer-vaapi.  Unfortunately, I can't figure out how
> to install this plugin, or more precisely, why it won't install.
> 
> I've uninstalled GStreamer provided by Ubuntu and Mint (my
> project has to work on a Mint computer, but I work on Ubuntu
> 16.04), and then I installed GStreamer 1.12.0.  In order to
> install GStreamer-Vaapi, the configure script tells me I need to
> install several plugins : Base, Good and Bad, what I've
> successfully done (I could check with gst-inspect-1.0, which
> tells me I have more plugins installed (160) than just after
> gstreamer (3)). After those plugins installed, I reran
> ./configure, which succeed ! I then run make && sudo make
> install, but I can't access vaapidecode and all elements
> provided by the plugin. I get this issue on both computers.
> 
> A few things to say, the Ubuntu computer runs on a AMD config,
> and I tried to install gstreamer-vaapi-1.10.4, and the Mint one
> is running with an Intel i5 and Intel GPU also, and I tried to
> install gstreamer-vaapi-1.12.0.
> 
> Does anyone know how to install gstreamer-vaapi correctly to
> have access to it's elements ?  Thanks !

gstreamer-vaapi tries to be clever about registering the plugin
only when it finds a libva driver that is working on your system,
and then only registering the codecs which it finds are supported
on your system.  Are you sure that you have a libva driver
installed?  I think ubuntu packages these drivers in packages like
i965-va-driver and mesa-va-drivers.  You can check with the
`vainfo` command. You'll see a list of codecs that you have
support for. Something like:

 libva info: VA-API version 0.40.0
 libva info: va_getDriverName() returns 0
 libva info: Trying to open /lib64/dri/i965_drv_video.so
 libva info: Found init function __vaDriverInit_0_40
 libva info: va_openDriver() returns 0
 vainfo: VA-API version: 0.40 (libva )
 vainfo: Driver version: Intel i965 driver for Intel(R) Skylake -
 1.8.1.pre1 (1.7.3-360-gcf087db)
 vainfo: Supported profile and entrypoints
       VAProfileMPEG2Simple            : VAEntrypointVLD
       VAProfileMPEG2Simple            : VAEntrypointEncSlice
       VAProfileMPEG2Main              : VAEntrypointVLD
       VAProfileMPEG2Main              : VAEntrypointEncSlice
       VAProfileH264ConstrainedBaseline: VAEntrypointVLD
       VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
       VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
       VAProfileH264Main               : VAEntrypointVLD
       VAProfileH264Main               : VAEntrypointEncSlice
       VAProfileH264Main               : VAEntrypointEncSliceLP
       VAProfileH264High               : VAEntrypointVLD
       VAProfileH264High               : VAEntrypointEncSlice
       VAProfileH264High               : VAEntrypointEncSliceLP
       VAProfileH264MultiviewHigh      : VAEntrypointVLD
       VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
       VAProfileH264StereoHigh         : VAEntrypointVLD
       VAProfileH264StereoHigh         : VAEntrypointEncSlice
       VAProfileVC1Simple              : VAEntrypointVLD
       VAProfileVC1Main                : VAEntrypointVLD
       VAProfileVC1Advanced            : VAEntrypointVLD
       VAProfileNone                   : VAEntrypointVideoProc
       VAProfileJPEGBaseline           : VAEntrypointVLD
       VAProfileJPEGBaseline           : VAEntrypointEncPicture
       VAProfileVP8Version0_3          : VAEntrypointVLD
       VAProfileVP8Version0_3          : VAEntrypointEncSlice
       VAProfileHEVCMain               : VAEntrypointVLD
       VAProfileHEVCMain               : VAEntrypointEncSlice
       VAProfileVP9Profile0            : VAEntrypointVLD

> -- 
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list