## movi

   'movi' [loops <nr>]|[delay <sec>]|[start]|[stop]|
[frames ['auto']|[<nr> [<epilogFile>]]]|
[make [<pic-nr> <pic-nr> [<prolog.gif>]]]|
[clean]

This keyword is used to start or stop the recording of a movie. After ”start” all frames will be stored in single gif files until the ”stop” command is issued. Use the option ”make” to assemble the movie from the individual files. The range consists of the nr of the first and last picture to be used. An existing movie will be copied in front of a range of frames if its name is given. With the option ”delay” a time-delay (in seconds) between frames can be specified. With the option ”loops” a certain nr of loops can be chosen before the animation stops. Without giving a certain nr the default is chosen which is infinite loops. With the option ”clean,” all single gif-files will be erased.

Below is an example command sequence. Do not use this sequence in a file since the start and stop commands will be executed without delay (see option 'frames' for use in a command file). Instead of using the default value of loops here one loop is defined:
   movi delay 0.01
movi loops 1
movi start
(let the program run until all frames are recorded)
movi stop
movi make
(or if a certain movie should be extended by the first 500 frames:)
movi make 1 500 prolog.gif
movi clean

When using the “frames” option the recording starts and a given nr of frames will be recorded before the recording stops atomatically. In cases were an animation of a mode shape or a sequence of datasets should be recorded it might be useful to use the argument 'auto' instead of a specific nr of frames. With the 'auto' functionality the program determines how much frames are needed to cover one period of frames and this period is then recorded. The 'make' and 'clean' functionality is included in the 'auto' mode. The 'auto' mode requires that the animation or the sequence is defined and started with the next command line (see ”ds”):
   anim real
movi frames auto
ds 3 eh 7

There is a second method available when successive commands after the recording of a given number of frames are needed:

movi frames 90 epilogCommandFile.fbl

This command must be the last command in an eventual command file. After 90 frames the given file 'epilogCommandFile.fbl' will be executed (the records are interpreted as cgx commands).

Further remarks in ”How to change the format of the movie file”. See also the menu options ”Start Recording Gif-Movie”.