<p dir="ltr">Thanks Elaine.</p>
<div class="gmail_quote">On 18-Feb-2015 10:26 pm, "Elaine Meng" <<a href="mailto:meng@cgl.ucsf.edu">meng@cgl.ucsf.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On Feb 17, 2015, at 9:49 PM, Ankit Agrawal <<a href="mailto:aka895@gmail.com">aka895@gmail.com</a>> wrote:<br>
<br>
> Hi all<br>
> I want to write a script which can create movie (.mp4) from per frame script. Because I want to show all models in movie. Please help<br>
> Thanks<br>
> Ankit Agrawal<br>
> Department of Chemical Science<br>
> IISER Mohali, India<br>
<br>
Hi Ankit,<br>
The per-frame scripting feature in the MD Movie dialog is not intended for making movies.<br>
<br>
If you want to make a movie that includes playback of the trajectory being shown with MD Movie, there are two main choices:<br>
<br>
(1) use MD Movie menu: File… Record movie. This will create a movie of all or part of your trajectory, as specified in the dialog, and there are several choices for image quality and output format (including .mp4). See MD Movie documentation, especially the section "Recording a Movie":<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/movie/framemovie.html" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/movie/framemovie.html</a>><br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/movie/movie.html#recording" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/movie/movie.html#recording</a>><br>
<br>
(2) if you want your movie to include some other things, like showing other structures, rotating, zooming, 2D labels etc. in addition to just playing back your trajectory, you could instead write a Chimera command script to control the whole process. The command to play back part or all of your trajectory is "coordset", and the command that controls movie recording and saving is "movie." See the list of movie-making commands and some example scripts:<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/movies.html#content" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/movies.html#content</a>><br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/movies.html#examples" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/movies.html#examples</a>><br>
<br>
In that examples list, especially see "ball-and-socket motion" because the script includes playing back a trajectory that was created with morphing.<br>
<br>
I hope this helps,<br>
Elaine<br>
----------<br>
Elaine C. Meng, Ph.D.<br>
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<br>
<br>
<br>
</blockquote></div>