Quantcast Avisynth: Latest Script Using Avisynth 2.51 - digitalFAQ.com Forums [Archives]
  #1  
04-07-2003, 02:07 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
Hey guys, I wanted to give Avisynth 2.51 a try so here's my attempt at Kwag's latest script (for VHS and TV captures). I'm a real novice when it comes to 2.5 so I'm really not certain if I'm using all the right syntax. For example, I'm really not certain if I'm using the commands ConvertToYUY2() and ConvertToYV12() correctly. The way I have it, the encode could be possibly slower than with 2.08. But who knows.
Code:
#==============================================#
# -= AviSynth script by MovieStacker v1.1.1 =- #
#==============================================#

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\LoadPluginEx.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\UnFilter.dll")

AviSource("E:\Movies\Farscape\Farscape - 3x06 - Eat Me.avi")
Limiter()

ConvertToYUY2()
GripCrop(352, 480, source_anamorphic=false)
GripSize(resizer="BicubicResize")
FaeryDust()

ConvertToYV12()
unfilter(50,50)
mergechroma(blur(1.58))
mergeluma(blur(0.2)) 

ConvertToYUY2()
GripBorders()
LetterBox(16, 16, 16, 16)
Limiter()

ConvertToRGB24()
Does anyone know if the GripCrop lines could be replaced by just Crop(), which is an internal 2.51 command? I also tried to use ConvertBackToYUY2() before the last GripBorders() line but that didn't seem to work.

Let me know what you guys think!
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
  #2  
04-07-2003, 05:32 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
Several colorspace conversion will give you a quality hit, that's for sure. Speed will also suffer.

I'm not sure if there's any need to do the colorspace conversions, I use AVS2.51 and don't have to convert my YUY2 captures in the script. Try to remove them and see if it works.

I'm also wondering, why are you using Letterbox?
Reply With Quote
  #3  
04-07-2003, 09:43 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 Boulder
I'm not sure if there's any need to do the colorspace conversions, I use AVS2.51 and don't have to convert my YUY2 captures in the script. Try to remove them and see if it works.
Well I tried commenting them out and it doesn't seem to work. I check this by doing Preview in Tmpgenc. The annoying thing with 2.51 is that it doesn't display any error messages when you've done something wrong, all it does is doesn't preview your movie correctly. It seems the only line I need is ConvertToYUY2() before GripCrop. I was also told I need the ConvertToRGB24() at the end of my script. The reason I put in ConvertToYV12() in the middle is because Unfilter and Mergeluma/chroma are 2.51 plugins
Quote:
I'm also wondering, why are you using Letterbox?
Only because Kwag mentioned he's using Overlap in his GripCrop command and not Overscan=2. When I make my scripts in MovieStacker and click Overlap, it automatically adds the Letterbox lines. I really don't know if there's a big difference, I just do what others say to!
Reply With Quote
  #4  
04-07-2003, 10:19 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
Okay so I just burned the resulting mpg I made and realized that the colours were all messed up! Reds become blues and blues become red... What am I doing wrong? If I comment out all convert lines except for the first ConvertToYUY2(), that seems to be where the problem originates.
Reply With Quote
  #5  
04-07-2003, 11:21 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
Swapped UV channels? Put SwapUV() in your script and it should be OK.

AVS2.5 does work in YUY2 too, it just added the support for YV12
Reply With Quote
  #6  
04-08-2003, 08:56 AM
KingTuk KingTuk is offline
Free Member
 
Join Date: Nov 2002
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
I've been waiting for some people to post results about Avisynth 2.5 and how stable it is...

Last time I used it (quite some time ago) I had all kinds of problems since I don't even think it was at an Alpha stage in development yet...

I am curious about these settings with one of the optimal scripts...

Soft filtering:
Temporalsoften(2,3,3,mode=2,scenechange=6)

Medium filtering:
Temporalsoften(3,5,5,mode=2,scenechange=10)

Heavy filtering:
Temporalsoften(4,8,8,mode=2,scenechange=10)
Reply With Quote
  #7  
04-08-2003, 11:46 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
IMO version 2.5 is at least as stable as 2.0x. Besides, I think that 2.0x will only have bugfixes (if needed) from now on and 2.5x will be the main project.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Is it me or is the latest MA script slow? audi2honda Avisynth Scripting 1 12-08-2003 04:27 AM
Avisynth: Possible Addition To Latest Script For 2.5 Dano Avisynth Scripting 13 06-18-2003 04:49 PM
Avisynth: Latest script discussion kwag Avisynth Scripting 290 05-04-2003 06:46 PM
Avisynth: Latest vhs script? Paul0889 Avisynth Scripting 1 04-18-2003 09:31 PM
Avisynth: Latest KVCD script please! syk2c11 Avisynth Scripting 1 04-02-2003 10:03 AM

Thread Tools



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