[FFmpeg-devel] libavc/libx264: add support to propagate SSE values through encoder stats
Anton Khirnov
anton at khirnov.net
Thu Oct 19 14:48:33 EEST 2023
Quoting Carotti, Elias via ffmpeg-devel (2023-09-23 12:04:28)
> Hi,
> please find attached a patch to propagate the SSE for a frame into the
> encoder stats.
> Since libx264 already provides PSNR values, this is done by basically
> inverting the formula to recover the SSE values.
Thanks, pushed.
> Would it be possible to also append other values to the errors vector?
> E.g., libx264 also computes SSIM but other values could be provided.
It is certainly conceivable, but it's a nontrivial question whether it
should be added to this side data or to a new one. Ideally the same type
of data should be produced both by this and the various
metrics-computing filters.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list