Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help
Special pages
SBGrid Resources
SBGrid Consortium
SBGrid Data Bank
Software Webinars
PyMOL Webinar
PyMOL Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
MovieSchool 6
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Exporting your Movie == 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]]. Once you've setup your movie as in any of the previous examples, you have a couple options for making a movie. '''Export from PyMOL''': Newer PyMOLs support *File→Save Movie As→MPEG *File→Save Movie As→PNG Images from the menu. '''mpeg''': This needs a bit of work. The following instructions work with trunk (1.2r2pre). Compile pymol trunk. Checkout [http://freemol.org freemol] source from <source lang="bash"> svn co svn://bioinformatics.org/svnroot/freemol/trunk freemol-trunk </source> This creates a directory called '''freemol-trunk'''. Inside '''freemol-trunk''' is a directory called '''freemol'''. Now you need to setenv (or export) a variable called FREEMOL pointing to the above folder - '''freemol'''). In TCSH and related C-shells: <source lang="text"> setenv FREEMOL /my/long/path/to/freemol-trunk/freemol cd freemol-trunk/src/mpeg_encode </source> or in bash: <source lang="bash"> export FREEMOL=/my/long/path/to/freemol-trunk/freemol cd freemol-trunk/src/mpeg_encode </source> And then <source lang="bash"> cd freemol-trunk/src/mpeg_encode </source> (Ignore all other directories inside directory '''src'''. These were unnecessary, at least for me.) <source lang="bash"> ./configure make make install </source> Add these two lines <source lang="bash"> FREEMOL=/my/long/path/to/freemol-trunk/freemol export FREEMOL </source> to your pymol script (''i.e.'' /sw/bin/pymol). Launch pymol and '''Save Movie as MPEG''' should work now. No need of any complicated codecs. '''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). '''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. Hints: * Movie not ray traced? Make sure you set ray_trace_frames to 1. === Codecs === See [[Software_Codecs]] for information on how to stitch together movies from PNGs and optimize them for great crisp-looking movies. [[MovieSchool_5| ← Previous Lesson]] [[MovieSchool| Back to Start]] [[Category:Movies]] [[Category:Tutorials]]
Summary:
Please note that all contributions to PyMOL Wiki are considered to be released under the GNU Free Documentation License 1.2 (see
PyMOL Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
MovieSchool 6
(section)
Add topic