From 06a225b157731987895d507980c7eaeefb928845 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Sun, 9 May 2021 09:11:40 -0400 Subject: [PATCH] Use variables as arguments in primitive loop script. --- ffmpeg/frames/primitive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg/frames/primitive.sh b/ffmpeg/frames/primitive.sh index 96fcc5e..7967bda 100644 --- a/ffmpeg/frames/primitive.sh +++ b/ffmpeg/frames/primitive.sh @@ -45,7 +45,7 @@ FRAMES=frames/*.png for frame in ${FRAMES}; do echo "Processing $frame with primitive..." # Run the "primitive" application on every frame - primitive -i "${frame}" -o "${frame}" -n 200 -m 4 + primitive -i "${frame}" -o "${frame}" -n ${NUMBER} -m ${MODE} done ffmpeg -f image2 -i frames/frame-%06d.png -c:v prores_ks -profile:v 3 "${OUTPUT}"