[Chimera-users] Write out frames, but the complete movie

Leiman Petr petr.leiman at epfl.ch
Thu Nov 4 16:41:09 PDT 2010

Dear Tom,

Thank you for the quick reply. The key to make Chimera output individual
frames was to find the right sequence of the movie commands plus your
suggestion about "resetMode keep". This script outputs frames on my mac osx

movie record directory "/tmp/frames" fformat png
turn y 1 100
movie resetMode keep
movie stop

In the end, your "cofr independent" trick is really what I needed. Chimera
did the montage and encoding for me automatically. Many many thanks.



On 11/4/10 7:38 PM, "Tom Goddard" <goddard at sonic.net> wrote:

> Hi Petr,
>    That's a hard way to make the movie showing side by side rotating
> models.  Chimera can rotate each model about its own center using
> "independent" center of rotation mode.  Enable this with command "cofr
> independent", move one model away from another "move x 20 model #1", and
> rotate them "turn y 3 120" (3 degree steps, 120 steps).
>    Here's how to get movie frames if you still want to know.  If you add
> to your "movie encode" command the option "resetMode keep" then the
> image files will not be deleted after encoding.  To specify where to put
> the image files use the "directory /tmp/images" option to the "movie
> record" command, otherwise a temp directory is used and you won't be
> able to find the images.
>          http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/movie.html
>      Tom
>> Hi,
>> A backward question: Is it possible to write out a movie as a set of frames?
>> I would like to show several structures rotating side by side and the
>> simplest way I can think of is to collage frames using imagemagick and
>> create a new video stream with mencoder.
>> Many thanks,
>> Petr

More information about the Chimera-users mailing list