libxavs2
xavs2 AVS2-P2/IEEE1857.4 encoder wrapper.
This encoder requires the presence of the libxavs2 headers and library during configuration. You need to explicitly configure the build with '--enable-libxavs2'.
The following standard libavcodec options are used:
- 'b' / 'bit_rate'
- 'g' / 'gop_size'
- 'bf' / 'max_b_frames'
The encoder also has its own specific options:
Options
- 'lcu_row_threads'
-
Set the number of parallel threads for rows from 1 to 8 (default 5).
- 'initial_qp'
-
Set the xavs2 quantization parameter from 1 to 63 (default 34). This is used to set the initial qp for the first frame.
- 'qp'
-
Set the xavs2 quantization parameter from 1 to 63 (default 34). This is used to set the qp value under constant-QP mode.
- 'max_qp'
-
Set the max qp for rate control from 1 to 63 (default 55).
- 'min_qp'
-
Set the min qp for rate control from 1 to 63 (default 20).
- 'speed_level'
-
Set the Speed level from 0 to 9 (default 0). Higher is better but slower.
- 'log_level'
-
Set the log level from -1 to 3 (default 0). -1: none, 0: error, 1: warning, 2: info, 3: debug.
- 'xavs2-params'
-
Set xavs2 options using a list of key=value couples separated by ":".
For example to specify libxavs2 encoding options with '-xavs2-params':
ffmpeg -i input -c:v libxavs2 -xavs2-params RdoqLevel=0 output.avs2