🖥
🖥
🖥
🖥
AugeLab Studio Manual
English
Ask or search…
K
Comment on page

Video

This block allows you to work on videos. You can restart the video from the starting position by giving the True signal from the input socket.
Press the "Select Video File" button to select the video. You can get the image with the Image output, and you can get the information of what second it is with the timestamp.

Video Node Documentation

The Video node in AugeLab Studio allows you to load and play video files. This node provides functionalities to select a video file, play the video, and output individual frames and timestamps.

Node Overview

The Video node consists of a "Select video file" button and a "Real-time" switch. You can use the "Select video file" button to choose a video file from your local system. The "Real-time" switch determines whether the video is played in real-time or at the maximum possible speed.

Node Interaction

  1. 1.
    Drag and drop the Video node from the node library onto the canvas in AugeLab Studio.
  2. 2.
    Click on the "Select video file" button to choose a video file from your local system.
  3. 3.
    Set the "Real-time" switch to determine whether the video should be played in real-time or at the maximum possible speed.
  4. 4.
    The node will output individual frames from the video as images and the corresponding timestamps.

Input and Output Sockets

  • Input Sockets:
    • Restart (Boolean): If True, the video playback will start from the beginning. If False, the video playback will continue from the current frame.
  • Output Sockets:
    • Image (Image): Individual frames from the video.
    • Timestamp (String): Timestamp corresponding to each frame.

Implementation Details

The Video node uses the OpenCV library to load and play video files. When a video file is selected using the "Select video file" button, the node initializes the video capture object and retrieves information about the video, such as the frame rate and the total number of frames. The node then continuously reads frames from the video file and outputs them along with their corresponding timestamps.
The "Real-time" switch determines whether the video is played in real-time or at the maximum possible speed. In real-time mode, the node synchronizes the frame extraction with the actual time elapsed, ensuring that the frames are extracted at the same rate as the original video. In maximum speed mode, the node extracts frames as fast as possible.

Usage

  1. 1.
    Drag and drop the Video node from the node library onto the canvas in AugeLab Studio.
  2. 2.
    Click on the "Select video file" button to choose a video file from your local system.
  3. 3.
    Set the "Real-time" switch to determine whether the video should be played in real-time or at the maximum possible speed.
  4. 4.
    Connect the output sockets to other nodes in your workflow to process the video frames or timestamps.

Notes

  • The Video node allows you to load and play video files in AugeLab Studio.
  • The node provides a "Select video file" button to choose a video file from your local system.
  • The "Real-time" switch determines whether the video is played in real-time or at the maximum possible speed.
  • The node outputs individual frames from the video as images and their corresponding timestamps.
  • The Video node uses the OpenCV library to load and play video files.
  • The node retrieves information about the video, such as the frame rate and the total number of frames.
  • The node continuously reads frames from the video file and outputs them along with their timestamps.
  • In real-time mode, the node synchronizes the frame extraction with the actual time elapsed.
  • In maximum speed mode, the node extracts frames as fast as possible.
  • Connect the output sockets to other nodes in your workflow to process the video frames or timestamps.
  • Combine the Video node with other nodes to build more complex workflows involving video processing or analysis.
  • The Video node is resizable and can be adjusted to accommodate longer video files.
  • The Video node supports various video file formats, such as AVI, MP4, and MKV.
  • Use the Video node when you need to load and process video files in your workflow.
  • The node outputs individual frames as images, which can be further processed or analyzed using other nodes.
  • The timestamps corresponding to each frame provide temporal information about the video frames.
  • The Video node is useful for scenarios where you want to analyze or manipulate video data as part of your workflow.