Skip to main content

Crate viser_quality

Crate viser_quality 

Source
Expand description

Video quality measurement for the viser video-encoding-optimizer workspace.

Computes VMAF, PSNR, SSIM, SSIMULACRA2, and butteraugli scores between a reference and a distorted video. VMAF/PSNR/SSIM use FFmpeg’s libvmaf filter, while SSIMULACRA2 and butteraugli shell out to their CLI tools on extracted PNG frames. See measure for the entry point.

Re-exports§

pub use noref::NoRefOpts;
pub use noref::NoRefResult;
pub use noref::measure_noref;
pub use pool::PoolStrategy;
pub use pool::PooledStats;

Modules§

noref
No-reference (single-input) quality signals computed on decoded luma frames.
pool
Pooling strategies for reducing per-frame metric scores to summary statistics.

Structs§

FrameResult
Quality scores for a single frame.
MeasureOpts
Options controlling a measure call.
Pooled
Pooled distribution statistics for each metric, computed from per-frame scores.
Result
Aggregate (pooled) quality scores, with optional per-frame breakdown.

Enums§

Metric
Quality metric type.

Functions§

measure
Computes quality metrics between a reference and distorted video.