[Chimera-users] Smooth "Rocking" Loop Movie

Elaine Meng meng at cgl.ucsf.edu
Wed Jun 14 14:00:00 PDT 2017

Hi Andrew,
I don’t know how you are looping, but if I use View… Loop in Quicktime Player, I don’t see any pause in the movie created with command script:

movie record
rock y 10 68;wait
rock y -10 68; wait
movie stop
movie encode ~/Desktop/test.mov

… also your commands are a little weird because rock will already change direction, so you get an identical movie by running a full cycle of rocking, e.g.:

movie record
rock y 10 136;wait
movie stop
movie encode ~/Desktop/test2.mov

If you are using some other method of looping, maybe it is repeating the end frames.  I don’t know if this “View… Loop” display in Quicktime Player goes from the 136th to the first or assumes they are the same and goes to the second instead.
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On Jun 14, 2017, at 5:38 AM, Andrew Oliver, II <aoliver2 at hotmail.com> wrote:
> Dear Chimera,
> I am trying to create a "rocking" movie of a molecule that will continuously loop. I am using the command:
> movie record; rock y 10 68; wait;
>  rock y -10 68; wait; movie stop; movie encode
> However, when I do this, there is always a slight pause at the end of the movie, before it starts the next loop -- which means it doesn't loop smoothly.
> Is there a way to create the movie so that there will be no pause before each successive loop?
> Many thanks,
> Andrew Oliver

More information about the Chimera-users mailing list