Comptest: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
m 1 revision
 
m 1 revision
 
(One intermediate revision by one other 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 00:03, 20 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.