Delege failed for Centos7 yum install

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
jdmoore
Posts: 1
Joined: 2019-08-05T16:04:46-07:00
Authentication code: 1152

Delege failed for Centos7 yum install

Post by jdmoore »

Hello,

When trying to convert images into mpeg, I get "convert: delegate failed" error.

I am using latest version of Centos7 with all patches installed. Here is the error I get

Code: Select all

convert: delegate failed `"ffmpeg" -v -1 -mbd rd -trellis 2 -cmp 2 -subcmp 2 -g 300 -i "%F%%d.jpg" "%u.%m" 2> "%Z"' @ error/delegate.c/InvokeDelegate/1065.
Also, I am trying to convert *ppm files, but this appears to show it is trying to convert *jpg?

Both ffmpeg and ImageMagick have been installed using yum. I've also reinstalled these packages but the error persists. In previous releases, although don't recall when, I've been able to do this.

CentOS release:

Code: Select all

CentOS Linux release 7.6.1810 (Core)
ImageMagick version

Code: Select all

Version: ImageMagick 6.7.8-9 2019-02-01 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP   
ffmpeg version

Code: Select all

ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
I have the following packages installed from yum:

Code: Select all

Installed Packages
ImageMagick.x86_64                                                                                                      6.7.8.9-16.el7_6                                                                                             @updates
ImageMagick-c++.x86_64                                                                                                  6.7.8.9-16.el7_6                                                                                             @updates
ImageMagick-c++-devel.x86_64                                                                                            6.7.8.9-16.el7_6                                                                                             @updates
ImageMagick-devel.x86_64                                                                                                6.7.8.9-16.el7_6                                                                                             @updates
ImageMagick-doc.x86_64                                                                                                  6.7.8.9-16.el7_6                                                                                             @updates
ImageMagick-perl.x86_64                                                                                                 6.7.8.9-16.el7_6                                                                                             @updates
Available Packages
ImageMagick.i686                                                                                                        6.7.8.9-16.el7_6                                                                                             updates 
ImageMagick-c++.i686                                                                                                    6.7.8.9-16.el7_6                                                                                             updates 
ImageMagick-c++-devel.i686                                                                                              6.7.8.9-16.el7_6                                                                                             updates 
ImageMagick-devel.i686                                                                                                  6.7.8.9-16.el7_6                                                                                             updates 
Installed Packages
ImageMagick.x86_64                                                                                                      6.7.8.9-16.el7_6                                                                                             @updates
ImageMagick-c++.x86_64                                                                                                  6.7.8.9-16.el7_6                                                                                             @updates
ImageMagick-c++-devel.x86_64                                                                                            6.7.8.9-16.el7_6                                                                                             @updates
ImageMagick-devel.x86_64                                                                                                6.7.8.9-16.el7_6                                                                                             @updates
ImageMagick-doc.x86_64                                                                                                  6.7.8.9-16.el7_6                                                                                             @updates
ImageMagick-perl.x86_64                                                                                                 6.7.8.9-16.el7_6                                                                                             @updates
Available Packages
ImageMagick.i686                                                                                                        6.7.8.9-16.el7_6                                                                                             updates 
ImageMagick-c++.i686                                                                                                    6.7.8.9-16.el7_6                                                                                             updates 
ImageMagick-c++-devel.i686                                                                                              6.7.8.9-16.el7_6                                                                                             updates 
ImageMagick-devel.i686                                                                                                  6.7.8.9-16.el7_6                                                                                             updates
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Delege failed for Centos7 yum install

Post by fmw42 »

Your install has no delegates. Your configure file may be pointing to the wrong location for where you have installed your delegates. Sorry, I am not an expert on Linux installs.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Delege failed for Centos7 yum install

Post by snibgo »

What was your IM command?

Does the ffmpeg command work by itself?
jdmoore wrote:Also, I am trying to convert *ppm files, but this appears to show it is trying to convert *jpg?
As far as I know, ffmpeg can't read PPM files. So IM first converts to a format that ffmpeg can read.
snibgo's IM pages: im.snibgo.com
Post Reply