Compare commits
No commits in common. "c38231b155955f9efc274baa126c06f83b6e6e3f" and "f2ef05ea0073b7ba56e897789af2effef4c4d6cb" have entirely different histories.
c38231b155
...
f2ef05ea00
|
@ -4,8 +4,6 @@ Scripts and templates for making "filmless", cameraless analog films using free
|
||||||
|
|
||||||
Building off of the [v2f](https://github.com/sixteenmillimeter/v2f) application for generating film-sized strips of images, this is a set of tools for building pixel-perfect image sequences for printing and laser cutting into viable 16mm film strips. Create 16mm films from non-film materials and convert video to strips of film using [Processing](https://processing.org/).
|
Building off of the [v2f](https://github.com/sixteenmillimeter/v2f) application for generating film-sized strips of images, this is a set of tools for building pixel-perfect image sequences for printing and laser cutting into viable 16mm film strips. Create 16mm films from non-film materials and convert video to strips of film using [Processing](https://processing.org/).
|
||||||
|
|
||||||
This project was made in collaboration with [Wenhua Shi](https://shiwenhua.net/) for a workshop run during the [Revolutions Per Minute Festival](https://revolutionsperminutefest.org/) held at UMass Boston.
|
|
||||||
|
|
||||||
### [Download](https://github.com/sixteenmillimeter/filmless/archive/master.zip)
|
### [Download](https://github.com/sixteenmillimeter/filmless/archive/master.zip)
|
||||||
|
|
||||||
## What this repository contains
|
## What this repository contains
|
||||||
|
|
|
@ -65,9 +65,6 @@ void printInfo() {
|
||||||
println("CALIBRATION H (MM): " + (ROWS * (SPACING / DPMM)));
|
println("CALIBRATION H (MM): " + (ROWS * (SPACING / DPMM)));
|
||||||
|
|
||||||
println("SOUNDTRACK SAMPLE RATE: " + (SPACING * 24));
|
println("SOUNDTRACK SAMPLE RATE: " + (SPACING * 24));
|
||||||
|
|
||||||
println("MAGIC H CORRECTION: " + MAGIC_H_CORRECTION);
|
|
||||||
println("MAGIC W CORRECTION: " + MAGIC_W_CORRECTION);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void setup () {
|
void setup () {
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ "${1}" == "" ]]; then
|
WITH_SOUND=true #change to false for a silent film
|
||||||
echo "Please include path to video file as first argument"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
WITH_SOUND=false #change to false for a silent film
|
|
||||||
|
|
||||||
#changes based on printer DPI, this is for 1440
|
#changes based on printer DPI, this is for 1440
|
||||||
#check the output of the calibration script
|
#check the output of the calibration script
|
||||||
|
@ -17,11 +11,6 @@ AUDIO_RATE=10368
|
||||||
#or hardcode it by changing VIDEO=${1} to VIDEO=/path/to/my/video.mov
|
#or hardcode it by changing VIDEO=${1} to VIDEO=/path/to/my/video.mov
|
||||||
VIDEO="${1}"
|
VIDEO="${1}"
|
||||||
|
|
||||||
if [ ! -f "${VIDEO}" ]; then
|
|
||||||
echo "Video file ${VIDEO} does not exist, exiting script..."
|
|
||||||
exit 2
|
|
||||||
fi
|
|
||||||
|
|
||||||
# change these to directory where you will store your frames and audio
|
# change these to directory where you will store your frames and audio
|
||||||
FRAMES_DIR=~/Desktop/frames/
|
FRAMES_DIR=~/Desktop/frames/
|
||||||
AUDIO_DIR=~/Desktop/audio/
|
AUDIO_DIR=~/Desktop/audio/
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [[ "${1}" == "" ]]; then
|
|
||||||
echo "Please provide path to an image as your first argument"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "${2}" == "" ]]; then
|
|
||||||
echo "Please provide your DPI as your second argument"
|
|
||||||
exit 2
|
|
||||||
fi
|
|
||||||
|
|
||||||
IMAGE="${1}"
|
|
||||||
DPI=${2}
|
|
||||||
|
|
||||||
filename=$(basename -- "${IMAGE}")
|
|
||||||
extension="${filename##*.}"
|
|
||||||
|
|
||||||
NEW_IMAGE="${IMAGE/.$extension/.png}"
|
|
||||||
|
|
||||||
if [ -f "${IMAGE}" ]; then
|
|
||||||
convert -units PixelsPerInch "${IMAGE}" -density ${DPI} "${NEW_IMAGE}"
|
|
||||||
rm "${IMAGE}"
|
|
||||||
else
|
|
||||||
echo "${IMAGE} does not exist"
|
|
||||||
exit 3
|
|
||||||
fi
|
|
Loading…
Reference in New Issue