← Back to team overview

yade-users team mailing list archive

Re: thanks answer "how to do the video"

 

Anton Gladky said:     (by the date of Tue, 6 Jul 2010 08:20:29 +0200)

> Hi,
> 
> I created previously also videos from png-files. But I used command-line
> tools for that.
> 
> Cant find that script, but something like described here:
> http://www.miscdebris.net/blog/2008/04/28/create-a-movie-file-from-single-image-files-png-jpegs/

I'm usually doing videos with this:

  mkdir TMP
  cd TMP
  xvidcap --fps 10
  # (configure xvidcap to save .xwd files, click 'record', click 'stop')
  for m in *.xwd; do convert $m `basename $m .xwd`.png; rm $m; done
  mencoder "mf://*.png" -o video.mpg -mf fps=25 -ovc lavc -lavcopts vcodec=msmpeg4v2


and that's it
-- 
Janek Kozicki                               http://janek.kozicki.pl/  |



References