Skip to main content

Video to frames

Project description

Converts a video to frames

# ffmpeg needs to be installed! 

pip install vid2frames

from vid2frames import convert_video_to_frames

allfiles = convert_video_to_frames(

    video=r"F:\newvidxx2.mp4",

    output_folder="f:\\outputvi",  # folder will be created if it doesn't exists

    fps=24,

    fileprefix="videoframe",

    zfill=8,  # videoframe_1.png -> videoframe_0000001.png

)

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

vid2frames-0.10.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

vid2frames-0.10-py3-none-any.whl (4.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