OutRange
From Avisynth wiki
(Difference between revisions)
(OutRange) |
m (minor formatting) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{FilterCat4|External_filters|Scripts|Adjustment_filters|Levels and Chroma filters}} |
− | {{ | + | {{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 == | ||
Line 12: | Line 13: | ||
<br> | <br> | ||
== Requirements == | == Requirements == | ||
− | + | * AviSynth 2.5.8 or later | |
− | + | * Supported color formats: [[Y8]], [[YV411]], [[YV12]], [[YV16]], [[YV24]] | |
<br> | <br> | ||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
Line 45: | Line 46: | ||
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> | ||
----------------------------------------------- | ----------------------------------------------- | ||
'''Back to [[External_filters#Levels_and_Chroma|External Filters]] ←''' | '''Back to [[External_filters#Levels_and_Chroma|External Filters]] ←''' |
Revision as of 00:27, 21 September 2014
Abstract | |
---|---|
Author | 06_taro |
Version | 2013/04/20 |
Download | OutRange.avsi |
Category | Levels and Chroma |
License | |
Discussion | Doom9 Thread |
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
Syntax and Parameters
- OutRange (clip c, float "thr", int "plane", string "log")
- clip c =
- Input clip.
- clip c =
- float thr = 0.0
- A percentage on how many percent of the pixels are allowed above or below minimum.
- float thr = 0.0
- int plane = 0
- Which plane to check:
- int plane = 0
- 0 : Luma
- 1 : Chroma U
- 2 : Chroma V
- 3 : Both chromas
- 4 : All
- string log = "OutRange.log"
- The filename of the output log.
- string log = "OutRange.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
External Links
- Doom9 Forum - OutRange discussion.
Back to External Filters ←