Commit a1a2ea23 authored by sarah's avatar sarah

posters weekend 2 and animation + panel cartel for Sara's exhibition

parent 84f6081b

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

# Transform SVG to PNG
PREVIOUS=""
for FILE in svg/*.svg
do
FILENAME=$(basename $FILE)
echo "PREVIOUS: ${PREVIOUS} FILE: ${FILENAME}"
DIFF=$(cmp "svg/${PREVIOUS}" "svg/${FILENAME}")
if [ "$PREVIOUS" != "" ] && [ "$DIFF" = "" ]
then
echo "Copy frame ${FILENAME}"
cp "png/${PREVIOUS%.*}.png" "png/${FILENAME%.*}.png"
else
inkscape -z -e png/${FILENAME%.*}.png -w 1920 -h 1080 $FILE;
PREVIOUS=$FILENAME
fi
done
ffmpeg -i png/%05d.png -c:v libx264 -vf fps=25 -pix_fmt yuv420p 1920x1080.mp4;
\ No newline at end of file