Log in

View Full Version : Convolution3d


Ja32
21st September 2005, 20:26
Another question.
In AVS editor filter I can add like this:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Convolution3d")
Convolution3d (preset="movieLQ")

As you know this filter work only in YUY2, so must be put after ConvertToYUY2(). Problem is, that RB put it in wrong sequence like this:

#------------------
# AVS File Created by DVD Rebuilder
# VOBID:02, CELLID:01
#------------------
LoadPlugin("C:\Program Files\DVD-RB PRO\DGDecode.dll")
mpeg2source("E:\BASTION 2\D2VAVS\V01.D2V")
trim(250,534)
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Convolution3d")
Convolution3d (preset="movieLQ")
ConvertToYUY2()
AudioDub(BlankClip())

This order give error in AVS, of course.
In filter editor I can insert ConvertToYUY2() before Convolution3d, like this:

ConvertToYUY2()
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Convolution3d")
Convolution3d (preset="movieLQ")

but than it will twice:

#------------------
# AVS File Created by DVD Rebuilder
# VOBID:02, CELLID:01
#------------------
LoadPlugin("C:\Program Files\DVD-RB PRO\DGDecode.dll")
mpeg2source("E:\BASTION 2\D2VAVS\V01.D2V")
trim(250,534)
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Convolution3d")
Convolution3d (preset="movieLQ")
ConvertToYUY2()
AudioDub(BlankClip())
ConvertToYUY2()

Question is, how to do this to not repeat ConvertToYUY2() filter?

jptheripper
21st September 2005, 20:30
add it using rb-opt instead of rb's filter editor

Ja32
21st September 2005, 21:00
OK, thanks jptheripper.

Boulder
21st September 2005, 21:02
Having ConverttoYUY2 twice in the script doesn't matter. If the colorspace is already YUY2, no conversion will be done when it is called.

Ja32
21st September 2005, 21:26
Aha, good to know Boulder.