As was pointed out, all frames can be used, it just depends what your goal is.
If you don't need all frames: output only 1 frame per second for exemple, or keyframes only.
It's worth noting that all frames of a video could be keyframes in some cases (depends on encoding parameters).
|