Welcome to our Support Center

Write Video Frame

Description

Write an image to the video. Type : polymorphic.

 

Input parameters

 

VideoWriter Src : class
Image Src : class, type accepted U8, I16, RGB and HSL.

Output parameters

 

VideoWriter Dst : class
Dup Image Src : class

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).

Create and write video

1 – Initialize

Open camera reference, create a temporary memory location for an image and create video reference.

2 – Process

Each loop reads the last frame and displays this frame. If the “Record” boolean is true, the image is saved in video.

3 – Close

We close all open references.

Table of Contents