<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Emiller</id>
	<title>PyMOL Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Emiller"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php/Special:Contributions/Emiller"/>
	<updated>2026-04-15T01:35:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=MovieSchool_6&amp;diff=7038</id>
		<title>MovieSchool 6</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=MovieSchool_6&amp;diff=7038"/>
		<updated>2011-04-17T23:41:27Z</updated>

		<summary type="html">&lt;p&gt;Emiller: Fixed example commands to set environment in TCSH (was missing the variable name) and added explicitly the commands for bash. Make install was necessary for me. Seems harmless to include it, anyway.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Exporting your Movie ==&lt;br /&gt;
This wiki already has lots of information on how to convert your PyMOL movie to another format.  Check out [[Making_Movies|those]] [[Software_Codecs|pages]].&lt;br /&gt;
&lt;br /&gt;
Once you've setup your movie as in any of the previous examples, you have a couple options for making a movie.&lt;br /&gt;
&lt;br /&gt;
'''Export from PyMOL''': Newer PyMOLs support &lt;br /&gt;
*File&amp;amp;rarr;Save Movie As&amp;amp;rarr;MPEG&lt;br /&gt;
*File&amp;amp;rarr;Save Movie As&amp;amp;rarr;PNG Images&lt;br /&gt;
from the menu.&lt;br /&gt;
&lt;br /&gt;
'''mpeg''': This needs a bit of work. The following instructions work with trunk (1.2r2pre). Compile pymol trunk. &lt;br /&gt;
&lt;br /&gt;
Checkout [http://freemol.org freemol] source from &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn co svn://bioinformatics.org/svnroot/freemol/trunk freemol-trunk&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This creates a directory called '''freemol-trunk'''. &lt;br /&gt;
Inside '''freemol-trunk''' is a directory called '''freemol'''.&lt;br /&gt;
Now you need to setenv (or export) a variable called FREEMOL pointing to the above folder - '''freemol''').&lt;br /&gt;
In TCSH and related C-shells:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
setenv FREEMOL /my/long/path/to/freemol-trunk/freemol&lt;br /&gt;
cd freemol-trunk/src/mpeg_encode&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or in bash:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
export FREEMOL=/my/long/path/to/freemol-trunk/freemol&lt;br /&gt;
cd freemol-trunk/src/mpeg_encode&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd freemol-trunk/src/mpeg_encode&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
(Ignore all other directories inside directory '''src'''. These were unnecessary, at least for me.)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Add these two lines&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
FREEMOL=/my/long/path/to/freemol-trunk/freemol&lt;br /&gt;
export FREEMOL&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
to your pymol script. Launch pymol and '''Save Movie as MPEG''' should work now. No need of any complicated codecs.&lt;br /&gt;
&lt;br /&gt;
'''mpng''': You can still use the good old [[mpng]] option to save all your frames to disk.  You can then compile them into a MPEG (see below).&lt;br /&gt;
&lt;br /&gt;
'''Old Style''': One of the older scripting styles was to make minor changes and dump PNGs.  This is essentially obviated with PyMOL's new movie-making functionality.  The '''old style''' was to simply call cmd.png every time you made a scene change.&lt;br /&gt;
&lt;br /&gt;
Hints:&lt;br /&gt;
* Movie not ray traced?  Make sure you set ray_trace_frames to 1.&lt;br /&gt;
&lt;br /&gt;
=== Codecs ===&lt;br /&gt;
See [[Software_Codecs]] for information on how to stitch together movies from PNGs and optimize them for great crisp-looking movies.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[MovieSchool_5| &amp;amp;larr; Previous Lesson]]&lt;br /&gt;
&lt;br /&gt;
[[MovieSchool| Back to Start]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Movies]]&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Emiller</name></author>
	</entry>
</feed>