Dear ChimeraX,
I want to make a movie using ChimeraX, in which I can see the map of my protein complex rotating 360 degrees, plus a full rotation of the same map after zooming in. I managed to do so with the following command: movie record ; turn y 2 180 ; wait 180 ; zoom 1.5 ; turn y 2 180 ; wait 180 ; movie encode
However, in the final .mp4 file I get, the rotation is quite fast. I would like to create the same movie, but with slower rotation. I have tried figuring it out reading through the guide and trying different commands, but I am not successful. Could you help me with this issue?
Thanks in advance Best regards, Leyre
Leyre Marin Arraiza PhD fellow
University of Copenhagen Novo Nordisk Foundation Center for Protein Research Taylor Group Blegdamsvej 3B, Building 6, 6-1-10 2200 København N
leyre.arraiza@cpr.ku.dkmailto:leyre.arraiza@cpr.ku.dk
[CvwfJbQuv4S75bEAAAAASUVORK5CYII=]
How we protect personal datahttps://informationssikkerhed.ku.dk/english/protection-of-information-privacy/privacy-policy/
Dear Leyre, Your "turn y 2 180" means to turn 2 degrees 180 times. You could instead use a smaller turn amount but more times to get same total rotation, for example:
turn y 0.5 720; wait 720
Of course that will make your movie file bigger because it has more frames. Another possibility (or you can do both) is to change the movie playback frame rate with the "framerate" option (default 25) of "movie encode," for example:
movie encode framerate 20
See help pages for "turn" and "movie encode" https://rbvi.ucsf.edu/chimerax/docs/user/commands/turn.html https://rbvi.ucsf.edu/chimerax/docs/user/commands/movie.html#encode
See also "making movies" https://rbvi.ucsf.edu/chimerax/docs/user/movies.html
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Jul 17, 2023, at 5:21 AM, Leyre Marin Arraiza via ChimeraX-users chimerax-users@cgl.ucsf.edu wrote:
Dear ChimeraX,
I want to make a movie using ChimeraX, in which I can see the map of my protein complex rotating 360 degrees, plus a full rotation of the same map after zooming in. I managed to do so with the following command: movie record ; turn y 2 180 ; wait 180 ; zoom 1.5 ; turn y 2 180 ; wait 180 ; movie encode
However, in the final .mp4 file I get, the rotation is quite fast. I would like to create the same movie, but with slower rotation. I have tried figuring it out reading through the guide and trying different commands, but I am not successful. Could you help me with this issue?
Thanks in advance Best regards, Leyre
Thanks a lot Elaine!
This is exactly what I needed
Best regards, Leyre
Leyre Marin Arraiza PhD fellow
University of Copenhagen Novo Nordisk Foundation Center for Protein Research Taylor Group Blegdamsvej 3B, Building 6, 6-1-10 2200 København N
leyre.arraiza@cpr.ku.dk leyre.arraiza@cpr.ku.dk
How we protect personal data <_blank>
On 17/07/2023, 18.10, "Elaine Meng" <meng@cgl.ucsf.edu mailto:meng@cgl.ucsf.edu> wrote:
[You don't often get email from meng@cgl.ucsf.edu mailto:meng@cgl.ucsf.edu. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification https://aka.ms/LearnAboutSenderIdentification ]
Dear Leyre, Your "turn y 2 180" means to turn 2 degrees 180 times. You could instead use a smaller turn amount but more times to get same total rotation, for example:
turn y 0.5 720; wait 720
Of course that will make your movie file bigger because it has more frames. Another possibility (or you can do both) is to change the movie playback frame rate with the "framerate" option (default 25) of "movie encode," for example:
movie encode framerate 20
See help pages for "turn" and "movie encode" https://rbvi.ucsf.edu/chimerax/docs/user/commands/turn.html https://rbvi.ucsf.edu/chimerax/docs/user/commands/turn.html; https://rbvi.ucsf.edu/chimerax/docs/user/commands/movie.html#encode https://rbvi.ucsf.edu/chimerax/docs/user/commands/movie.html#encode;
See also "making movies" https://rbvi.ucsf.edu/chimerax/docs/user/movies.html https://rbvi.ucsf.edu/chimerax/docs/user/movies.html;
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Jul 17, 2023, at 5:21 AM, Leyre Marin Arraiza via ChimeraX-users <chimerax-users@cgl.ucsf.edu mailto:chimerax-users@cgl.ucsf.edu> wrote:
Dear ChimeraX,
I want to make a movie using ChimeraX, in which I can see the map of my protein complex rotating 360 degrees, plus a full rotation of the same map after zooming in. I managed to do so with the following command: movie record ; turn y 2 180 ; wait 180 ; zoom 1.5 ; turn y 2 180 ; wait 180 ; movie encode
However, in the final .mp4 file I get, the rotation is quite fast. I would like to create the same movie, but with slower rotation. I have tried figuring it out reading through the guide and trying different commands, but I am not successful. Could you help me with this issue?
Thanks in advance Best regards, Leyre
participants (2)
-
Elaine Meng
-
Leyre Marin Arraiza