Permalink
Browse files

update makevideo to use libRSVG, update readme

  • Loading branch information...
postspectacular committed Jun 19, 2016
1 parent e34c010 commit ed4db5ab95d816ae3ab427872a681abb31bdf021
Showing with 3 additions and 3 deletions.
  1. +2 −1 README.org
  2. +1 −2 makevideo
View
@@ -42,6 +42,7 @@ TBD
- [[https://github.com/emcrisostomo/fswatch][fswatch]] (only needed for =./autotest= runner)
- [[http://emscripten.org][emscripten]] & [[http://nodejs.org][node]] (only needed for asm.js x-compilation via =./compile=)
- [[http://cscope.sourceforge.net/][cscope]] (only needed for =./browse=)
- [[https://wiki.gnome.org/Projects/LibRsvg][rsvg]] & [[http://ffmpeg.org/][ffmpeg]] (only needed for =./makevideo=)
** Dependencies
@@ -163,7 +164,7 @@ make config=release_sse ex-dla && bin/release/ex-dla > assets/dla.svg
make config=release_sse ex-verlet && bin/release/ex-verlet
# ouputs are stored as SVG sequence in /assets
# use script below to convert to mp4 (OSX only) -> out.mp4
# use script below to convert to mp4 (requires rsvg & ffmpeg) -> out.mp4
./makevideo verlet
#+END_SRC
View
@@ -1,8 +1,7 @@
#!/bin/sh
qlmanage -r cache
for i in `ls assets/$1*.svg`; do
echo "converting $i"
qlmanage -t -s 600 -o assets $i &> /dev/null
rsvg-convert -b "#fff" -f png -o $i.png $i
done
ffmpeg \
-framerate 30 \

0 comments on commit ed4db5a

Please sign in to comment.