SEARCH
TOOLBOX
LANGUAGES
CreateVideo

CreateVideo

From SOFAWiki

Jump to: navigation, search

Make a video

  • First export a series of images, using settings of the Viewer tab.
    • Tune image size
    • Switch background using the b key in the viewer. You can also change the .bmp background image.
    • Type v in the viewer to switch on/off the image recording mode
    • Start the simulation and stop it when desired, the viewer records an image after each redraw.
    • The image file names are displayed in the command line window. They are typically stored as Sofa/share/screenshots/sceneName.scn_000num.png
  • Then convert the series of images to a video file
    • example on Linux: ffmpeg -r 30 -i myScene.scn_%08d.png -s 320x240 myScene.flv