CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   convert error (

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

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 :

Personnally I use mencoder:

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 08:26.