Function av_metrics::video::ciede::calculate_video_ciede
source · pub fn calculate_video_ciede<D: Decoder, F: Fn(usize) + Send>(
decoder1: &mut D,
decoder2: &mut D,
frame_limit: Option<usize>,
progress_callback: F
) -> Result<f64, Box<dyn Error>>
Expand description
Calculate the CIEDE2000 metric between two video clips. Higher is better.
This will return at the end of the shorter of the two clips, comparing any frames up to that point.
Optionally, frame_limit
can be set to only compare the first
frame_limit
frames in each video.