» AviSynth is a powerful video FrameServer for Win32.

AviSynth Links:
»Learn to script
»Discussion fora
»Project page
»External filters

» You can add pages to this website immediately. No login required.
Edit this document

» AboutAviSynth




( Diese Seite in flag-germany.gif Deutsch )

You can access clip properties in AVS scripts. For example, if the variable clip holds a video clip, then clip.height is its height in pixels, clip.framecount is its length in frames, and so on. ClipProperties can be manipulated just like ScriptVariables (see the ScriptGrammar for more), except that they cannot be values in C-terminology.

The full list of properties:

  • Width (clip)
  • Height (clip)
  • Framecount (clip)
  • Framerate (clip)
  • FrameRateNumerator (clip) (v2.55)
  • FrameRateDenominator (clip) (v2.55)
  • Audiorate (clip)
  • Audiolength (clip) (v2.51 - it returns the size in samples, do however beware of overflows on very long clips)
  • AudioLengthF (clip) (v2.55 - will return the samplenumber as float)
  • Audiochannels (clip)
  • Audiobits (clip)
  • IsAudioFloat (clip) (v2.55)
  • IsAudioInt (clip) (v2.55)
  • IsPlanar (clip) (v2.52)
  • IsRGB (clip)
  • IsRGB24 (clip) (v2.07)
  • IsRGB32 (clip) (v2.07)
  • IsYUV (clip) (v2.54)
  • IsYUY2 (clip)
  • IsYV12 (clip) (v2.52)
  • IsFieldBased (clip)
  • IsFrameBased (clip)
  • IsInterleaved (clip) (v2.52)
  • GetParity (clip)
  • HasAudio (clip) (v2.56)
  • HasVideo (clip) (v2.56)

Back to AviSynthManual

SourceForge Logo


Edit this document | View document history
Document last modified Fri, 21 Jan 2005 18:25:04