Open Video
Description
Create video session reference from the path file. Type : polymorphic.
Input parameters
File Path : path, path of the video.
Output parameters
Session Dst : class
Frame Data : cluster, cluster containing information about the video.
Width : integer, specifies the width of the image.
Height : integer, specifies the height of the image.
Image Type : integer, specifies the type of image used in the video file.
-
-
- Grayscale (U8) : 8 bits per pixel (unsigned, standard monochrome)
- RGB (U32) : 32 bits per pixel (red, green, blue, alpha)
- HSL (U32) : 32 bits per pixel (hue, saturation, luminance, alpha)
-
Num Frames : integer, number of frames.
Frames Per Second : integer, specifies the frame per second of the video.
Loop timing : integer, period between two images.
Codec : string, specifies the codec used to create the video file.
Has Data : boolean, false if video file is empty.
Example
All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install TIGR library to run it).