Quantcast Avisynth: Latest Script Compatible with 2.51? - digitalFAQ.com Forums [Archives]
  #1  
04-08-2003, 05:09 PM
Reno Reno is offline
Free Member
 
Join Date: Nov 2002
Location: Sunny California
Posts: 242
Thanks: 0
Thanked 0 Times in 0 Posts
What would need to happen to get the current script working in Avisynth 2.51?? Just curious...
__________________
"There are two rules for ultimate success in life.
1. Never tell everything you know."
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-08-2003, 05:22 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
The current script works fine with 2.51

-kwag
Reply With Quote
  #3  
04-08-2003, 07:07 PM
Reno Reno is offline
Free Member
 
Join Date: Nov 2002
Location: Sunny California
Posts: 242
Thanks: 0
Thanked 0 Times in 0 Posts
Uh oh,

I think I screwed something up. Check this out, Kwag.
-------------------------------------------------------------------------
LoadPlugin("C:\Program Files\MovieStacker\Filters\Mpeg2Dec.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\GripFit_preview.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Unfilter.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\LegalClip.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Sampler.dll")

AviSource("AviofTheDay.avi",false)
ConverttoYUY2
LegalClip()
GripCrop(528, 480, overscan=2, source_anamorphic=false)
GripSize(resizer="BicubicResize")
unfilter(50,50)
temporalsmoother(1,2)
mergechroma(blur(1.5)
mergeluma(blur(0.2))
GripBorders()
LegalClip()

Sampler(length=24)
------------------------------------------------------------------------------------
That's it. When I feed it to Avisynth 2.51, I get a black screen that encodes a whopping 240 frames. No error message, kinda bugs me.

I want to add DCTfilter and play with it like BCHTeam! Help!

Thanks in advance, man.

Steve
__________________
"There are two rules for ultimate success in life.
1. Never tell everything you know."
Reply With Quote
  #4  
04-08-2003, 11:33 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
Reno I have the same problems as you. Whenever you get a strange black screen that is very short in length that means there is an error somewhere in your script. For some reason 2.51 does not display an error message during the encode or in the preview screen like 2.0x does! I found that I needed to insert a ConvertToYUY2() command before the first "legacy" 2.0x filter, namely the GripCrop line. But could someone please confirm if this is the correct step to take??? Pleeeease there must be some real 2.51 experts out there. I've been begging for some assistance in other posts and forums but there has been so little response (thanks Boulder, haven't forgotten about you!)
Reply With Quote
  #5  
04-09-2003, 12:13 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
Some notes:

You're getting an error message because your plugins are not AVS2.5 compatible.

LegalClip is not needed with AVS2.5, it's built-in as Limiter().

I don't know if GripFit is AVS2.5 compatible, but I don't think so. This means that you'll have to crop and add borders manually just like it was not-so-long-ago. Use FitCD, it will help you.

You'll have to use MPEG2DEC3 by MarcFD instead of dividee's MPEG2DEC. This means that you won't have TemporalSmoother as it's not included in MPEG2DEC3.

UnFilter and Sampler are both available for AVS2.5, they can probably be found in the same package as the 2.0x version.

You can check the error message by trying to load the script in VirtualDub.

EDIT: if you just want to use DCTFilter, there's a version for AVS2.0x too. SansGrip made it a while ago. You'll find it at the doom9 forum and I'm sure there's a link to it somewhere on this forum too.
Reply With Quote
  #6  
04-09-2003, 12:21 AM
Reno Reno is offline
Free Member
 
Join Date: Nov 2002
Location: Sunny California
Posts: 242
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, Boulder. I'll hunt that down.
__________________
"There are two rules for ultimate success in life.
1. Never tell everything you know."
Reply With Quote
  #7  
04-09-2003, 12:29 AM
Reno Reno is offline
Free Member
 
Join Date: Nov 2002
Location: Sunny California
Posts: 242
Thanks: 0
Thanked 0 Times in 0 Posts
Dangit, I can't find it!!

Sansgrip, where are ya, bud!?
__________________
"There are two rules for ultimate success in life.
1. Never tell everything you know."
Reply With Quote
  #8  
