Skip to main content

Break a video to it's frames.

Project description

Video To Frames

videoToFrames breaks a video to it's frames and save them in a folder.

Installation

You can install the videoToFrames from PyPI:

    python -m pip install break-video-to-frames

How to use

video to frames is a command line application, named videoToFrames. To check it's command-line options:

    $ videoToFrames -h

To break all videos in a folder to frames:

    $ videoToFrames -p your_folder_path

To break a specified video:

    $ videoToFrames -p your_video_path

You can specify a format to save frames (default is jpg):

    $ videoToFrames -f png

To see time and number of frames:

    $ videoToFrames -v

To import to your program:

    >>> import videoToFrames
    >>> videoToFrames.__version__
    >>> from videoToFrames.breaker import VideoToFrames
    >>> obj = VideoToFrames(path="your_path", verbose=True, image_format="jpg")
    >>> obj.run_breaking()

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

break-video-to-frames-1.0.0.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

break_video_to_frames-1.0.0-py3-none-any.whl (6.3 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