Nodes/ComfyUI-FFMPEGA/Load Video Path (FFMPEGA)
ComfyUI Node

Load Video Path (FFMPEGA)

Zero-memory video input with inline preview. Select or upload a video file and connect the output to FFMPEGA Agent's video_a/b/c slots. Features video preview, metadata display, and VHS-style trim parameters. Loads ZERO frames into memory — perfect for long videos or combining many clips without running out of memory. Accepts optional upstream IMAGE, AUDIO, and video_path inputs for chaining from Save Video or VHS nodes.

By AEmotionStudio·Created 7 months ago·Updated 3 months ago· 14
Load Video Path (FFMPEGA)
  • images
  • audio
  • video_path
  • frame_count
  • fps
  • duration
  • mask_points
  • images
  • audio
  • crop_data
video
force_rate0.00
skip_first_frames0
frame_load_cap0
select_every_nth1
video_path
mask_points
CategoryFFMPEGA

Inputs (9)

NameTypeDefaultDescription
videoCOMBOSelect or upload a video file. The file is NOT loaded into memory — only the path is forwarded to the FFMPEGA Agent so ffmpeg reads it directly.
force_rateFLOAT0.000–60Override the video's FPS. 0 = use source FPS.
skip_first_framesINT00–2147483647Number of frames to skip from the start.
frame_load_capINT00–2147483647Maximum number of frames to use. 0 = all frames.
select_every_nthINT11–2147483647Select every Nth frame (1 = every frame).
imagesoptIMAGEOptional upstream IMAGE pass-through (e.g. from Save Video or VHS).
audiooptAUDIOOptional upstream AUDIO pass-through. If connected, this audio is forwarded instead of silence.
video_pathoptSTRINGOptional upstream video path string (e.g. from Save Video). Overrides the file-picker selector when connected.
mask_pointsoptSTRINGOptional upstream mask_points pass-through. When connected, overrides the locally drawn mask points.

Outputs (8)

NameTypeDescription
video_pathSTRINGValidated video file path — connect to FFMPEGA Agent's video_a / video_b / video_c input slots.
frame_countINTTotal usable frames after applying trim parameters.
fpsFLOATEffective FPS (source FPS or force_rate override).
durationFLOATEffective duration in seconds after applying trim parameters.
mask_pointsSTRINGJSON-encoded point selection data from the Point Selector. Connect to FFMPEGA Agent's mask_points input for guided masking.
imagesIMAGEUpstream IMAGE pass-through (or empty tensor if not connected).
audioAUDIOUpstream AUDIO pass-through (or silence if not connected).
crop_dataSTRINGJSON-encoded crop rectangle from the Crop Selector. Format: {"x":N, "y":N, "w":N, "h":N}.