Problem installing GStreamer-vaapi
Hyunjun Ko
zzoon at igalia.com
Wed Jun 14 01:36:42 UTC 2017
Zelnes wrote
> I'm coming back with bad news...
> Actually, I don't really have 1.12 working. I mean, when I installed it
> first, and told you it was okay, I hadn't reboot the computer yet. And
> when I did it, I couldn't get the screen working, I was unable to access
> the Desktop, but only ttys. So I backup-ed my packets to get the screen
> working good, but it uninstalled 1.12 for 1.8 again.
> Finally, I deal with a loop, because whenever I try to purge three
> libgstreamers packets, it tries to purge also a bunch of others packets,
> and if it is not purged, I can't expect to install 1.12 version. I've just
> fail, I tried to uninstall the old version, listing every packets that
> shouldn't be purged, then install gstreamer 1.12 (with Base, Good, Bad an
> Vaapi plugins) and install back listed packets. Unfortunately, once done,
> Gstreamer 1.8 was back, instead of 1.12 !
>
> Do you have any clue on what's going on ?
Hmm, maybe you should try to build all gstreamer projects and use it without
installation.
There's a simple way provided by gstreamer.
Note that this is going to pull out the master of gstreamer.
Here's the step:
1. Pull and build all gstreamer projects
1) Download the script
https://cgit.freedesktop.org/gstreamer/gstreamer/plain/scripts/create-uninstalled-setup.sh
2) Modify the script to add gstreamer-vaapi
In line 46:
from MODULES="gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly
gst-plugins-bad gst-libav"
to MODULES="gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly
gst-plugins-bad gst-libav gstreamer-vaapi"
3) Run the script
# sh ./create-uninstalled-setup.sh ( which creates ~/gst directory by
default )
4) Get into the gst-uninstalled shell and build all
# ~/gst/gst-master ( by default )
# cd <MODULE>; ./autogen.sh; make
( First gstreamer, then gst-plugins-base, then the other modules.
You do NOT need to do 'make install' )
2. Test
Once step 1 is all done, you should verify if it's built perfectly on
gst-uninstalled shell.
# gst-inspect-1.0 --version : this should print out "1.13"
# gst-inspect-1.0 vaapi : this should print out information of vaapi
elements.
# gst-launch-1.0 playbin [file] : should play well. (check if vaapi
elements are working with GST_DEUBG=vaapi*:6)
This is not going to harm your system since they are not installed to your
/usr/local/lib or /usr/lib.
You can just run ~/gst/gst-master to get into the sandboxed shell and then
you can use your new gstreamer.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Problem-installing-GStreamer-vaapi-tp4683225p4683365.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list