VMD-L Mailing List
From: anu chandra (anu80125_at_gmail.com)
Date: Sat Feb 28 2015 - 07:49:41 CST
Dear john and Maxim,
Thanks for the reply.
Can you please explain me a little more about your solution. If I am right,
all you suggesting to do is
1. For each of the 20 frames, render the image in png fromat using VMD
2. Then use ffmpeg command as you mentioned to create the movie.
Do I have to use VMD console for the second step or I should do in command
line from a terminal? Do I have to install ffmpeg in my computer with
Ubuntu 14.04 LTS fro this? Can you please brief me the '%03d' in the image
naming. Please excuse me for asking you the basics, as I am new to linux.
Many thanks in advance
On Sat, Feb 28, 2015 at 2:12 AM, Maxim Belkin <mbelkin_at_ks.uiuc.edu> wrote:
> Alternative solution is to use VMD to render movie frames and then use
> ffmpeg to render your movie with desired FPS rate.
> ffmpeg -r 0.5 -i imagename%03d.png -c:v libx264 -r 30 output.mp4
> Here, every frame will be displayed for 2 seconds (0.5 fps).
> > On Feb 27, 2015, at 2:31 PM, John Stone <johns_at_ks.uiuc.edu> wrote:
> > Most movie formats display images at 24 or 30 frames per second.
> > To make a longer movie with VMD, you can either load a larger number
> > of frames from your simulation trajectory (that's what I'd do) and
> > use that for your movie, or, if that isn't possible, you can
> > duplicate each frame 10 times, and than you'll get something that
> > lasts for about 8 seconds.
> > Cheers,
> > John Stone
> > vmd_at_ks.uiuc.edu
> > On Sat, Feb 28, 2015 at 01:54:59AM +0530, anu chandra wrote:
> >> Dear VMD users,
> >> I am trying to make 30second movie with VMD movie making utility. I
> have a
> >> short 20 frame trajectory and movie making with 'tajectory' option
> >> generate only a very short movie ( last for only 6-8 seconds), even
> >> I tried changing the 'time duration' options many times. Is there a
> way in
> >> VMD where I can make a movie with such a short (20 frame) trajectory?
> >> Many thanks in advance
> >> Anu
> > --
> > NIH Center for Macromolecular Modeling and Bioinformatics
> > Beckman Institute for Advanced Science and Technology
> > University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> > http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349
> > http://www.ks.uiuc.edu/Research/vmd/