Yes, I've tried generating a gif, here are my results:
I'm on Windows 10 x64. Command is run from a Git Bash shell.
./transitions -m wipe -f 21 -d 10 -p 10 mapnude.jpg map.jpg maskfile.jpg out.mp4
./transitions -m wipe -f 21 -d 10 -p 10 mapnude.jpg map.jpg maskfile.jpg out.gif
Code: Select all
$ convert --version
Version: ImageMagick 6.9.4-7 Q16 x64 2016-06-03 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib
---> MP4 and GIF are OK
Then I created a symbolic link with the following command (after doing a backup of the original convert.exe):
Code: Select all
mklink /H "C:\Program Files\ImageMagick-6.9.4-Q16\convert.exe" "C:\Program Files\ImageMagick-7.0.1-Q16\magick.exe"
Code: Select all
$ convert --version
Version: ImageMagick 7.0.1-9 Q16 x64 2016-06-03 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib
--> MP4 is an empty file: command fails with the following line:
Code: Select all
magick.exe: delegate failed `"ffmpeg.exe" -nostdin -v -1 -i "%f%%d.jpg" "%u.%m"' @ error/delegate.c/InvokeDelegate/1846.
---> GIF is generated, but colors are wrong: see it here
http://postimg.org/image/m3p8abkp7/
Finally I did a global search and replace in the script from convert to magick.
--> MP4 fails with same error than above.
---> GIF is OK.
Is there a configuration to set up with ffmpeg? Are you on Windows too?
Thanks