I made a nice model in blender of a toroidal microresonator, and ended up making an animation of it. The first time round I exported it as a sequence of .jpg files (yeah yeah, should have been .png I know), so while blender is making the video file I tried to make a video from the sequence.
use ffmpeg:
ffmpeg -f image2 -i img%02d.jpg -r 16 tor.avi
Is what I ended up using. I don't know what -f image2 means, but
-r 16 means 16 frames per second
-i img%02d.jpg means that the .jpg files with name starting img followed with 2 digits buffered by zeros will be used.
There are more fancy shit you can do, but at this point I couldn't be bothered to check it out.
here are some websites:
http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-need
No comments:
Post a Comment