Skip to content

ryanfox/videosplatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Splat a video into constituent frames

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages