Hello,<div><br></div><div>I'm wondering if it is possible to achieve <400ms latency with streaming video using x264enc. I'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'm using the tune=zerolatency (which sets several values, according to <a href="http://mewiki.project357.com/wiki/X264_Encoding_Suggestions">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'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>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>If you've achieved low latency with x264enc, can you share your settings?</div><div><br></div><div>Thanks!</div><div>Suneet</div>