Expand description
Shared encoding configuration for the viser video-encoding-optimizer workspace.
Provides the common Config of encoding parameters used across all optimization modes,
codec-specific preset mapping (preset_for_codec), non-blocking progress reporting, and
cleanup of orphaned temp directories left behind by crashes.
Structs§
- Config
- Common encoding parameters shared across all optimization modes.
- Progress
Sender - Non-blocking progress sender. Logs when updates are dropped due to a full channel.
Functions§
- clean_
stale_ temp_ dirs - Removes orphaned viser temp directories older than
max_age. Called at startup to clean up after crashes or SIGKILL. - preset_
for_ codec - Maps a generic preset name to codec-specific presets.