FredAverage

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(FredAverage: add documentation)
 
m
Line 20: Line 20:
 
* Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[Y8]], [[YV12]], [[YV16]], [[YV24]]
 
* Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[Y8]], [[YV12]], [[YV16]], [[YV24]]
 
<br>
 
<br>
* [https://www.microsoft.com/en-us/download/details.aspx?id=11895 Microsoft Visual C++ 2008 Redistributable Package (x86 / x64)]
+
* [https://www.microsoft.com/en-us/download/details.aspx?id=26368 Microsoft Visual C++ 2008 Redistributable Package (x86 / x64)]
 
:<span style="color:red">***</span> <tt>vcredist_x86.exe</tt> is required for <tt>FredAverage-x86</tt>
 
:<span style="color:red">***</span> <tt>vcredist_x86.exe</tt> is required for <tt>FredAverage-x86</tt>
 
:<span style="color:red">***</span> <tt>vcredist_x64.exe</tt> is required for <tt>FredAverage-x64</tt>
 
:<span style="color:red">***</span> <tt>vcredist_x64.exe</tt> is required for <tt>FredAverage-x64</tt>

Revision as of 13:47, 23 April 2020

Abstract
Author StainlessS
Version v0.03
Download FredAverage_25&26_x86_x64_dll_v0.03_20190115.zip
Category Averaging
License GPLv2
Discussion Doom9 Thread

Contents

Description

A simple average filter. It returns a clip where each return frame is a single color average of input frame, same size and colorspace as input.

Return clip Y, U and V, or R, G and B, will be channel averages, unless invert=true, where channels averages will be inverted.



Requirements


*** vcredist_x86.exe is required for FredAverage-x86
*** vcredist_x64.exe is required for FredAverage-x64


Syntax and Parameters

FredAverage (clip, bool "invert", bool "TV_YUV")


clip   =
Input clip.


bool  invert = false
Default false == sampled average. Otherwise Inverted average.


bool  TV_YUV = false
Default false, If True(And YUV), then photo negative invert around TV levels mid Y(125.5), rather than 127.5.


Examples

FredAverage with default settings:

AviSource("blah.avi")
FredAverage (invert=false, TV_YUV=false)


Changelog

Version      Date(D/M/Y)      Changes
v0.03 2019/01/15 - BugFix version, fixed TV_YUV rounding. v0.02 2019/01/15 - Moved to VS2008, Added Version Resource + v2.58 + x64. - Added bool arg TV_YUV v0.01 - First release. 2.60 only.


Archived Downloads

Version Download Mirror
v0.03 FredAverage_25&26_x86_x64_dll_v0.03_20190115.zip


External Links




Back to External Filters

Personal tools