Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th September 2023, 15:55   #1  |  Link
Vincent Vega
Registered User
 
Join Date: Feb 2004
Location: the tiny bubble of Creation
Posts: 189
getting ssim and psnr from ffmpeg with NV hw decoder/encoder

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)

Last edited by Vincent Vega; 29th September 2023 at 16:37.
Vincent Vega is offline   Reply With Quote
Old 4th October 2023, 19:00   #2  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,819
Quote:
Originally Posted by Vincent Vega View Post
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.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:07.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.