Quantcast Avisynth: is Avisynth 2.5 Faster? - Page 2 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #21  
03-24-2003, 11:02 PM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
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()
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
03-25-2003, 12:47 AM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #23  
03-25-2003, 12:53 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #24  
03-25-2003, 01:30 AM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #25  
03-25-2003, 04:06 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Open the script in VirtualDub and it will tell you what the problem is.
Reply With Quote
  #26  
03-25-2003, 06:54 AM
Abond Abond is offline
Free Member
 
Join Date: Mar 2003
Posts: 243
Thanks: 0
Thanked 0 Times in 0 Posts
You should add at the end of your script
ConvertToRGB24()
Reply With Quote
  #27  
03-25-2003, 08:56 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
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???
Reply With Quote
  #28  
03-25-2003, 10:48 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Hopefully sh0dan will come up with something. We've just about gone through every possible cause here

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.
Reply With Quote
  #29  
03-25-2003, 11:56 AM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
DustV5 isn't a 2.5 plugin IIRC. Try commenting out the filter, and the loadplugin. Is "nomosmooth" a 2.5 plugin?
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #30  
03-26-2003, 08:42 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Oh...my...GOD. I've never done so much debugging in my life, I feel almost like a computer programmer . 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()
Reply With Quote
  #31  
03-26-2003, 10:39 AM
digitalize digitalize is offline
Free Member
 
Join Date: Dec 2002
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
You should not need the Blockbuster filter if you are using the DCTFilter, they basically do the same thing, get rid of DCT blocks.
Reply With Quote
  #32  
03-26-2003, 11:00 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
No, they are not the same thing

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.
Reply With Quote
  #33  
03-26-2003, 12:52 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
With the current KVCD "Notch" matrix, there's hardly any need to use Blockbuster(noise) anymore

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: AVIsynth quit wroking after install nero reload jzhao66 Avisynth Scripting 16 06-09-2005 08:53 AM
Avisynth: HQdn3d - mplayer filter ported to avisynth incredible Avisynth Scripting 1 10-25-2004 09:51 AM
Avisynth: Green pixelation artifacts on Xvid via Avisynth? rs008f Avisynth Scripting 10 03-23-2004 09:33 PM
Avisynth: Need clip filter & dust filters for avisynth nighthawk Avisynth Scripting 3 01-31-2004 12:24 PM
Avisynth: Tweaking for same compression and quality, but faster? CheronAph Avisynth Scripting 13 03-09-2003 11:56 AM




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