
Dear Chimera-X users! Typically when I load multi model pdb using open coordset true I may record my movie automatically using the context menu. I need to script this process selecting the resolution and the quality of the encoding using movie record size 3840,2160 supersample 3 movie encode format h264 quality highest output ./my_movie.mp4 The only problem is that when I type the first command it asks me to "play" and then "stop" the pdb ensemble for the number of frames which should be present in the resulting video. Is it possible to define in the scipr that the movie should take the selected number of frames in the selected range and then automatically start to encode the movie ? Many thanks in advance Enrico

To get more control you would not use the menu option to record the movie. Instead you would use a command file that includes the commands to start movie recording, do whatever you want inside the movie, and then encode the movie. For the "do whatever you want inside the movie" part you would use the "coordset" command to play the trajectory, and in that command specify exactly which frames you want to play. See the "making movies" page and links therein: <https://rbvi.ucsf.edu/chimerax/docs/user/movies.html> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Resource for Biocomputing, Visualization, and Informatics Department of Pharmaceutical Chemistry University of California, San Francisco
On Feb 9, 2024, at 6:46 AM, Enrico Martinez via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Dear Chimera-X users!
Typically when I load multi model pdb using open coordset true I may record my movie automatically using the context menu.
I need to script this process selecting the resolution and the quality of the encoding using
movie record size 3840,2160 supersample 3 movie encode format h264 quality highest output ./my_movie.mp4
The only problem is that when I type the first command it asks me to "play" and then "stop" the pdb ensemble for the number of frames which should be present in the resulting video.
Is it possible to define in the scipr that the movie should take the selected number of frames in the selected range and then automatically start to encode the movie ?
Many thanks in advance
Enrico

Hi Enrico, In case this is helpful, you can also see some examples of fully scripted movie making with ChimeraX in the repository where I upload all the figure making scripts I make: https://github.com/Guillawme/chimerax-viz You will find scripts that make movies in the 6USJ, 6ZHX and 7OTQ directories. I hope this helps, Guillaume On 9 Feb 2024, at 17:44, Elaine Meng via ChimeraX-users <chimerax-users@cgl.ucsf.edu<mailto:chimerax-users@cgl.ucsf.edu>> wrote: To get more control you would not use the menu option to record the movie. Instead you would use a command file that includes the commands to start movie recording, do whatever you want inside the movie, and then encode the movie. For the "do whatever you want inside the movie" part you would use the "coordset" command to play the trajectory, and in that command specify exactly which frames you want to play. See the "making movies" page and links therein: <https://rbvi.ucsf.edu/chimerax/docs/user/movies.html> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Resource for Biocomputing, Visualization, and Informatics Department of Pharmaceutical Chemistry University of California, San Francisco On Feb 9, 2024, at 6:46 AM, Enrico Martinez via ChimeraX-users <chimerax-users@cgl.ucsf.edu<mailto:chimerax-users@cgl.ucsf.edu>> wrote: Dear Chimera-X users! Typically when I load multi model pdb using open coordset true I may record my movie automatically using the context menu. I need to script this process selecting the resolution and the quality of the encoding using movie record size 3840,2160 supersample 3 movie encode format h264 quality highest output ./my_movie.mp4 The only problem is that when I type the first command it asks me to "play" and then "stop" the pdb ensemble for the number of frames which should be present in the resulting video. Is it possible to define in the scipr that the movie should take the selected number of frames in the selected range and then automatically start to encode the movie ? Many thanks in advance Enrico _______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu<mailto:chimerax-users@cgl.ucsf.edu> To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu<mailto:chimerax-users-leave@cgl.ucsf.edu> Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/ VARNING: Klicka inte på länkar och öppna inte bilagor om du inte känner igen avsändaren och vet att innehållet är säkert. CAUTION: Do not click on links or open attachments unless you recognise the sender and know the content is safe. När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/ E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy
participants (3)
-
Elaine Meng
-
Enrico Martinez
-
Guillaume Gaullier