Skip to main content

One-Glance Overview of Any Video

Project description

[videogestalt-logo

Video Gestalt

PyPI-Status PyPI-Versions PyPi-License PyPI-Downloads

Build-Status Coverage-Status

One-Glance Overview of Any Video

Example video gestalt: Vespa-Scooter-Commercial

Video Gestalt displays 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.9.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: videogestalt-0.2.9.tar.gz
  • Upload date:
  • Size: 14.7 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.9.tar.gz
Algorithm Hash digest
SHA256 190c6f4689a9e5a3014587969ca9eeecbed752e976eba4fb6c6d8c2d11b90f9c
MD5 2f1aec09ff133a19046f30d303e78bc6
BLAKE2b-256 f998274d972ab79ba0d789bdc3fb9d22a68bf8fd2906664b6ac2ab3647a21971

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for videogestalt-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 82bda02d0faca7d64991104ad9bef7c000f0665d50fd3bd310835dc9ef9217f6
MD5 378f80eac4c757bd31e97b570050cafc
BLAKE2b-256 53c3a5746882461766649c941b42c173dc7d56f275f84646b517e4106affe976

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