Cannot decode h264 using vaapi builded only with drm support
sonntex
sonntex at gmail.com
Thu Apr 21 16:34:48 UTC 2016
I am trying to decode h264 stream using vaapi. As you can see
gst-plugins-vaapi and libva builded with drm and withou X support:
sonntex at work ~ $ eix -I gst-plugins-vaapi
[I] media-plugins/gst-plugins-vaapi
Available versions: (1.0) ~0.6.1 0.7.0
{+X +drm opengl wayland ABI_MIPS="n32 n64 o32" ABI_PPC="32 64"
ABI_S390="32 64" ABI_X86="32 64 x32"}
Installed versions: 0.7.0(1.0)(10:36:37 PM 04/21/2016)(drm -X -opengl
-wayland ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64"
ABI_X86="64 -32 -x32")
Homepage: https://github.com/01org/gstreamer-vaapi
Description: Hardware accelerated video decoding through
VA-API plugin
sonntex at work ~ $ eix -I libva
[I] x11-libs/libva
Available versions: 1.3.1 ~1.4.0 ~1.4.1 ~1.5.0 ~1.5.1 ~1.6.0 ~1.6.1
1.6.2 ~1.7.0 **9999 {X +drm egl opengl vdpau wayland ABI_MIPS="n32 n64 o32"
ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" VIDEO_CARDS="dummy
fglrx intel nouveau nvidia"}
Installed versions: 1.6.2(10:36:18 PM 04/21/2016)(drm -X -egl -opengl
-vdpau -wayland ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32
-64" ABI_X86="64 -32 -x32" VIDEO_CARDS="intel -dummy -fglrx -nouveau
-nvidia")
Homepage: https://www.freedesktop.org/wiki/Software/vaapi
Description: Video Acceleration (VA) API for Linux
[I] x11-libs/libva-intel-driver
Available versions: 1.3.0 ~1.4.1 ~1.5.0 ~1.5.1 ~1.6.0 ~1.6.1 1.6.2
~1.7.0 **9999 {X +drm wayland ABI_MIPS="n32 n64 o32" ABI_PPC="32 64"
ABI_S390="32 64" ABI_X86="32 64 x32"}
Installed versions: 1.6.2(06:43:59 PM 04/20/2016)(drm -X -wayland
ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64
-32 -x32")
Homepage: https://www.freedesktop.org/wiki/Software/vaapi
Description: HW video decode support for Intel integrated
graphics
In this case gstreamer can not initialize vaapidecode element:
sonntex at work ~ $ GST_DEBUG=vaapi*:6 gst-launch-1.0 rtspsrc location=rtsp://
192.168.50.90 ! rtph264depay ! vaapiparse_h264 ! vaapidecode ! fakesink
Setting pipeline to PAUSED ...
0:00:00.008910189 29483 0x251eaf0 INFO vaapi
gstvaapidisplay.c:119:libgstvaapi_init_once: gstreamer-vaapi version 0.7.0
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0:
Could not initialize supporting library.
Additional debug info:
/var/tmp/portage/media-libs/gst-plugins-base-1.8.1_pre/work/gst-plugins-base-1.8.1/gst-libs/gst/video/gstvideodecoder.c(2582):
gst_video_decoder_change_state ():
/GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0:
Failed to open decoder
Setting pipeline to NULL ...
Freeing pipeline ...
Is this an error or should I build gst-plugins-vaapi and libva whit X
support?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160421/9a5f8663/attachment.html>
More information about the gstreamer-devel
mailing list