diff --git a/processing/movie-maker.sh b/processing/movie-maker.sh new file mode 100644 index 0000000..71f4f49 --- /dev/null +++ b/processing/movie-maker.sh @@ -0,0 +1,25 @@ +#!/bin/bash -e + +##################################################### +# +# This script will take all of the frames rendered +# by a processing sketch using the "saveFrame()" +# function and sticth them together into a video. +# By default frames save as +# +# Usage: bash processing/movie-maker.sh +# +##################################################### + +INPUT_DIR="${1}" +OUTPUT="${2}" + +FRAMERATE=24 + +ffmpeg \ + -f image2 \ + -i "${INPUT_DIR}/screen-%04d.tif" \ + -r ${FRAMERATE} \ + -c:v prores_ks \ + -profile:v 3 \ + "${OUTPUT}" \ No newline at end of file