Movie is the command-line implementation of Movie Recorder, which captures image frames from Chimera and assembles them into a movie file. Consult the Movie Recorder documentation for general information on creating movies. During recording, other windows should not be placed over the Chimera graphics window.
One of the following action keywords must be specified:
All specifications are optional, and the order of specification is not important. Option keywords can be truncated, and their case is not important. Default values are indicated with bold. A vertical bar "|" designates mutually exclusive values.
fformat jpeg|png|ppm
The format of saved image files.
directory image-directory
Where image files should be saved; the default varies by platform.
pattern filename-pattern
The filename-pattern is a string to use when naming the image files; the default is chimovie_xxxx-*, where xxxx is replaced by random characters and * is replaced by the frame number (for example, 00001, 00002, etc.). Any specified filename-pattern should include one and only one *, which will be replaced by the frame number.
resetMode clear|keep
The default behavior (clear) is to delete the image files when a reset occurs; however, one should keep the files if planning to use them for some other purpose, such as movie encoding with a different program.
mformat avi|mov|mpeg|mp2|mp4
The mformat option specifies the output movie file format:
- avi - AVI MSMPEG-4v2
- mov - Quicktime (default)
- mpeg - MPEG-1
- mp2 - MPEG-2
- mp4 - MPEG-4
output movie-pathname
The movie-pathname is the name and location to use for the movie file (default chimera_movie.mov in the current directory).
bitrate rate
Bit rate controls movie quality and file size. By default, the movie will be encoded to play back at a constant rate of 2000 Kbits/s. Generally, 200 Kbits/s is a low rate, 1000 medium, and 6000 high. Increasing rate increases movie quality and file size for a given resolution (window size) and frame rate. At a given bit rate, a larger window and/or a higher frame rate correspond to lower movie quality.
qscale factor
The qscale option overrides bitrate and indicates that the movie should be encoded to play back with a variable bit rate. The quality factor is an integer that can range from 1 (highest qualit and highest data rates) to 31 (lowest quality).
framerate fps
The frame rate is the rate of playback in terms of image frames. The frame rate fps is an integer and defaults to 25 frames/s.
buffersize size
Buffer size defaults to 200 Kbytes.
preset vcd|svcd|dvd
The preset option indicates that a built-in set of parameters should be used:Using a preset will resize the graphics window and override other specifications of the listed parameters.
- vcd (Video Compact Disc) - MPEG-1, resolution 352x240, bit rate 1150 Kbits/s, buffer size 40 Kbytes
- svcd (Super Video Compact Disc) - MPEG-2, resolution 480x480, bit rate 2040 Kbits/s, buffer size 224 Kbytes
- dvd (Digital Versatile/Video Disc) - MPEG-2, resolution 720x480, bit rate 6000 Kbits/s, buffer size 224 Kbytes
resetMode clear|keep|noneSee also: Movie Recorder, MD Movie, 2D Labels, movie-related commands
By default, a reset will occur when movie encoding is complete. The resetMode values clear and keep are as described above, while none specifies that no reset should occur; none should be used when one may want to re-encode the movie using the same saved frames.