View Full Version : stabilization questions
BabaG
29th October 2022, 20:15
i just tried videofred's stabilization script linked here:
https://forum.doom9.org/showthread.php?t=175669
i copied the dlls, loaded my test source file and got an error that, at line 356, there is "no function named 'histogramRGBLevels'. not sure what to do about that but thought that, while asking, i should maybe also ask if there's something more recent and/or better that i should be using. is there?
thanks,
babag
Reel.Deel
29th October 2022, 20:29
The 'histogramRGBLevels' script is not included in the package, copy it from here: https://forum.doom9.org/showthread.php?p=1570968#post1570968
Also, you should not use those plugins (they're outdated), get the latest MVTools/Depan from here: https://github.com/pinterf/mvtools/releases and FFMS2 from here: https://github.com/FFMS/ffms2/releases
BabaG
29th October 2022, 21:02
thanks! will try that.
BabaG
29th October 2022, 21:34
still getting same error. turns out i had the newer dlls. using those now. also noticed that there is a discrepancy between HistogramsRGBLevels and histogramsRGBLevels. the fred script seems to use uncapitalized and the script you linked to uses capitalized. changing it doesn't seem to eliminate the error, though.
error pops up referring to 'line 356' in the script, which is this:
histofast2 = sourcefastdetect2.eval(histype).crop(width(sourcefastdetect2),0,-0,-(height(sourcefastdetect2)-220)).reduceby2()
also tried changing all of the references to HistogramCMYLevels and HistogramParade to uncapitalized to no affect.
StainlessS
29th October 2022, 23:19
Capitalization makes no difference in Avs script.
You need put eg "HistogramsRGBLevels.avsi" in your plugins directory, OR,
Import("WhateverDirectory\HistogramsRGBLevels.avsi") at beginning of your script.
Although, the line you post (356) dont mention HistogramsRGBLevels() so I've really no idea what you mean. (above just guesswork)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.