04-09-2003, 12:52 AM
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
I don't know about you guys, but I have to take back everything I said about AviSynth 2.51
I've had nothing but problems, not to mention that I can't use GripX series in my scripts. I've reverted to 2.08, as I've had virtual memory exausted on my machine ( 512MB RAM ) running TMPEG with 2.5. I don't know if the problem is the mpeg2dec.dll, the unfilter.dll, or what. But for the last 2 days, my machine has been resetting itself, and today I hit ctrl+alt+delete to run the windows task manager, and I saw TMPEG using ~470MB of memory , Something very wicked is going on. I just switched back to AviSynth 2.08, and I'm currently encoding again something I've been trying to encode for the last ~24 hours. Right now, TMPEG is using only ~120MB of RAM, which is normal. sh0dan, if you are reading this, I think there's a memory leak somewhere. I can't pinpoint where it is, but it's definitively there Not necesarily in the AviSynth API, and maybe in one of the filters. My script included: mpeg2dec.dll (for avisynth 2.5) unfilter, limiter, mergechroma/luma, temporalsmoother. That's it!

-kwag
Reply With Quote
  #9  
04-09-2003, 01:10 AM
Reno Reno is offline
Free Member
 
Join Date: Nov 2002
Location: Sunny California
Posts: 242
Thanks: 0
Thanked 0 Times in 0 Posts
Bad medicine, man. Glad I ditched it.
__________________
"There are two rules for ultimate success in life.
1. Never tell everything you know."
Reply With Quote
  #10  
04-09-2003, 07:50 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
Here's the link to the AVS2.0x version of DCTFilter:

http://forum.doom9.org/showthread.ph...2&pagenumber=3

@kwag: I've noticed the memory thingie once, it was on one specific XviD clip. Somewhere around the middle of the movie the memory consumption just jumped skyhigh and started consuming the pagefile as well. Finally, after a couple of tries and after removing some filter (unfortunately I don't remember what) everything went smoothly. I strongly suspect that it's related to some filter instead of the core itself. XviD clips have proven to be a pain in the a** sometimes but that's what you get when it's still at heavy development stage.
Reply With Quote
  #11  
04-09-2003, 08:56 AM
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
Quote:
Originally Posted by Boulder
but that's what you get when it's still at heavy development stage.
I know
Anyway, I encoded the complete movie last night, after switching back to 2.08. I even used the same .avs script, with the same filters but using unfilter and mpeg2dec versions for avisynth 2.0x. So I'm sticking with 2.08 until the 2.5x branch reaches a stable release

-kwag
Reply With Quote
  #12  
04-09-2003, 11:45 AM
digitalize digitalize is offline
Free Member
 
Join Date: Dec 2002
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
I do not have any memory issues using the MPEG2DEC3.DLL by MarcFD with 2.51. I do not use MPEG2DEC.DLL. MPEG2DEC3.dll is optimized for Pentium 4.
http://ziquash.chez.tiscali.fr/

Here is another one I have not had issues with:
Mpegdecoder (by Nic): This DLL lets you load VOB/MPEG-2/MPEG-1 files to be loaded directly into Avisynth.
http://nic.dnsalias.com/MPEGDecoder.html
Reply With Quote
  #13  
04-09-2003, 12:03 PM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
I wouldn't recommend using MPEGDecoder unless you really know what you're doing. It's been connected to some a/v sync problems and seeking doesn't work properly IIRC.
Reply With Quote
  #14  
04-12-2003, 07:45 AM
Latexxx Latexxx is offline
Free Member
 
Join Date: Jun 2002
Location: Tampere, Finland
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
I hacked a little several months ago and I made a avisynth 2.5 cersion of gripfit (changed one line of code). It worked correctly using virtualdub, but not with tmpgenc, but back then I had also several other problems with tmpgenc and avisynth so test it. http://www.nic.fi/~lhahne/GripFit_YV12.zip
Reply With Quote
  #15  
06-09-2003, 05:55 PM
Fiz Fiz is offline
Free Member
 
Join Date: Jan 2003
Location: London, UK
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Latexxx,

Thanks for this man, I have tested it with a few dvd's and it works fine with Avisynth 2.52. I have incorporated it in Kwags latest super script and it works well Unless there was a reason not to use gripfit for Avisynth 2.5x (maybe I missed something), it sure would be useful in the optimal scripts again!
__________________
Fizzy Wizzy Lets get Bizzy!
Reply With Quote
  #16  
07-11-2003, 06:26 AM
miksmith miksmith is offline
Free Member
 
Join Date: Nov 2002
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
I had problems with TMPEGEnc hanging when loading an avs. It would appear that the calling a grip function from 20x or 25x with the particular AVI I have hangs it. Has anyone else had any problems??
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: Latest dvd2vscd script... TheDJ Avisynth Scripting 8 07-23-2003 02:30 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 06:02 PM  —  vBulletin Jelsoft Enterprises Ltd