comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How 2 show animations.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How 2 show animations. [message #79467 is a reply to message #79458] Sat, 03 March 2012 00:59 Go to previous messageGo to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Mar 2, 9:41 pm, Brian Wolven <brian.wol...@gmail.com> wrote:
> I use the approach described in the link below, combined with a shell script to manipulate the desired set of files.
>
> How to make scientific movies with ffmpeg -http://web.mit.edu/robyn/www/ffmpeghowto.html
>
> Script (bash):
>
> #!/bin/bash
>
>   root=~/your/path/goes/here/
>   mission=$1
>   year=$2
>
> # Set working directory to the specified root [data] directory.
>   cd $root
> # Remove any existing temporary image symbolic links.
> # Generate temporary image symbolic links to requested static image files,
> # then generate animation from the sequentially numbered temporary images.
>
>   rm /tmp/img???.png
>
>   x=1; for i in ./$mission/$year/???/${mission}_data_${year}*.png; do counter=$(printf %03d $x); ln "$i" /tmp/img"$counter".png; x=$(($x+1)); done
>
>   ffmpeg -f image2 -r 6 -i /tmp/img%03d.png -b 3200k -y ./${mission}_${year}_data.mp4
>
> # Set working directory back to original location.
>   cd -

Thanks guys all. i did it with imagemagick and looks fine now. just a
tiny question: is there any way to control the speed of coming images.
to slow down or make it faster?
Cheers,
Dave
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Getting Help in On-Line Communities
Next Topic: saving a RAW data

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 17:43:54 PDT 2025

Total time taken to generate the page: 0.47763 seconds