OutRange

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(OutRange)
 
m (Description)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Adjustment_filters|Levels and Chroma}}
+
{{FilterCat4|External_filters|Scripts|Adjustment_filters|Levels and Chroma filters}}
{{Filter2
+
{{Filter3
 
|06_taro
 
|06_taro
 
|2013/04/20
 
|2013/04/20
 
|[http://avisynth.nl/images/OutRange.avsi OutRange.avsi]
 
|[http://avisynth.nl/images/OutRange.avsi OutRange.avsi]
 
|Levels and Chroma
 
|Levels and Chroma
|}}
+
|
 +
|6=[http://forum.doom9.org/showthread.php?p=1624992#post1624992 Doom9 Thread]}}
 
<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
:- Supported color formats: [[Y8]], [[YV411]], [[YV12]], [[YV16]], [[YV24]]
+
* Supported color formats: [[Y8]], [[YV411]], [[YV12]], [[YV16]], [[YV24]]
 
<br>
 
<br>
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
Line 45: Line 47:
 
  2013/04/20      2013/04/20      - Initial release
 
  2013/04/20      2013/04/20      - Initial release
 
<br>
 
<br>
== Links ==
+
==External Links ==
 
*[http://forum.doom9.org/showthread.php?p=1624992#post1624992 Doom9 Forum] - OutRange discussion.
 
*[http://forum.doom9.org/showthread.php?p=1624992#post1624992 Doom9 Forum] - OutRange discussion.
<br>
 
 
<br>
 
<br>
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters#Levels_and_Chroma|External Filters]] &larr;'''
 
'''Back to [[External_filters#Levels_and_Chroma|External Filters]] &larr;'''

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