libsvtav1 ffmpeg patch cleanup
Currently the option exposed with libsvtav1 on ffmpeg are the following:
- preset --
- rc
- qp
- profile
- level
- hielevel
- tier
- qmax
- qmin
- sc_detection
- la_depth
- tile_rows
- tile_columns
The preset option should probably stay to align with previous command lines.
The rc and qp options should be removed and set up so that:
-
When -b:v is specified, rate_control_mode is set to 1 inside the patch, -
When -crf is specified, then the rate_control_mode is set to 0 and qp is set accordingly -
When -qp is specified, then a CQP mode should be set with rate_control_mode is set to 0 and aq-mode is set to 0
The rest of the items should be removed as they are available with svtav1-params
Items that would still need to be done past this point:
-
param->enable_tpl_la
should be replaced byparam->enable_adaptive_quantization
set to 0 for CQP and to 2 otherwise. -
Default preset should change to preset 10 -
deprecate the 'la_depth' , 'hielevel' , 'tier' , 'sc_detection' , 'tile_columns' , 'tile_rows' options as they can can be set using svtav1-params (beyond 0.9.1)
Edited by Hassene Tmar