#checkpoint #cache #resume #video-encoding #multimedia-encoding #video

viser-checkpoint

Checkpoint/resume support for long-running viser analyses

21 releases (11 breaking)

Uses new Rust 2024

0.12.0 Jul 19, 2026
0.10.0 Jun 25, 2026

#353 in Caching

40 downloads per month
Used in 6 crates (3 directly)

BSD-2-Clause

45KB
882 lines

Checkpoint/resume support for the viser video-encoding-optimizer workspace.

Persists completed encoding trials to disk so multi-hour per-title analyses survive crashes and can be resumed. A SHA-256 config_hash of the encoding parameters invalidates stale checkpoints when the configuration changes. Writes are atomic (temp file + rename).


viser-checkpoint

Checkpoint/resume support for long-running analyses — persists completed encoding trials so multi-hour analyses survive crashes.

Key Types

  • Checkpoint — manages incremental trial persistence (load/save/query)

Key Functions

  • config_hash(source, resolutions, codecs, crf_values, preset) — deterministic SHA-256 of encoding config for invalidation
  • default_path(source) — default checkpoint file path for a given source

Dependencies

~9–18MB
~279K SLoC