Video
This function block facilitates input and playback of video files within the software. It allows users to select a video file, play it back, and retrieve frames along with a timestamp.
📥 Inputs
Restart
A boolean input that, when activated, restarts the video playback from the beginning.
📤 Outputs
Image Any
This output provides the current frame from the video.
Timestamp
A string that indicates the current timestamp of the video playback in HH:MM:SS format.
Restarted
A boolean output that indicates whether the video playback has restarted.
🕹️ Controls
Select Video File
A button allowing you to browse and select a video file from your system.
Real-time Playback
A switch that allows you to toggle between real-time playback and sequential frame reading.
🎨 Features
Video File Selection
Users can easily select video files which are then registered for playback.
Frame Rate Management
The function handles video frames using the frame rate, ensuring smooth playback.
Playback Control
Provides the ability to restart playback dynamically and provides feedback regarding playback status.
📝 Usage Instructions
Load Video File: Click on the
Select video file
button to browse and choose a video file for playback.Adjust Playback: Use the
Real-time
switch to decide whether to play in real-time or to read frames sequentially.Receive Outputs: The current frame and timestamp are available as outputs which can be used by other function blocks.
📊 Evaluation
When activated, this function block will fetch the current frame from the specified video and return it along with the playback timestamp and restart status.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated