PDA

View Full Version : poor encoding performance


shpitz
29th July 2005, 04:54
hello everyone, it's me again.

i'm having a real hard time encoding DV.

for example i use this basic script:


import("D:\TBS\Filters\LimitedSharpen.avsi")
LoadPlugin("D:\TBS\Filters\Decomb521.dll")
LoadPlugin("D:\TBS\Filters\DGDecode.dll")
LoadPlugin("D:\TBS\Filters\MaskTools.dll")

avisource("c:\temp\dv_test.avi")
FieldDeinterlace(blend=false)
LimitedSharpen(ss_x=2.0,ss_y=2.0,mode=2)



i'm only using limitedsharpen yet the encoding speed to xvid is 6fps.

when i encode tv shows i get around 120fps on 1st pass and 60fps on 2nd pass.

i also tried to use IIP with a script posted on the iip thread, and with iip i get 1-2fps.

am i missing something? it doesn't make sense to me @ all why it is sooooooooooooooooo slow.

i'm using a dual xeon 3.2ghz with 1gb ram.

please, enlighten me.

another thing that bugs me is that i get about 30-50% cpu usage, is there anything i can do to make vdub/filters use all cpus? do i need a special xvid codec version that supports smp?

any help is greatly appreciated.

Wilbert
31st July 2005, 14:07
am i missing something?
No.

it doesn't make sense to me @ all why it is sooooooooooooooooo slow.
... then use other plugins.

shpitz
31st July 2005, 16:41
that's the thing, seems to me that most filters slow down the encoding by a factor of 4 at the minimum...

if that's the 'norm' and there's nothing wrong with my config then that's fine, it just seemed to be very very slow to me especially when i'm working on PAL DV encodes.

since no one never ever talk about encoding speed of filters (i saw some numbers in the fft3dgpu thread) i never imagined encoding will be so slow, and therefore i posted this question...

are you aware of an encoding 'system' that can take advantage of dual-cpu systems? when i encode with vdub using avisynth i get 47% cpu usage at the max...

thanks for clearing this up.

ChronoCross
31st July 2005, 18:55
That is a bit slow considering with that script I can get 4-5fps on my P3 1.13ghz machine. I couldn't tell you what's wrong with it though as it's not really filter related so much as it's probably system performance config issues.

shpitz
31st July 2005, 22:06
i see.

what is the speed to expect when using IIP?

thanks

Pookie
1st August 2005, 00:48
IIP runs at 1/2 - 1 FPS on my 2.4Ghz P4. It's due in part to PixieDust, which is a great denoiser, but slow. You can speed it up by using a different denoiser, but it still runs pretty slow. Turn off PixieDust with the settings of duststr=0, dustweight=0.0 when you invoke IIP. Run the denoiser of your choice Before you call IIP.

Both LimitedSharpen and IIP are outstanding functions and can create some amazing looking video when used properly. Like anything, high quality can take time.

You might want to try RSharpen(mode=3) from the following plugin file:

http://home.arcor.de/kassandro/RemoveGrain/RemoveGrain.rar

If you don't have the time or patience to run LimitedSharpen, it is a very fast alternative.