"movie.produce" - Export Movie File in MPEG Format

This section provides a tutorial on how to export movie to a MPEG file using the 'movie.produce' command in PyMol.



If you are happy with your movie frame set, you can export it to file in MPEG format using the "movie.produce" command.

For example, the following command plays and exports the current movie frame set a PMEG file called Rolling-Camera-Movie.mpg:

PyMOL>@Build-Rolling-Camera-Movie.pml
...

PyMOL>movie.produce Rolling-Camera-Movie.mpg
using encoder "mpeg_encode"
 Movie: frame    1 of  270, 0.04 sec. (0:00:11 - 0:00:11 to go).
 Movie: frame    2 of  270, 0.03 sec. (0:00:07 - 0:00:09 to go).
 Movie: frame    3 of  270, 0.03 sec. (0:00:08 - 0:00:09 to go).
 Movie: frame    4 of  270, 0.03 sec. (0:00:08 - 0:00:09 to go).
 Movie: frame    5 of  270, 0.03 sec. (0:00:08 - 0:00:08 to go).
 Movie: frame    6 of  270, 0.03 sec. (0:00:08 - 0:00:08 to go).
 ...

 Movie: frame  269 of  270, 0.03 sec. (0:00:00 - 0:00:00 to go).
 Movie: frame  270 of  270, 0.03 sec. (0:00:00 - 0:00:00 to go).
 produce: creating 'Rolling-Camera-Movie.mpg' (in background)...
 please wait ...
 produce: 126976 bytes written...
 produce: 651264 bytes written...
 produce: 1175552 bytes written...
 produce: finished.

Now you can play the movie stored in Rolling-Camera-Movie.mpg with any MPEG player app.



 

Table of Contents

 About This Book

 Introduction of Molecules

 SDF (Structure Data File)

 PyMol Installation

 PyMol GUI and CLI

 PyMol Selections

 PyMol Editing Functions

 PyMol Measurement Functions

 PyMol Movie Functions

 PyMol Python Integration

 PyMol Object Functions

 References

 Full Version in PDF/EPUB