linux vaapi, Could not initialize supporting library.

Miloš Selečéni milos.seleceni at
Mon Apr 4 22:24:03 UTC 2016

Hi, I'm trying basic HW encoding on linux(Centos7 and NvidiaM4000), using
vaapi-1.7.91 but every vaapi plugin (e.g vaapih264enc , vaapih265enc) fail
to initialize. I build all from source code including x265, libav etc.

./gst-launch-1.0 --gst-debug=2,vaapih265enc:5 -ev videotestsrc
num-buffers=60 ! vaapih265enc:5 ! fakesink

error: Failed to open encoder

from element /GstPipeline:pipeline0/GstVaapiEncodeVP8:vaapiencodevp8-0:
Could not initialize supporting library.

I spent hours by debuging and re-installing plugins (libav, x265,
gst-vaapi) but I can't figure it out where the problem is. Unfortunately
there is no other error message just this one. I'm running Centos7, with
Nvidia M4000, there is no Display connected to this server.

*Miloš Selečéni*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list