PixaromaHelp
Help › Nodes › Image

Load Video Pixaroma

Upload or pick a video, decode it to frames plus audio and info, and preview it right on the node.

In ComfyUI: double-click an empty spot on the canvas and type Load Video Pixaroma.

What it does

Loads a video from ComfyUI's input folder and turns it into a batch of image frames you can feed into any image or video workflow. A video preview plays on the node body so you can check the clip without leaving ComfyUI.

The size of the chosen video is shown on the top left of the node, beside the outputs, so you can see what you are working with at a glance. That is the size of the source file; if you set custom_width or custom_height the frames come out at that size instead, and the width and height outputs always report what actually leaves the node.

Phone videos come out the right way up. A phone filming upright (every iPhone) saves the picture sideways with a note telling players to turn it; the node turns the frames the same way your video player does.

The details you usually need are built in as separate outputs, so you do not need a second 'video info' node.

How to use

  • Click choose video to upload to add a file from your computer, or pick one from the dropdown (use the arrows to flip through).
  • Or drag a video file from your computer and drop it on the node: it is uploaded and loaded into this node.
  • Wire video_frames into an image or video node. To rebuild a video later, send video_frames and audio straight into Save Mp4 Pixaroma.
  • The clip plays in the preview as soon as it is selected, no need to run first.

Loading controls

Max frames
How many frames to load. 0 = all. The safety valve for long clips. How it works with Skip first frames depends on max_frames_after_skip (below). A long or 4K clip loaded whole can need more memory than your computer has (2.5 minutes of 1080p phone video is about 140 GB while loading): the node then stops, usually within a second, and tells you the Max frames that fits, instead of freezing the run.
Force FPS
Force a steady frames-per-second by dropping or duplicating frames (a 60fps clip forced to 24). 0 = keep the original rate. AI video models usually expect a fixed rate.
Skip first frames
Skip this many frames from the start, like trimming an intro. The audio output is cut the same way (and to Max frames), so the sound stays in sync with the picture.
max_frames_after_skip
On (the default for a new node): Max frames is how many frames you get after the skip. Max 100 with Skip 5 gives exactly 100. Use this when Max frames comes from a node that gives the exact frame count a video model needs, like Duration Pixaroma. Off: Max frames counts from the start of the video, so Max 100 with Skip 5 gives 95. Workflows saved before this switch existed open with it off, so they work as before. Max frames 0 loads the whole clip either way.
Custom width / height
Resize each frame as it loads. 0 = keep original. Set one to scale proportionally; set both to crop-to-fill that exact size (keeps proportions and trims overflow, like Resize Crop). It never stretches.

Outputs

video_frames
The video as a batch of image frames.
audio
The soundtrack (empty if the file has none). Wire into Save Mp4 to keep the sound.
frame_count
How many frames were loaded.
fps
Frames per second of the loaded clip.
width / height
Frame size in pixels, after any resize.
duration
Length of the loaded clip in seconds.

Requirements

Load Video reads frames with PyAV (or imageio as a fallback) and gets audio with ffmpeg. Most ComfyUI setups already have these, so usually there is nothing to install. If you ever see a 'video reader' message, install PyAV: in ComfyUI Manager use its pip install option and enter av (portable Windows: run python_embeded\python.exe -m pip install av in your ComfyUI folder).

The settings on the node

videochoice
The 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_framesnumberdefault 0
How many frames to load. 0 = load all of them. With 'max_frames_after_skip' on, you get exactly this many frames after the skipped ones (Max 100 with Skip 5 gives 100). With it off, it counts from the start of the video, so Max 100 with Skip 5 gives 95. A clip too big for your free memory stops with a message giving the Max frames that fits.
force_fpsnumberdefault 0
Force 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_framesnumberdefault 0
Skip this many frames from the start, like trimming an intro. 0 = start at the beginning. The sound is cut the same way, so it stays in sync. See 'max_frames_after_skip' for how this works with Max frames.
custom_widthnumberdefault 0
Resize 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_heightnumberdefault 0
Resize 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.
max_frames_after_skipon / offoptionaldefault on
On: Max frames is how many frames you get AFTER the skip, so Max 100 with Skip 5 gives exactly 100 (handy when Max frames comes from a node that gives the frame count a video model needs). Off: Max frames counts from the start of the video, so Max 100 with Skip 5 gives 95 (how workflows saved before this switch keep working). Max frames 0 loads everything either way.
Pairs with Save Mp4 Pixaroma; video_frames and audio wire straight across.

This is the help that comes with Pixaroma 1.4.265. Inside ComfyUI, select the node and click the orange ? above it to read the same help there.