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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

videosplatter-0.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file videosplatter-0.3.tar.gz.

File metadata

  • Download URL: videosplatter-0.3.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for videosplatter-0.3.tar.gz
Algorithm Hash digest
SHA256 d6b097c337b06967dd8a684be96154ec663a65b94e734b97b4f91c566ae0932a
MD5 1e2e15de63cda0a5c73fd0e3b8ad28b2
BLAKE2b-256 d1c4f4d45a1e7be1432ae45cec7569f242193dc9348af559f39117a5406ea7af

See more details on using hashes here.

File details

Details for the file videosplatter-0.3-py3-none-any.whl.

File metadata

  • Download URL: videosplatter-0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for videosplatter-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6a2c0d54fad6817f184012cd8264f8c6b3175d13e29a5ccaa376b7759fe918ff
MD5 f1c6675ade5516537fee515038716ed4
BLAKE2b-256 5bb88042a491042bb535ab758271224208c334ae71a409e3c5df0a0bec12d662

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page