emacs-gif-screencast
emacs-gif-screencast copied to clipboard
Process 'convert' exited abnormally with code 1
I am getting the following error without any output, any thought? I am using Emacs 27.1 with Arch linux.
Process 'convert' exited abnormally with code 1
I do a see list of pngs in git-screencast--frames:
...
. "/tmp/emacs1001/screen-2020-12-23-10:51:57-061.png")
((959223590773679 . 8192000000000)
. "/tmp/emacs1001/screen-2020-12-23-10:51:59-997.png")
((205805521225507 . 1638400000000)
. "/tmp/emacs1001/screen-2020-12-23-10:52:08-518.png"))
Hmmm... Hard to guess.
Are the .png files actually present in /tmp?
If not, can you try running convert over a dummy image, e.g.
convert my-image.png new-file.png
?
I was getting that error when trying to record longer gifs.
The *gif-screencast-log* shows what the problem is,
convert: cache resources exhausted ....
convert: memory allocation failed ....
The solution that worked for me is to increase the memory allocated by convert, according to this SO answer:
Find the policy.xml with find / -name "policy.xml", something like /etc/ImageMagick-6/policy.xml
and change <policy domain="resource" name="disk" value="1GiB"/> to
<policy domain="resource" name="disk" value="8GiB"/>