Update attribution and modify the export script to not work if file is not provided and is not found.

This commit is contained in:
mmcwilliams 2024-04-23 08:42:54 -06:00
parent f5105d2c97
commit c38231b155
2 changed files with 14 additions and 1 deletions

View File

@ -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

View File

@ -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/