AMBER Archive (2002)

Subject: How to make mpeg files from amber trajectories (fwd)

From: amber_at_heimdal.compchem.ucsf.edu
Date: Mon Aug 26 2002 - 16:51:07 CDT


---------- Forwarded message ----------
Date: Thu, 22 Aug 2002 22:47:22 -0400
From: Carlos Simmerling <carlos.simmerling_at_sunysb.edu>
To: Cozmuta <ioana_at_wag.caltech.edu>, mdk7p_at_cms.mail.virginia.edu
Cc: amber_at_heimdal.compchem.ucsf.edu
Subject: How to make mpeg files from amber trajectories

Sorry for the delay in getting ths script passed out.
This will convert a moil-vew movie file to mpeg.

The first part converts the movie to RGB files,
the second combines the rgb files to mpeg.

You will need the mlv2rgb program, that is the
same as the one we previously used to generate
quicktime files. You can get it from the "mlv_to_qt"
link on the moil-view home page at
http://comp.chem.sunysb.edu/mlv.html

Check the dmconvert man page on SGI to see what the
flags are doing if you want to adjust quality, etc.

Carlos Simmerling

mlv2rgb movie.mlv

dmconvert \
-f mpeg1v \
-p video,brate=2000000,rate=30.0 \
-n snap###.rgb,start=001,end=900,step=1, \
snap###.rgb \
longmovie.mpg