OS X, udpsink, is there a way to reduce messagesize / split UDP messages into smaller ones?
Ralf Stoye
stoye at stoye.com
Tue Jun 17 02:42:18 PDT 2014
Am 16.06.2014 um 14:31 schrieb Peter Maersk-Moller:
> chopmydata
thanks, you made my day ;-)
for the record:
osx (10.6, 10.7, 10.8) limits udp message size to 9216 Bytes, so one has to use chopmydata max-size=9000 like this:
/opt/local/bin/gst-launch-1.0 -vvv -m videotestsrc is-live=true ! video/x-raw, format=I420, width=1280, height=720, framerate=5/1, pixel-aspect-ratio=1/1, interlace-mode=progressive \
! queue ! x264enc tune=zerolatency speed-preset=ultrafast bitrate=1000 ! queue ! mpegtsmux ! queue ! chopmydata max-size=9000 ! udpsink host=10.44.1.21 port=1234
result (no errors anymore):
0:00:04.792468000 13888 0x1070038f0 LOG multiudpsink gstmultiudpsink.c:562:gst_multiudpsink_render:<udpsink0> about to send 3744 bytes in 1 blocks
0:00:04.792510000 13888 0x107003940 DEBUG default videotestsrc.c:1190:convert_hline_generic: line 0, 352, idx 352
0:00:04.792530000 13888 0x1070038f0 LOG multiudpsink gstmultiudpsink.c:575:gst_multiudpsink_render:<udpsink0> sending 3744 bytes to client 0x1061389c0
0:00:04.792544000 13888 0x107003a30 LOG GST_BUFFER gstbuffer.c:628:gst_buffer_new: new 0x1070cd5d0
0:00:04.792713000 13888 0x1070038f0 LOG multiudpsink gstmultiudpsink.c:627:gst_multiudpsink_render:<udpsink0> sent 3744 bytes to 1 (of 1) clients
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140617/4bb99aa2/attachment.html>
More information about the gstreamer-devel
mailing list