RTSP server using gstreamer-1.0 errors.

yusuf.husainy yusuf.husainy at gmail.com
Fri Apr 19 01:25:26 PDT 2013

Hi all,
I am running a RTSP server with following pipeline(using Logitech C920 h264

uvch264src device=/dev/video0 name=src auto-start=true src.vidsrc ! queue !
video/x-h264,width=1920,height=1080,framerate=30/1 ! rtph264pay name=pay0
pt=96 src.vfsrc ! queue ! video/raw,width=432,height=240framerate=30/1 !

At the client(on the same machine):

$ export GST_DEBUG=rtspsrc:3
$ gst-launch-1.0 rtspsrc location=rtsp:// ! rtph264depay
! avdec_h264 ! xvimagesink

At the server, I get error message as:
** (test-video:24583): CRITICAL **: gst_adapter_map: assertion `size > 0'
<time-stamp> 24583 0x90276a0 ERROR rtspclient rtsp-client.c:530:find_media:
client 0x9036c10: can't prepare media
<time-stamp> 24583 0x90276a0 ERROR rtspclient
rtsp-client.c:1505:handle_describe_request: client 0x9036c10: no media

and at the client error as:
<time-stamp> 24607 0x98e3f80 ERROR rtspsrc
gstrtspsrc.c:4922:gst_rtsp_src_send: <rtspsrc0> error: Got error response:
503 (Service Unavailable).
<time-stamp> 24607 0x98e3f80 ERROR rtspsrc
gstrtspsrc.c:6018:gst_rtsp_src_open: <rtspsrc0> error: can't get sdp.

I have cloned and installed core/base/good/bad/rtsp-server/ffmpeg from git
master into /usr/local, i cahanged the PKG_CONFIG_PATH and LD_LIBRARY_PATH
to /usr/local/lib/pkgconfig and /usr/local/lib, before compiling/running the
server and client.

I also had done an RTSP implementation using gstreamer-0.10(installed
through ubuntu packages). for which it worked perfectly.

I appreciate any help.

Yusuf Husainy.

View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTSP-server-using-gstreamer-1-0-errors-tp4659557.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

More information about the gstreamer-devel mailing list