digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Don't add borders to increase speed ? (http://www.digitalfaq.com/archives/avisynth/3776-avisynth-add-borders.html)

phibertron 05-27-2003 04:16 PM

Avisynth: Don't add borders to increase speed ?
 
My system isnt the fastest in the world
So anything to help with encode speed is always welcome

I noticed that if I do NOT add borders, the ecode time is way faster
makeing sure that in tmpgenc it is set to center for the video source


for me this is faster

GripCrop( 480, 480 )
GripSize( )
#GripBorders( )


than this

GripCrop( 480, 480 )
GripSize( )
GripBorders( )


anyone else notice this ?

does it make a difference on a really fast system ?


-phibertron

girv 05-28-2003 03:55 AM

What is the complete script you're using? If you add borders before other filters, the other filters will have a larger video area to deal with and therefore will run slower. Borders should be added at the end, after all other filters. This is why letting TMPGEnc centre the video is faster.

phibertron 05-28-2003 09:25 PM

girv

I totally agree with you
But I still notice that:

This is faster

LegalClip()
unfilter(50,50)
GripCrop( X, Y )
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0, 8, 32)
# SpaceDust() # Optional - for some "not so clean" DVDs.
temporalsmoother(1,2)
mergechroma(blur(1.50))
mergeluma(blur(0.2))
# Convolution3d or DCTFilter for extreme worse cases.
#GripBorders()
LegalClip()

This is slower

LegalClip()
unfilter(50,50)
GripCrop( X, Y )
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0, 8, 32)
# SpaceDust() # Optional - for some "not so clean" DVDs.
temporalsmoother(1,2)
mergechroma(blur(1.50))
mergeluma(blur(0.2))
# Convolution3d or DCTFilter for extreme worse cases.
GripBorders()
LegalClip()

using tmpgenc 2.512 and avs 2.08

-phibertron

jorel 05-28-2003 10:31 PM

Quote:

Originally Posted by girv
What is the complete script you're using? If you add borders before other filters, the other filters will have a larger video area to deal with and therefore will run slower. Borders should be added at the end, after all other filters. This is why letting TMPGEnc centre the video is faster.

great, ..great observations my friend girv!

8)

another elegant explanation and smart way to use it all.
i can't do better!
:D

ozjeff99 05-29-2003 04:46 AM

Hi Phiberton, it seems that you are adding borders the correct way.

It is really a matter of your system being quicker letting Tmpgenc add the borders than Avisynth doing it and passing it through.

On my system I checked both ways and the time was exactly the same. I'm using P4, 1.6Ghz, 256M ram.

ozjeff99

phibertron 05-29-2003 12:13 PM

ozjeff99

thanks for the input and your checking on a system that is more than twice as fast as mine
guess its time for a new pc

phibertron

ozjeff99 05-29-2003 07:45 PM

Maybe not so fast. If you look at the developments on the motion adaptive filtering stream, Avisynth 2.5x is being endorsed which is much faster (I believe) than 2.08. This could fix your problem with Gripborders(). I'll be changing over to 2.5x myself in next couple of days. Also it is always good to have a spare PC that can chug away day and night in a corner doing encodes.

ozjeff99

phibertron 05-29-2003 10:47 PM

ozjeff99

I been meaning to try 2.5x
guess I have a reason to in the near future
I have like 8 pcs, yeah I know :)
I've been a sysadmin for a long time now, and I kind of inherit pc's
there usually older but are good workhorses for this and that
none are of them are in the the p4 range, only p3's
PI 233, P2 400, 400, 450, P3 500, 550, 750, 933
oh yeah and an amd k6 200
I even have an old compaq 5000 with dual PI 133, screaming fast :)
with a 7 drive scsi array

but hopefully soon my personal pc will be like a p4 2.4ghz or better

phibertron


All times are GMT -5. The time now is 07:40 AM  —  vBulletin Jelsoft Enterprises Ltd

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