Save a Pymol-movie in Python -
how can save pymol-movie in python? saving frames png-files [cmd.png()] , play movie [cmd.mplay()].
relevant documentation here: http://www.pymolwiki.org/index.php/making_movies
in short, looks pymol not offer way generate gif or movie files. instead, recommend using third-party program work of stitching png files whichever format want. page linked describes several options; here's one, using mencoder
, comes packaged open source movie player mplayer:
mencoder "mf://*.png" -mf type=png:fps=18 -ovc lavc -o output.avi
there plenty of command line options can specify fiddle output file; read doc linked more examples, read mencoder
docs, try other options, find works best you.
Comments
Post a Comment