Method for Making Movies from WF-3D
Here is a method for creating movies from WF-3D.
- Run WF3d with -movie on the command-line.
The WF3d snaps a picture of every frame.
You may wish to reduce the display speed (Example: -speed 0.25), because capturing frames
will slow down the displayer, and the movie may become jumpy.
The result of this step is a set of files called picture_00000.ppm to picture_00xxx.ppm,
numbered sequentially.
- Convert image frames to JPEG images.
bash
for f in pic*.ppm ; do convert -quality 100 $f `basename $f ppm`jpg; done
exit
- Run mencoder to collect frames into AVI movie. Here is an example of how to use mencoder
with the files created from the step above.
mencoder "mf://*.jpg" -mf fps=24 -o movie.avi -ovc lavc -lavcopts vcodec=msmpeg4v2:vbitrate=800
This creates movie file movie.avi .
For more information, see documentation on memcoder, web-search, etc..
- Play your movie:
mplayer movie.avi
Or, point your web-browser or file-browser at the file.
See also, Hints for increasing movie quality.
See also, Alternative method for making movies.