Comptest

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (1 revision)
m (1 revision)
 
(One intermediate revision by one user not shown)
Line 11: Line 11:
 
For a compressibility test on 5% of the movie.
 
For a compressibility test on 5% of the movie.
  
[[Category:Shared functions]]
+
{{FilterCat|External_filters|Other_filters|Debugging/Diagnostic_filters}}

Latest revision as of 23:03, 19 May 2013

function Comptest(clip c, float percent)
{
  frange = floor(14./(percent/100.))
  return SelectRangeEvery(c, frange, 14)
}

Usage:

Comptest(5)

For a compressibility test on 5% of the movie.

Personal tools