[FFmpeg-user] Subject=Re: Flush & Latency Issue with Fragmented MP4 Creation

Gal Bar Mashiah galbarm at gmail.com
Wed Sep 30 10:08:02 CEST 2015

The key to removing the delay is to use the -probesize argument:

probesize integer (input)

Set probing size in bytes, i.e. the size of the data to analyze to get
stream information. A higher value will enable detecting more information
in case it is dispersed into the stream, but will increase latency. Must be
an integer not lesser than 32. It is 5000000 by default.

By default the value is 5,000,000 bytes which was equivalent to ~1.5 sec of
video. I was able to almost completely eliminate the delay by reducing the
value to 200,000.

Gal Bar Mashiah.

More information about the ffmpeg-user mailing list