OutRange

From Avisynth wiki
Jump to: navigation, search
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