/glitch-art-display

Generate seizure-inducing glitch transitions between images using Python and ffmpeg.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

glitch-art-display

Art display with seizure-inducing glitch transitions.

art-display-no-sound.mp4

Installation

pip install git+https://github.com/thetechromancer/glitch-art-display

Example

NOTE: All images must be the same resolution

# generate .MP4
glitch-art-display ~/Pictures ./output.mp4

# play the video and loop forever
vlc --loop --fullscreen --no-video-title-show output.mp4

Usage

glitch-art-display --help
Usage: glitch-art-display [OPTIONS] INPUT OUTPUT

Options:
  --amount INTEGER RANGE       Glitch amount  [default: 50; 1<=x<=100]
  --fps FLOAT                  Frames per second  [default: 25]
  --normal-frames INTEGER      Number of normal frames  [default: 625]
  --transition-frames INTEGER  Number of glitchy transition frames  [default:
                               30]
  --dont-shuffle               Don't shuffle order of images  [default: False]
  --help                       Show this message and exit.  [default: False]