ComfyUI Node
Frame Extractor
Extracts a configurable number of frames from a source video (evenly spaced, random, or start/middle/end) and outputs their file paths, timestamps, summary info, and the temp directory containing the images.
Frame Extractor
- frame_paths
- frame_timestamps
- frame_info
- frames_directory
◄video_path►
◄num_frames3►
◄extraction_methodEvenly Spaced►
◄seed0►
◄start_time0.0►
◄end_time0.0►
◄output_formatpng►
CategorySwiss Army Knife 🔪/Utils
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| video_path | STRING | Path to video file (from Media Selection node) | |
| num_frames | INT | 31–20 | Number of frames to extract |
| extraction_method | COMBO | Evenly Spaced | Method for selecting which frames to extract |
| seedopt | INT | 00–18446744073709550000 | Seed for random extraction (used when extraction_method is 'Random') |
| start_timeopt | FLOAT | 0.00–1000 | Start time in seconds for frame extraction window (0 = start of video) |
| end_timeopt | FLOAT | 0.00–1000 | End time in seconds for frame extraction window (0 = end of video) |
| output_formatopt | COMBO | png | Output image format for extracted frames |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| frame_paths | STRING | — |
| frame_timestamps | STRING | — |
| frame_info | STRING | — |
| frames_directory | STRING | — |