Splat videos
Project description
Video splatter
Splat a video into a single image by sampling a frame at regular intervals. Useful for seeing the changes over time of an entire video or movie.
Can produce "barcodes":
Or mosaics: Original from The Dronalist, used under CC-BY
It also can calculate some stats about the visuals of your video. Colorfulness is a way to quantify how bright and varied the colors in an image are. Contrast does the same for light and dark.
Add them together to get something like "visual 🌶️ factor".
Installation
pip install videosplatter
Usage
Command line:
$ videosplatter <filename> [--start <start time in seconds>] [--end <end time in seconds>] [--interval <number of seconds between samples]
Example:
$ videosplatter city.mp4
Programmatic usage:
from videosplatter import splat
splat.splat(filename, start_time, end_time, interval)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
videosplatter-0.3.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for videosplatter-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a2c0d54fad6817f184012cd8264f8c6b3175d13e29a5ccaa376b7759fe918ff |
|
MD5 | f1c6675ade5516537fee515038716ed4 |
|
BLAKE2b-256 | 5bb88042a491042bb535ab758271224208c334ae71a409e3c5df0a0bec12d662 |