Netflix/vmaf

libvmaf API does not support `perc*` pool methods

Open

#818 opened on Feb 1, 2021

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Python (3,829 stars) (700 forks)batch import
help wantedlibvmaf

Description

The libvmaf API used by ffmpeg does not support the perc5, perc10, perc20 pooling methods. Furthermore attempting to pass one of these values will silently fallback to mean as the pooling method due to the implementation in pool_method_map, leading to a confusing user experience (even though the documentation mentions that only min, mean and harmonic_mean are supported).

It would be great to either unify the pooling methods such that perc* works, or to perhaps consider returning an error if an unsupported pooling method is requested.

Contributor guide