[gst-devel] Udpsink doesn't send anything

Wim Taymans wim.taymans at gmail.com
Fri Nov 19 11:38:41 CET 2010


On Fri, 2010-11-19 at 11:22 +0100, "José Luis Segura Lucas" wrote:
> Good morning from Spain!
> 
> 
> Today I was trying to send a raw video over the network using udpsink
> -> udpsrc connection.

The maximum udp packet size is 65535 bytes. Video frames are usually
much bigger than that and can't be sent over the network with udp like
that. You need to split the video packets with RTP or make them smaller
by compressing them.

Wim

> 
> 
> On the receiver side, I ran this pipleine:
> 
> 
> $ gst-launch-0.10 udpsrc ! filesink location="/tmp/file"
> 
> 
> If I look at my listening ports with netstat, I saw the UDP port 4951
> (as expected).
> 
> 
> When I run (on my computer or on any other computer on my network) the
> "sender":
> 
> 
> $ gst-launch-0.10 videotestsrc ! udpsink host=my_network_ip
> 
> 
> Nothing happens. I use Wireshark to look at the network traffic
> generated on the server side and the client, but nothing is
> sent/received.
> 
> 
> I tried with the example seen
> on http://www.gstreamer.net/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-udpsrc.html (using only audio instead video), but I get nothing too :-(
> 
> 
> Can anybody help me?
> 
> 
> Thanks in advance
> 
> 
> 
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel






More information about the gstreamer-devel mailing list