Open Video
Description
Create video session reference from the path file. Type : polymorphic.
Documentation illustration (illustration unavailable in the archive).
Input parameters
Documentation illustration (illustration unavailable in the archive). File Path : path, path of the video.
Output parameters
Documentation illustration (illustration unavailable in the archive). Session Dst : class
Documentation illustration (illustration unavailable in the archive). Frame Data : cluster, cluster containing information about the video.
Documentation illustration (illustration unavailable in the archive). Width : integer, specifies the width of the image.
Documentation illustration (illustration unavailable in the archive). Height : integer, specifies the height of the image.
Documentation illustration (illustration unavailable in the archive). 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)
-
Documentation illustration (illustration unavailable in the archive). Num Frames : integer, number of frames.
Documentation illustration (illustration unavailable in the archive). Frames Per Second : integer, specifies the frame per second of the video.
Documentation illustration (illustration unavailable in the archive). Loop timing : integer, period between two images.
Documentation illustration (illustration unavailable in the archive). Codec : string, specifies the codec used to create the video file.
Documentation illustration (illustration unavailable in the archive). Has Data : boolean, false if video file is empty.
Documentation illustration (illustration unavailable in the archive).
Examples
All these examples 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 Computer Vision library to run it).
Open and play a video
Code used for this video
Documentation illustration (illustration unavailable in the archive).
