[gst-devel] gstreamer-vaapi and RTSP

lonkaji lonkaji at gmail.com
Tue Nov 30 14:27:48 CET 2010


Hello,

I would like to know if gstreamer-vaapi could work for streaming H264 using
RTSP?

Indeed I have no problem to play h264 files locally but gstreamer is not
able to read  RTSP stream since I installed gstreamer-vaapi (or even with
playbin or decodebin it does not work).
For now I try with this string of launch: gst-launch rtspsrc location =
rtsp://ipofthecamera ! rtph264depay ! vaapidecode ! vaapisink

Do you think this is correct?
I compiled myself the latest versions of gstreamer-base, good, bad, ugly and
ffmpeg so to get the latest versions of software.

New clock: GstSystemClock
(gst-launch-0.10:1006): GStreamer-CRITICAL **: gst_structure_set_value:
assertion `G_IS_VALUE (value)' failed
(gst-launch-0.10:1006): GStreamer-CRITICAL **: gst_structure_set_value:
assertion `G_IS_VALUE (value)' failed
(gst-launch-0.10:1006): GStreamer-CRITICAL **: gst_pad_set_caps: assertion
`caps == NULL || gst_caps_is_fixed (caps)' failed
(gst-launch-0.10:1006): GStreamer-CRITICAL **: gst_structure_set_value:
assertion `G_IS_VALUE (value)' failed
(gst-launch-0.10:1006): GStreamer-CRITICAL **: gst_structure_set_value:
assertion `G_IS_VALUE (value)' failed
(gst-launch-0.10:1006): 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 33045057 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

I must say that it's work fine with mplayer.

I can send you more verbose logs if you wish.
You can try by yourself you with this address: rtsp: / /
193.253.235.221/axis-media/media.amp is an IP camera that I let you
provided.

Sincerely,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101130/9b40d362/attachment.htm>


More information about the gstreamer-devel mailing list