> ## 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.

# VideoFrameSample - ComfyUI Built-in Node Documentation

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

`VideoFrameSample` ノードは、4 つの戦略のいずれかを使用して、ビデオから固定数のフレームを抽出します。連続戦略「head」と「tail」の場合、出力は遅延ビデオ参照です（フレームはデコードされません）。非連続戦略「uniform」と「random」の場合、選択されたフレームのみがデコードされます。

## 入力

| パラメータ   | 説明                                    | データ型  | 必須 | 範囲                                                      |
| ------- | ------------------------------------- | ----- | -- | ------------------------------------------------------- |
| `ビデオ`   | 入力ビデオ。                                | VIDEO | はい | –                                                       |
| `フレーム数` | サンプリングするフレーム数（デフォルト：16）。              | INT   | はい | 1 – 9999                                                |
| `戦略`    | サンプリング戦略（デフォルト："uniform"）。            | COMBO | はい | `"uniform"`<br />`"head"`<br />`"tail"`<br />`"random"` |
| `シード`   | ランダムシード。「random」戦略でのみ使用されます（デフォルト：0）。 | INT   | はい | 0 – 18446744073709551615                                |

* `num_frames` は、入力ビデオの総フレーム数に自動的にクランプされます。
* `seed` パラメータは、`strategy` が `"random"` に設定されている場合のみ効果があります。

## 出力

| 出力名   | 説明            | データ型  |
| ----- | ------------- | ----- |
| `ビデオ` | サンプリングされたビデオ。 | VIDEO |

> このドキュメントは AI によって生成されました。エラーを見つけた場合や改善のご提案がある場合は、ぜひ貢献してください！ [GitHub で編集](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/VideoFrameSample/ja.md)

***

**Source fingerprint (SHA-256):** `727504a9cf7fe5505c33da071cb8f21a38e1b7c0f964c5da172d9cedfc2f2300`
