mysticado
9th March 2009, 15:35
Hey guys,
I was just wondering if there is an implemented plugin for the metrics described in the title? If yes, please share it with me.
Also I have one question about the SSIM plugin. Somehow it always gives me the error-message: "These clips don't have same length", despites that I trim them to the same size. Could it be the problem that I am using .mpg files? But first, please take a look on my code:
LoadPlugin("C:\Programme\AviSynth 2.5\plugins\MPEGdecoder.dll")
a=mpegsource("C:\Dokumente und Einstellungen\Ado\Desktop\Aktuell-Videos bis Mittwoch\farm0a.mpg").converttoyv12.trim(0,248)
b=mpegsource("C:\Dokumente und Einstellungen\Ado\Desktop\Aktuell-Videos bis Mittwoch\farm0b.mpg").converttoyv12.trim(0,248)
#Compare(a,b,"","compare.log")
ssim(a,b,"results.csv","averageSSIM.txt",lumimask=true)
Hope someone can help. Thanks!
I was just wondering if there is an implemented plugin for the metrics described in the title? If yes, please share it with me.
Also I have one question about the SSIM plugin. Somehow it always gives me the error-message: "These clips don't have same length", despites that I trim them to the same size. Could it be the problem that I am using .mpg files? But first, please take a look on my code:
LoadPlugin("C:\Programme\AviSynth 2.5\plugins\MPEGdecoder.dll")
a=mpegsource("C:\Dokumente und Einstellungen\Ado\Desktop\Aktuell-Videos bis Mittwoch\farm0a.mpg").converttoyv12.trim(0,248)
b=mpegsource("C:\Dokumente und Einstellungen\Ado\Desktop\Aktuell-Videos bis Mittwoch\farm0b.mpg").converttoyv12.trim(0,248)
#Compare(a,b,"","compare.log")
ssim(a,b,"results.csv","averageSSIM.txt",lumimask=true)
Hope someone can help. Thanks!