digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Way to measure filter speed? (http://www.digitalfaq.com/archives/avisynth/14190-avisynth-measure-filter.html)

supermule 04-04-2006 11:18 PM

Avisynth: Way to measure filter speed?
 
How can you compare and measure filter speeds.

I want to evaluate and measure the speed at which these filter process video's (although I know its very subjective to the source).

Lremovedust_YV12()
Degrainmedian()
STMedianfilter()
Convolutions3d() ----YV12
Hqdn3D()
removegrain()

At their default values, for subtle grain removal and for speed. If someone has already done similar comparison/knows of it, please direct me to the thread.

fabrice 04-04-2006 11:27 PM

Hi,

it's quite easy: just make an avisynth script with each filter, and see how many time HC last encoding a quite small clip (using slicer to extract a representative clip of a movie, for example).

With slicer, you should get differents kind of scene, and if you're not using others programs meanwhile, you will have a quite good speed comparison.

Fabrice

Boulder 04-05-2006 12:21 AM

There's kassandro's AVSTimer, www.avstimer.de.tf

supermule 04-05-2006 01:49 AM

Quote:

Originally Posted by Boulder
There's kassandro's AVSTimer, www.avstimer.de.tf

Thats what I was looking for but by the time I read your post I had almost finished my real world test (using a small clip). Will post back the results in few minutes.

supermule 04-05-2006 01:57 AM

So here are the results :

2894 frames - HCEnc 0.17, 2-pass, Normal Q

No filter - 3:03 - 58922KB
removegrain(mode=2) - 3:15 - 58925KB
Removegrain(mode=2).STMedianfilter(3,3,1,1) - 3:44 - 58914KB
STMedianfilter(3,3,1,1) - 3:50 - 58924KB
Lremovedust(17,1) - 3:51 - 58949KB
DeGrainMedian(limitY=5,limitUV=5,mode=3) - 4:00 - 58926KB
hqdn3d(3,2,4,4.5) - 4:25 - 58923KB
Convolution3d(preset="movieHQ") - 4:34 - 58914KB

Have included the file size just in case ppl were interested in the compression levels also.

Boulder 04-05-2006 01:59 AM

Uhm, the compression cannot be measured as you did a 2-pass encode :wink:

supermule 04-05-2006 02:07 AM

Quote:

Originally Posted by Boulder
Uhm, the compression cannot be measured as you did a 2-pass encode :wink:

thats why I said, i am using real world environment ;)

Boulder 04-05-2006 02:09 AM

But you cannot discuss compression levels if you use a 2-pass encode. The avg bitrate will always be nearly (if not completely) the same in every encode no matter what filter you use. If you want to measure compression at the same time as the performance of the filter, you need to use the CQ mode in HC.

supermule 04-05-2006 04:25 AM

Quote:

Originally Posted by Boulder
But you cannot discuss compression levels if you use a 2-pass encode. The avg bitrate will always be nearly (if not completely) the same in every encode no matter what filter you use. If you want to measure compression at the same time as the performance of the filter, you need to use the CQ mode in HC.

Ok, got that!!!


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

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