[FFmpeg-user] How to set FIFO value

Moritz Barsnick barsnick at gmx.net
Sat Dec 15 22:33:13 EET 2018


On Sun, Dec 16, 2018 at 00:38:50 +0530, Vasanth M.Vasanth wrote:
> How to set exact FIFO value for live streaming? 
> 
> Current value fifo_size=25000000

Assuming you mean the fifo_size parameter for the udp protocol:

https://ffmpeg.org/ffmpeg-protocols.html#udp

  "udp://hostname:port[?options]

   options contains a list of &-separated options of the form key=val."

So
$ ffmpeg -i input -f mpegts udp://hostname:port?fifo_size=25000000

The default value is listed below in the documentation as 7*4096 = 28672
packets of size 188 (= 5390336 bytes).

> Is this correct?

You weren't precise enough about what you are trying to do and what
your issue is.

Moritz


More information about the ffmpeg-user mailing list