Streaming Webcam with RTSP

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Streaming Webcam with RTSP

krynux
Hello everyone,

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?
thanks a lot

Krynux