Skip to main content
The VideoFrameSample node extracts a fixed number of frames from a video using one of four strategies. For the contiguous strategies “head” and “tail”, the output is a lazy video reference (frames are not decoded); for the non‑contiguous strategies “uniform” and “random”, only the selected frames are decoded.

Inputs

  • num_frames is automatically clamped to the total frame count of the input video.
  • The seed parameter has no effect unless strategy is set to "random".

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 727504a9cf7fe5505c33da071cb8f21a38e1b7c0f964c5da172d9cedfc2f2300