UDP PACKET TOO BIG

fgfernandez0321 fgfernandez0321 at gmail.com
Wed Jun 8 17:18:30 UTC 2016


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.


More information about the gstreamer-devel mailing list