25th August 2015, 16:51
|
#5
| Link
|
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Originally Posted by ARDA
If you have any doubt about the performance of any filter, I propose the following script
MPEG2Source("your source")
# or any source you like and use always the same to get a little more accurate benchmarks
# and test always the same frames each time. 9000 frames it is a good quantity for this script.
#TemporalSoften(4,8,8,15,2) # use this line to force a non writable src and test when a new video frame
# is created by your filter or not. It is just an example.
AvsTimer(frames=1000, name="ANYONE",type=3, frequency=x?, total=false, quiet=true)# use your cpu frequency
# Put here your filter to benchmark
#flipvertical()
#fvertical()
AvsTimer(frames=1500 ,name="ANYONE",type=3, frequency=x?, difference=1, total=false)# use your cpu frequency
Open the scipt in virtualdub, set direct stream copy, set an initial frame and an end frame.
Open debugview(google), set a filter highlight in debugview, in this example *ANYONE*
Go back to virtualdub and Run video analysis pass. You will see in debug view windows the results every 1500 frames.
If anyone knows and wants to propose any other more accurate method to benchmark, please post
here to discuss it.
I hope this can be usefull
ARDA
|
I measured it with AVSMeter. Its timer is very accurate (particularly considering the timer peculiarities with multi-core CPUs) and I can't see the advantage in using AVSTimer for such a simple script.
I used "blankclip" instead of a "real" source because it's extremely fast and does not add any overhead.
|
|
|