Nodes/ComfyUI-FFmpeg-Video/Video Extract Segment (FFmpeg)
ComfyUI Node

Video Extract Segment (FFmpeg)

Extract a segment of frames (as IMAGE tensor) and corresponding audio from a video. Frame-accurate extraction via FFmpeg pipe. If the segment exceeds the video length, only available frames are returned. If the video has no audio, silent audio is returned.

By bbaudio-2025·Created 13 days ago·Updated 11 days ago· 2
Video Extract Segment (FFmpeg)
  • video
  • images
  • audio
start_frame0
length30
CategoryFFmpeg Video

Inputs (3)

NameTypeDefaultDescription
videoVIDEOThe source video to extract from.
start_frameINT0Frame number to start extraction from (0-indexed).
lengthINT30Number of frames to extract. Clamped to the remaining frames in the video.

Outputs (2)

NameTypeDescription
imagesIMAGE
audioAUDIO