nicetoolbox.utils.video.get_fps

nicetoolbox.utils.video.get_fps(video_file) int[source]

Get the frame rate of a video file.

Parameters:

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

Returns:

The frame rate of the video file.

Return type:

int