[FFmpeg-user] ffmpeg static binary with libass enabled

Roger Pack rogerdpack2 at gmail.com
Fri Nov 2 10:04:59 CET 2012


>> $ sed -i 's/-L${libdir} -lfontconfig[^l]*$/-L${libdir} -lfontconfig
>> -lfreetype -lexpat/' "$PKG_CONFIG_PATH/fontconfig.pc"
>>
>> basically fontconfig (for some bizarre reason) expects you to call
>> pkg-config --static --libs fontconfig (FFmpeg calls it like pkg-config
>> --libs--which doesn't include everything needed for static). I had
>> some chatting here on the mailing list and with the fontconfig
>> people--we didn't reach a concensus as to who was wrong here :)
>>
>> So that hack adds some dependencies to the fontconfig "pkg config"
>> file so that ffmpeg picks them up.
>> HTH.
>> -r
>>
>>
>>
>
> Thanks for the clarification. Just to make sure, where is this line supposed
> to be in? Is it in the configuration file or executed in the command line?

command line. and you may need to modify it to fit your environment
(of course).  the "sed" command does some text find and replace,
basically...


More information about the ffmpeg-user mailing list