Hello all,<br><br>I'm using ffmpeg&ffserver to stream the X11 desktop display to another PC (over LAN) in real-time.<br>Here are my commands:<br><br>ffserver -f /etc/ffserver_kkuei.conf &<br>ffmpeg -f alsa -i hw:0,1 -f x11grab -s 1280x720 -i :0.0 -acodec libfaac -vcodec libx264  <a href="http://localhost:10090/feed_kkuei.ffm">http://localhost:10090/feed_kkuei.ffm</a><br>
(ffserver is configured as a RTSP&RTP server)<br><br>In another PC, I just use ffplay to play the RTSP stream.<br> <br>In my observation, there is about 2.5 seconds delay between the input (X11 display) and output (ffplay) .<br>
The PC is under the same LAN and I'm sure the RTP/UDP didn't waste much ot the time.<br><br>The delay is really a concern in our use case.<br><br>It will be very appreciated if anyone can tell me how to shorten the delay.<br>
<br>Cheers,<br> <br>Kevin Kuei<br>