vvo / gifify

😻 Convert any video file to an optimized animated GIF.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: convert needs fontconfig

samtgarson opened this issue · comments

Hey there.

I'm trying to convert using the following command:

gifify tide\ 1_.mov -o tide_backend.gif --resize '900:-1' 

however I get the following error without anything else:

convert needs fontconfig

Any help please? Cheers

I got this too - even when I had all the dependencies installed.

I just opened the file and removed the need for these deps because I don't need captions

https://github.com/vvo/gifify/blob/master/bin/gifify#L92-L93

Works for me, thanks.

Still an issue without @wesbos's change, right?

Yeah - this should be changed in the source. It should only check for libass and fontconfig if the thing we are doing requires those things - basic mp4→gif doesn't need them

Open a PR, I will merge and release

I had this issue, but in my case I had MAMP on my machine which included Imagemagick with different settings. It defaulted to MAMP's version of the library without fontconfig because I had MAMP's bin folder in $PATH before /usr/local in .zshrc. So, check your settings if you are experiencing this issue.

MAMP was my issue as well.

Also got this problem. Frustrating.

One way to solve this @skovmand would be to be not that picky about requirements and let error propagates when the user actually tries to use such flag like captions: https://github.com/vvo/gifify/blob/master/bin/gifify#L92-L93

Open to a PR solving this all

Thanks. Sorry, I forgot to respond, but I solved the problem by following the instructions on the front page, installing all dependencies in Homebrew with the flags specified.

Simply uninstall all the dependencies and reinstall them as stated in the readme.md file :)

commented

Same problem encounter today.

uninnstallinng imagemagi ck and reinstallingn with the flag did not fix this issue.

commented

installing per the documentation with flags did not solve it for me. any updates? thanks!

Same, I get:

Warning: ffmpeg: this formula has no --with-fontconfigg option so it will be ignored!