[gst-devel] pipeline for VDPAU

lonkaji lonkaji at gmail.com
Mon Nov 22 13:51:24 CET 2010


Hi,

I don't understand why but after a reboot I now can play h264 files using
gstreamer-vaapi! (with just this line: gst-launch-0.10 filesrc
location=/home/camtrace/harry.mp4 ! qtdemux ! vaapidecode ! vaapisink)

Now I would like to display RTSP streams from IP cameras (Axis P1343).
Here is the result:

gst-launch-0.10 rtspsrc
location=rtsp://192.168.0.127/axis-media/media.amplatency=0 !
rtph264depay ! h264parse ! vaapidecode ! vaapisink
libva: libva version 0.31.1
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva: va_openDriver() returns 0
Setting pipeline to PAUSED ...
libva: libva version 0.31.1
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva: va_openDriver() returns 0
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

(gst-launch-0.10:1980): GStreamer-CRITICAL **: gst_pad_set_caps: assertion
`caps == NULL || gst_caps_is_fixed (caps)' failed

(gst-launch-0.10:1980): GStreamer-CRITICAL **: gst_pad_set_caps: assertion
`caps == NULL || gst_caps_is_fixed (caps)' failed
ERROR: from element
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2550): gst_base_src_loop ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 34908077 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

It seems there are some problems with RTSP and caps.
Anyone can help me?
Is gstreamer-vaapi have been tested with RTSP streams ?
Thanks for your help.

Regards,

On Thu, Nov 18, 2010 at 9:09 AM, Gwenole Beauchesne <
gbeauchesne at splitted-desktop.com> wrote:

> Hi,
>
> On Wed, 17 Nov 2010, lonkaji wrote:
>
> > I'm currently trying to get gstreamer-vaapi working but I still can't
> watch a movie accelerated by GPU :(
> > gst-launch filesrc location=/home/alex/big.mp4 ! qtdemux ! vaapidecode !
> vaapisink
> > product a lot of:
> > decoding to PIC_FMT_NONE is not supported
> > decode_slice_header error
> > no frame!
>
> You either don't have a recent enough FFmpeg (>= 0.6.x or 2010/01/16 IIRC)
> or have not built it with VA-API support.
>
> Regards,
> Gwenole.
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101122/59ba1620/attachment.htm>


More information about the gstreamer-devel mailing list