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

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Dec 15 16:02:59 CET 2005


DMITRY GORODNITSKY wrote:
>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
>  

I followed your advice, but if try to open the avi file with Windows
Media Player  a window pops up

Windows Media Player cannot play the file. The file may be formatted
with an unsupported codec, or the Internet security setting on your
computer is set too high. Lower your browser's security setting, and
then try again.

Any idea ?

Nils

>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.
>
>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
>
>
>
>_______________________________________________
>MEncoder-users mailing list
>MEncoder-users at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mencoder-users
>
>
>_______________________________________________
>MEncoder-users mailing list
>MEncoder-users at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mencoder-users
>  


 





More information about the MEncoder-users mailing list