Error while sending UDP packet using udpsink

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

Error while sending UDP packet using udpsink

Raya
Hello,

I am using the following pipeline to stream over RTP:

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

In the output I get the following message:

Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:06.983376428  7926      0x2429a80 WARN            multiudpsink
gstmultiudpsink.c:715:gst_multiudpsink_send_messages:<udpsink0> warning:
Attempting to send a UDP packets larger than maximum size (65899 > 65507)
0:00:06.983393266  7926      0x2429a80 WARN            multiudpsink
gstmultiudpsink.c:715:gst_multiudpsink_send_messages:<udpsink0> warning:
Reason: Error sending message: Message too long
WARNING: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Attempting
to send a UDP packets larger than maximum size (65899 > 65507)
Additional debug info:
gstmultiudpsink.c(715): gst_multiudpsink_send_messages ():
/GstPipeline:pipeline0/GstUDPSink:udpsink0:
Reason: Error sending message: Message too long
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?

Thank you for your help.





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Error-while-sending-UDP-packet-using-udpsink-tp4684053.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while sending UDP packet using udpsink

Vinod Kesti
Hi raya

Payload size of UDP buffer is going beyond the allowed. Use "rndbuffersize" before with proper "min" and "max" values.

Below pipeline should work for U
gst-launch-1.0 -vvv  filesrc location=test.h264  ! h264parse !
video/x-h264,stream-format=byte-stream,alignment=nal ! rndbuffersize max=65000 ! udpsink
host=127.0.0.1 port=5000
Loading...