Nodes/ComfyUI-Pixaroma/Load Video Pixaroma
ComfyUI Node

Load Video Pixaroma

Load Video Pixaroma - upload or pick a video and decode it to a frame batch, with a built-in video preview on the node so you can watch the source without leaving ComfyUI. Outputs: video_frames (the video as an image batch), audio, frame_count, fps, width, height, and duration - so you usually do not need a separate video-info node. Pairs with Save Mp4 Pixaroma: wire video_frames and audio straight across. Loading controls: Max frames sets how many frames to load from the start (a safety valve for long clips), Skip first frames then trims the front, Force FPS resamples to a steady frame rate, and Custom width/height resize each frame (set both to crop-to-fill that size without stretching). Reads with PyAV when available, otherwise imageio; audio is pulled with ffmpeg. No extra setup is needed on most ComfyUI installs.

By pixaroma·Created 5 months ago·Updated 23 days ago· 271
Load Video Pixaroma
    • video_frames
    • audio
    • frame_count
    • fps
    • width
    • height
    • duration
    video
    max_frames0
    force_fps0
    skip_first_frames0
    custom_width0
    custom_height0
    Category👑 Pixaroma/🖼️ Image

    Inputs (6)

    NameTypeDefaultDescription
    videoCOMBOThe video to load from ComfyUI's input folder. Use the 'choose video to upload' button, or pick one from the dropdown (and the arrows to flip through).
    max_framesINT00–100000How many frames to load from the start of the video (the first N). 0 = load all of them. The safety valve for long clips: it never reads more than this many frames. Skip first frames then trims the front of these, so Max frames 100 with Skip 5 gives 95.
    force_fpsFLOAT00–240Force a steady frames-per-second by dropping or duplicating frames (e.g. a 60fps clip forced to 24). 0 = keep the video's original rate. AI video models usually expect a fixed rate like 24.
    skip_first_framesINT00–100000Skip this many frames from the start, like trimming an intro. 0 = start at the beginning. Trims the front of the loaded frames.
    custom_widthINT00–8192Resize frames as they load. 0 = keep the original. Set only width OR only height to scale proportionally. Set BOTH to crop-to-fill that exact size: it scales to fill the box, keeps the picture's proportions, and trims the overflow (like Resize Crop). It never stretches.
    custom_heightINT00–8192Resize frames as they load. 0 = keep the original. Set only width OR only height to scale proportionally. Set BOTH to crop-to-fill that exact size: it scales to fill the box, keeps the picture's proportions, and trims the overflow (like Resize Crop). It never stretches.

    Outputs (7)

    NameTypeDescription
    video_framesIMAGEThe video as a batch of image frames, after any trim and resize.
    audioAUDIOThe video's soundtrack (no audio is passed on if the file has none). Wire into Save Mp4 to keep the sound.
    frame_countINTHow many frames were loaded.
    fpsFLOATFrames per second of the loaded clip (matches Force FPS when set).
    widthINTFrame width in pixels, after any resize.
    heightINTFrame height in pixels, after any resize.
    durationFLOATLength of the loaded clip in seconds.