PDA

View Full Version : All internal AviSynth functions


WarpEnterprises
27th November 2003, 22:39
This is only a note in case someone needs it for crosschecking, docs,...
The list contains all 238 functions directly filtered from the AviSynth codebase with their parameters.

"abs", "f"
"abs", "i"
"AddBorders", "ciiii[color]i"
"AlignedSplice", "cc+"
"Amplify", "cf+"
"AmplifydB", "cf+"
"Animate", "ciis.*"
"Animate", "iis.*"
"Apply", "s.*"
"ApplyRange", "ciis.*"
"Assert", "b[message]s"
"Assert", "s"
"AssumeBFF", "c"
"AssumeFieldBased", "c"
"AssumeFPS", "cf[sync_audio]b"
"AssumeFPS", "ci[]i[sync_audio]b"
"AssumeFrameBased", "c"
"AssumeSampleRate", "ci"
"AssumeTFF", "c"
"audiobits", "c"
"audiochannels", "c"
"AudioDub", "cc"
"audiolength", "c"
"audiorate", "c"
"AverageChromaU","c"
"AverageChromaV","c"
"AverageLuma","c"
"AVIFileSource", "s+[audio]b[pixel_type]s"
"AVISource", "s+[audio]b[pixel_type]s"
"BicubicResize", "cii[b]f[c]f[src_left]f[src_top]f[src_width]f[src_height]f"
"BilinearResize", "cii[src_left]f[src_top]f[src_width]f[src_height]f"
"Blackness", "[clip]c[length]i[width]i[height]i[pixel_type]s[fps]f[fps_denominator]i[audio_rate]i[stereo]b[sixteen_bit]b[color]i"
"BlankClip", "[clip]c[length]i[width]i[height]i[pixel_type]s[fps]f[fps_denominator]i[audio_rate]i[stereo]b[sixteen_bit]b[color]i"
"Blur", "cf[]f"
"Bob", "c[b]f[c]f[height]i"
"Cache", "c"
"ceil", "f"
"ChangeFPS", "cf"
"ChangeFPS", "ci[]i"
"Chr","i"
"ChromaUDifference","cc"
"ChromaVDifference","cc"
"ColorBars", "ii"
"ColorKeyMask", "cii"
"ColorYUV", "c[gain_y]f[off_y]f[gamma_y]f[cont_y]f"
"[gain_u]f[off_u]f[gamma_u]f[cont_u]f"
"[gain_v]f[off_v]f[gamma_v]f[cont_v]f"
"[levels]s[opt]s[matrix]s[showyuv]b[analyze]b[autowhite]b[autogain]b"
"Compare", "cc[channels]s[logfile]s[show_graph]b"
"ComplementParity", "c"
"ConditionalFilter","cccsss[show]b"
"ConvertAudioTo16bit", "c"
"ConvertAudioTo24bit", "c"
"ConvertAudioTo32bit", "c"
"ConvertAudioTo8bit", "c"
"ConvertAudioToFloat", "c"
"ConvertBackToYUY2", "c"
"ConvertFPS", "cf[zone]i[vbi]i"
"ConvertFPS", "ci[]i[zone]i[vbi]i"
"ConvertToMono", "c"
"ConvertToRGB", "c[matrix]s[interlaced]b"
"ConvertToRGB24", "c[matrix]s[interlaced]b"
"ConvertToRGB32", "c[matrix]s[interlaced]b"
"ConvertToYUY2", "c[interlaced]b"
"ConvertToYV12", "c[interlaced]b"
"cos", "f"
"Crop", "ciiii[align]b"
"CropBottom", "ci"
"Default", ".."
"Defined", "."
"DelayAudio", "cf"
"DeleteFrame", "ci"
"DirectShowSource", "s+[fps]f[seek]b[audio]b[video]b"
"Dissolve", "cc+i"
"DoubleWeave", "c"
"DuplicateFrame", "ci"
"EnsureVBRMP3Sync", "c"
"Eval", "s[name]s"
"Exist", "s"
"exp", "f"
"FadeIn", "ci[color]i"
"FadeIn2", "ci[color]i"
"FadeIO", "ci[color]i"
"FadeIO2", "ci[color]i"
"FadeOut", "ci[color]i"
"FadeOut2", "ci[color]i"
"findstr","ss"
"FixBrokenChromaUpsampling", "c"
"FixLuminance", "cif"
"FlipHorizontal", "c"
"FlipVertical", "c"
"float","f"
"floor", "f"
"frac","f"
"framecount", "c"
"FrameEvaluate", "cs[show]b[after_frame]b"
"framerate", "c"
"FreezeFrame", "ciii"
"GeneralConvolution", "c[bias]i[matrix]s"
"GetChannel", "ci+"
"GetChannels", "ci+"
"GetLeftChannel", "c"
"GetParity", "c[n]i"
"GetRightChannel", "c"
"Greyscale", "c"
"height", "c"
"hexvalue","s"
"Histogram", "c[mode]s"
"HorizontalReduceBy2", "c"
"ImageReader", "[file]s[start]i[end]i[fps]i[use_devil]b"
"ImageWriter", "c[file]s[start]i[end]i[type]s[info]b"
"Import", "s+"
"Info", "c"
"int", "f"
"Interleave", "c+"
"InternalCache", "c"
"Invert", "c[channels]s"
"IsBool", "."
"IsClip", "."
"IsFieldBased", "c"
"IsFloat", "."
"IsFrameBased", "c"
"IsInt", "."
"IsInterleaved", "c"
"IsPlanar", "c"
"IsRGB", "c"
"IsRGB24", "c"
"IsRGB32", "c"
"IsString", "."
"IsYUY2", "c"
"IsYV12", "c"
"KillAudio", "c"
"LanczosResize", "cii[src_left]f[src_top]f[src_width]f[src_height]f"
"Layer", "cc[op]s[level]i[x]i[y]i[threshold]i[use_chroma]b"
"lcase","s"
"leftstr","si"
"Letterbox", "cii[x1]i[x2]i[color]i"
"Levels", "cifiii[coring]b"
"Limiter", "c[min_luma]i[max_luma]i[min_chroma]i[max_chroma]i"
"LoadCPlugin", "s"
"LoadPlugin", "s+"
"LoadVFAPIPlugin", "ss"
"LoadVirtualdubPlugin", "ss[preroll]i"
"log", "f"
"Loop", "c[times]i[start]i[end]i"
"LumaDifference","cc"
"Mask", "cc"
"MergeChannels", "c+"
"MergeChroma", "cc[chromaweight]f"
"MergeLuma", "cc[lumaweight]f"
"MessageClip", "s[width]i[height]i[shrink]b[text_color]i[halo_color]i[bg_color]i"
"midstr","si[length]i"
"MixAudio", "cc[clip1_factor]f[clip2_factor]f"
"MonoToStereo", "cc"
"nop",""
"Normalize", "c[volume]f[show]b"
"Null", "c[copy]s"
"OpenDMLSource", "s+[audio]b[pixel_type]s"
"PeculiarBlend", "ci"
"pi", ""
"PointResize", "cii[src_left]f[src_top]f[src_width]f[src_height]f"
"pow", "ff"
"Pulldown", "cii"
"rand", "[max]i[scale]b[seed]b"
"ReduceBy2", "c"
"ResampleAudio", "ci"
"ResetMask", "c"
"Reverse", "c"
"revstr","s"
"RGBAdjust", "cffff"
"RGBDifference","cc"
"RGBDifferenceFromPrevious","c"
"RGBDifferenceToNext","c"
"rightstr","si"
"round", "f"
"ScriptClip", "cs[show]b"
"SegmentedAVISource", "s+[audio]b[pixel_type]s"
"SegmentedDirectShowSource", "s+[fps]f"
"Select", "i.+"
"SelectEven", "c"
"SelectEvery", "cii*"
"SelectOdd", "c"
"SelectRangeEvery", "c[every]i[length]i[offset]i"
"SeparateFields", "c"
"SetMemoryMax", "i"
"SetWorkingDir", "s"
"Sharpen", "cf[]f"
"ShowAlpha", "c"
"ShowFiveVersions", "ccccc"
"ShowFrameNumber", "c[scroll]b"
"ShowSMPTE", "c[fps]f"
"sign","f"
"sin", "f"
"SpatialSoften", "ciii"
"Spline","[x]ff+[cubic]b"
"sqrt", "f"
"StackHorizontal", "cc+"
"StackVertical", "cc+"
"String", "."
"strlen","s"
"Subtitle", "cs[x]i[y]i[first_frame]i[last_frame]i[font]s[size]i[text_color]i[halo_color]i[align]i[spc]i"
"Subtract", "cc"
"SwapFields", "c"
"SwapUV","c"
"TemporalSoften", "ciii[scenechange]i[mode]i"
"Time", "s"
"Trim", "cii"
"TurnLeft","c"
"TurnRight","c"
"Tweak", "c[hue]f[sat]f[bright]f[cont]f[coring]b"
"ucase","s"
"UDifferenceFromPrevious","c"
"UDifferenceToNext","c"
"UnalignedSplice", "cc+"
"UPlaneMax","c[threshold]f"
"UPlaneMedian","c"
"UPlaneMin","c[threshold]f"
"UPlaneMinMaxDifference","c[threshold]f"
"UToY","c"
"value","s"
"VDifferenceFromPrevious","c"
"VDifferenceToNext","c"
"Version", ""
"VersionNumber", ""
"VersionString", ""
"VerticalReduceBy2", "c"
"VPlaneMax","c[threshold]f"
"VPlaneMedian","c"
"VPlaneMin","c[threshold]f"
"VPlaneMinMaxDifference","c[threshold]f"
"VToY","c"
"WAVSource", "s+"
"Weave", "c"
"width", "c"
"YDifferenceFromPrevious","c"
"YDifferenceToNext","c"
"YPlaneMax","c[threshold]f"
"YPlaneMedian","c"
"YPlaneMin","c[threshold]f"
"YPlaneMinMaxDifference","c[threshold]f"
"YToUV","cc"
"YToUV","ccc"

