darkslayer00
6th May 2014, 05:24
i have this problem, i have my script and load well, i prove with virtual dub mod as well, everything go well, but when i trie to compress with megui, the process go until a error appears "malloc of size 5685696 failed" a check every script line and find it, sangnom causes the problem, is antialiasing filter and i need it for my video, someone can tell how to fix the problem o tell me about another antialiasing filter tested in megui? :confused:
Reel.Deel
6th May 2014, 16:06
Give SangNom2 (http://forum.doom9.org/showthread.php?t=168315) a try. I do not use MeGUI so I cannot confirm if it works but it should, unless MeGUI does not use AviSynth 2.6 Alpha5.
Regarding the original SangNom, there seems to be various versions floating around: sangnom_oldnewwhatever.zip (http://www.mediafire.com/download/4l78sluv4t1e5jy/sangnom_oldnewwhatever.zip)
Some are slower, some are faster, and some simply just do not work. Try and see which one works best for you.
For additional information, see this post:
http://forum.doom9.org/showthread.php?p=1608133#post1608133
foxyshadis
7th May 2014, 00:40
"malloc failed" means you ran out of memory. Could be a memory leak in Sangnom, could have something to do with the rest of your script. If you run it and watch task manager with the "Working set" column selected, you'll probably see an avisynth host climbing toward 2GB (or 4GB on x64) until it fails.
darkslayer00
9th May 2014, 11:38
i used sagnom2 and still fail, i change to TIsophote, and it goes faster, but it ifl too, i post my 2 script, if anyone can check it out, please...
With SangNom2:
--------------------------------------------------------------
LoadPlugin("C:\Program Files\MeGUI_2418_x86\tools\dgindex\DGDecode.dll")
LoadPlugin("C:\Program Files\MeGUI_2418_x86\tools\avisynth_plugin\TIVTC.dll")
LoadPlugin("C:\Users\NERO\Downloads\AvsPmod_v2.5.1\ssiq.dll")
LoadPlugin("C:\Users\NERO\Downloads\AvsPmod_v2.5.1\MSharpen.dll")
LoadPlugin("C:\Users\NERO\Downloads\AvsPmod_v2.5.1\frfun7.dll")
LoadPlugin("C:\Users\NERO\Downloads\AvsPmod_v2.5.1\aWarpSharp.dll")
LoadPlugin("C:\Users\NERO\Downloads\AvsPmod_v2.5.1\sangnom2.dll")
DGDecode_mpeg2source("C:\Users\NERO\Documents\DVDFab\vob\AMON - DEVILMAN\AMON - DEVILMAN.Title1.d2v", cpu=4)
tfm(order=1).tdecimate(mode=1,hybrid=1)
crop(4, 0, -4, 0)
Lanczos4Resize(1440,1072) # Lanczos4 (Sharp)
SSIQ(diameter=11, strength=300)
MSharpen(threshold=8, strength=224, mask=false, highq=true)
frfun7(lambda=2.8, T=10.0, Tuv=10.0)
aWarpSharp2(depth=8)
SangNom2(0,20)
Tweak(hue=0.0, sat=1.3, bright=0, cont=1.0, coring=True, sse=False, startHue=0, endHue=360, maxSat=150, minSat=0, interp=28)
ConvertToYV12()
--------------------------------------------------------------
With TIsophote
--------------------------------------------------------------
LoadPlugin("C:\Program Files\MeGUI_2418_x86\tools\dgindex\DGDecode.dll")
LoadPlugin("C:\Program Files\MeGUI_2418_x86\tools\avisynth_plugin\TIVTC.dll")
LoadPlugin("C:\Users\NERO\Downloads\AvsPmod_v2.5.1\ssiq.dll")
LoadPlugin("C:\Users\NERO\Downloads\AvsPmod_v2.5.1\MSharpen.dll")
LoadPlugin("C:\Users\NERO\Downloads\AvsPmod_v2.5.1\frfun7.dll")
LoadPlugin("C:\Users\NERO\Downloads\AvsPmod_v2.5.1\aWarpSharp.dll")
LoadPlugin("C:\Users\NERO\Downloads\AvsPmod_v2.5.1\TIsophote.dll")
DGDecode_mpeg2source("C:\Users\NERO\Documents\DVDFab\vob\AMON - DEVILMAN\AMON - DEVILMAN.Title1.d2v", cpu=4)
tfm(order=1).tdecimate(mode=1,hybrid=1)
crop(4, 0, -4, 0)
Lanczos4Resize(1440,1072) # Lanczos4 (Sharp)
SSIQ(diameter=11, strength=300)
MSharpen(threshold=8, strength=224, mask=false, highq=true)
frfun7(lambda=2.8, T=10.0, Tuv=10.0)
aWarpSharp2(depth=8)
TIsophote(iterations=4, tStep=0.3, type=2, chroma=false)
Tweak(hue=0.0, sat=1.3, bright=0, cont=1.0, coring=True, sse=False, startHue=0, endHue=360, maxSat=150, minSat=0, interp=28)
ConvertToYV12()
Reel.Deel
9th May 2014, 12:25
i used sagnom2 and still fail...
What version of Avisynth are you using and what was the error message?
Reel.Deel
9th May 2014, 13:26
As I said earlier, SangNom2 requires Avisynth 2.6 Alpha5. For 2.5.8 use version 0.2. (https://github.com/tp7/SangNom2/releases/tag/v0.2)
darkslayer00
9th May 2014, 22:03
hi, a think find a solution, i use al my script except the antialiasing part, I applied th antialiasing later, i think that function with the rest of the script use to much memory....
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.