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

DMITRY GORODNITSKY dimag at rogers.com
Thu Dec 15 15:15:43 CET 2005

I am using following and it works on all platforms
  /usr/bin/mencoder mf://*.png -mf type=png:fps=30 -of avi -ffourcc DX50  -ovc lavc -oac mp3lame -lameopts preset=medium -lavcopts  vcodec=mpeg4:autoaspect:vstrict=1 -audiofile  /DATA/preview/Test/v_0_[58-153].jpg.avi/v_0_short2.wav.ogg -o  /DATA/preview/Test/v_0_[58-153].png.avi/v_0_[58-153].png.avi

Nils Wagner <nwagner at mecha.uni-stuttgart.de> wrote:  Hi all,

I have used mencoder to convert a series of *.png files to a 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.

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 ?


MEncoder-users mailing list
MEncoder-users at mplayerhq.hu

More information about the MEncoder-users mailing list