digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Is AviSynth 2.5 faster? (http://www.digitalfaq.com/archives/avisynth/2896-avisynth-avisynth-25-a.html)

J-Wo 03-24-2003 11:02 PM

How about NoMoSmooth? I noticed that Kwag is using it now for his latest scripts incorporating mergechroma and mergeluma.

Update:
Okay guys, so I tried to make the switch to 2.5 but man I am so confused! It's just a real headache trying to figure out which filters are legacy and which are not. And I really don't know what's wrong but when I load my AVS file in TMPGenc it says the resolution is 864x54 even though I have a GripCrop(480x480) statement. Here's the script I'm using right now, can anyone help me with it?
Code:

LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\GripFit_preview.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\DustV5.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\nomosmooth.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\fluxsmooth-25.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\dctfilter.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\Convolution3DYV12.dll")


AudioDub(mpeg2source("cd1.d2v"),wavsource("cd1 MPA T01 DELAY -94ms.wav")).trim(523,79936) + AudioDub(mpeg2source("cd2.d2v"),wavsource("cd2 MPA T01 DELAY -80ms.wav")).trim(8,83327)
Limiter()

GripCrop(480, 480, overscan=2, source_anamorphic=false)
GripSize(resizer="lanczosresize")

mergechroma(blur(1.58))
mergeluma(blur(0.2))
converttoyuy2()
FaeryDust()
FluxSmooth(7,7)
NoMoSmooth(40,1,6,1,3,false)
Convolution3d(preset="movieHQ")
BlockBuster(method="noise", variance=0.9, seed=1)
DctFilter(1,1,1,1,1,1,.5,0)

GripBorders()
Limiter()


fabrice 03-25-2003 12:47 AM

Hi J-Wo,

It gives you this resolution because there is an error in your script: watch it with the tmpgenc's preview pane, and you'll have the error!

Salu2.

J-Wo 03-25-2003 12:53 AM

Ya I know there is an error in my script, that was pretty obvious. So do you know what's wrong? What should I fix?

fabrice 03-25-2003 01:30 AM

Hi,

I think you have to add a
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\blockbuster.dll
line... But I insist: avisynth displays the error as output video stream!, so you can see yourself what is the error (or it changes since the 2.07?!)

Salu2.

Boulder 03-25-2003 04:06 AM

Open the script in VirtualDub and it will tell you what the problem is.

Abond 03-25-2003 06:54 AM

You should add at the end of your script
ConvertToRGB24()

J-Wo 03-25-2003 08:56 AM

Quote:

Originally Posted by fabrice
I think you have to add a LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\blockbuster.dll line...

Oops you are right, I did forget that

Quote:

Originally Posted by fabrice
But I insist: avisynth displays the error as output video stream!, so you can see yourself what is the error (or it changes since the 2.07?!)

I know what you're talking about but no I don't see that! Because the resolution is only like 54pixels high, I just see a very thin black rectangle with no error message.

Quote:

Originally Posted by Boulder
Open the script in VirtualDub and it will tell you what the problem is.

Whenever I do that VirtualDub just crashes and exits! I tried both VirtualDub and VirtualDubMod (I tried both open video file and open via avisynth). I also tried uninstalling 2.08 and reinstalling 2.5, no dice.

Quote:

Originally Posted by Abond
You should add at the end of your script
ConvertToRGB24()

I wasn't exactly sure where "at the end" to put it, I tried both before Gripborders() and after the last Limiter() but I saw no change to my problems.

Any other ideas on what the hell I'm doing wrong??? :? 8O :?: :?:

Boulder 03-25-2003 10:48 AM

Hopefully sh0dan will come up with something. We've just about gone through every possible cause here :evil:

Edit: Have you tried the script without dubbing the audio in it? You could also try commenting out the filters and then adding them one by one and see which one blows the script up in VDub.

sh0dan 03-25-2003 11:56 AM

DustV5 isn't a 2.5 plugin IIRC. Try commenting out the filter, and the loadplugin. Is "nomosmooth" a 2.5 plugin?

J-Wo 03-26-2003 08:42 AM

Oh...my...GOD. I've never done so much debugging in my life, I feel almost like a computer programmer :D . Okay so I commented out every single line and then uncommented them one..by..one. May I point out that 2.5 does NOT show you error messages in the preview screen??? How annoying!

So firstly, I figured out I had mispelled the fluxsmooth plugin in the LoadPlugin line. Then I figured out the only filters giving me problems in my script were Convolution3D and Blockbuster. Both of these plugins were 2.5 versions, so I figured out I needed a ConvertToYV12() line before them. Well it turns out that worked for Convolution3D but not for Blockbuster! I have the latest v0.7, but I tried downgrading to 0.6 and 0.5 (all 2.5 versions) with no luck. I then decided to load the non-2.5 Blockbuster, but that meant I needed a ConvertToYUY2() line before Blockbuster, but it worked!!! By that I mean I can preview the movie through Tmpgenc without errors.

Anyway here's my script, could you guys take a look at it and see if it's all good? I feel like I have to add a LOT of ConvertTo lines and I wonder if that would negate any speed advantages of using 2.5. I would rearrange the order of my filter use but I'm pretty sure they're being used in this order for a reason.
Code:

LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\GripFit_preview.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\DustV5.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\nomosmooth.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\FluxSmooth-2.5.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\dctfilter.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\Convolution3DYV12.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\Blockbuster.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\LoadPluginEx.dll")

AudioDub(mpeg2source("cd1.d2v"),wavsource("cd1 MPA T01 DELAY -94ms.wav")).trim(523,79936) + AudioDub(mpeg2source("cd2.d2v"),wavsource("cd2 MPA T01 DELAY -80ms.wav")).trim(8,83327)
Limiter()

converttoyuy2()
GripCrop(480, 480, overscan=2, source_anamorphic=false)
GripSize(resizer="lanczosresize")

mergechroma(blur(1.58))
mergeluma(blur(0.2))
PixieDust()
FluxSmooth(7,7)
NoMoSmooth(40,1,6,1,3,false)

ConvertToYV12()
Convolution3d(preset="movieHQ")

converttoyuy2()
BlockBuster(method="noise", variance=0.9, seed=1)
DctFilter(1,1,1,1,1,1,.5,0)

GripBorders()
Limiter()

ConvertToRGB24()


digitalize 03-26-2003 10:39 AM

You should not need the Blockbuster filter if you are using the DCTFilter, they basically do the same thing, get rid of DCT blocks.

Boulder 03-26-2003 11:00 AM

No, they are not the same thing :idea:

If you want to get rid of DCT blocks, use Blockbuster but I'm not that sure if it does any good at that resolution.

kwag 03-26-2003 12:52 PM

With the current KVCD "Notch" matrix, there's hardly any need to use Blockbuster(noise) anymore :wink:

-kwag


All times are GMT -5. The time now is 05:57 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.