[FFmpeg-devel] [PATCH] avfilter/vf_libvmaf: update filter for libvmaf v2.0.0

Kyle Swanson k at ylo.ph
Thu Jun 17 00:52:44 EEST 2021


Hi,

Patch attached. This is an update to the libvmaf avfilter to use the
new libvmaf  v2.* API which was released about 6 months ago. High
level: the filter should be simpler to use now for basic users, but
also more flexible for power users. libvmaf can be configured with one
or many vmaf models, all of which can be parameterized/overloaded by
the caller. Likewise, one or many extra feature extractors can be
enabled with custom parameters. This logic mirrors what is available
in the vmaf command-line tool. The option parsing is honestly not the
most ergonomic, I don't think, but it is the best I could come up
with. Each option (model/feature) takes the form of a string
containing a list of `|` delimited dicts. There's a non-trival amount
of code in here to do that option parsing.

There will be another libvmaf minor version release soon, so please
don't push this patch before that time so pkg-config can be updated
and mismatches avoided.

Thanks,
Kyle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avfilter-vf_libvmaf-update-filter-for-libvmaf-v2.0.0.patch
Type: application/octet-stream
Size: 31305 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210616/28130d6a/attachment.obj>


More information about the ffmpeg-devel mailing list