diplomat.utils.video_info.is_video

diplomat.utils.video_info.is_video(video_path: PathLike) bool[source]

Check if a specified file is a video file.

Parameters:

video_path – The path to the file to check.

Returns:

True if the passed path is a video, otherwise False.