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.
Video Extract Segment (FFmpeg)
- video
- images
- audio
◄start_frame0►
◄length30►
CategoryFFmpeg Video
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| video | VIDEO | The source video to extract from. | |
| start_frame | INT | 0 | Frame number to start extraction from (0-indexed). |
| length | INT | 30 | Number of frames to extract. Clamped to the remaining frames in the video. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| audio | AUDIO | — |