ComfyUI Node
Extract Video Chunk
Extract chunk N from a video for rolling-reference generation. Chunks overlap by overlap_frames so they can be blended later.
Extract Video Chunk
- images
- chunk
- total_chunks
- chunk_index
- is_last_chunk
◄chunk_index0►
◄chunk_frames81►
◄overlap_frames16►
CategoryVideoChunkTools
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | Full driving video / image sequence to chunk | |
| chunk_index | INT | 00–1000 | Which chunk to extract (0-based) |
| chunk_frames | INT | 812–2000 | Number of frames per chunk. For Wan models, use values like 81, 97, 113, 129 (must be 1 mod 4: ((n-1)//4)*4+1) |
| overlap_frames | INT | 160–200 | Number of frames that overlap between adjacent chunks. These will be crossfaded by BlendVideoChunks. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| chunk | IMAGE | — |
| total_chunks | INT | — |
| chunk_index | INT | — |
| is_last_chunk | BOOLEAN | — |