[MEncoder-users] Trouble when making a movie from *.png files

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Dec 15 14:36:53 CET 2005


Hi all,

I have used mencoder to convert a series of *.png files to a movie.

http://matplotlib.sourceforge.net/faq.html#MOVIE

My question is:

Is the generated movie (*.avi *.mpg) platform independent, that is can I
 use it on both platforms (Windows & Linux) ?

The included animation in PDF using LaTeX doesn't work.
http://darkwing.uoregon.edu/~noeckel/PDFmovie.html

I tried both versions (see below) on a Linux box. mplayer can open the
movies without any problem. If I try to use them under Windows it failed.

#os.system("mencoder 'mf://_tmp*.png' -mf type=png:fps=10 \
#  -ovc lavc -lavcopts vcodec=mjpeg -oac copy -o animation.mpg")
os.system("mencoder mf://_tmp*.png -mf w=800:h=600:fps=25:type=png -ovc
raw -oac copy -o animation.avi")

How can I resolve this problem ?

Nils






More information about the MEncoder-users mailing list