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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ytframedownloader-0.10.tar.gz.

File metadata

  • Download URL: ytframedownloader-0.10.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for ytframedownloader-0.10.tar.gz
Algorithm Hash digest
SHA256 8370243b4bf6cc73f7bf06026741a21a053a1c533ed763be21f4a6c6d392c4df
MD5 f0e0e6796fae88b4bb57f265d00fa2ea
BLAKE2b-256 30d8c1e82caff7d0e89ca459b55c5aea38ecfeb4ede96dac51c73e0d9d962f99

See more details on using hashes here.

File details

Details for the file ytframedownloader-0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for ytframedownloader-0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 fe9c476379298399578518ab42ef0e59901311e708b999c818542118b11b93ed
MD5 434a7961ccd29cff6c9e38fa02124891
BLAKE2b-256 ba082643912604833306c12957cf5dea3c7ba23cf75fc7203e2e0da1fc727749

See more details on using hashes here.

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