You are not logged in.
Pages: 1
Hi all,
Since AUR doesn't have gstreamer-vaapi in it, I figured I'd compile it by hand so that I could have video acceleration in miro. Compilation went just fine, but it stated that
gstreamer-vaapi configuration summary:
VA-API version ................... : 0.31.1
GLX support ...................... : yes
VA/GLX support ................... : yes
VaapiSink/GL ..................... : no
vaapisink missing I can't add vaapi to gstreamer-properties. The README also states that I need the libraries
Software requirements
* libgstreamer0.10-dev >= 0.10.10
* libgstreamer-plugins-base0.10-dev >= 0.10.16
* libva-dev >= 0.31.0-1+sds9 (VA/GLX)
* libavcodec-dev >= 0.6 or with <libavcodec/vaapi.h>
I can't figure out which packages libva-dev and libavcodec-dev belong to.
So what am I doing wrong?
Last edited by klixu (2010-09-23 16:34:29)
Offline
libva and ffmpeg is what you need. you can look at the test for VaapiSink/GL in config.log
Give what you have. To someone, it may be better than you dare to think.
Offline
| #include <ffmpeg/avcodec.h>
configure:22003: result: no
configure:22007: checking ffmpeg/avcodec.h presence
configure:22022: gcc -E conftest.c
conftest.c:27:28: fatal error: ffmpeg/avcodec.h: No such file or directory
compilation terminated.
configure:22028: $? = 1
configure: failed program was:
This seems to be the relevant line. From what I understand from grepping and looking inside ffmpeg package, libavcodec is a part of ffmpeg, so it shares the avcodec.h. I'll keep looking.
Offline
[stijn@hermes ~]$ pacman -Ql ffmpeg|grep avcodec.h
ffmpeg /usr/include/libavcodec/avcodec.h
I think you need to fix the path for configure.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
yes, is using a check for a very old ffmpeg version
Give what you have. To someone, it may be better than you dare to think.
Offline
eh, I couldn't find the path to ffmpeg in configure. Seems a bit strange, but I'll give up for now. Thanks all.
Offline
Btw, I downloaded the source myself and configure reports this:
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
configure: creating ./config.status
config.status: creating Makefile
Notice it checks for both /usr/include/ffmpeg and /usr/include/libavcodec/, so configure is fine. The funny thing is, if you use
./configure --enable-vaapisink-glx
it shows this:
gstreamer-vaapi configuration summary:
VA-API version ................... : 0.31.1
GLX support ...................... : yes
VA/GLX support ................... : yes
VaapiSink/GL ..................... : yes
I think the default configure switches are borked, maybe you should report this to the devs.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
oh sweet, thanks. It compiles fine now, but I'm stuck to where I started: gstreamer-properties does not show the sink as an option. setting to custom and vaapisink fails to find it. or rather it says this:
Custom: could not link ffmpegcsp0 to vaapisink0
gst-inspect-0.10 gives this:
$ gst-inspect-0.10 |grep vaapi
vaapisink: vaapisink: VA-API sink
vaapiconvert: vaapiconvert: VA-API colorspace converter
vaapidecode: vaapidecode: VA-API decoder
I have zero knowledge of gstreamer.
EDIT: auto finds it! I'll mark this as solved, thanks again
Last edited by klixu (2010-09-23 16:33:57)
Offline
Good. I hope you take the time to report this upstream .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
I sent them a mail already.
Offline
is this plugin supposed to work within a browser (read: with html5 videos) or only to play local files as a "regular player" ? thanks.
Offline
Could we have an AUR PKGBUILD please
Offline
Pages: 1