gifify icon indicating copy to clipboard operation
gifify copied to clipboard

Error: convert needs fontconfig

Open samtgarson opened this issue 9 years ago • 16 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

samtgarson avatar Aug 21 '15 14:08 samtgarson

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

wesbos avatar Aug 21 '15 17:08 wesbos

Works for me, thanks.

samtgarson avatar Aug 21 '15 19:08 samtgarson

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

joemccann avatar Nov 09 '15 15:11 joemccann

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

wesbos avatar Nov 09 '15 15:11 wesbos

Open a PR, I will merge and release

vvo avatar Nov 09 '15 15:11 vvo

cc @joemccann @wesbos

vvo avatar Nov 09 '15 15:11 vvo

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.

ispal avatar Feb 20 '16 13:02 ispal

MAMP was my issue as well.

timarney avatar Aug 19 '16 19:08 timarney

Also got this problem. Frustrating.

skovmand avatar Oct 20 '16 09:10 skovmand

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

vvo avatar Oct 21 '16 05:10 vvo

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.

skovmand avatar Oct 21 '16 09:10 skovmand

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

ahmadawais avatar Apr 04 '17 14:04 ahmadawais

Same problem encounter today.

sitexa avatar Nov 26 '17 04:11 sitexa

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

maxp-edcast avatar Mar 06 '18 16:03 maxp-edcast

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

kahlilashanti avatar Aug 03 '18 19:08 kahlilashanti

Same, I get:

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

ericat avatar Nov 15 '18 21:11 ericat