BtbN / FFmpeg-Builds

MIT License
6.99k stars 958 forks source link

feat: add addins/6.1 and libaribcaption build scripts #319

Closed li-yifei closed 7 months ago

li-yifei commented 7 months ago

Related issue: #318

xqq commented 7 months ago

@li-yifei Hello! Thanks a lot for your contribution.

Could you please enable the FreeType support in the CMake options? Since this BtbN build always includes a libfreetype, and the FreeType-based renderer in libaribcaption can provide better font rendering quality in some cases.

cmake -DARIBCC_USE_FREETYPE:BOOL=ON

BTW: The ARIBCC_USE_EMBEDDED_FREETYPE flag will be triggered to be ON automatically if libfreetype is not found. If not found, the CMake build script will download an embedded FreeType library and show a message like System-wide installed FreeType not found, fallback to use embedded FreeType during CMake-generating. Take care of that.

li-yifei commented 7 months ago

TODO: fix windows builds

BtbN commented 7 months ago

Added in 9a0acacbd1d8a668528b9f7c32bef09d86eab639