Skip to content

Pantsworth/slit_scanner_darkly

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
 
 
 
 
 
 

slit_scanner_darkly

Slit scanning. From frames to weird final product.

Chicago Train Footage - Slitscan Width

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

Setup:

  1. Install ffmpeg and Python 3
  2. clone this repo
  3. cd slit_scanner_darkly
  4. mkdir venv
  5. python3 -m venv venv/
  6. source venv/bin/activate
  7. 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.

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

About

Script with CLI for creating slitscan images and videos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages