cf_video_fps¶
Category: video
GitHub: cute_video.h
How many frames per second the file says it runs at.
| Parameters | Description |
|---|---|
video |
The video. |
Return Value¶
Returns the rate, or 0 if the file does not state one.
Remarks¶
The rate is optional in H.264 and some encoders leave it out. cf_video_update falls back to 30 when it is missing; use cf_video_next_frame and your own clock if you need something else.