Discussion:
convert depending on MPlayer
Niels Serup
2010-06-21 11:44:26 UTC
Permalink
Hello list

When I ran this command:

convert test.avi frame%03d.png

I got these errrors:

sh: mplayer: not found
convert: Delegate failed `"mplayer" "%i" -really-quiet -ao null -vo
png:z=3' @ delegate.c/InvokeDelegate/1015.
convert: missing an image filename `frame%03d.png' @
convert.c/ConvertImageCommand/2775.

Now, I don't have MPlayer installed -- but I do have a copy of FFmpeg.
And when I ran this command:

ffmpeg -i test.avi -an -sameq -r 1/5 frame%03d.png

I achieved my goal, which was to extract screendumps from a video file.

Considering that MPlayer and FFmpeg clearly has the exact same feature
in this case, would it be possible to make convert try to use FFmpeg if
no mplayer program is found? I consider it a bug to depend on a program
that's not there.


Version: ImageMagick 6.5.1-0 2009-08-27 Q16 OpenMP
I am using Trisquel 3.5, based on Ubuntu 9.10.

---
Niels
d***@imagemagick.org
2010-06-21 12:03:24 UTC
Permalink
Post by Niels Serup
in this case, would it be possible to make convert try to use FFmpeg if
Recent versions of ImageMagick use ffmpeg rather than mplayer. Consider
upgrading.

Loading...