diff --git a/README.md b/README.md index 726cce0..59ca18d 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ 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/). +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) ## What this repository contains diff --git a/scripts/export.sh b/scripts/export.sh index 6448ade..4a50998 100755 --- a/scripts/export.sh +++ b/scripts/export.sh @@ -1,6 +1,12 @@ #!/bin/bash -WITH_SOUND=true #change to false for a silent film +if [[ "${1}" == "" ]]; then + 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 #check the output of the calibration script @@ -11,6 +17,11 @@ AUDIO_RATE=10368 #or hardcode it by changing VIDEO=${1} to VIDEO=/path/to/my/video.mov 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 FRAMES_DIR=~/Desktop/frames/ AUDIO_DIR=~/Desktop/audio/