Problem installing GStreamer-vaapi

Scott D Phillips scott.d.phillips at intel.com
Thu Jun 8 17:37:09 UTC 2017


On Thu, Jun 08, 2017 at 12:13:02AM -0700, Zelnes wrote:
> Hi Phillips,
> 
> Thanks for your details, I had the feeling that it won't work on
> my Ubuntu desktop for the reasons you mentioned. But as I said,
> I work on it, so I was hopping I could make it work in order to
> develop and test first on this machine and then port it to the
> other one. Are there any way I can use this computer to code my
> app for GStreamer-VAAPI ?
> 
> On the Mint machine, here is the vainfo output :
> vainfo: VA-API version: 0.39 (libva 1.7.0)
> vainfo: Driver version: Intel i965 driver for Intel(R) Skylake - 1.7.0
> vainfo: Supported profile and entrypoints
>       VAProfileMPEG2Simple            : VAEntrypointVLD
>       VAProfileMPEG2Simple            : VAEntrypointEncSlice
>       VAProfileMPEG2Main              : VAEntrypointVLD
>       VAProfileMPEG2Main              : VAEntrypointEncSlice
>       VAProfileH264ConstrainedBaseline: VAEntrypointVLD
>       VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
>       VAProfileH264Main               : VAEntrypointVLD
>       VAProfileH264Main               : VAEntrypointEncSlice
>       VAProfileH264High               : VAEntrypointVLD
>       VAProfileH264High               : VAEntrypointEncSlice
>       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
> 
> And what I don't understand is, why cannot I install the 1.12
> version from sources while I can install from Ubuntu packages (I
> think it's the 1.8 version) ? Currently, I have on this machine
> GStreamer and GStreamer-VAAPI from apt-get repo.

OK, it looks like you've got libva and a driver all configured
here so gstreamer-vaapi should work. You can check that you have
the plugin built and installed in the right place by doing
`gst-inspect-1.0 vaapi`.  If you see the message "No such element
or plugin 'vaapi'" then you've got a problem with your
building/installing. If you see output like:

 Plugin Details:
   Name                     vaapi
   Description              VA-API based elements
   Filename                 /home/scott-ph/gst-build/build/subprojects/gstreamer-vaapi/gst/vaapi/libgstvaapi.so
   Version                  1.13.0.1
   License                  LGPL
   Source module            gstreamer-vaapi
   Binary package           gstreamer-vaapi
   Origin URL               http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
   
   
   0 features:

Make sure the filename is the right path for your new build.  If
you see the '0 features' bit at the end then it means that the
plugin is built but it has not found supported codecs through
libva and so hasn't registered anything. The determination that
nothing should be registered is cached instead of checked each
time, so to make it re-check with libva and see the error you can
run with a temporary other registry file:

GST_REGISTRY=/tmp/some-debug-registry GST_DEBUG=vaapi:5 gst-inspect-1.0 vaapi

If instead of '0 features' you see some number of features then
the plugin is working and ready to go.

> Thanks
> 
> -- 
> 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