Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
29th December 2010, 21:12 | #1 | Link |
Registered User
Join Date: Jul 2010
Posts: 11
|
Need help with LSharpAAF
I'm trying to use LSharpAAF 1.2 to deinterlace a 1080p clip and then resize it to 720p.
Everything goes fine except when trying to use the LSharpAAF it gives me this error: This is the avs script if it helps at all: Code:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\UnFilter.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\SangNom.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RepairSSE3.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrainSSE3.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\nnedi2.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\nnedi.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mvtools.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mt_masktools-26.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\EEDI2.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\aWarpSharp2.dll") LoadPlugin("F:\Working_x264\avs_plugin\avss.dll") LoadPlugin("F:\Working_x264\avs_plugin\nnedi3.dll") DSS2("M:\Touhou Meikai Kenshi Yoyomu 4.mp4") ConvertToYV12() LSharpAAF(StrDrk=18, ShPre=100, ShPost=280, SmPost=80, aatype="nnedi3") BlackmanResize(1280,720) Thank you. |
29th December 2010, 21:39 | #2 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
Also, you don't need LoadPlugin for things in "C:\Program Files\AviSynth 2.5\plugins" - they are automatically loaded by Avisynth. Last edited by Gavino; 29th December 2010 at 21:41. |
|
29th December 2010, 21:44 | #3 | Link |
Registered User
Join Date: Jul 2010
Posts: 11
|
I wonder why it wasn't in the LSharpAAF_v1.2+Requirements.rar then.
Now it gives a different error though, this one in particular: Could someone check if anything else essential is missing from that "LSharpAAF_v1.2+Requirements.rar", I'm obviously not that good with these things. |
29th December 2010, 22:43 | #4 | Link |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
I've never used LSharpAAF, but from a quick look at the source, it appears you need three different versions of mvtools.
(Was it really necessary to do it this way?) mvtools mvtools2 josie_wells' multi-threaded version (search the forums if you don't have this) |
29th December 2010, 22:44 | #5 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
Ah ... on a closer look, the MVTools part of that script is chaotic.
Lines 72 to 80: Code:
mbv1 = a.MVAnalyse(isb=true, delta=1,idx=_idx) mbv2 = a.MVAnalyse(isb=true, delta=2,idx=_idx) mfv2 = a.MVAnalyse(isb=false,delta=2,idx=_idx) mfv1 = a.MVAnalyse(isb=false,delta=1,idx=_idx) allv = a.MVAnalyseMulti(refframes=tradius,idx=_idx) sDD = (MT) ? sD.MVDegrainMulti(allv,idx=14) : sD.MVDegrain2(mbv1,mfv1,mbv2,mfv2,idx=14) sDD2 = tradius==1 ? sDD.MDegrain1(sDsuper,bv1,fv1,thSAD=_thSAD) : tradius==2 ? sDD.MDegrain2(sDsuper,bv1,fv1,bv2,fv2,thSAD=_thSAD) \ : sDD.MDegrain3(sDsuper,bv1,fv1,bv2,fv2,bv3,fv3,thSAD=_thSAD) Shades of blue: The script either uses MVToolsMulti AND MVTools-v2, or MVTools-v1 AND MVTools-v2. Better don't get into arguing what of the script makes sense, and what not. Quick way to get running: Kicking out MVToolsMulti when it's not used: Code:
mbv1 = a.MVAnalyse(isb=true, delta=1,idx=_idx) mbv2 = a.MVAnalyse(isb=true, delta=2,idx=_idx) mfv2 = a.MVAnalyse(isb=false,delta=2,idx=_idx) mfv1 = a.MVAnalyse(isb=false,delta=1,idx=_idx) allv = (MT==false) ? a : a.MVAnalyseMulti(refframes=tradius,idx=_idx) sDD = (MT) ? sD.MVDegrainMulti(allv,idx=14) : sD.MVDegrain2(mbv1,mfv1,mbv2,mfv2,idx=14) sDD2 = tradius==1 ? sDD.MDegrain1(sDsuper,bv1,fv1,thSAD=_thSAD) : tradius==2 ? sDD.MDegrain2(sDsuper,bv1,fv1,bv2,fv2,thSAD=_thSAD) \ : sDD.MDegrain3(sDsuper,bv1,fv1,bv2,fv2,bv3,fv3,thSAD=_thSAD)
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
|
|