View Full Version : getting ssim and psnr from ffmpeg with NV hw decoder/encoder
Vincent Vega
29th September 2023, 15:55
i'd like to transcode a video to h264 with NVidia card hardware, and get psnr and ssim metrics in output log, using ffmpeg. what would be the command line? it seems like a most basic task, but i just cant seem to find a way to make it work)
benwaggoner
4th October 2023, 19:00
i'd like to transcode a video to h264 with NVidia card hardware, and get psnr and ssim metrics in output log, using ffmpeg. what would be the command line? it seems like a most basic task, but i just cant seem to find a way to make it work)
You should be able to use "--psnr --ssim --csv-log-level 2 --csv foo.csv" in ffmpeg. That'll give you a line per frame listing several flavors of PSNR and SSIM for each.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.