[gst-devel] How to enable gstreamer-vaapi?

bluesnail lichao19860508 at 126.com
Mon Dec 13 12:58:51 CET 2010


Hi,all

I am trying to use gstreamer-vaapi-0.2.5 plugins for video playback using
the hardware accelerated.
I had successfully built vaapi/non-vaapi mplayer on this platform and they
can work well. But when we try to enable gstreamer-vaapi, we encounter some
problem. When I run this command:gst-launch-0.10 -v filesrc
location=/path/to/video.mp4 ! qtdemux ! vaapidecode ! vaapisink
fullscreen=true, X will not response or crash. The following are some vital
messages.

--vainfo:

libva: libva version 0.31.1
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/pvr_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Intel GMA500-MRST-5.3.0.32L.0029 (0X0000003C)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointMoComp
      VAProfileMPEG4Simple            : VAEntrypointVLD
      VAProfileMPEG4Simple            : VAEntrypointEncSlice
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    : VAEntrypointEncSlice
      VAProfileH264Baseline           : VAEntrypointVLD
      VAProfileH264Baseline           : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH263Baseline           : VAEntrypointEncSlice

I have install the following package:
gstreamer-0.10.30
gst-plugins-base-0.10.30
gst-plugins-good-0.10.24
gst-plugins-bad-0.10.19
gst-plugins-ugly-0.10.15
gst-ffmpeg-0.10.10
ffmpeg

When I configure gstreamer-vaapi use command ./configure --enable-vaapi-glx
--enable-glx --enable-vaapi-glx, the log info shows like this:

gstreamer-vaapi configuration summary:

VA-API version ................... : 0.31.1
GLX support ...................... : yes
VA/GLX support ................... : yes
VaapiSink/GL ..................... : yes

These are details:

checking for X11... yes
checking for GL/gl.h... yes
checking for GL/glext.h... yes
checking for GL/glx.h... yes
checking for glXCreateContext in -lGL... yes
checking for LIBVA... yes
checking for old VA-API 0.29... no
checking for LIBVA_X11... yes
checking for LIBVA_GLX... yes
checking for LIBAVCODEC... yes
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
checking libavcodec/vaapi.h usability... yes
checking libavcodec/vaapi.h presence... yes
checking for libavcodec/vaapi.h... yes

I also see that software requirements of gstreamer-vaapi need libva-dev >=
0.31.0-1+sds9 (VA/GLX),what is sds9? I download libva by git form git clone
git://anongit.freedesktop.org/git/libva. It contains sds? Can anybody give
me any suggestions? thanks a lot.

-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-enable-gstreamer-vaapi-tp3085318p3085318.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list