[FFmpeg-user] How do I make ffplay play without high latency?

Roger Pack rogerdpack2 at gmail.com
Mon Nov 26 20:02:19 CET 2012


> With mplayer I was using the -benchmark option which makes it play as
> fast as possible, but even that has just under a second of latency.

what about -nocache? same?


> I know that the video camera is getting the data out the network port
> quickly because when I use the windows web client, it has a plugin
> that streams/plays the mpeg4 and it has very low latency -- so I know
> the camera is not the source of the latency.

Are you sure the web client is reading the "mp4" version?  the mp4
version may be introducing latency by forcing a client to wait for a
"first i-frame" before outputting.
http://ffmpeg.org/trac/ffmpeg/wiki/StreamingGuide#Latency might also
be interesting.


More information about the ffmpeg-user mailing list