zimbatm / ffmpeg-static

Scripts to build ffmpeg with all the deps statically (webm + h264 included)
ISC License
494 stars 245 forks source link

fontconfig issue #72

Open desireB opened 6 years ago

desireB commented 6 years ago

Hi,

I'm getting an error while building on CentOS 7: configure: error: Either DirectWrite (on Windows), CoreText (on OSX), or Fontconfig (Linux, other) is required. If you really want to compile without a system font provider, add --disable-require-system-font-provider Thank you.

jamesoflol commented 3 years ago

I couldn't find a solution to this either. I added the suggested argument --disable-require-system-font-provider, but the ffmpeg build still couldn't find libass. I removed libass from compilation and from the ffmpeg build options, and it worked fine. It's only needed for subtitles I think. I also had to remove heaps of other stuff to get this working on centos... libtheora, libxvid, frei0r, fontconfig, libfreetype... I'm not going to put in the work to figure out building all of them unless I really need them.