cropsly / ffmpeg-android

FFmpeg for Android compiled with x264, libass, fontconfig, freetype, fribidi and lame (Supports Android 4.1+)
http://writingminds.github.io/ffmpeg-android/
Other
1.63k stars 415 forks source link

Minimal Size Binary #6

Open perracodex opened 9 years ago

perracodex commented 9 years ago

is there any script to compile a minimal ffmpeg binary, to include only the video encoder? Or a way to select easily which modules to compile? I've seen some apps using a less than 1MB ffmpeg binary, which is understandable as ffmpeg has many features which a developer might not need at all, and size is an important factor when it comes to mobile.

falnatsheh commented 9 years ago

I use this project and configure my ffmpeg and remove the lib that I don't need to reduce the size:

http://bambuser.com/opensource

bperin commented 9 years ago

I'm also interested in this, I can't seem to compile a customized version

chodison commented 8 years ago

@falnatsheh can you send me your ffmpeg file?

falnatsheh commented 8 years ago

@chodison I open sourced my changes and could be found here https://github.com/falnatsheh/ffmpeg-android