Use variables as arguments in primitive loop script.

This commit is contained in:
Matt McWilliams 2021-05-09 09:11:40 -04:00
parent 3a2bab2efe
commit 06a225b157
1 changed files with 1 additions and 1 deletions

View File

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