内置节点参考
VideoFrameSample - ComfyUI Built-in Node Documentation
Complete documentation for the VideoFrameSample node in ComfyUI. Learn its inputs, outputs, parameters and usage.
VideoFrameSample 节点使用四种策略之一从视频中提取固定数量的帧。对于连续策略 "head" 和 "tail",输出为惰性视频引用(帧不会被解码);对于非连续策略 "uniform" 和 "random",仅解码选定的帧。
输入
| 参数 | 描述 | 数据类型 | 是否必需 | 范围 |
|---|---|---|---|---|
视频 |
输入视频。 | VIDEO | 是 | – |
帧数 |
要采样的帧数(默认:16)。 | INT | 是 | 1 – 9999 |
采样策略 |
采样策略(默认:"uniform")。 | COMBO | 是 | "uniform" |
"head" "tail" "random" | | 随机种子 | 随机种子,仅用于 "random" 策略(默认:0)。 | INT | 是 | 0 – 18446744073709551615 |
num_frames会自动被限制为输入视频的总帧数。- 除非
strategy设置为"random",否则seed参数无效。
输出
| 输出名称 | 描述 | 数据类型 |
|---|---|---|
视频 |
采样后的视频。 | VIDEO |
本文档由 AI 生成。如果您发现任何错误或有改进建议,欢迎贡献! 在 GitHub 上编辑
Source fingerprint (SHA-256): 727504a9cf7fe5505c33da071cb8f21a38e1b7c0f964c5da172d9cedfc2f2300
官方原文
本页来自 Comfy-Org 官方中文文档的固定版本,并转换为 xueai 静态页面。内容以官方持续更新的页面为准。