Skip to content
Script with CLI for creating slitscan images and videos.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
.gitignore
README.md
cli.py
requirements.txt
slit_scanner.py

README.md

slit_scanner_darkly

Slit scanning. From frames to weird final product.

This is a repository that allows for creating several types of slitscans (examples available further down the page).

Setup: 0. Install ffmpeg and Python 3

  1. clone this repo
  2. cd slit_scanner_darkly
  3. mkdir venv
  4. python3 -m venv venv/
  5. source venv/bin/activate
  6. pip install -r requirements.txt

Single Slitscans: Single slitscans come in two flavors: horizontal and vertical. This style of slitscan is inspired by [Adam Magyar's Urban Flow project] (http://www.magyaradam.com/).

Moving Slitscans: Like the single slitscans (horizontal and vertical), but compiled over all the images in a sequence. Each new frame is a single slitscan from a different x or y coordinate.

Usage:

Required Args:

Flags Help
-i, --input_dir input directory (set of video frames)
-o, --output_dir output directory (script will create subfolder)

Optional:

Flags Help
-t, --slitscan_type Type of slitscan to be performed. [0]=single-vertical, [1]=single-horizontal [2]=Moving-Horizontal, [3]=Moving-Vertical, [4]=Moving-Both (Vertical AND Horizontal)
-slit, --slit_size Slit Size (default=5)
-l, --frame_limit Limit number of frames to specified int (default = -1)
-format, --output_format Output image format (default="JPEG")

Examples:

Github doesn't let me embed YouTube vids... lame. I put a few gifs in, but for full examples see the videos.

Original Footage:

Train Station:

Chicago Train Footage

https://www.youtube.com/watch?v=t-guLsCS_pg

Bridge:

Chicago Bridge Footage

https://www.youtube.com/watch?v=-JRnao5nn_U

Single Slitscan (height)

cli.py -i <input_dir - set of video frames> -o <output_dir> -slit 5 -t 0

Train Station:

Bridge:

Single Slitscan (width)

cli.py -i <input_dir - set of video frames> -o <output_dir> -slit 5 -t 1

Train Station:

Bridge:

Moving Slitscan (height)

cli.py -i <input_dir - set of video frames> -o <output_dir> -slit 5 -t 2 Train Station:

Chicago Train Footage - Slitscan Width

https://www.youtube.com/watch?v=Mm9q6qhgt7Y

Bridge:

Chicago Train Footage - Slitscan Width

https://www.youtube.com/watch?v=e5PUNPEcwTI

Moving Slitscan (width)

cli.py -i <input_dir - set of video frames> -o <output_dir> -slit 5 -t 3

Chicago Train Footage - Slitscan Width

https://www.youtube.com/watch?v=UCeJmNJHFNI

Chicago Bridge Footage - Slitscan Width

https://www.youtube.com/watch?v=3k-TRcbbit8

You can’t perform that action at this time.