Udpsink doesn't send anything

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Udpsink doesn't send anything

José Luis Segura Lucas

Good morning from Spain!


Today I was trying to send a raw video over the network using udpsink -> udpsrc connection.


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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Udpsink doesn't send anything

Wim Taymans
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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel