Selamlar hortlatmak gibi olacak fakat :
ffmpeg kütüphanesini githup üzerinden indirip belirli parametreler ile kendiniz derlerseniz daha düşük boyutta kütüphaneler elde edebilirsiniz.
örnek :
stackoverflow.com
ffmpeg kütüphanesini githup üzerinden indirip belirli parametreler ile kendiniz derlerseniz daha düşük boyutta kütüphaneler elde edebilirsiniz.
örnek :
- Note that the static libs (such as libavcodec.a) contain all kinds of extra data that will be stripped off by linker.
- But even after that you can add --enable-small to ./configure parameters. About a year ago this parameter reduced the size of libavcodec.so from 14 to ~3 MByte.
- add the option "--disable-debug" to the ./configure. The size of my libavcodec fell from 150Mb to 12Mb!
- Remove all unnecessary codecs: Add the options -disable-encoders, --disable-decoders and then add only codecs you want with --enable-encoder=NAME and --enable-decoder=NAME. Print the list using ./configure --list-encoders --list-decoders. see ./configure --help for more information. (My final libavcodec has a size of 4Mo)
Why my ffmpeg libs are so large?
I compiled ffmpeg libs on my Ubuntu 64-bits using the following script: mkdir ~/ffmpeg_sources #x264 ...