Hi,<br>I am not a gstreamer expert at all but I am working quite a lot on live streaming.<br>I would advice to check the buffer settings of VLC. Usually the client always have some buffer to hide network ups and downs. A few seconds is common.<br>

<br>Regards,<br>Timothe<br><br><div class="gmail_quote">On Mon, Jan 3, 2011 at 9:35 AM, Suneet Shah <span dir="ltr">&lt;<a href="mailto:suneets@gmail.com">suneets@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hello,<div><br></div><div>I&#39;m wondering if it is possible to achieve &lt;400ms latency with streaming video using x264enc. I&#39;m using gstreamer to stream video (server) to VLC (client) on another machine within the same local network.</div>


<div><br></div><div>My pipeline is as follows (on the server machine):</div><div><br></div><div>ximagesrc ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=480,height=300,framerate=5/1 ! x264enc byte-stream=true bitrate=195 tune=0x00000004 ! mpegtsmux ! rtpmp2tpay ! udpsink port=1500 host=192.168.2.197</div>


<div><br></div><div>Note that I&#39;m using the tune=zerolatency (which sets several values, according to <a href="http://mewiki.project357.com/wiki/X264_Encoding_Suggestions" target="_blank">http://mewiki.project357.com/wiki/X264_Encoding_Suggestions</a>) to achieve low latency.</div>


<div><br></div><div>My client machine is simply running VLC with rtp://:1500</div><div><br></div><div>With this setting-- I&#39;m seeing about 2.5 seconds of latency from an action taken on the server to being seen in the video stream by the client.</div>


<div><br></div><div>If you&#39;ve achieved low latency with x264enc, can you share your settings?</div><div><br></div><div>Thanks!</div><div>Suneet</div>
<br>------------------------------------------------------------------------------<br>
Learn how Oracle Real Application Clusters (RAC) One Node allows customers<br>
to consolidate database storage, standardize their database environment, and,<br>
should the need arise, upgrade to a full multi-node Oracle RAC database<br>
without downtime or disruption<br>
<a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>