<div dir="ltr">I don't have d<span style="color:rgb(0,0,0);font-size:12.8px">edicated wired network. The use case is related with drone which has a camera. So I need to capture the source of this camera using "</span><font color="#000000"><span style="font-size:12.8px">v4l2src" command for linux. After that, I have to re-stream the source for playing using "playbin".  I have two options: </span></font><span style="color:rgb(0,0,0);font-size:12.8px">mpegtsmux or jifmux. </span><span style="color:rgb(0,0,0);font-size:12.8px">mpegtsmux has delays and the second case not working when the camera looks different textures, i'm using a webcam for testing. Right now, I don't know what is the best: </span><span style="color:rgb(0,0,0);font-size:12.8px">mpegtsmux or jifmux for my scenario. Suggestions?</span><div><font color="#000000"><span style="font-size:12.8px"><br></span></font></div><div><font color="#000000"><span style="font-size:12.8px">gst-launch-1.0 --gst-debug=mpegtsmux:5 v4l2src device=/dev/video1 ! 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 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</span><br></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 8, 2016 at 5:33 PM, Tim Müller <span dir="ltr"><<a href="mailto:tim@centricular.com" target="_blank">tim@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><span class=""><div>On Wed, 2016-06-08 at 22:28 +0100, Tim Müller wrote:</div><blockquote type="cite"><div>On Wed, 2016-06-08 at 13:39 -0600, Michael Gruner wrote:</div><div><br></div></blockquote><div><br></div></span><span class=""><blockquote type="cite"><blockquote type="cite"><div><div></div></div><pre></pre></blockquote><div><br></div><div>sync=false on the sink will add jerkiness if there's network jitter.</div><div><br></div><div>What you probably want is to set the "latency" property on the source (rtspsrc), it's quite high by default (2 seconds).</div><div><br></div><div><br></div></blockquote><div><br></div></span><div>Sorry, I completely misread, there's no rtsp here (perhaps there should be :)), just plain udp.</div><div><br></div><div>setting sync to false on the sink is ok if you have a dedicated wired network where there's basically no jitter or packet loss, but for anything else you'll probably want a pipeline with an rtpjitterbuffer and a non-0 latency to smooth out the network jitter.</div><span class=""><div><br></div><div>Cheers</div><div> -Tim</div><div><br></div><div><span><pre>-- 
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a>
</pre></span></div></span></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>