[gst-devel] vdpau/vaapi with gst
th.tom at gmx.de
th.tom at gmx.de
Sun Oct 3 15:17:55 CEST 2010
Hi all,
I would love to use hardware supported decoding with my nvidia ion with gstreamer.
I was able to compile vaapi successfully with nvidia/vdpau support:
------snip------
vainfo:
libva: libva version 0.31.1-sds1
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA API - 0.6.10
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
------snip------
and added/compiled gstreamer-vaapi-0.2.5 successfully.
Then I started a simple playbin and it recognizes the vaapi but does fail playing:
------snip------
LANG="en_US.UTF-8"; gst-launch-0.10 playbin uri="file:\\myfile.mpg"
Setting pipeline to PAUSED ...
libva: libva version 0.31.1-sds1
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva: va_openDriver() returns 0
Pipeline is PREROLLING ...
(gst-launch-0.10:18405): GStreamer-CRITICAL **: gst_structure_set_value: assertion `G_IS_VALUE (value)' failed
(gst-launch-0.10:18405): GStreamer-CRITICAL **: gst_structure_set_value: assertion `G_IS_VALUE (value)' failed
(gst-launch-0.10:18405): GStreamer-CRITICAL **: gst_pad_set_caps: assertion `caps == NULL || gst_caps_is_fixed (caps)' failed
ERROR: from element /GstPlayBin:playbin0/GstFileSrc:source: Internal data flow error.
Additional debug info:
gstbasesrc.c(2507): gst_base_src_loop (): /GstPlayBin:playbin0/GstFileSrc:source:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
------snip------
same happens, when I build up a manual pipeline ..
I am using (from std ubuntu 10.4/lucid):
$ gst-launch-0.10 --version
gst-launch-0.10 version 0.10.28
GStreamer 0.10.28
https://launchpad.net/distros/ubuntu/+source/gstreamer0.10
Any ideas??
Thanks in advanced
More information about the gstreamer-devel
mailing list