validate_video_file

lib.video.validate_video_file(file_path: str) str

Validates that a given file exists and is a valid video format

Parameters:

file_path (str) – The full path to the video file to validate

Return type:

The full expanded video file path

Raises:

FaceswapError – If the given video file is not valid