You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm very pleased with this library, it saved me lots of time by not having to deal with ffmpeg directly in Android.
One thing that worries me is the size of resulting /libs/armeabi folder - I followed the instructions in the readme and right now it's almost 36MB (which is a lot for an Android app)
As I'm using only a two javacv's classes in my code (FFmpegFrameRecorder and opencv_core.IplImage) I'm pretty sure I could ditch most of the .so files - how can I find out which ones?
The text was updated successfully, but these errors were encountered:
jaccunio
changed the title
How do I know which .so files to keep in Android?
How can I know which .so files to keep in Android?
Aug 13, 2014
The only sure way is to remove the .so files one by one, and when your application fails, you know that that file was needed. If it still runs, then you don't need that file and can keep it removed.
BTW, if we modify FFmpegFrameRecorder to not use IplImage (it's not required for anything really), we can also remove opencv_core.so, which is pretty big.
If you need to make it smaller still, you'll need to modify the cppbuild.sh scripts and remove all the features you don't need from FFmpeg, and rebuild the .so files themselves.
Hi, I'm very pleased with this library, it saved me lots of time by not having to deal with ffmpeg directly in Android.
One thing that worries me is the size of resulting /libs/armeabi folder - I followed the instructions in the readme and right now it's almost 36MB (which is a lot for an Android app)
As I'm using only a two javacv's classes in my code (FFmpegFrameRecorder and opencv_core.IplImage) I'm pretty sure I could ditch most of the .so files - how can I find out which ones?
The text was updated successfully, but these errors were encountered: