:UDP RAW stream packet size
Andrés Meseguer Valenzuela via gstreamer-devel <[email protected]>
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <PA4PR01MB90203DF9E97BBAC0C347E4CDCC58A@PA4PR01MB9020.eurprd01.prod.exchangelabs.com> |
Thank you all for your answers. Referring to changing the mtu value, the problem is that when I increment it, it starts to provoke IP fragmentation splitting the packets in 1500 bytes again, and getting a similar latency with lower mtu. Please, let me know how to avoid this issue. Best regards, Andrés. -----Mensaje original----- De: gstreamer-devel <[email protected]> En nombre de [email protected] Enviado el: viernes, 16 de junio de 2023 14:00 Para: [email protected] Asunto: gstreamer-devel Digest, Vol 149, Issue 30 Send gstreamer-devel mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of gstreamer-devel digest..." Today's Topics: 1. Re: UDP RAW stream packet size (Tim-Philipp M?ller) 2. Re: UDP RAW stream packet size (Nicolas Dufresne) ---------------------------------------------------------------------- Message: 1 Date: Thu, 15 Jun 2023 13:24:40 +0100 From: Tim-Philipp M?ller <[email protected]> To: [email protected] Subject: Re: UDP RAW stream packet size Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" On Thu, 2023-06-15 at 11:12 +0000, Andr?s Meseguer Valenzuela via gstreamer-devel wrote: Hi?Andr?s, > > > I am using a gstreamer pipeline to send UDP video stream raw rgb and a > python code to receive it and use it with opencv. > I see that gstreamer sends the video using packets of 1400 bytes, > hence it that is increasing the latency. May I know any manner to > increase the packet size in order to reduce quantity of packets and > so, the final latency? For the pipeline I use rtrawpay and udpsink. I > have tried to add a queue between both but there has been no change. RTP payloaders including rtpvrawpay have an "mtu" property which you can set. Cheers ?Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230615/c42af81e/attachment-0001.htm> ------------------------------ Message: 2 Date: Thu, 15 Jun 2023 09:35:13 -0400 From: Nicolas Dufresne <[email protected]> To: Discussion of the development of and with GStreamer <[email protected]> Cc: Andr?s Meseguer Valenzuela <[email protected]> Subject: Re: UDP RAW stream packet size Message-ID: <CAKQmDh_1KavuJkKijzwNppP7tsDuFYmjMfR8gDtEN+igwi24Zw@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi, Le jeu. 15 juin 2023, 08 h 15, Andr?s Meseguer Valenzuela via gstreamer-devel <[email protected]> a ?crit : > Dear community, > I am using a gstreamer pipeline to send UDP video stream raw rgb and a > python code to receive it and use it with opencv. > > I see that gstreamer sends the video using packets of 1400 bytes, > hence it that is increasing the latency. May I know any manner to > increase the packet size in order to reduce quantity of packets and > so, the final latency? For the pipeline I use rtrawpay and udpsink. I > have tried to > To increase throughput (it has nothing to do with latency, if your network and computer was faster, smaller chunk leads to lower latency), you need to change the MTU. There is an mtu property on all RTP payloaders. You may want to tweak your network configuration. Regards, Nicolas > add a queue between both but there has been no change. > > Please, let me know any solution, > thank you for your time. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230615/db019222/attachment-0001.htm> ------------------------------ Subject: Digest Footer _______________________________________________ gstreamer-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel ------------------------------ End of gstreamer-devel Digest, Vol 149, Issue 30 ************************************************