nicetoolbox.utils.video.probe_video

nicetoolbox.utils.video.probe_video(video_path: str) dict[source]

Parse video information using ffprobe. The collected information: codec, fps, number_of_frames, width, height, duration

Parameters:

video_path (str) – Path to the video file.

Returns:

Return the dictionary holds the video information.

Return type:

dict