2016-05-07 06:16:12 +00:00
|
|
|
# This is the commands used to build the ffmpeg libs provided here
|
2020-11-24 07:47:39 +00:00
|
|
|
./configure --extra-cflags="-fPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.9" --extra-ldflags="-mmacosx-version-min=10.9"\
|
|
|
|
--enable-static --disable-shared --prefix=$HOME/Source/Repos/cog/ThirdParty/ffmpeg/x86\
|
2016-05-07 06:16:12 +00:00
|
|
|
--enable-pic --enable-gpl --disable-doc --disable-ffplay\
|
2018-02-19 04:44:10 +00:00
|
|
|
--disable-ffprobe --disable-avdevice --disable-ffmpeg\
|
2017-09-24 23:35:45 +00:00
|
|
|
--disable-postproc --disable-avfilter\
|
2016-12-22 23:56:57 +00:00
|
|
|
--disable-swscale --disable-network --disable-swscale-alpha --disable-vdpau\
|
2016-08-05 23:40:48 +00:00
|
|
|
--disable-dxva2 --disable-everything --enable-hwaccels\
|
2017-09-24 23:35:45 +00:00
|
|
|
--enable-swresample\
|
|
|
|
--enable-parser=ac3,mpegaudio,xma,vorbis,opus\
|
2017-12-17 03:57:49 +00:00
|
|
|
--enable-demuxer=ac3,asf,xwma,mov,oma,ogg,tak,dsf,wav,aac,dts,dtshd,mp3,bink,flac,msf,xmv,caf,ape,smacker,pcm_s8,spdif,mpc,mpc8,rm\
|
2020-11-24 07:47:39 +00:00
|
|
|
--enable-decoder=ac3,wmapro,wmav1,wmav2,wmavoice,wmalossless,xma1,xma2,dca,tak,dsd_lsbf,dsd_lsbf_planar,dsd_mbf,dsd_msbf_planar,aac,atrac3,atrac3p,mp3float,bink,binkaudio_dct,binkaudio_rdft,flac,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,vorbis,ape,adpcm_ima_qt,smackaud,opus,pcm_s8,pcm_s8_planar,mpc7,mpc8,alac,adpcm_ima_dk3,adpcm_ima_dk4,cook\
|
2016-12-22 23:56:57 +00:00
|
|
|
--disable-parser=mpeg4video,h263\
|
|
|
|
--disable-decoder=mpeg2video,h263,h264,mpeg1video,mpeg2video,mpeg4,hevc,vp9\
|
|
|
|
--disable-version3
|
2016-05-07 06:16:12 +00:00
|
|
|
|
2019-10-16 02:15:52 +00:00
|
|
|
make -j$(sysctl -n hw.logicalcpu)
|