On Tue, Dec 11, 2007 at 10:49:35PM +0100, Cyril Brulebois wrote:
> when trying to generate an animation from pictures, I'm getting the
> following:
> 
> [EMAIL PROTECTED]:~/tmp/thumbs$ convert -delay 5 *.jpg foobar.mpg
> sh: mpeg2encode: command not found
> convert: Delegate failed `"mpeg2encode" "%i" "%o"'.
> 
> Any workaround would be appreciated.

Here are two workarounds off the top of my head: mpeg2encode is the
reference implementation of an MPEG encoder. For unknown-most likely
historic-reasons, it's what imagemagick upstream uses as the default
delegate for encoding to mpeg, but cannot be distributed by Debian. You
can grab the code off the net and install it locally, though. However,
it's probably more easy to just use ffmpeg to do the job. Number your
source images like img1.jpg, img2.jpg and use ffmpeg -i img%d.jpg
foobar.mpg to do the conversion. I'm not sure whether parameter -r
allows for frame rates lower than 1 fps, but I've successfully used
hacks like 'for i in `seq -f "%04d" 0 124`; ln -s imgA.jpg tmp$i.jpg;
done' and so on to get at the desired duration for each of the stills.

Regards,

Daniel.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to