GstRtspServer - multicast video over rtp

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

GstRtspServer - multicast video over rtp

Deroo Stijn

Hi,

 

I try to use GstRtspServer to multicast video over rtp. 

 

I tried following cmd to start the rtsp server:

 

./test-launch --gst-debug=255 "( gstrtpbin name=rtpbin filesrc location=/home/stijn/testvid.mp4 ! decodebin ! queue ! videorate ! ffmpegcolorspace ! x264enc byte-stream=TRUE ! rtph264pay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000 host=239.0.0.10 ts-offset=0 name=vrtpsink rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=239.0.0.10 sync=false async=false name=vrtcpsink )"

 

 

And on the client side I get:

gst-launch-0.10 -v playbin2 uri=rtsp://127.0.0.1:8554/test

Setting pipeline to PAUSED ...

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "rtsp://127.0.0.1:8554/test"

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering = FALSE

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstRTSPSrc) source

ERROR: Pipeline doesn't want to pause.

ERROR: from element /GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source: No supported stream was found. You might need to allow more transport protocols or may otherwise be missing the right GStreamer RTSP extension plugin.

Additional debug info:

gstrtspsrc.c(5157): gst_rtspsrc_setup_streams (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source

Setting pipeline to NULL ...

Freeing pipeline ...

 

 

Is it any way possible to multicast via GstRtspServer?

I think I shouldn’t use the gstrtpbin in my command, because gstrtspserver takes care of this?  Isn’t it?  But where can I set then the multicast ip address?

And should the client be aware of this multicast?

 

Thanks in advance!

Stijn.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

stijn@stijn:~$ gst-launch-0.10 -v playbin2 uri=rtsp://127.0.0.1:8554/test

Setting pipeline to PAUSED ...

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "rtsp://127.0.0.1:8554/test"

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering = FALSE

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1

/GstPl


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel