udpsink large buffer

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

udpsink large buffer

Oleksandr Lavrushchenko
 Hi,

i'm trying to send gst.Buffer with size 921600 (this is (480, 640, 3)
raw rgb video with 8bit depth) over udp.

udpsink claim that:
----
multiudpsink gstmultiudpsink.c:503:gst_multiudpsink_render: Attempting
to send a UDP packet larger than maximum size (921600 > 65507)
----

Maximum udp packet size is 65507, so udpsink don't split buffer when
sending it. What will be correct way to send this video over udp?
Another suggestions?

Thanks.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: udpsink large buffer

Oleksandr Lavrushchenko
Привет

On Mon, Jul 11, 2011 at 6:34 PM, Oleksandr Lavrushchenko
<[hidden email]> wrote:
> Maximum udp packet size is 65507, so udpsink don't split buffer when
> sending it. What will be correct way to send this video over udp?

I missed the obvious solution to compress stream :). But anyway, are
large gstreamer buffers(>65507) can be passed through UDP?
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: udpsink large buffer

Wim Taymans
On 07/11/2011 08:50 PM, Oleksandr Lavrushchenko wrote:
> Привет
>
> On Mon, Jul 11, 2011 at 6:34 PM, Oleksandr Lavrushchenko
> <[hidden email]>  wrote:
>> Maximum udp packet size is 65507, so udpsink don't split buffer when
>> sending it. What will be correct way to send this video over udp?
>
> I missed the obvious solution to compress stream :). But anyway, are
> large gstreamer buffers(>65507) can be passed through UDP?

You need to fragment them at the application level with something like
RTP. see rtpvrawpay for a payloader for raw video.

Wim
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel