CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   convert error (http://www.cfd-online.com/Forums/openfoam/97346-convert-error.html)

zxj160 February 15, 2012 07:32

convert error
 
I want to save animation of u. The error message is as follows:

$ convert -delay 50 u*jpg u.mpg

sh: mpeg2encode: command not found
convert: Delegate failed `"mpeg2encode" "%i" "%o"'.

nimasam February 15, 2012 14:15

i guess you should install mpeg2encode
so use
Quote:

sudo apt-get install mpeg2encode
or in synaptic package manager in Ubuntu (if you use Ubuntu)
search for it

joris.hey February 15, 2012 14:17

Look here :

http://electron.mit.edu/~gsteele/ffmpeg/

Personnally I use mencoder:
Code:

mencoder "mf://*.jpg" -mf fps=10 -o test.avi -ovc lavc -lavcopts vcodec=msmpeg4v2:vbitrate=800


All times are GMT -4. The time now is 17:50.