digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Need LanczosResize and AddBorders plugins (http://www.digitalfaq.com/archives/avisynth/14230-avisynth-lanczosresize-addborders.html)

Lost Soul 04-27-2006 08:18 PM

Avisynth: Need LanczosResize and AddBorders plugins
 
hi ive been trying to search for these 2 filters ,, im just learning how to use avisynth scripts

ive tried avisynths web site and i cant find these last 2 filters

i need
LanczosResize

and i also need
addborders === on this one all i seem to find is information but no where to down load

can anybody give me a link to a proper location of these 2 filters ?

thanks you,,

mods if this is posted in the wrong section im sorry,

kwag 04-27-2006 09:34 PM

Hi Lost Soul,

Those are "functions". Not filters :)
And they are already built in AviSynth ;)

-kwag

Lost Soul 04-27-2006 10:04 PM

Quote:

Originally Posted by kwag
Hi Lost Soul,

Those are "functions". Not filters :)
And they are already built in AviSynth ;)

-kwag


thanks alot for pointing that out to me kwag,, god i feel kinda bad now for asking that question lol... ahh well time to go to avisynth school now :)

btw while im typing this thread can you help me out with some bits and pieces,,

ive read a thread that a man converted 3 matrixs movies to 1 dvd,, to me that was impressive,, well any ways i know he used tmpgenc with avs to accomplish this,,

i was looking at his script that he used and it was this

Removegrain(mode=2)
STMedianfilter(3,3,1,1)

LanczosResize(672,544,8,4,704,568)

DCTFilter(1,1,1,1,1,1,0.5,0)

AddBorders(16,16,16,16)

i know this saves as a avs file,, but my question is this,, well let me say questions,,

is this all of a script or just part ? and also how does this know what movie to encode ?

and lastly can you show me an example of this script in its entirety/ full script,, so that i can use this for my test and educational purposes,,

thanks again

Lost Soul 04-27-2006 10:53 PM

ok ive wrote the script like this

AviSource("c:\test.avi")

Removegrain(mode=2)
STMedianfilter(3,3,1,1)

LanczosResize(704,568)

DCTFilter(1,1,1,1,1,1,0.5,0)

AddBorders(16,16,16,16)

ive ran this in tmpgenc but when it starts i get this error

the sampling rate is not permitted with selected mpeg 2 level
> sampling rate with*height*framerate


what am i doing wrong ?

im using the full standard kdvd template in conjunction with this

pls point this newbie in the right direction


thanks again

Dialhot 04-28-2006 03:32 AM

Quote:

Originally Posted by Lost Soul
thanks alot for pointing that out to me kwag,, god i feel kinda bad now for asking that question lol... ahh well time to go to avisynth school now :)

When you install avisynth, it comes with a complete HTML documentation. You will find in the "doc" folder, under the directory where you have installed avisynth ("C:\Program Files\Avisynth" by default).

Quote:

is this all of a script or just part ? and also how does this know what movie to encode ?
The script just missed the very first line to load the source.

Quote:

and lastly can you show me an example of this script in its entirety/ full script,, so that i can use this for my test and educational purposes,,
Find them in the "Optimal script" section of the forum, in the sticky posts.
Or if your source is a capture, then in the "Avi to KVCD" section.

Dialhot 04-28-2006 03:37 AM

Quote:

Originally Posted by Lost Soul
pls point this newbie in the right direction

First : do not use avi as source, especially as long as you do not master all the parameters :). Do your first step using DVD as source !

Second : I never read your error in tmpgenc but it sounds like a a parameter changed wrongly after having loaded the template. Load the template again, then the avs script and do not change anything else.

Third: the resizing parameters you used will probably completly screw up the aspect ratio of your source but let consider that you are just learning the script basis and not doing a real encoding.


All times are GMT -5. The time now is 07:59 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.