cf_video_duration¶
Category: video
GitHub: cute_video.h
How long the video runs, in seconds.
| Parameters | Description |
|---|---|
video |
The video. |
Return Value¶
Returns the length, or 0 if the file does not state a frame rate -- the frame count is always known, but seconds need a rate to divide by.