View Single Post
Old 10th January 2021, 22:30   #6  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by d3crypti0n View Post
How do I check the PSNR?
you can use ffmpeg

https://ffmpeg.org/ffmpeg-filters.html#psnr

eg
Code:
ffmpeg -i muxed.mkv -i original.mkv -lavfi  "[0:v]settb=AVTB,setpts=PTS-STARTPTS[main];[1:v]settb=AVTB,setpts=PTS-STARTPTS[ref];[main][ref]psnr" -f null -
If it's "infinity" then streams are the same. Anything else means different

The timecodes have to be the same, otherwise ffmpeg might be comparing different frames.
poisondeathray is offline   Reply With Quote