Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (15 sloc) 299 Bytes
#!/bin/sh
for i in `ls assets/$1*.svg`; do
echo "converting $i"
rsvg-convert -b "#fff" -f png -o $i.png $i
done
ffmpeg \
-framerate 30 \
-i assets/$1-%04d.svg.png \
-s:v 600x600 \
-c:v libx264 \
-profile:v high \
-crf 23 \
-pix_fmt yuv420p \
-y \
out.mp4