_capture_screenshot
- video_file (str): The path to the video file.
- timestamp (float): The time in seconds from which to capture the screenshot.
VideoDownloaderToolkit
- working_directory (Optional[str], optional): The directory where the video will be downloaded to. If not provided, video will be stored in a temporary directory and will be cleaned up after use. (default: :obj:
None
) - cookies_path (Optional[str], optional): The path to the cookies file for the video service in Netscape format. (default: :obj:
None
)
init
del
download_video
- url (str): The URL of the video to download.
get_video_bytes
- video_path (str): The path to the video file.
get_video_screenshots
- video_path (str): The local path or URL of the video to take screenshots.
- amount (int): the amount of evenly split screenshots to capture.