Exporting a Simulation as a Movie - MapleSim Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : MapleSim : Using MapleSim : Playing 3-D Animations : Exporting Files and Movies : tasks/visualization/exportmovie

Exporting a Simulation as a Movie

The Export Movie feature allows you to export a computed simulation as a movie file for users who may not have MapleSim.

The export formats include: .avi, .gif, .flv, and .webm. Select the export format that is compatible with your video player. For example, while GIF and WEBM movies can be played in HTML5 enabled web browsers, the AVI format will be playable in many desktop applications, like Windows Media Player on Windows or VLC on Linux.

You can use the progress indicator to monitor the completed percentage of a particular playback and save the movie file at any time during the recording to make a shorter movie. When activated, the Export Movie feature automatically switches MapleSim into Playback mode and the Playback toolbar speed controls are ignored for the duration of the movie export.

To create a movie that meets a specific size or shape requirement, open the 3-D Playback window and adjust the size of the viewing area by dragging the edges of the window before using the Export Movie command.

Since the process of exporting a movie requires a large amount of system resources, ensure that you have adequate disk space.  At any time during the recording, the Export Movie process may be canceled.  For long animations you will not immediately see the movie file in the specified directory while it is generating.

In the Settings tab, the 3-D playback time value determines the length of the exported movie regardless of simulation end time (td).  Since the movie can be longer or shorter than td, the 'current time' is shown in each frame of the movie.  As usual the Playback toolbar speed controls are ignored for movie export.

For cases where a model has very short or very long simulation times, such as a fraction of a second or many minutes, you may need to make the exported movie shorter or longer than the actual animation.  Specify the required duration in the 3-D playback time field.  For example, if the animation is .1 second long, specify the 3-D playback time as 3 seconds to ensure that during playback you can see what is happening in that very short time period.  In another example, if the simulation runs for 2 minutes, but a certain component's motion is subtle and slow, then in order to better present that component, specify the 3-D playback time as 10 sec.  This effectively speeds up the exported movie by a ratio of 12:1.



To make the movement of multibody components appear smoother in the exported movie, you can enable Interpolate Intermediate Frames before the export.  After simulating your model, in Playback mode, select View > Interpolate Intermediate Frames.  Interpolation provides intermediate values for positions and orientations between the actual simulated frames.  If the sampling rate is set to a lower number, the animation may be visually 'choppy'.  By default, Interpolate Intermediate Frames is turned off and the 3-D sampling rate is set to the minimum movie algorithm requirement of 30 fps.


Using the Export Movie feature for one of the orthographic views with the 3-D view not visible, the combined 2-D/3-D view opens and the movie generates for the 3-D view as it appears in that configuration.

Maplesoft recommends that Ubuntu [Linux] users use VLC for playing movies.  See http://www.videolan.org/vlc/download-ubuntu.html.

To export a movie:


Create a model containing multibody components and run the simulation.


Select File > Export Movie. Alternatively, from the 3-D Playback window, select  Change 3-D Settings ( ), and then select Export Movie. The Choose file window appears.


Navigate to the desired directory and specify a filename for the movie.


Click Save.  MapleSim automatically begins recording the individual animation frames, displaying the Export Movie Progress window.


To record a shorter animation click Save NOW, then Exit at the desired time using the progress indicator as a guide. The animation is recorded and exported as a .mpeg file.

Note: All recordings start at t0. You cannot record a movie using a non-t0 start time.


See Also

Playing an Animation

Animating a 3-D Model with Interpolated Frames

Toolbar: Playback Controls

Exporting an Animation Frame to an Image File

Adding Attached Shapes from the MapleSim Component Library

Adding Attached Shapes from an External File

Multibody Overview

Running a Simulation

Visualizing a 3-D Model

Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam