OutRange

From Avisynth wiki
Revision as of 22:38, 9 March 2014 by Reel.Deal (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Abstract
Author 06_taro
Version 2013/04/20
Download OutRange.avsi
Category Levels and Chroma
License


Contents

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.


Requirements

- AviSynth 2.5.8 or later
- Supported color formats: Y8, YV411, YV12, YV16, YV24


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.


Examples

OutRange with default settings:

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


Changelog

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


Links





Back to External Filters

Personal tools