Closed arthurlutz closed 3 years ago
The video was 30 seconds long, I ended up doing three runs of 10 seconds and that works...
Same problem. Tried making a gif out of a 45 second gif. Both this and the following script ends with the same error:
$ ffmpeg -i demo.mp4 -r 10 -f image2pipe -vcodec ppm - | convert -delay 5 -loop 0 - output.gif
convert-im6.q16: DistributedPixelCache '127.0.0.1' @ error/distribute-cache.c/ConnectPixelCacheServer/244.
convert-im6.q16: cache resources exhausted `/tmp/magick-11492-FwYUnivxewm' @ error/cache.c/OpenPixelCache/3982.
convert-im6.q16: no images defined `gif:-' @ error/convert.c/ConvertImageCommand/3258.
It seems that issue could be closed, since the workaround described in #396 works great (ie. increasing the available memory in the /etc/ImageMagick-6/policy.xml
file).
Hey @AlexandreBonneau, can you give a link to the workaround? thanks!
@vvo I was referring to the issue #396 mentioned just above. I edited my comment to add the link.
Thanks, for anyone following this, here's the workaround: https://github.com/ImageMagick/ImageMagick/issues/396#issuecomment-319569255
On some video files (not all) I get the follow error and the produced file is empty :