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_framesis automatically clamped to the total frame count of the input video.- The
seedparameter has no effect unlessstrategyis set to"random". - When
strategyis"uniform"andnum_framesis 1, the middle frame of the video is selected. - An unrecognized
strategyvalue raises an error.
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