1 遇到的错误
Could not load font "arial.ttf": cannot open resource
是因为ffmpeg编译没有--enable-libfontconfig。ffmpeg 打开开关后,编译ffmpeg
2 ERROR: fontconfig not found using pkg-config。
https://github.com/r-lib/systemfonts/issues/21
brew install freetype
brew install pkg-config