sh0dan
2nd December 2003, 16:37
OMG! I have to live without ColorYUV now! :scared:

;)

WarpEnterprises
2nd December 2003, 22:36
shame on me, I missed the function with the most parameters
( seeking for "*"*,*"*"*, WITHOUT linebreaks) :)

BlindWanderer
30th December 2003, 00:34
These commands are not in the documentation

"Cache", "c"

"GetChannels", "ci+"

"Null", "c[copy]s"

"value","s"

i'm guessing "GetChannels" is an alias to "GetChannel"
and "value" is an alias to "val" (or vise versa)

could somebody write the documentation for them???
should probably write a single page for most of the plane & difference commands.

i have added the names the the keywords list. i'll add them elsewhere when definition are given.
http://www.avisynth.org/index.php?page=Keywords

EDIT: removed the ones i didn't see in the documentation... (silly me forgot to do a search)

Wilbert
30th December 2003, 00:58
"Cache", "c"
Is this a public function?

"GetChannels", "ci+"
Should be GetChannel. Where did you find this keyword?

"LoadCPlugin", "s"
I will add that. It's for loading C-plugins, but in v2.54 LoadPlugin is mapped to LoadCPlugin when necessary.

"Null", "c[copy]s"

"nop(): v2.07 null result primarily for if-then-else operation above where ifelse is not desired (nop primarily to be used against non-variable / non-clip functions such as import and loadplugin)"

from: http://www.avisynth.org/index.php?page=ScriptFunctions

Do you mean that NULL, or a different one?

"value","s"
"Value(string) v2.07
Converts string to numeric value."

from: http://www.avisynth.org/index.php?page=ScriptFunctions

"val: a generic type; used for function parameters that can be of type int, float, bool, string, or clip."

from: http://www.avisynth.org/index.php?page=ScriptVariables

The rest of the filters can be used within the conditionfilter invironment. See the docs of that filter.

BlindWanderer
30th December 2003, 05:05
finished adding the functions to avisynth.org (http://www.avisynth.org)

cache is an alias to internalcache.
GetChannels is an alias to GetChannel.

while poking around the cvs i noticed sh0dan is working on an overlay command.

all that really is left to do till the next release is to make a german keywords index.