[FFmpeg-user] Low latency H.264 streaming with ffmpeg

Roger Pack rogerdpack2 at gmail.com
Wed Jan 13 17:15:14 CET 2016


On 1/13/16, Greger Burman <gb at moroco.se> wrote:
> Ok, so the ffmpeg based player is buffering frames somewhere even though
> I'm telling it not to. This happens with h264 video but not with mjpeg.
> That suggests to me that the latency is caused by either the h264 decoder
> or the mpegts demuxer. I have also tried m4v instead of mpegts, with about
> the same result.
>
> Anyone who knows enough about the h264 decoding process to confirm/deny?
> Is there a way to affect this behaviour without diving deep into the code?

I don't know much about the h264 decoder.  If you put I-frames in more
often it might help.  I've heard rumors of this flag
 -fflags nobuffer
but really no little of any internal workings.


More information about the ffmpeg-user mailing list