[FFmpeg-devel] [PATCH] VMAF is now propagated to the AVFrame coming from the graph

Kyle Swanson k at ylo.ph
Mon Oct 16 20:18:30 EEST 2023


Hi,

On Fri, Oct 13, 2023 at 11:01 PM <ichlubna at fit.vutbr.cz> wrote:
>
> From: ichlubna <ichlubna at fit.vutbr.cz>
>
> Related to my ticket here: https://trac.ffmpeg.org/ticket/10586
> VMAF score was not propagated to AVFormat like SSIM or PSNR in the result of the filter graph. I have fixed this to make the usage consistent and possible to get VMAF score per-frame in libavfilter.
> The only dirty thing here is the added for loop to compute the score twice. This is done to get the score in real time. Otherwise the score is delayed by one frame. Computing the score twice should not affect the final averaged result as each frame is added twice so the average does not change.

Thank you for the patch. Give me a few days, and I will review this.

Thanks,
Kyle


More information about the ffmpeg-devel mailing list