Terminal> python vib_undamped.py --dt 0.05 --num_periods 40
Generates frames tmp_vib%04d.png
in files. Can make movie:
Terminal> avconv -r 12 -i tmp_vib%04d.png -vcodec flv movie.flv
Can use ffmpeg
instead of avconv
.
Format | Codec and filename |
Flash | -vcodec flv movie.flv |
MP4 | -vcodec libx64 movie.mp4 |
Webm | -vcodec libvpx movie.webm |
Ogg | -vcodec libtheora movie.ogg |