viser-encoding 0.4.1

Shared encoding configuration, preset mapping, temp cleanup for viser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# viser-encoding

Shared encoding configuration, codec-specific preset mapping, and temp directory cleanup.

## Key Types

- `Config` — common encoding parameters (resolutions, CRF values, codecs, preset, subsample, parallelism)

## Key Functions

- `preset_for_codec(codec, preset)` — maps generic preset names (`"veryfast"`) to codec-specific values (`"10"` for SVT-AV1)
- `clean_stale_temp_dirs(max_age)` — removes orphaned temp directories from crash recovery