flac
FLAC (Free Lossless Audio Codec) Encoder
Options
The following options are supported by FFmpeg's flac encoder.
- 'compression_level'
-
Sets the compression level, which chooses defaults for many other options if they are not set explicitly. Valid values are from 0 to 12, 5 is the default.
- 'frame_size'
-
Sets the size of the frames in samples per channel.
- 'lpc_coeff_precision'
-
Sets the LPC coefficient precision, valid values are from 1 to 15, 15 is the default.
- 'lpc_type'
-
Sets the first stage LPC algorithm
- 'none'
-
LPC is not used
- 'fixed'
-
fixed LPC coefficients
- 'levinson'
- 'cholesky'
- 'lpc_passes'
-
Number of passes to use for Cholesky factorization during LPC analysis
- 'min_partition_order'
-
The minimum partition order
- 'max_partition_order'
-
The maximum partition order
- 'prediction_order_method'
-
- 'estimation'
- '2level'
- '4level'
- '8level'
- 'search'
- '2level'
-
Bruteforce search
- 'log'
- 'estimation'
- 'ch_mode'
-
Channel mode
- 'auto'
-
The mode is chosen automatically for each frame
- 'indep'
-
Channels are independently coded
- 'left_side'
- 'right_side'
- 'mid_side'
- 'right_side'
- 'exact_rice_parameters'
-
Chooses if rice parameters are calculated exactly or approximately. if set to 1 then they are chosen exactly, which slows the code down slightly and improves compression slightly.
- 'multi_dim_quant'
-
Multi Dimensional Quantization. If set to 1 then a 2nd stage LPC algorithm is applied after the first stage to finetune the coefficients. This is quite slow and slightly improves compression.