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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -