Skip to main content
Version: v5.9.0

Default FFmpeg Parameters

Some FFmpeg parameters may also override explicit libxcoder parameters. Try to avoid using multiple parameters that control the same behavior.

Bitrate​

If the FFmpeg -b argument is specified on the command line then this will set the bitrate, and will override any libxcoder bitrate parameter.

When using FFmpeg, it is recommended the FFmpeg -b:v bitrate parameter be used instead of the libxcoder parameter.

There are 4 situations for bitrate, these are

  1. No bitrate is specified on the command line, therefore the default bitrate will be used. This is 200,000 – see the RCEnable parameter in Section 9.3. Note this only applies when RCEnable=1.
  2. If only the FFmpeg -b command is specified then this will set the bitrate.
  3. If only the libxcoder command -xcoder-params is specified then this sets the bitrate.
  4. If both the FFmpeg -b and the xcoder parameters are specified then the FFmpeg parameter will take priority and set the bitrate.