Skip to main content
The Video Slice node allows you to extract a specific segment from a video. You can define a start time and a duration to trim the video, or simply skip the beginning frames. If the requested duration is longer than the remaining video, the node can either return what’s available or raise an error.

Inputs

Note: If the video cannot be sliced for the given start_time and duration, the node raises an error. When strict_duration is False, the node returns the available portion of the video when the requested duration exceeds the remaining length; when True, it raises an error instead.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/Video Slice/en.md)

Source fingerprint (SHA-256): 439b76528742c1fbe230eee9502e945847ae99a58a9bd81a7a7dc3b20e15d450