Skip to main content

Module presets

Module presets 

Source
Expand description

The quality presets a video download can be asked for.

One table, read by both the URL builder (which turns a preset into transcode parameters) and the size estimate (which turns the same numbers into an expected byte count). They were the same literals in two places before, which is how a bar can claim 40% of a file that is nearly done.

Structs§

DownloadPreset
Transcode caps for one named preset.

Functions§

download_preset
The preset a quality name denotes; None for original and anything unrecognised, both of which mean “do not cap the picture”.