Skip to main content

Module vmaf

Module vmaf 

Source
Expand description

VMAF quality measurement via ffmpeg’s libvmaf filter.

libvmaf is not present in every ffmpeg build, so callers should gate on has_libvmaf and degrade gracefully (skip the measurement) when it is absent — see the CLI’s --vmaf handling.

Functions§

has_libvmaf
Whether this ffmpeg build exposes the libvmaf filter.
measure_vmaf
Measure the VMAF of distorted against the reference (original) video.