Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APK size is larger than 25MB #45

Closed
newstarbka opened this issue Sep 11, 2015 · 8 comments
Closed

APK size is larger than 25MB #45

newstarbka opened this issue Sep 11, 2015 · 8 comments

Comments

@newstarbka
Copy link

I'm using ffmpeg library and apk size is too big. Anyone know how to reduce apk size ?

@ChandanWadhwa
Copy link

Hi

Your FFmpeg library for android is working fine but the issue is with apk size . Apk size is too large. Could you suggest any idea how to reduce apk size.
Thanks

@gouravd
Copy link

gouravd commented Oct 25, 2015

The increased size is because of 15mb of ARMv7a ffmpeg file, 15mb of ARMv7a-Neon file and 17 mb of X86 ffmpeg file.

So the ideal way is to create different APKs for different architectures.

@chodison
Copy link

Can you also tell me what did you do compile the ffmpeg library to .so files using android-NDK

@Vijayadhas
Copy link

I am also facing the APK size issue. Please let me know any idea to reduce the apk size.

@Vijayadhas
Copy link

I just want to compress the video. I am using

-y -i /sdcard/videokit/in.mp4 -strict experimental -vcodec libx264 -preset ultrafast -crf 24 -acodec aac -ar 44100 -ac 2 -b 36000k -s 1280x720 -aspect 16:9 -metadata:s:v:0 rotate=0 /sdcard/videokit/out3.mp4

command to compress the video. For this only I am using ffmpeg library. Now my apk size is 30 mb. Is it possible to reduce the apk size?

And also I want to speed up the compression time. it take min one min to compress 40mb video. Is there any way to speed up??

Thanks in advance.

@hiteshsondhi88
Copy link
Contributor

APK Size is now decreased by 7MB and is 18MB now.

@Tejas-narola
Copy link

Would you please share , How did you decrease APK Size to 7MB? I really need solution.

@Vijayadhas
Copy link

Refer this. I followed this only to reduce the apk size. #66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants