Video
Actions for handling video files
Last updated
Actions for handling video files
Last updated
Read video file. Subclass of . Type of [Dict[str, Any], cv2.VideoCapture]
input_data (Any): Expected keys:
"path_to_file" (str): Path to video file;
.VideoCapture: Video;
input_data (Any): Expected keys:
"path_to_file" (str): Path to video file;
"fourcc" (str): Codec to use;
"fps" (int): FPS to use;
"width" (int): Frame width to use in pixels;
"height" (int): Frame height to use in pixels;
"frames" (ndarray): Frames to write;
Exception: If unable to write file.
input_data (cv2.VideoCapture): Video capture to release.
Write video frame by frame to file. Subclass of . Type of [Dict[str, Any], None]
Release video capture. Subclass of . Type of [cv2.VideoCapture, None]