Numframes
Numframes is a term used in video, animation, and image sequence contexts to denote the total number of individual frames in a sequence. It is typically an integer that defines the length of the sequence and is used by editors, renderers, and analyzers to determine how many images must be processed or displayed.
Relation to duration and frame rate: If the sequence has a constant frame rate f (frames per
Fixed vs variable frame rate: With a fixed-frame-rate source, numframes is straightforward. For variable frame rate
Formats and APIs: Some containers and tools expose a total frame count (for example nb_frames or frame_count).
Notes and pitfalls: Interlacing, field versus frame counting, and dropped or duplicated frames can cause discrepancies