> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Video Slice - ComfyUI Built-in Node Documentation

> Complete documentation for the Video Slice node in ComfyUI. Learn its inputs, outputs, parameters and usage.

视频切片节点允许您从视频中提取特定片段。您可以定义开始时间和持续时间来裁剪视频，或直接跳过开头帧。如果请求的持续时间超过剩余视频长度，该节点可以返回可用部分或引发错误。

## 输入

| 参数     | 描述                                   | 数据类型    | 是否必填 | 范围         |
| ------ | ------------------------------------ | ------- | ---- | ---------- |
| `视频`   | 待切片的输入视频。                            | VIDEO   | 是    | -          |
| `起始时间` | 开始时间（秒），默认值：0.0。                     | FLOAT   | 否    | -1e5 至 1e5 |
| `时长`   | 持续时间（秒），0 表示不限时长，默认值：0.0。            | FLOAT   | 否    | 0.0 及以上    |
| `严格时长` | 若为 True，当无法满足指定持续时间时将引发错误，默认值：False。 | BOOLEAN | 否    | -          |

## 输出

| 输出名称 | 描述        | 数据类型  |
| ---- | --------- | ----- |
| `视频` | 裁剪后的视频片段。 | VIDEO |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ \[在 GitHub 上编辑]\([https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui\_embedded\_docs/docs/Video](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/Video) Slice/zh.md)

***

**Source fingerprint (SHA-256):** `5e3e3e69931a25183eb01b7b87ec12cbf9f5a748781993dcbeec7a6d5f7260c1`
