UDP PACKET TOO BIG

Michael Gruner michael.gruner at ridgerun.com
Wed Jun 8 18:10:19 UTC 2016


What about plain JPEG RTP using rtpjpegpay? Something like (using your pipe):

gst-launch-1.0 --gst-debug=jifmux:5 v4l2src device=/dev/video1
do-timestamp=true ! video/x-raw,width=640,height=480,framerate=30/1 !
timeoverlay font-desc="Verdana bold 12px" ! tee name=t t. ! queue !
xvimagesink sync=false t. ! queue ! jpegenc ! jifmux ! rtpjpegpay ! queue ! udpsink
host=127.0.0.1 port=5000 sync=false


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160608/95842a5a/attachment.html>


More information about the gstreamer-devel mailing list