Error trying to convert png to mpeg

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Cow

Error trying to convert png to mpeg

Post by Cow »

Hello,
I have been using ImageMagick in combination with FFMPEG for quite some time. However, after setting up a new computer with Suse 11.3 (64 bit), I can't seem to get it to run.
Imagemagick version 6.6.1.0-4.1.1 was installed along with Suse. I later installed FFMPEG version 0.6.25702svn-1.pm.3.8 along with all dependencies from the PackMan respository. There were no errors during the installation of FFMPEG.
However, when trying to convert png pictures with the following command:

Code: Select all

convert bild* movie.mpg
I get the following error:

Code: Select all

convert: delegate failed `"ffmpeg" -v -1 -mbd rd -flags +4mv+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1/2 -i "%M%%d.jpg" "%u.%m" 2> "%Z"' @ error/delegate.c/InvokeDelegate/1061.
I have no idea what could be wrong. Do I need some more packages?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Error trying to convert png to mpeg

Post by magick »

Remove "-flags +4mv+aic" from your delegates.xml configuration file. If it still fails, add -verbose to your command line to ensure your change was picked up by ImageMagick.
Cow

Re: Error trying to convert png to mpeg

Post by Cow »

Where do I find this file?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Error trying to convert png to mpeg

Post by magick »

Depends on where you installed ImageMagick. Try /usr/lib/ImageMagick-6.2.8//config/delegates.xml.
Cow

Re: Error trying to convert png to mpeg

Post by Cow »

That worked. Thank you very much :)
Petros Syntelis
Posts: 2
Joined: 2013-08-27T02:43:50-07:00
Authentication code: 6789

Re: Error trying to convert png to mpeg

Post by Petros Syntelis »

Hi guys,

I have installed via MacPorts Image Magik, and i am trying to convert png images to mpeg

Code: Select all

PetrosMacBook:bz_xy_v petros$ convert *.png movie.mpeg
And i get this error:

Code: Select all

convert: delegate failed `"ffmpeg" -v -1 -i "%M%%d.jpg" "%u.%m" 2> "%Z"' @ error/delegate.c/InvokeDelegate/1065.
Do you have any idea whats wrong?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Error trying to convert png to mpeg

Post by snibgo »

Is ffmpeg installed? If not, then that's the problem.
snibgo's IM pages: im.snibgo.com
Petros Syntelis
Posts: 2
Joined: 2013-08-27T02:43:50-07:00
Authentication code: 6789

Re: Error trying to convert png to mpeg

Post by Petros Syntelis »

I had installed ffmpeg, but it didn't work, until i restarted my computer.
Thank you very much
Post Reply