Skip to main content

Regular Expression Path Matcher - Easily batch manipulate folders and files trees with regular expression!

Reason this release was yanked:

Test release, should not be used

Project description

Video Gestalt

PyPI-Status PyPI-Versions PyPI-Downloads

Build-Status Coverage-Status

Example video gestalt: Vespa-Scooter-Commercial

Presents a video in a summary form that shows the entire video at once as an array of moving video thumbnails.

Description

Video Gestalt presents a condensed video array, showing the entire video at once as moving video thumbnails.

The above is an example of the Video Gestalt for a 50-second commercial for Vesta scooters. (Click the Video Gestalt to see the original video.)

As you can see, it is a looping video with moving thumbnails of the original video. In one second, you can see every frame of the original video at a glance, without any discontinuities as it loops. This is done by arranging that each thumbnail slides over exactly its width in one loop so that the next thumbnail takes over seamlessly.

Hence, the video gestalts can be read in two ways: 1- an overall quick glance shows all the scenes of the entire video, 2- by focusing on one animated thumbnail, we can watch the entire video, by starting in the upper left corner, and following to the right, then descending one block lower and moving from right to left, then descending one block and moving left to right again, etc.

A longer explanation is available in this blog post.

Installation

So far this has been tested on Linux, Chrome OS and Windows, but it will likely work on MacOS too.

To install, simply use pip:

pip install --upgrade videogestalt

This will also install MoviePy, which will automatically install FFmpeg if necessary.

If they are not already installed, you will need to install python3 and the corresponding Python package manager pip beforehand.

On Linux and friends you might be able to do this like so:

sudo apt-get install python3 python3-pip

If you get an error, please ensure you are using the latest pip version, as older versions may not support PEP517 Python packages:

pip install --upgrade pip

Usage

An executable binary videogestalt is automatically installed in the local environment.

To generate a video file:

videogestalt -i countdown.mp4 -o countdown-gestalt --video

To generate an animated GIF (warning, output can be large):

videogestalt -i countdown.mp4 -o countdown-gestalt --gif

The application can also be used as a Python module:

>>> from videogestalt import videogestalt as vg
>>> vg.main('-i countdown.mp4 -o countdown-gestalt --gif')

Note: if the repository is cloned, there is an example countdown.mp4 video in tests/examples.

Building

The module can be built with PEP517 standard tools, such as pypa/build:

python -sBm build .

It can also be installed in development/editable mode after cloning this git repository:

pip install --upgrade -e .

License

Created by Eamonn O'Brien-Strain.

Licensed under the Mozilla Public License 2.0

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

videogestalt-0.2.4.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

videogestalt-0.2.4-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file videogestalt-0.2.4.tar.gz.

File metadata

  • Download URL: videogestalt-0.2.4.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for videogestalt-0.2.4.tar.gz
Algorithm Hash digest
SHA256 136e3359f36cd70b7bfbeeace38f16adfa9efebd11857cedfcf5d108ee18cf01
MD5 e85cd5a9c7a85e7fee581986c5b3393d
BLAKE2b-256 9b39531bfab4c48e5c7373fa3dc91af7a541e7609746bb0f8d0f1a85aa7de4a3

See more details on using hashes here.

File details

Details for the file videogestalt-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for videogestalt-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 45dac2b38749cec0332c46ce53ae875aaf0188845e06a3d993c32d750f57a2a2
MD5 f13f88c107d7e45a418904c31496b22a
BLAKE2b-256 99bb743008ba61620d4e1a064a820c270e6d40742ed6a75bab159c3520edf9e0

See more details on using hashes here.

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