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. |
9th September 2015, 17:23 | #1 | Link |
Registered User
Join Date: Jan 2012
Posts: 46
|
Avisynth+
Hi,
I'd like to translate this Avisynth script to Avisynth+ Code:
SetMemoryMax(512) SetMTMode(3,8) ffdshow_source() SetMTMode(2) dispWidth = 1920 dispHeight = 1080 mWidth = float(last.width) mHeight = float(last.height) ratio = (mWidth/mHeight) newHeight= round((dispWidth/ratio)/2)*2 newHeight > dispHeight ? Eval(""" newHeight=dispHeight newWidth=round((newHeight*ratio)/2)*2 """) : Eval(""" newWidth=dispWidth """) spline64resize(newWidth,newHeight) SetMTMode(1) GetMTMode(false) > 0 ? distributor() : las |
9th September 2015, 17:59 | #3 | Link |
Registered User
Join Date: Jan 2012
Posts: 46
|
Script error: There is no function named 'SetMTMode' (ffdshow_filter_avisynth_script, line 7)
and Script error: There is no function named 'SetFilterMTMode' (ffdshow_filter_avisynth_script, line 7) my modded script is Code:
SetMemoryMax(512) SetFilterMTMode(3) ffdshow_source() Prefetch(8) SetFilterMTMode(2) dispWidth = 1920 dispHeight = 1080 mWidth = float(last.width) mHeight = float(last.height) ratio = (mWidth/mHeight) newHeight= round((dispWidth/ratio)/2)*2 newHeight > dispHeight ? Eval(""" newHeight=dispHeight newWidth=round((newHeight*ratio)/2)*2 """) : Eval(""" newWidth=dispWidth """) spline64resize(newWidth,newHeight) Prefetch(8) SetFilterMTMode(1) GetMTMode(false) > 0 ? distributor() : las Prefetch(8) I hope Avisynth+ uses less cpu than Avisynth MT Last edited by vinnytx; 9th September 2015 at 18:02. |
9th September 2015, 18:33 | #6 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
AVS+ r1576 does not support MT. You'll have to upgrade to a more recent version. However, AVS+ MT is not very stable, it might be rather frustrating to get this to work and you're probably better off staying with SEt's MT for the time being.
Again, with your particular script I don't think MT is necessary ... but whatever floats your boat. |
9th September 2015, 20:55 | #9 | Link |
Registered User
Join Date: Jan 2012
Posts: 46
|
Thank you all,
i tested r1779 and I can't hear audio on Zoom Player but in PotPlayer it is ok, on the contrary my cpu was able to load SuperResolution plugin. With AviSynth+ r1825 I have the same problem with Zoom Player and a crash with PotPlayer |
Thread Tools | Search this Thread |
Display Modes | |
|
|