Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th April 2019, 19:45   #181  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
Does Avsmeter still do some kind of pre-scanning even when -o is specified? I've noticed it takes longer to start processing (pauses on "Frame (current | last): 0 | 10789199"), and updates less frequently, the more frames I give it. The pause and update interval are also dependent on the speed of the filters I'm running.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 12th April 2019, 22:09   #182  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by wonkey_monkey View Post
Does Avsmeter still do some kind of pre-scanning even when -o is specified? I've noticed it takes longer to start processing (pauses on "Frame (current | last): 0 | 10789199"), and updates less frequently, the more frames I give it. The pause and update interval are also dependent on the speed of the filters I'm running.
Using the "-o" switch, the initial delay you see is entirely down to how fast Avisynth reads the first frame. With certain filters, this can take a while. I guess it has to do with how many frames a filter wants to read in advance and/or the general processing speed of that filter.

If you have a clip with a very large number of frames (such as your example above), AVSMeter changes the frame interval for measurements. The data for each measurement (fps, CPU usage, etc.) is stored in an array. Increasing the frame interval keeps the memory usage of that array reasonable.
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 12th April 2019 at 22:22.
Groucho2004 is offline   Reply With Quote
Old 12th April 2019, 22:24   #183  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
Quote:
Using the "-o" switch, the initial delay you see is entirely down to how fast Avisynth reads the first frame.
VirtualDub doesn't exhibit the same delay. For example:

Code:
colorbars.loop(X).blur(1)
This loads instantly in VirtualDub with X=10, X=100, or X=1000, but AVSmeter gets progressively slower to start.

Take out the blur(1) and it's a lot faster, which indicates some frames are being fetched somewhere.

Quote:
If you have a clip with a very large number of frames (such as your example above), AVSMeter changes the frame interval for measurements. The data for each measurement (fps, CPU usage, etc.) is stored in an array. Increasing the frame interval keeps the memory usage of that array low.
The update speed also changes depending on whether blur(1) is included or not, so it doesn't seem to be purely due to the number of frames.

(This is probably purely academic as 100,000,000 frame scripts are unlikely to come up very often)
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 12th April 2019, 23:07   #184  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by wonkey_monkey View Post
VirtualDub doesn't exhibit the same delay. For example:

Code:
colorbars.loop(X).blur(1)
This loads instantly in VirtualDub with X=10, X=100, or X=1000, but AVSmeter gets progressively slower to start.
You're right, it has to read the first interval of frames before it can display any meaningful numbers. So, in your example, with X = 10, the interval is 10, with X = 1000, the interval is 1000. You can verify this if you use the -log switch and look at the 'performance data' in the log file.


Quote:
Originally Posted by wonkey_monkey View Post
The update speed also changes depending on whether blur(1) is included or not, so it doesn't seem to be purely due to the number of frames.
I don't understand the logic here. 1000 frames with blur() is of course slower than 1000 frames without it.
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 12th April 2019 at 23:19. Reason: typo
Groucho2004 is offline   Reply With Quote
Old 12th April 2019, 23:59   #185  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
Ugh, never mind, I've finally got it through my thick head.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 5th June 2019, 23:11   #186  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
avsr 0.2.0
  • Fixed wrong AVISYNTH_INTERFACE_VERSION
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 15th July 2019, 10:48   #187  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Added tritical's ColorMatrix (64 bit), see first post.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 15th July 2019, 11:59   #188  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 540
thank you
hydra3333 is offline   Reply With Quote
Old 15th July 2019, 15:08   #189  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Lovely, thank you G2K4.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 15th July 2019, 19:41   #190  |  Link
Natty
Noob
 
Join Date: Mar 2017
Posts: 221
tyvm
Natty is offline   Reply With Quote
Old 27th July 2019, 18:11   #191  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Added DeSpot 3.6.1.1 (x86 & x64)
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 27th July 2019, 18:12   #192  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Damn, nuther one for my archive.

Thanx Muchly
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 27th July 2019, 18:16   #193  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by StainlessS View Post
Damn, nuther one for my archive.
I'm terribly sorry.

Interesting fact - I removed all the SSE inline asm stuff and it turns out that it is even slightly faster by just using the C code. I guess the Intel compiler helps a lot (note to self - try MS compiler).

Edit - Intel compiler produces a DLL twice as fast as the one built with VC.
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 27th July 2019 at 18:21.
Groucho2004 is offline   Reply With Quote
Old 27th July 2019, 18:46   #194  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Intel pay for if not on Linux, yes ?
[mucho wonga]
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 27th July 2019, 18:51   #195  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by StainlessS View Post
Intel pay for if not on Linux, yes ?
Correct.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 25th August 2019, 00:49   #196  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 990
How to read first test? Did it parsed clip in avs 2.6 test?

VoodooFX is offline   Reply With Quote
Old 25th August 2019, 10:30   #197  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by VoodooFX View Post
How to read first test? Did it parsed clip in avs 2.6 test?
The error message seems pretty clear to me. You'll have to elaborate a bit as to what is unclear. Also, posting this in the AVSMeter thread would have made more sense.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 25th August 2019, 14:17   #198  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 990
Quote:
Originally Posted by Groucho2004 View Post
The error message seems pretty clear to me. You'll have to elaborate a bit as to what is unclear. Also, posting this in the AVSMeter thread would have made more sense.
Sorry I somehow ended in this tread.
I managed to benchmark script with avsr, can limit for very fast speed be removed in avsmeter, it can be still meaningful.
VoodooFX is offline   Reply With Quote
Old 19th October 2019, 19:57   #199  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Is the download page down?
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 19th October 2019, 20:41   #200  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by ChaosKing View Post
Is the download page down?
Works for me.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:48.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.