Skip to main content

Download frames from videos

Project description

Download single frames from YT Videos

from ytframedownloader import YT2Frames

#Will download https://yt-dl.org/latest/youtube-dl.exe and save it your cache folder.

#FFMPEG must be installed and in your path

ytf = (

    YT2Frames(

        youtubeurl="https://www.youtube.com/watch?v=UNTE7TXhv9c",

        foldertosave="f:\\testyoutubedownload",

        force_yt_downloader_update=False, #deletes youtube-dl.exe and downloads it again

    )

    .get_download_codes(desired_videoquality=640) #If the video quality is not available, will get the one that is closest

    .download_video()

    .convert_video_to_frames(fps=1) #One frame per second

)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ytframedownloader-0.10.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

ytframedownloader-0.10-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page