linyx
9th February 2010, 00:57
As you know, Blu-Ray is good looking, but generally not 1080p good:). So, I've been using a script like this to "compare" the quality at 1080p and 720p before encoding, but I would like to ask those that are smarter than me at this stuff and see if there is something better I could be doing.:p
#Source
Spline36Resize(1920,1080) #make sure that it is 1080x1920, should I leave it "as is"?
Source = SelectRangeEvery(2400,10) #Select 10 frames every 100 seconds or 1 minute 40 seconds.
Second = Source.Spline36Resize(1280,720).Spline36Resize(1920,1080) #Resize it down to 720p and back up again. Using Spline36Resize since it is generally considered "neutral"
SSIM(Source,Second,"results.csv","averageSSIM.txt",lumimask=false) #create a log to compare them via SSIM, generally lower values mean higher quality ( < 0.99 is great, < 0.995 is alright, > 0.995 is bad)
Would cropping beforehand produce a more accurate result? Would PSNR be a better way to accurately compare them?
Anything else you want to suggest?
Thanks a ton in advance!!!
#Source
Spline36Resize(1920,1080) #make sure that it is 1080x1920, should I leave it "as is"?
Source = SelectRangeEvery(2400,10) #Select 10 frames every 100 seconds or 1 minute 40 seconds.
Second = Source.Spline36Resize(1280,720).Spline36Resize(1920,1080) #Resize it down to 720p and back up again. Using Spline36Resize since it is generally considered "neutral"
SSIM(Source,Second,"results.csv","averageSSIM.txt",lumimask=false) #create a log to compare them via SSIM, generally lower values mean higher quality ( < 0.99 is great, < 0.995 is alright, > 0.995 is bad)
Would cropping beforehand produce a more accurate result? Would PSNR be a better way to accurately compare them?
Anything else you want to suggest?
Thanks a ton in advance!!!