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

Load Last Video (FFMPEGA)

A ComfyUI node in FFMPEGA with 10 inputs and 8 outputs.

By AEmotionStudio·Created 7 months ago·Updated 3 months ago· 14
Load Last Video (FFMPEGA)
  • images
  • audio
  • images
  • selected_frames
  • audio
  • video_path
  • image_paths
  • frame_count
  • fps
  • duration
refresh_modeauto
frame_select_modemanual
auto_timestamps
pause_for_selectionfalse
source_folder
filename_filter
max_frames128
video_path
CategoryFFMPEGA

Inputs (10)

NameTypeDefaultDescription
refresh_modeCOMBOautoauto: reload when latest video changes. manual: only on input change.
frame_select_modeCOMBOmanualHow to select frames. 'manual' = user clicks in preview. Other modes auto-select frames based on the chosen strategy.
auto_timestampsSTRINGComma-separated timestamps for 'timestamps' mode (e.g., '0.5,1.0,2.5').
pause_for_selectionBOOLEANfalseWhen ON and frame_select_mode is 'manual', blocks execution if no frames are selected. Select frames, then re-queue.
source_folderoptSTRINGCustom folder to scan. Empty = default output/temp directories.
filename_filteroptSTRINGOnly load files starting with this prefix.
max_framesoptINT1280–2147483647Max frames to decode into the IMAGE tensor (0 = all). Caps memory usage for long videos. Frames are evenly sampled to preserve temporal coverage.
imagesoptIMAGEOverride: video frames as IMAGE tensor. Overrides auto-discovery.
audiooptAUDIOOverride: provide audio directly. Overrides audio extracted from video.
video_pathoptSTRINGOverride: path to a video file. Overrides auto-discovery.

Outputs (8)

NameTypeDescription
imagesIMAGE
selected_framesIMAGE
audioAUDIO
video_pathSTRING
image_pathsSTRING
frame_countINT
fpsFLOAT
durationFLOAT