Hallo, I would like to play a multicast Stream from a Camera. It streams a 4cif codec. Under Linux it works fine but i neet to play the Stream under Windows. I would open the stream with the following command: gst-launch-0.10.exe udpsrc uri=udp://225.2.47.168:60000, caps=\"application/x-rtp\" ! rtph263depay ! ffdec_h263 ! Directdrawsink Here ist the output: C:\Users\fefl100\workspace\svn\Build\Windows\Win32\Release\bin\gstreamer>gst-launch-0.10.exe udpsrc uri=udp://225.2.47.168:60000, caps=\"application/x-rtp\" ! rtph263depay ! ffdec_h263 ! directdrawsink Setting pipeline to PAUSED ...
bind failed -1: No error (0)
Then I build the newest Trunk Version form the SVN. The result is the same. Thanks for help Mit freundlichen Grüßen - Kind regards Florian Feil ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
Does this pipeline works: gst-launch-0.10.exe udpsrc port=200 ! fakesink ? If not, try to compile the udp plugin with mingw >>Then I build the newest Trunk Version form the SVN. The result is the same. if you are currently using VS. (with the current git, udpsink fails with this error (and compiled with mingw) WARN multiudpsink gstmultiudpsink.c:790:gst_multiudpsink_init_send:<udpsink0> error: Could not set TTL socket option (0): No error ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Could not get/set settings from/on resource. Additional debug info: gstmultiudpsink.c(790): gst_multiudpsink_init_send (): /GstPipeline:pipeline0/GstUDPSink:udpsink0: Could not set TTL socket option (0): No error Setting pipeline to NULL ... ) Julien 2009/9/15 Feil, Florian <[hidden email]>
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Tue, Sep 15, 2009 at 8:52 AM, Julien Isorce <[hidden email]> wrote:
> Hi, > > Does this pipeline works: gst-launch-0.10.exe udpsrc port=200 ! fakesink > ? > > If not, try to compile the udp plugin with mingw > >>>Then I build the newest Trunk Version form the SVN. The result is the >>> same. > > if you are currently using VS. > > (with the current git, udpsink fails with this error (and compiled with > mingw) > WARN multiudpsink > gstmultiudpsink.c:790:gst_multiudpsink_init_send:<udpsink0> error: Could not > set TTL socket option (0): No error I believe this patch makes multiudpsink work on windows: https://bugzilla.gnome.org/show_bug.cgi?id=534243 Note that I'm still waiting for more windows testing (particularly on vista), and hopefully a code review from someone who knows this stuff. udpsrc might also have similar issues, I'm not sure - I can fix these if people are willing to test the code and comment on that bug. Mike ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
I can confirm that udpsrc is broken on Windows and I'm willing to test fixes. I've just spent more time than I'd like to admit trying to get a multi-cast receive working on Windows XP using this simple pipeline:
gst-launch udpsrc uri="udp://224.1.2.3:1234" ! fakesink I tried the 0.10.15 udpsrc plugin with this patch (https://forja.rediris.es/forum/message.php?msg_id=180551) and had no success with failure on the bind. I backed up to 0.10.8 (before IP6 support) and still had failure on the bind. I hard coded the local address to INADDR_ANY right before the bind and success! /* if (src->multi_addr.imr_multiaddr.s_addr) src->myaddr.sin_addr.s_addr = src->multi_addr.imr_multiaddr.s_addr; else */ src->myaddr.sin_addr.s_addr = INADDR_ANY; I tried hardwiring INADDR_ANY with the patched 0.10.15 version and ran with no crashes, but also received no data, so right now I'm back to 0.10.8. Point me to some code/patches and I'll test on W2K3, XP and Windows 7. I'm building using the OSS build system as opposed to mingw, hopefully that's not a problem. Bill
|
In reply to this post by michael smith-6-3
2009/9/15 Michael Smith <[hidden email]>
Hi, The patch does not apply to the current git. Sincerely Julien
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |