Imagemagick ffmpeg delegate error
Posted: 2009-02-11T17:02:56-07:00
I am trying to extract the first frame from an mp4 video. I am running the following command:
/usr/local/bin/convert '/home/joycem6/media/upload/shambala.mp4[1]' -resize 350X450 -quality 80 -colorspace RGB '/home/joycem6/media/upload/preview/preview_498d9da8a455e.jpg'
I get this error:
convert: Delegate failed `"ffmpeg" -v -1 -i "%i" -vcodec pam -an -f rawvideo -y "%u0.pam" 2> "%Z"' @ delegate.c/InvokeDelegate/1015. convert: missing an image filename `/home/joycem6/media/upload/preview/preview_498d9da8a455e.jpg' @ convert.c/ConvertImageCommand/2710.
My web host says the problem is the missing file, but the file mentioned is the output file which, of course, won't exist until the command has completed successfully. My assumption is that "delegate failed" is the real error. What is the real error and how do I (or they) fix it? The web host says that ffmpeg is installed on the server.
/usr/local/bin/convert '/home/joycem6/media/upload/shambala.mp4[1]' -resize 350X450 -quality 80 -colorspace RGB '/home/joycem6/media/upload/preview/preview_498d9da8a455e.jpg'
I get this error:
convert: Delegate failed `"ffmpeg" -v -1 -i "%i" -vcodec pam -an -f rawvideo -y "%u0.pam" 2> "%Z"' @ delegate.c/InvokeDelegate/1015. convert: missing an image filename `/home/joycem6/media/upload/preview/preview_498d9da8a455e.jpg' @ convert.c/ConvertImageCommand/2710.
My web host says the problem is the missing file, but the file mentioned is the output file which, of course, won't exist until the command has completed successfully. My assumption is that "delegate failed" is the real error. What is the real error and how do I (or they) fix it? The web host says that ffmpeg is installed on the server.