async def METHOD_NAME(input: ExtractVideoThumbnailInput):
    thumbnail_file_name = f"{input.schedule_item_id}-thumbnail.jpg"
    file_path = local_storage.path(thumbnail_file_name)
    if local_storage.exists(thumbnail_file_name):
        return file_path
    video_capture = cv2.VideoCapture(input.file_path)
    success, image = video_capture.read()
    if not success:
        raise ValueError("Unable to extract frame")
    cv2.imwrite(file_path, image)
    return file_path