Skip to main content

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": barcode image from New York City aerial footage

Or mosaics: mosaic image from New York City aerial footage 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


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)

Uploaded Source

Built Distribution

videosplatter-0.3-py3-none-any.whl (5.1 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