[FFmpeg-user] Shorten the delay

Carl Eugen Hoyos cehoyos at ag.or.at
Thu May 17 12:28:38 CEST 2012

Kevin Kuei <kevin.kuei.0321 <at> gmail.com> writes:

> ffserver -f /etc/ffserver_kkuei.conf &
> ffmpeg -f alsa -i hw:0,1 -f x11grab -s 1280x720 -i :0.0 -acodec libfaac
> -vcodec libx264  http://localhost:10090/feed_kkuei.ffm
> (ffserver is configured as a RTSP&RTP server)
> In another PC, I just use ffplay to play the RTSP stream.
> In my observation, there is about 2.5 seconds delay between the input
> (X11 display) and output (ffplay) .

Can you avoid the delay if you use a fast internal encoder 
(mpeg2video) and no audio?

Carl Eugen

More information about the ffmpeg-user mailing list