Error while sending UDP packet using udpsink

Sebastian Dröge sebastian at centricular.com
Wed Aug 2 14:14:06 UTC 2017


On Wed, 2017-08-02 at 01:50 -0700, Raya wrote:
> Hello, 
> 
> I am using the following pipeline to stream video: 
> 
> gst-launch-1.0 -vvv  filesrc location=test.h264  ! h264parse !
> video/x-h264,stream-format=byte-stream,alignment=nal ! udpsink
> host=127.0.0.1 port=5000 
> [...]
> 0:00:07.117305298  7926      0x2429a80 WARN            multiudpsink
> gstmultiudpsink.c:715:gst_multiudpsink_send_messages:<udpsink0>
> warning:
> Attempting to send a UDP packets larger than maximum size (67278 >
> 65507) 
> 
> 
> Is there a gst element that I can use to fix the error without using
> RTP playloaders? 

Why don't you want to use RTP payloaders?


A solution without would be to ensure that no NAL is bigger than 64k
(you ideally want no bigger than 1500 bytes!), by changing the encoder
settings accordingly and having h264parse really put one NAL per
buffer. alignment=nal only means that it's one or more NALs.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170802/5db7db85/attachment.sig>


More information about the gstreamer-devel mailing list