Log in

View Full Version : automatic PSNR using avisynth


hellgauss
29th July 2003, 11:26
if it can be useful i have written a CLI tool for 'automatic' PSNR calculation using avisyth 2.5 (src is included).
The readme file is in Italian, however i have included a GUI that is very simple to use.

http://space.tin.it/io/jbgenov/PSNR.zip

The sintax is
psnr.exe source test logfile conv trimsource1 trimsource2 trimtest1 trimtest2

source=source file (.avs o .avi)
test=test file (.avs or .avi)
logfile= avisynth log file
conv=conversion type: it is 2 character code that indicates the source and the test conversion: '0'= no conversin, 'r'=converttoRGB, 'y'=converttoyuy2 (suggested is 'y')
trim= trims value for avisynth (to avoid b-frame problem in xvid set trimtest1 to 1)

If resolution are different then test is lanczos-resized to source resolution.

example of a .bat file:

psnr d:\video\film.avs testquantizer3.avi psnrlog.txt yy 0 0 1 0
pause

any suggestion or comments?

thanks
HG