digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: help with writing new script? (http://www.digitalfaq.com/archives/avisynth/14281-avisynth-writing-script.html)

audioslave 06-07-2006 05:04 PM

So this is what I put in the filter editor in DVD-RB?
Code:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\LimitedSupport_09Jan06B.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mt_masktools.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\LRemoveDust.avsi")
Import("C:\Program Files\AviSynth 2.5\plugins\LimitedSharpenFaster.avsi")
Import("C:\Program Files\AviSynth 2.5\plugins\Soothe.avsi")

BlindPP(cpu=4)
LRemoveDust_YV12(4,1)
dull  = last
sharp = dull.LimitedSharpenFaster()
Soothe(sharp,dull)

EDIT: Minor script changes.

Dialhot 06-08-2006 04:54 AM

You don't have to add any "Loadplugin" or "import" line if what you want to load (or import) is already in the directory "C:\Program Files\AviSynth 2.5\plugins". Everything that is in this directory is loaded automatically by avisynth, so you can remove all that lines.

Concerning the blindPP line : personally I do not add it because it is not recommended to use it on a MPEG2 source by the author of the DGDecode.dll. It's sad that DVD-RB does not allow to add it automatically in the "MPEG2Source" line.

Boulder 06-08-2006 02:26 PM

Quote:

Originally Posted by Dialhot
It's sad that DVD-RB does not allow to add it automatically in the "MPEG2Source" line.

I always use a batch text replacer after the prepare phase to add the parameter CPU=4 in the MPEG2Source line.

audioslave 06-08-2006 02:43 PM

Quote:

Originally Posted by Boulder
Quote:

Originally Posted by Dialhot
It's sad that DVD-RB does not allow to add it automatically in the "MPEG2Source" line.

I always use a batch text replacer after the prepare phase to add the parameter CPU=4 in the MPEG2Source line.

How do you do that?

Boulder 06-08-2006 02:51 PM

Uh, use a batch text replacer program :wink:

audioslave 06-08-2006 02:54 PM

Quote:

Originally Posted by Boulder
Uh, use a batch text replacer program :wink:

Please forgive my ignorance but I have no idea what that means... :oops:

Boulder 06-08-2006 02:57 PM

It's any program that can change text strings inside text files. I use idct=6 so I substitute idct=6 with idct=6,cpu=4 in every avs file in the Rebuilder-created d2vavs folder.

I use the one attached in this post : http://forum.doom9.org/showthread.ph...500#post762500

audioslave 06-08-2006 04:28 PM

Thanks a lot! :)
One more question: What is idct? :oops:

Dialhot 06-08-2006 05:40 PM

Quote:

Originally Posted by audioslave
Thanks a lot! :)
One more question: What is idct? :oops:

Man, are you reading the manuals sometimes ? :wink:
idct is, among other things, the name of a parameter of mpeg2source. It corresponds to the algorythm you want to use to perform the inverse discrete cosine transform (idct) during mpeg2 decoding.


All times are GMT -5. The time now is 06:32 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.