vvo / gifify

😻 Convert any video file to an optimized animated GIF.
ISC License
6.21k stars 314 forks source link

I use windows wsl -d ubuntu install gifify(Contains required plugins) run but show error #119

Open minimoonleaf opened 1 year ago

minimoonleaf commented 1 year ago

$ sudo gifify test.mp4 -o output.gif --from 00:00 --too 00:30 Generating GIF, please wait... convert-im6.q16: cache resources exhausted /tmp/magick-ITY2PzzBkIDZT0JfhwDkjVPJalBpeKJA' @ error/cache.c/OpenPixelCache/4095. convert-im6.q16: no images definedgif:-' @ error/convert.c/ConvertImageCommand/3229.

minimoonleaf commented 1 year ago

MP4 link https://drive.google.com/file/d/1lhQXV3UwtZYe7raB-xOMEEpPiXGmNogw/view?usp=sharing

wdllmh commented 1 year ago

i also have the problem.but it happened after i configured the /etc/ImageMagick-6/policy.xml

badcodebuilder commented 11 months ago

so do I in docker image, here is my Dockerfile

FROM debian:bookworm

RUN apt update -y && \
    apt upgrade -y && \
    apt install -y --no-install-recommends nodejs npm ffmpeg imagemagick gifsicle && \
    rm -rf /var/lib/apt/lists/*
RUN npm i gifify -g

WORKDIR /data

ENTRYPOINT [ "gifify" ]

Is it any bug about ImageMagick?