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

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th February 2019, 18:09   #161  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 653
Sorry, missed your length parameter.

Maybe BlankClip is just so fast that even a very large length won't matter.

Groucho2004 can probably enlighten us further.
videoh is offline   Reply With Quote
Old 12th February 2019, 19:12   #162  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 1,619
blankclip constructs a single blank frame on startup and just returns a pointer to it each time. It doesn't actually do anything per frame - not even calling env->NewVideoFrame() - so it's super fast. Same with colorbars, although that has a parameter to disable the framestore:

Code:
colorbars(staticframes = false)
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 12th February 2019, 19:33   #163  |  Link
Groucho2004
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Posts: 4,039
Quote:
Originally Posted by wonkey_monkey View Post
blankclip constructs a single blank frame on startup and just returns a pointer to it each time. It doesn't actually do anything per frame - not even calling env->NewVideoFrame() - so it's super fast. Same with colorbars, although that has a parameter to disable the framestore:

Code:
colorbars(staticframes = false)
Quite the difference:

Code:
colorbars(staticframes = x, pixel_type = "yv12").loop(10000).trim(0, 99999999)
staticframes = true
Code:
Frames processed:               314750000 (0 - 314749999)
FPS (min | max | average):      5811893 | 32190153 | 30993818
Process memory usage (max):     23 MiB
Thread count:                   9
CPU usage (average):            23.6%

Time (elapsed):                 00:00:10.155
staticframes = false
Code:
Frames processed:               287810 (0 - 287809)
FPS (min | max | average):      7370 | 28961 | 28340
Process memory usage (max):     23 MiB
Thread count:                   9
CPU usage (average):            23.5%

Time (elapsed):                 00:00:10.156
Groucho2004 is offline   Reply With Quote
Old Today, 03:14   #164  |  Link
Groucho2004
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Posts: 4,039
v2.9.0
  • Added Veselin Georgiev's libcpuid (again) for better detection of some CPU features (such as number of physical/logical cores of contemporary CPUs)
  • Minor other fixes
  • Refactoring
Groucho2004 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 06:21.


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