Skip to main content

VideoToFrames

PyPI version PyPI pyversions Build Status codecov Codacy Badge

A simple Python script to break videos into frames. This package does NOT require ffmpeg.

Installation

VideoToFrames requires Python 3.4+

pip install videotoframes

Example Usage:

VideoToFrames can be run from any command prompt or imported into a Python project.

Assuming there is a video at ./videos/example.mp4 and you want to create frames in ./frames:

videotoframes -i ./vidoes/example.mp4 -o ./frames

If you want to create a limited number of frames that are evenly distributed:

videotoframes -i ./videos/example.mp4 -o ./frames --max-frames=20 --even

You can also use VideoToFrames with many videos at once:

videotoframes -i ./videos -o ./frames

Using VideoToFrames in a Python project:

from videotoframes import convert

video_base_64 = '...'
frames = convert(video_base_64=video_base_64, max_frames=10, frame_rate=1)

GitHub Project

https://github.com/brandonschabell/videotoframes

PyPi Project

https://pypi.org/project/videotoframes/

Contact

Please feel free to email me at brandonschabell@gmail.com with any questions or feedback.

Metadata

Release files for videotoframes 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for videotoframes 1.1.5
File Size Uploaded Provenance Actions
videotoframes-1.1.5.tar.gz 4.1 kB Without provenance Details for videotoframes-1.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for videotoframes 1.1.5
File Interpreter ABI Platform Actions
videotoframes-1.1.5-py3-none-any.whl Python 3 none any Details for videotoframes-1.1.5-py3-none-any.whl

Total release size: 9.5 kB

Release files / videotoframes-1.1.5.tar.gz

Download URL videotoframes-1.1.5.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c0a2b8eb51bf64236cf4d8b013d4aed0b904932182f5511f9220f2a0a59a5788
BLAKE2b-256 checksum
How to use checksums
7f5922a49ae73d5f3695e18cbf0aa02465ddd35f233e50cfe1a83e04afead9ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / videotoframes-1.1.5-py3-none-any.whl

Download URL videotoframes-1.1.5-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9216547a434e56f69a1ed36a6cca62b483d58c5c05516a2e86e09699ff9ba35
BLAKE2b-256 checksum
How to use checksums
d4f33ba63918e291b0fad87dbcbef3eeff5574cff523cc156315dcfe1185c263
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for videotoframes 1.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page