Log in

View Full Version : Resize in Avisynth 2.5??


Bluedan
13th January 2003, 20:46
Forgive me if I was too dumb to find something via search button or reading the FAQ here and at avisynth.org.

I'm new to Avisynth v2.5(alpha)and had difficulties to use other resize methods in my script now than Bicubic or Bilinear, both of which are implemented, while the likes of Lanczos~ and SimpleResize must be loaded as external plug-in.

But as Shodan wrote here (http://cultact-server.novi.dk/kpo/avisynth/avisynth_alpha.html) under "Filters that work with YV12:" ALL resize filters should work in YV12 and I cannot remember a thread announcing that someone has finally ported Lanczos to YV12 colorspace. I was little confused yesterday.
The script?

LoadPlugin("C:\Programme\MultiMedia\VIDEO\Editor\Avisynth2.5_filter\MPEG2Dec3_v0.94\mpeg2dec3.dll")
LoadPlugin("C:\Programme\MultiMedia\VIDEO\Editor\Avisynth2.5_filter\decomb4.06b5\decomb.dll")
LoadPlugin("C:\PROGRA~1\MULTIM~1\VIDEO\Editor\GORDIA~1\lanczos3.dll")
LoadPlugin("C:\Programme\MultiMedia\VIDEO\Editor\Avisynth2.5_filter\convolution3d-yv12\Convolution3dYV12.dll")
#
mpeg2source("D:\VIDEO_TS\Indien\Indien.d2v",cpu=2,iPP=true)
Fielddeinterlace()
crop(18,71,694,437)
Convolution3d(0, 0, 0, 3, 4, 2.6, 0)
Lanczos3Resize(640,368)

The Edge
13th January 2003, 21:12
As far as I was aware, LanczosResize is intergrated into AviSynth.
No need to load it. Not sure about the YV12 question.
I could be wrong :rolleyes:

Edge

Assault
13th January 2003, 21:50
The Edge is right. LanczosResize is intergrated into avisynth. As far as I now it works in both YV12 and YUY2 colorspace. Just use LanczosResize(640,368)instead of Lanczos3Resize(640,368)in your script.
Simple resize isn't integrated into avisynth and the plugin for avisynth 2.07 doesn't work with avisynth 2.5. You can't use it at the moment.

Regards
Assault

Bluedan
13th January 2003, 21:54
Maybe this should be pointed out in the FAQ.Wilbert, Shodan?
How could I know that it has been implemented??

Thanks for your quick help!

Selur
13th January 2003, 21:59
"How could I know that it has been implemented??"
maybe by reading the manual :D *gig*
see:
http://www.avisynth.org/index.php?page=AviSynthManual
and
http://www.avisynth.org/index.php?page=Resize

Cu Selur

The Edge
13th January 2003, 22:00
It's actually in th Avisynth documentation.
And online. (http://www.avisynth.org/index.php?page=Resize)

Edge

The Edge
13th January 2003, 22:01
Selur, the fastest fingers in the west!

Edge

Bluedan
14th January 2003, 14:50
Originally posted by The Edge
It's actually in th Avisynth documentation.
And online. (http://www.avisynth.org/index.php?page=Resize)

Ok,OK, enough:stupid: .
I didn't use that search button there...shame.