frame_count#

nominal.experimental.video_processing.frame_count(video_path: Path) → int#

Given a path to a video file, return the number of frames present in the video.

Note

If no streams are present, returns 0. If multiple streams are present, returns frame count of the first video stream.