Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-MAINodes > MAI Load Video (path)

ComfyUI Node: MAI Load Video (path)

Class Name

MAILoadVideoPath

Category
image/minimax/video
Author
matlowai (Account age: 1004days)
Extension
ComfyUI-MAINodes
Latest Updated
2026-08-26
Github Stars
0.11K

How to Install ComfyUI-MAINodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-MAINodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-MAINodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

MAI Load Video (path) Description

Facilitates loading video files into ComfyUI, accepts absolute or relative paths, outputs video in VIDEO type with metadata.

MAI Load Video (path):

The MAILoadVideoPath node is designed to facilitate the loading of video files into the ComfyUI environment by specifying a path. This node is particularly useful for AI artists who need to work with video data, as it simplifies the process of importing video content for further processing. By accepting both absolute paths and paths relative to a designated input directory, it offers flexibility in accessing video files. Once a video is loaded, the node outputs the video in ComfyUI's VIDEO type, which can be further utilized to extract frames and audio components. Additionally, it provides the total frame count and frames per second (fps) of the video, offering essential metadata that can be crucial for video editing and analysis tasks. This node is an integral part of the video processing workflow, enabling seamless integration of video content into creative projects.

MAI Load Video (path) Input Parameters:

path

The path parameter specifies the location of the video file you wish to load. It can be an absolute path or a path relative to the input directory configured in ComfyUI. This flexibility allows you to organize your video files in a way that suits your workflow. The default value for this parameter is "clip.mp4", but you can change it to point to any video file you need to work with. The correct specification of this path is crucial, as it directly impacts the node's ability to locate and load the desired video file.

MAI Load Video (path) Output Parameters:

video

The video output is the loaded video in ComfyUI's VIDEO type format. This format is essential for further processing within the ComfyUI environment, allowing you to extract frames and audio components for your creative projects. The video output serves as the primary data source for subsequent nodes that require video input.

frames

The frames output provides the total number of frames in the loaded video. This information is vital for understanding the video's length and for planning frame-specific operations, such as frame extraction or animation sequencing.

fps

The fps output indicates the frames per second of the video. This metric is crucial for maintaining the video's temporal integrity during editing and processing. It helps ensure that any modifications or analyses are synchronized with the original video's playback speed.

MAI Load Video (path) Usage Tips:

  • Ensure that the path parameter is correctly set to the location of your video file to avoid file not found errors.
  • Use the frames and fps outputs to plan and synchronize your video processing tasks, ensuring that any frame-specific operations align with the video's original timing.

MAI Load Video (path) Common Errors and Solutions:

FileNotFoundError

  • Explanation: This error occurs when the specified video file cannot be found at the given path.
  • Solution: Double-check the path parameter to ensure it is correctly pointing to the existing video file. Verify that the path is either absolute or correctly relative to the input directory.

Invalid video file

  • Explanation: This error might occur if the file at the specified path is not a valid video file or is corrupted.
  • Solution: Confirm that the file is a valid video format supported by ComfyUI. If the file is corrupted, try re-encoding or obtaining a new copy of the video file.

MAI Load Video (path) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-MAINodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

MAI Load Video (path)