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.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to