Nodes/ComfyUI-MaxedOut/Load Video MXD
ComfyUI Node

Load Video MXD

Load a video into WAN 2.2 without the audio drama

By Maxed-Out-99·Created about a year ago·Updated 21 days ago· 9
Load Video MXD
    • video
    • video_path
    file

    ComfyUI's built-in video loading story has been messy for years - the classic Load Video (Upload) / Load Video Path split, file lists that show images mixed in with clips, and audio handling that depends on which core version you're on. In the newer ComfyUI where video is a first-class VIDEO type, Load Video MXD is the clean way in: a picker that lists only video files from your input folder, with a refresh button, that hands you a proper VIDEO output plus the file path.

    What it is

    A video-only loader. The file input is a combo box that hits a custom route (/mxd/videos/input) which lists only video files in ComfyUI/input - no images cluttering the list - and it has a refresh button so new files appear without restarting the server. The video_upload flag means you can also drop a file straight into the picker and it lands in input/ for you.

    Outputs: video (the VIDEO type, ready for the pack's WAN 2.2 prep/scaling nodes) and video_path (the resolved absolute path as a string, handy if a downstream node wants the file on disk).

    How it works

    It resolves your selection in a backwards-compatible way: it first tries the annotated filepath style (old workflows and uploads), then falls back to treating the name as relative to ComfyUI/input. It validates that the file actually exists and that it's a real video extension, raising a clear error for either failure. The node marks itself changed by file mtime, so if you re-export a clip to the same filename, ComfyUI picks it up on the next run instead of caching the old frames.

    The video comes out as a VideoFromFile object - which in the newer ComfyUI carries frames, audio, and frame rate together. That's the whole point: your downstream WAN22_I2V_Video_Prep_MXD can read fps and audio straight off the VIDEO without you re-loading the file a second time.

    Inputs and outputs

    • file - the picker. Videos only.
    • Outputs: video (VIDEO) and video_path (STRING).

    Install

    cd ComfyUI/custom_nodes
    git clone https://github.com/Maxed-Out-99/ComfyUI-MaxedOut.git
    

    Restart, or ComfyUI Manager → search "Maxed Out" → install. No extra dependencies - it uses core ComfyUI file APIs. Do note this node's VIDEO output type means it's aimed at newer ComfyUI builds with video as a first-class type.

    Troubleshooting

    • "File not found: …" - the file isn't in input/. Drop it in the ComfyUI/input folder (or upload via the picker) and hit refresh.
    • "Not a video file: …" - you pointed it at something with a non-video extension. It's a video-only loader by design; that's the point.
    • Pick a file and it shows an old version - the refresh button exists for exactly this. Re-run the loader after adding/overwriting files.
    • No videos in the list at all - you have none in input/, or (rarely) the custom route didn't register; restart ComfyUI to reload the pack's routes.

    For WAN 2.2 extension and I2V work, this is the loader that feeds everything downstream - and the only-videos filtering is one of those small quality-of-life wins you notice immediately.

    Categoryimage/video

    Inputs (1)

    NameTypeDefaultDescription
    fileCOMBO

    Outputs (2)

    NameTypeDescription
    videoVIDEO
    video_pathSTRING