vsmuxtools.video.testing
SettingsTester
SettingsTester(settings: str | list[str], encoder: VideoEncoder | None = None, qp_clip: SRC_FILE | VideoNode | None = None)
A utility class for making test encodes. This can automatically parse strings like
--preset veryfast --crf [14/15/0.5]
and will then run encodes with CRF 14, 14.5 and 15.
The same works with non stepping options like
--preset [fast,veryfast,slow,slower]
or
--sao [true,false] (can also use yes/no and y/n for these)
Keep in mind that this will create an encode for EVERY combination and not some order.
--preset [fast,veryfast,ultrafast] --crf [14/15/0.5]
For example will end up with 9 encodes.
Source code in
vsmuxtools/video/testing.py
run
Runs all encodes with the settings specified/generated.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
output_clips
|
bool
|
Will index and output clips with proper naming if vspreview is installed. This might obviously end up using quite a lot of ram. |
True
|