Hello,
I can successfully capture and send unicast video and audio data from a v4l2 webcam and microphone via gst-rtsp RTSP server when requested by an RTSP client. However, I cannot seem to figure out how to send multicast video and audio data. I am using the test-launch example provided with gst-rtsp in both cases. However, case (2) below yeilds nothing when an RTSP client request arrives. What am I doing wrong? Thanks in advance. ;-) Case 1 (Unicast) /home/silentm/MessageNet/totem/gst-rtsp-0.10.5/examples/test-launch --gst-debug=255 "( v4l2src device=/dev/video0 ! ffmpegcolorspace ! video/x-raw-yuv,width=640,height=480,framerate=30/1 ! theoraenc quality=10 bitrate=6000 speed-level=2 ! rtptheorapay pt=96 name=pay0 alsasrc device="hw:0,0" ! audioconvert ! vorbisenc ! rtpvorbispay pt=97 name=pay1 )" Case 2 (Multicast?) /home/silentm/MessageNet/totem/gst-rtsp-0.10.5/examples/test-launch --gst-debug=255 "( gstrtpbin name=rtpbin v4l2src ! ffmpegcolorspace ! theoraenc ! rtptheorapay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000 host=224.2.8.13 rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=224.2.8.13 sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 alsasrc device="hw:0,0" ! audioconvert ! vorbisenc ! rtpvorbispay ! rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink port=5002 host=224.2.8.13 rtpbin.send_rtcp_src_1 ! udpsink port=5003 host=224.2.8.13 sync=false async=false )" Best Regards, -- Rob Krakora Senior Software Engineer MessageNet Systems 101 East Carmel Dr. Suite 105 Carmel, IN 46032 (317)566-1677 Ext. 206 (317)663-0808 Fax ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Mon, Mar 1, 2010 at 4:33 PM, Robert Krakora <[hidden email]> wrote: Hello, -- Rob Krakora Senior Software Engineer MessageNet Systems 101 East Carmel Dr. Suite 105 Carmel, IN 46032 (317)566-1677 Ext. 206 (317)663-0808 Fax ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by krakorar
Hello,
I can successfully capture and send unicast video and audio data from a v4l2 webcam and microphone via gst-rtsp RTSP server when requested by an RTSP client. However, I cannot seem to figure out how to send multicast video and audio data. I am using the test-launch example provided with gst-rtsp in both cases. However, case (2) below yeilds nothing when an RTSP client request arrives. What am I doing wrong? Thanks in advance. ;-) Case 1 (Unicast) /home/silentm/MessageNet/totem/gst-rtsp-0.10.5/examples/test-launch --gst-debug=255 "( v4l2src device=/dev/video0 ! ffmpegcolorspace ! video/x-raw-yuv,width=640,height=480,framerate=30/1 ! theoraenc quality=10 bitrate=6000 speed-level=2 ! rtptheorapay pt=96 name=pay0 alsasrc device="hw:0,0" ! audioconvert ! vorbisenc ! rtpvorbispay pt=97 name=pay1 )" Case 2 (Multicast?) /home/silentm/MessageNet/totem/gst-rtsp-0.10.5/examples/test-launch --gst-debug=255 "( gstrtpbin name=rtpbin v4l2src ! ffmpegcolorspace ! theoraenc ! rtptheorapay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000 host=224.2.8.13 rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=224.2.8.13 sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 alsasrc device="hw:0,0" ! audioconvert ! vorbisenc ! rtpvorbispay ! rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink port=5002 host=224.2.8.13 rtpbin.send_rtcp_src_1 ! udpsink port=5003 host=224.2.8.13 sync=false async=false )" Best Regards, -- Rob Krakora Senior Software Engineer MessageNet Systems 101 East Carmel Dr. Suite 105 Carmel, IN 46032 (317)566-1677 Ext. 206 (317)663-0808 Fax -- Rob Krakora Senior Software Engineer MessageNet Systems 101 East Carmel Dr. Suite 105 Carmel, IN 46032 (317)566-1677 Ext. 206 (317)663-0808 Fax ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by krakorar
On Mon, 2010-03-01 at 16:33 -0500, Robert Krakora wrote:
> Hello, > > I can successfully capture and send unicast video and audio data from > a v4l2 webcam and microphone via gst-rtsp RTSP server when requested > by an RTSP client. However, I cannot seem to figure out how to send > multicast video and audio data. I am using the test-launch example > provided with gst-rtsp in both cases. However, case (2) below yeilds > nothing when an RTSP client request arrives. What am I doing wrong? > Thanks in advance. ;-) > > Case 1 (Unicast) > > /home/silentm/MessageNet/totem/gst-rtsp-0.10.5/examples/test-launch > --gst-debug=255 "( v4l2src device=/dev/video0 ! ffmpegcolorspace ! > video/x-raw-yuv,width=640,height=480,framerate=30/1 ! theoraenc > quality=10 bitrate=6000 speed-level=2 ! rtptheorapay pt=96 name=pay0 > alsasrc device="hw:0,0" ! audioconvert ! vorbisenc ! rtpvorbispay > pt=97 name=pay1 )" > > Case 2 (Multicast?) > > /home/silentm/MessageNet/totem/gst-rtsp-0.10.5/examples/test-launch > --gst-debug=255 "( gstrtpbin name=rtpbin v4l2src ! ffmpegcolorspace ! > theoraenc ! rtptheorapay ! rtpbin.send_rtp_sink_0 > rtpbin.send_rtp_src_0 ! udpsink port=5000 host=224.2.8.13 > rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=224.2.8.13 sync=false > async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 alsasrc > device="hw:0,0" ! audioconvert ! vorbisenc ! rtpvorbispay ! > rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink port=5002 > host=224.2.8.13 rtpbin.send_rtcp_src_1 ! udpsink port=5003 > host=224.2.8.13 sync=false async=false )" This won't work. gst-rtsp-server can only deal with launch lines that end with a payloader. The transport that is then negotiated with the client depends on the client (so if you want multicast, you need a client that asks for multicast). Also currently it's not possible to instruct a resource to be delivered on a multicast address AFAICR. You can however set the mediafactory as 'shared' and then you can connect with multiple clients (over unicast) to watch the stream simultaneously. Wim > > Best Regards, > > -- > Rob Krakora > Senior Software Engineer > MessageNet Systems > 101 East Carmel Dr. Suite 105 > Carmel, IN 46032 > (317)566-1677 Ext. 206 > (317)663-0808 Fax > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by krakorar
> ------------------------------
> > Message: 4 > Date: Tue, 02 Mar 2010 18:46:17 +0100 > From: Wim Taymans <[hidden email]> > Subject: Re: [gst-devel] GStreamer RTSP Server Multicast RTP Question > To: Discussion of the development of GStreamer > <[hidden email]> > Cc: Jerry Geis <[hidden email]> > Message-ID: <1267551977.3328.50.camel@metal> > Content-Type: text/plain; charset="UTF-8" > > On Mon, 2010-03-01 at 16:33 -0500, Robert Krakora wrote: >> Hello, >> >> I can successfully capture and send unicast video and audio data from >> a v4l2 webcam and microphone via gst-rtsp RTSP server when requested >> by an RTSP client. However, I cannot seem to figure out how to send >> multicast video and audio data. I am using the test-launch example >> provided with gst-rtsp in both cases. However, case (2) below yeilds >> nothing when an RTSP client request arrives. What am I doing wrong? >> Thanks in advance. ;-) >> >> Case 1 (Unicast) >> >> /home/silentm/MessageNet/totem/gst-rtsp-0.10.5/examples/test-launch >> --gst-debug=255 "( v4l2src device=/dev/video0 ! ffmpegcolorspace ! >> video/x-raw-yuv,width=640,height=480,framerate=30/1 ! theoraenc >> quality=10 bitrate=6000 speed-level=2 ! rtptheorapay pt=96 name=pay0 >> alsasrc device="hw:0,0" ! audioconvert ! vorbisenc ! rtpvorbispay >> pt=97 name=pay1 )" >> >> Case 2 (Multicast?) >> >> /home/silentm/MessageNet/totem/gst-rtsp-0.10.5/examples/test-launch >> --gst-debug=255 "( gstrtpbin name=rtpbin v4l2src ! ffmpegcolorspace ! >> theoraenc ! rtptheorapay ! rtpbin.send_rtp_sink_0 >> rtpbin.send_rtp_src_0 ! udpsink port=5000 host=224.2.8.13 >> rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=224.2.8.13 sync=false >> async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 alsasrc >> device="hw:0,0" ! audioconvert ! vorbisenc ! rtpvorbispay ! >> rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink port=5002 >> host=224.2.8.13 rtpbin.send_rtcp_src_1 ! udpsink port=5003 >> host=224.2.8.13 sync=false async=false )" > > This won't work. gst-rtsp-server can only deal with launch lines that > end with a payloader. The transport that is then negotiated with the > client depends on the client (so if you want multicast, you need a > client that asks for multicast). Also currently it's not possible to > instruct a resource to be delivered on a multicast address AFAICR. > > You can however set the mediafactory as 'shared' and then you can > connect with multiple clients (over unicast) to watch the stream > simultaneously. > > Wim > >> >> Best Regards, >> >> -- >> Rob Krakora >> Senior Software Engineer >> MessageNet Systems >> 101 East Carmel Dr. Suite 105 >> Carmel, IN 46032 >> (317)566-1677 Ext. 206 >> (317)663-0808 Fax >> ------------------------------------------------------------------------------ O.K., so is there a way that I can set up the RTSP server to only advertise and provide multicast? Thanks in advance. Best Regards, -- Rob Krakora Senior Software Engineer MessageNet Systems 101 East Carmel Dr. Suite 105 Carmel, IN 46032 (317)566-1677 Ext. 206 (317)663-0808 Fax ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thanks Wim for adding multicast support to gst-rtsp-server in the tip...
http://github.com/alessandrod/gst-rtsp-server/commit/53f8350b364a6164c0f37f605170d07778719630 On Tue, Mar 2, 2010 at 3:18 PM, Robert Krakora <[hidden email]> wrote: >> ------------------------------ >> >> Message: 4 >> Date: Tue, 02 Mar 2010 18:46:17 +0100 >> From: Wim Taymans <[hidden email]> >> Subject: Re: [gst-devel] GStreamer RTSP Server Multicast RTP Question >> To: Discussion of the development of GStreamer >> <[hidden email]> >> Cc: Jerry Geis <[hidden email]> >> Message-ID: <1267551977.3328.50.camel@metal> >> Content-Type: text/plain; charset="UTF-8" >> >> On Mon, 2010-03-01 at 16:33 -0500, Robert Krakora wrote: >>> Hello, >>> >>> I can successfully capture and send unicast video and audio data from >>> a v4l2 webcam and microphone via gst-rtsp RTSP server when requested >>> by an RTSP client. However, I cannot seem to figure out how to send >>> multicast video and audio data. I am using the test-launch example >>> provided with gst-rtsp in both cases. However, case (2) below yeilds >>> nothing when an RTSP client request arrives. What am I doing wrong? >>> Thanks in advance. ;-) >>> >>> Case 1 (Unicast) >>> >>> /home/silentm/MessageNet/totem/gst-rtsp-0.10.5/examples/test-launch >>> --gst-debug=255 "( v4l2src device=/dev/video0 ! ffmpegcolorspace ! >>> video/x-raw-yuv,width=640,height=480,framerate=30/1 ! theoraenc >>> quality=10 bitrate=6000 speed-level=2 ! rtptheorapay pt=96 name=pay0 >>> alsasrc device="hw:0,0" ! audioconvert ! vorbisenc ! rtpvorbispay >>> pt=97 name=pay1 )" >>> >>> Case 2 (Multicast?) >>> >>> /home/silentm/MessageNet/totem/gst-rtsp-0.10.5/examples/test-launch >>> --gst-debug=255 "( gstrtpbin name=rtpbin v4l2src ! ffmpegcolorspace ! >>> theoraenc ! rtptheorapay ! rtpbin.send_rtp_sink_0 >>> rtpbin.send_rtp_src_0 ! udpsink port=5000 host=224.2.8.13 >>> rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=224.2.8.13 sync=false >>> async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 alsasrc >>> device="hw:0,0" ! audioconvert ! vorbisenc ! rtpvorbispay ! >>> rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink port=5002 >>> host=224.2.8.13 rtpbin.send_rtcp_src_1 ! udpsink port=5003 >>> host=224.2.8.13 sync=false async=false )" >> >> This won't work. gst-rtsp-server can only deal with launch lines that >> end with a payloader. The transport that is then negotiated with the >> client depends on the client (so if you want multicast, you need a >> client that asks for multicast). Also currently it's not possible to >> instruct a resource to be delivered on a multicast address AFAICR. >> >> You can however set the mediafactory as 'shared' and then you can >> connect with multiple clients (over unicast) to watch the stream >> simultaneously. >> >> Wim >> >>> >>> Best Regards, >>> >>> -- >>> Rob Krakora >>> Senior Software Engineer >>> MessageNet Systems >>> 101 East Carmel Dr. Suite 105 >>> Carmel, IN 46032 >>> (317)566-1677 Ext. 206 >>> (317)663-0808 Fax >>> ------------------------------------------------------------------------------ > > O.K., so is there a way that I can set up the RTSP server to only > advertise and provide multicast? Thanks in advance. > > Best Regards, > > -- > Rob Krakora > Senior Software Engineer > MessageNet Systems > 101 East Carmel Dr. Suite 105 > Carmel, IN 46032 > (317)566-1677 Ext. 206 > (317)663-0808 Fax > -- Rob Krakora Senior Software Engineer MessageNet Systems 101 East Carmel Dr. Suite 105 Carmel, IN 46032 (317)566-1677 Ext. 206 (317)663-0808 Fax ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |