<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">What about plain JPEG RTP using rtpjpegpay? Something like (using your pipe):<div class=""><br class=""></div><div class="">gst-launch-1.0 --gst-debug=jifmux:5 v4l2src device=/dev/video1<br class="">do-timestamp=true ! video/x-raw,width=640,height=480,framerate=30/1 !<br class="">timeoverlay font-desc="Verdana bold 12px" ! tee name=t t. ! queue !<br class="">xvimagesink sync=false t. ! queue ! jpegenc ! jifmux ! <b class="">rtpjpegpay</b> ! queue ! udpsink</div><div class="">host=127.0.0.1 port=5000 sync=false</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><font size="1" class="">—</font></div><div class=""><font size="1" class="">Michael Gruner <<a href="mailto:michael.gruner@ridgerun.com" class="">michael.gruner@ridgerun.com</a>></font></div><div class=""><font size="1" class="">Embedded Linux and GStreamer solutions</font></div><div class=""><font size="1" class="">RidgeRun Engineering</font></div><div class=""><font size="1" class="">Contact Us - <a href="http://www.ridgerun.com/#!contact/c3vn" class="">http://www.ridgerun.com/#!contact/c3vn</a></font></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jun 8, 2016, at 11:18, fgfernandez0321 <<a href="mailto:fgfernandez0321@gmail.com" class="">fgfernandez0321@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Good afternoon<br class=""><br class="">I have these pipelines where I capture video from camera and show it using:<br class="">xvimagesink and transmit via udp, in this case I'm using jifmux for playing<br class="">using playbin using the second pipeline. I have problems with udp packet<br class="">size when the camera looks to specific area in my work where there are<br class="">different colors. The question is: How do I limit the udp packet size?<br class=""><br class="">gst-launch-1.0 --gst-debug=jifmux:5 v4l2src device=/dev/video1<br class="">do-timestamp=true ! video/x-raw,width=640,height=480,framerate=30/1 !<br class="">timeoverlay font-desc="Verdana bold 12px" ! tee name=t t. ! queue !<br class="">xvimagesink sync=false t. ! queue ! jpegenc ! jifmux ! udpsink<br class="">host=127.0.0.1 port=5000 sync=false<br class=""><br class="">gst-launch-1.0 -v playbin uri=<a href="udp://@0.0.0.0:5000" class="">udp://@0.0.0.0:5000</a><br class=""><br class=""><<a href="http://gstreamer-devel.966125.n4.nabble.com/file/n4677940/Screenshot_from_2016-06-08_13-55-52.png" class="">http://gstreamer-devel.966125.n4.nabble.com/file/n4677940/Screenshot_from_2016-06-08_13-55-52.png</a>> <br class=""><br class="">I tried to use: mpegtsmux but It has delay 0.8 miliseconds. I need real time<br class=""><br class="">gst-launch-1.0 --gst-debug=mpegtsmux:5 v4l2src device=/dev/video1<br class="">do-timestamp=true ! video/x-raw,width=640,height=480,framerate=30/1 !<br class="">timeoverlay font-desc="Verdana bold 12px" ! tee name=t t. ! queue !<br class="">xvimagesink sync=false t. ! queue ! x264enc byte-stream=true bitrate=5000<br class="">key-int-max=1 tune=zerolatency ! video/x-h264 ! mpegtsmux name=mux<br class="">m2ts-mode=false alignment=7 ! video/mpegts ! rtpmp2tpay pt=33 ! udpsink<br class="">host=127.0.0.1 port=5000 sync=false<br class=""><br class=""><br class=""><br class="">--<br class="">View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/UDP-PACKET-TOO-BIG-tp4677940.html" class="">http://gstreamer-devel.966125.n4.nabble.com/UDP-PACKET-TOO-BIG-tp4677940.html</a><br class="">Sent from the GStreamer-devel mailing list archive at <a href="http://nabble.com" class="">Nabble.com</a>.<br class="">_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br class=""></div></div></blockquote></div><br class=""></div></body></html>