OutRange

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (minor formatting)
m (Description)
 
Line 9: Line 9:
 
<br>
 
<br>
 
== Description ==
 
== Description ==
:A simple function to scan the whole video and output a log file, in which out-of-tv-range frames are logged.
+
A simple function to scan the whole video and output a log file, in which out-of-tv-range frames are logged. TV range is 16 to 235 for luma and 16 to 240 for chroma.
:TV range is 16 to 235 for luma and 16 to 240 for chroma.
+
 
<br>
 
<br>
 +
<br>
 +
 
== Requirements ==
 
== Requirements ==
 
* AviSynth 2.5.8 or later
 
* AviSynth 2.5.8 or later

Latest revision as of 17:15, 30 November 2014

Abstract
Author 06_taro
Version 2013/04/20
Download OutRange.avsi
Category Levels and Chroma
License
Discussion Doom9 Thread


Contents

[edit] Description

A simple function to scan the whole video and output a log file, in which out-of-tv-range frames are logged. TV range is 16 to 235 for luma and 16 to 240 for chroma.

[edit] Requirements


[edit] Syntax and Parameters

OutRange (clip c, float "thr", int "plane", string "log")


clip  c =
Input clip.


float  thr = 0.0
A percentage on how many percent of the pixels are allowed above or below minimum.


int  plane = 0
Which plane to check:
  • 0 : Luma
  • 1 : Chroma U
  • 2 : Chroma V
  • 3 : Both chromas
  • 4 : All


string  log = "OutRange.log"
The filename of the output log.


[edit] Examples

OutRange with default settings:

AviSource("blah.avi")
OutRange(thr=0.0, plane=0, log="OutRange.log")


[edit] Changelog

Version         Date            Changes
2013/04/20 2013/04/20 - Initial release


[edit] External Links




Back to External Filters

Personal tools