Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

sage don't see my imagemagik nor ffmpeg

Hi there I'm having troubles making animation since sage do not recognize ffmpeg & convert. I started considering the options that I saw in this forum.
here is the status. when I run the following in sagemath
s=animate(sf,aspect_ratio=(1,1,1))
s.save('gif/an.gif')

OSError: Error: Neither ImageMagick nor ffmpeg appear to be installed.

Current situation

  1. I have ffmpeg installed (I'm using it with audacity)
  2. I have imagemagik installed and running very nicely since many years
  3. I have the binaries (convert, ffmpeg, ffprobe in the /usr/local/bin folder
  4. I have the PATH variable containing /usr/local/bin
  5. have_program('convert') returns False
  6. have_program('convert',path=`"/usr/local/bin"`) returns True
  7. init.sage created and contains the following PATH=$PATH:/usr/local/bin`
  8. echo $PATH returns "/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin "

one can see that /usr/local/bin appears twice.

Configuration

Running MacOs Montery version 12.1, sage 9-5 as an app.

Hope someone out there having some idea. All the best

sage don't see my imagemagik nor ffmpeg

Hi there I'm having troubles making animation since sage do not recognize ffmpeg & convert. I started considering the options that I saw in this forum.
here is the status. when I run the following in sagemath
s=animate(sf,aspect_ratio=(1,1,1))
s.save('gif/an.gif')

OSError: Error: Neither ImageMagick nor ffmpeg appear to be installed.

Current situation

  1. I have ffmpeg installed (I'm using it with audacity)
  2. I have imagemagik installed and running very nicely since many years
  3. I have the binaries (convert, ffmpeg, ffprobe in the /usr/local/bin folder
  4. I have the PATH variable containing /usr/local/bin
  5. have_program('convert') returns False
  6. have_program('convert',path=`"/usr/local/bin"`) returns True
  7. init.sage created and contains the following PATH=$PATH:/usr/local/bin`
  8. echo $PATH returns "/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin "

one can see that /usr/local/bin appears twice.

Configuration

Running MacOs Montery version 12.1, sage 9-5 as an app.

Hope someone out there having some idea. All the best