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 |
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.
|
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 |
Quote:
8) another elegant explanation and smart way to use it all. i can't do better! :D |
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 |
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 |
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 |
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 |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.