Log in

View Full Version : AVS script in DVD Rebuilder Pro 0.88?


TECK
2nd May 2005, 06:42
If I go to the AVS Filter Editor, can I write a script like:
LoadPlugin("C:\Program Files\AviSynth\Plugins\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AviSynth\Plugins\UnDot.dll")
Lanczos4Resize(720,480,92,60,536,356)
RemoveGrain(mode=2)
UnDot()
Or does it have to be:
Lanczos4Resize(720,480,92,60,536,356).RemoveGrain(mode=2).UnDot()

How does DVD-RB Pro 0.88 know where are the AviSynth plugins?
Do I have to tweak the .ini file? If yes, where and how do I add the extra line?

What I want to do is get running a script like this:
LoadPlugin("C:\Program Files\AviSynth\Plugins\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AviSynth\Plugins\UnDot.dll")
mpeg2source("C:\MOVIE\VIDEO_TS\01.d2v",cpu=4,iDCT=2)
Lanczos4Resize(720,480,92,60,536,356)
RemoveGrain(mode=2)
UnDot()

Also, do you recommed adding into the .ini file the following setting:
[Options]
CCETargetSectors=2265000
I'm using quality DVD's. I wonder if is better to stick with a safer size, like 2260000, it's only 1% difference.

Thanks guys.

onesoul
2nd May 2005, 11:54
Originally posted by TECK
If I go to the AVS Filter Editor, can I write a script like:
LoadPlugin("C:\Program Files\AviSynth\Plugins\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AviSynth\Plugins\UnDot.dll")
Lanczos4Resize(720,480,92,60,536,356)
RemoveGrain(mode=2)
UnDot()
Or does it have to be:
Lanczos4Resize(720,480,92,60,536,356).RemoveGrain(mode=2).UnDot() It's the same. I would put any spatial/temporal filters before resizing, many people do it before, others do after. Removegrain(mode=1) is equal to undot() so I think it's redundant to apply again undot(). I don't know since what version but in the last version of avisynth, the plugins in the plugins directory are loaded automatically. What exactly are you doing with this resize btw?

How does DVD-RB Pro 0.88 know where are the AviSynth plugins?
Do I have to tweak the .ini file? If yes, where and how do I add the extra line?

What I want to do is get running a script like this:
LoadPlugin("C:\Program Files\AviSynth\Plugins\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AviSynth\Plugins\UnDot.dll")
mpeg2source("C:\MOVIE\VIDEO_TS\01.d2v",cpu=4,iDCT=2)
Lanczos4Resize(720,480,92,60,536,356)
RemoveGrain(mode=2)
UnDot() If you want to use the mpeg2source line that way you have to edit each generated avs file to change it. You can use RB-OPT to do it.
Btw you can choose IDCT=7 in DVD-RB. Could you remind me of what cpu=4 and idct=2 purpose?
Also, do you recommed adding into the .ini file the following setting:
[Options]
CCETargetSectors=2265000
I'm using quality DVD's. I wonder if is better to stick with a safer size, like 2260000, it's only 1% difference. As wmansir once recommended with cce, I use ccetargetsectors=2264000. I keep getting 4480 mb so I think it's safe to use it.

TECK
2nd May 2005, 23:54
Thanks onesoul for the tips, that answers to all my questions.
I basically want to resize a 2.35:1 movie to remove the black bars, then to filter it.

The settings you ask me about are given by my friend, based on PC configuration. cpu=4 (type of CPU) iDCT=2 (decoder speed). RemoveGrain(mode=2) (speedup of denoising for SSE2 & SSE3 capable CPUs).

onesoul
3rd May 2005, 15:03
I basically want to resize a 2.35:1 movie to remove the black bars, then to filter it. Ok, I must say I find it a crime to throw away film information and I give you three reasons for not doing that:
1. You throw away precious film :)
2. You get a better encode because black bars don't need as much bitrate.
3. One day when you have a big wide 16:9 (hd)tv screen, you'll regret not haveing the whole movie.

Of course it's a subjective subject :)

RemoveGrain(mode=2) (speedup of denoising for SSE2 & SSE3 capable CPUs). the mode=2 thing doesn't have nothing to do with using sse2 & sse3, although I am not sure you meant that.
I read that idct=7 can deliever better picture, you could try and see what you like best.

Cheers

mrslacker
3rd May 2005, 17:44
Originally posted by onesoul
Ok, I must say I find it a crime to throw away film information and I give you three reasons for not doing that:
1. You throw away precious film :)
2. You get a better encode because black bars don't need as much bitrate.
3. One day when you have a big wide 16:9 (hd)tv screen, you'll regret not haveing the whole movie.

1. & 3. YES! I too need the whole picture!

2. It depends on how you look at it. The black bars still need bits... and scanlines! :( Unfortunately, DVD doesn't support aspect_ratio_information set to 4(0100) for 1:2.21, so you are forced to choose between encoding those bars or cropping to fill the frame. If you crop, you will get more bits per pixel of the actual picture. Then again, you can't pull vertical or horizontal resolution out of the proverbial hat (which is what the resizing step tries to do). In the end, I come to the same conclusion as yours.