PDA

View Full Version : Help optimize my script


acrespo
11th May 2005, 02:50
My source is analog captured Anime and I used this script:


v=MPEG2Source("e:\2005-04-21\ygh.d2v",ipp=true,idct=5)
a=WAVSource("e:\2005-04-21\ygh.wav")
Audiodub(v,a)
DelayAudio(-0.044)
Trim(11759,18092)++Trim(22657,41325)++Trim(50007,58513)

TDeint(mode=1)
RestoreFPS(24/1.001,0.00)
Crop(8,8,-8,-8,align=true)

RemoveDirt(_grey=false, repmode=18)
aWarpSharpDering(depth=20,diffThresh=32)
LimitedSharpen2(ss_x=1.0,ss_y=1.0,dest_x=640,dest_y=480)


The results is very good but I need a little more speed.
I am thinking a way to process only the video part and more later join the audio and video. I don't know if I will gain speed with this process too. Can anybody help me or give me more ideas to bob video and change fps to 23.976 more fast that I did?

State of Mind
11th May 2005, 06:01
Personally, I prefer quality over speed. But, that's just me.

Boulder
11th May 2005, 15:37
Replace TDeint(mode=1) with LeakKernelBob(order=x,sharp=true,threshold=7) where x is the field order. You'll need the latest leakkerneldeint.dll for that function.

By the way, you might have the field order incorrectly set as bottom field first in TDeint, it's most likely top field first.