nicetoolbox.utils.video.get_number_of_frames

nicetoolbox.utils.video.get_number_of_frames(video_file: str) int[source]

Get the number of frames in a video file.

Parameters:

video_file (str) – The path to the video file.

Returns:

The number of frames in the video file.

Return type:

int