Home
RecentChanges

Search:

» AviSynth is a powerful video FrameServer for Win32.

AviSynth Links:
»Download
»Learn to script
»FAQ
»Manual
»Discussion fora
»Project page
»External filters
»FeedBack

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

» AboutAviSynth

 

Avisynth 
Logo

VideoInfo

( Diese Seite in flag-germany.gif Deutsch )

VideoInfo provides basic information about the clip your filter recieves.

Getting information from VideoInfo

bool HasVideo()

This will return true if there is any video in the given clip.

bool HasAudio()

This will return true if there is any audio in the given clip.

bool IsRGB()

This will return true if the colorspace is RGB (in any way). For now only RGB24 and RGB32 returns true, but future formats could also apply.

bool IsRGB24()

bool IsRGB32()

bool IsYUV()

This will return true if the colorspace is YUV. For now YV12 and YUY2 returns true.

bool IsYUY2()

bool IsYV12()

Note that I420 is also reported as YV12, because planes are automatically swapped.

bool IsPlanar()

This will return true if the video is planar. For now only YV12 returns true, but future formats might also do so. See PlanarImageFormat.

bool IsFieldBased()

This will return true if the video has been through a SeparateFields, and the video has not been weaved yet. Otherwise it will return false.

bool IsParityKnown()

bool IsBFF()

bool IsTFF()

bool IsColorSpace(VideoInfo vi2)

This funtion will compare two VideoInfos, and check if the colorspace is the same. Note: It does not check imagesize or similar properties.

bool Is(int property)

For future use.

Back to InternalFunctions

SourceForge Logo

 


Edit this document | View document history
Document last modified Mon, 08 Mar 2004 00:52:33