Re: [FFmpeg-user] psnr range

2019-06-26 Thread Le Chiffre
Thanks. For reference, yes libvmaf does limit the psnr. 60dB for 8-bit video, 72dB for 10-bit. Google tells me that indeed, 60dB is the limit of visual perception, give or take. The computation is the same: double eps = 1e-10; *score = MIN(10 * log10(peak * peak / MAX(noise_, eps)),

Re: [FFmpeg-user] psnr range

2019-06-26 Thread Nicolas George
Carl Eugen Hoyos (12019-06-26): > The source code contains the following line in vf_psnr.c: > return 10.0 * log10(pow_2(max) / (mse / nb_frames)) > so a likely range is 0-100 You are reading the formula upside down: x/max would have a range [0;1] (possibly later converted to a percentage), but

Re: [FFmpeg-user] psnr range

2019-06-25 Thread Carl Eugen Hoyos
Am Di., 25. Juni 2019 um 22:00 Uhr schrieb Le Chiffre : > > I have found that the psnr result from the psnr filter, vs the psnr that is > part of libvmaf (calling it via ffmpeg), differs slightly, generally under > 1%. I suppose the implementation is different. > > This seems ok. What is more

[FFmpeg-user] psnr range

2019-06-25 Thread Le Chiffre
I have found that the psnr result from the psnr filter, vs the psnr that is part of libvmaf (calling it via ffmpeg), differs slightly, generally under 1%. I suppose the implementation is different. This seems ok. What is more interesting is that libvmaf-psnr clearly has a range up to 60 whereas