Streaming Webcam with RTSP

gstreamerrtspstreamv4l2webcam

I'm trying a live streaming of video using a web cam attached to my laptop. I am working in Linux Ubuntu.

Here are the Gstreamer pipeline for server side and client side:

Streaming server: I'm trying to use gst-rtsp-server to serve the video from a v4l2 device.

./test-launch –gst-debug=0 "( v4l2src
!
video/x-raw-yuv,width=352,height=288,framerate=15/1
! x264enc ! rtph264pay name=pay0 pt=96
)"

Receiver:

gst-launch -v rtspsrc
location=rtsp://192.168.XX.XX:8554/test
! decodebin ! autovideosink

I have this message error:

Setting pipeline to PAUSED …
ERROR: Pipeline doesn’t want to pause.
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could
not read from resource. Additional debug info: gstrtspsrc.c(4573):
gst_rtspsrc_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Got
error response: 503 (Service Unavailable).
Setting pipeline to NULL …
Freeing pipeline …

Who know this problem and/or can try to help me?

Best Answer

You will get lot of examples here for receiver(client) and sender(server) application : http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp

Related Topic