Hi, I'm using this pipeline on the sender's side:gst-launch-1.0 appsrc ! videoconvert ! video/x-raw, height=576, width=720, format=UYVY ! rtpvrawpay ! udpsink host=224.1.1.1 port=5004 gst-launch-1.0 udpsrc address=224.1.1.1 port=5004 ! "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, sampling=(string)YCbCr-4:2:2, depth=(string)8, width=(string)720, height=(string)576, colorimetry=(string)BT601-5, payload=(int)96" ! rtpvrawdepay ! videoconvert ! autovideosink _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Di, 2016-06-07 at 14:56 +0530, Anuj Pahuja wrote:
> Hi, > > I'm using this pipeline on the sender's side: > gst-launch-1.0 appsrc ! videoconvert ! video/x-raw, height=576, > width=720, format=UYVY ! rtpvrawpay ! udpsink host=224.1.1.1 > port=5004 > > and I can play it on the receiver's side on Ubuntu 14.04 using: > gst-launch-1.0 udpsrc address=224.1.1.1 port=5004 ! "application/x- > rtp, media=(string)video, clock-rate=(int)90000, encoding- > name=(string)RAW, sampling=(string)YCbCr-4:2:2, depth=(string)8, > width=(string)720, height=(string)576, colorimetry=(string)BT601-5, > payload=(int)96" ! rtpvrawdepay ! videoconvert ! autovideosink > > However, the same receiver's pipeline does not work on Windows. It > starts listening on the port, but the sink window never starts. If I > replace the multicast IP by a unicast address, it works fine. > > I've seen this problem noticed before also by someone (https://bugzil > la.gnome.org/show_bug.cgi?id=725872). Was wondering if it's fixed and > works fine and is an OS problem or a gstreamer bug. Any help would be > much appreciated. wireshark if the problem is that the sender does not send packets, or that the receiver does not receive them? You might also have to specify the multicast interface on the sink and source. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Which version of GStreamer are you using? Can you check with e.g. I'm using GStreamer 1.8.0. The sender was sending the packets, that's why I'm able to receive them properly on a Linux machine. I'm using a Linux machine on the sender's side every time. On the client side (Windows), I can check that packets are being multicasted on the multicast IP using Wireshark. You might also have to specify the multicast interface on the sink and I'll try that and report my results. _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
How do I specify multicast interface on Windows? Do I use something like udpsrc multicast-iface="XXX Network" ? _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Di, 2016-06-07 at 16:39 +0530, Anuj Pahuja wrote:
> > > You might also have to specify the multicast interface on the > > > sink and > > > source. > > > > > > > I'll try that and report my results. > > > > How do I specify multicast interface on Windows? Do I use something > like udpsrc multicast-iface="XXX Network" ? https://msdn.microsoft.com/en-us/library/windows/desktop/bb408409%28v=vs.85%29.aspx Especially the paragraph in the end starting with "The if_nametoindex function is implemented ..." That's how you get the correct interface name. They look like ethernet_0, wireless_0, etc. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Any news about this problem?
I'm facing the same issue and I cannot join a multicast group on Windows on my system that has two ethernet card and one wireless card. Thank you Walter
Walter Lucetti
www.myzhar.com |
On Tue, 2016-10-18 at 02:47 -0700, Myzhar wrote:
> Any news about this problem? > I'm facing the same issue and I cannot join a multicast group on > Windows on > my system that has two ethernet card and one wireless card. Did you try specifying the multicast interface as I explained in the previous mail? -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (949 bytes) Download Attachment |
Yes, I'm using the following command: .\gst-launch-1.0.exe udpsrc multicast-iface="ethernet_1" multicast-group=239.0.0.105 auto-multicast=true port=16000 ! 'application/x-rtp, encoding-name=H264, payload=96' ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink sync=false async=false -v -e I tried changing the index for Ethernet. With index 0 and 1 I can see the program starting, but non connecting to the stream, but if I use "ethernet_2" I get the following error: Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Could not get/set settings from/on resource. Additional debug info: gstudpsrc.c(1542): gst_udpsrc_open (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: could add membership: Error joining multicast group: Indirizzo richiesto non valido nel proprio contesto. Setting pipeline to NULL ... Freeing pipeline ... The italian string says "Requested address not valid in its own contest" 2016-10-18 12:06 GMT+02:00 Sebastian Dröge <[hidden email]>: On Tue, 2016-10-18 at 02:47 -0700, Myzhar wrote: _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Walter Lucetti
www.myzhar.com |
Free forum by Nabble | Edit this page |