android - apk size increases when I use the ffmpeg library -


previously used ffempg library video compression in android. apk size increased 25 mb.
please me find alternative way compressing video.

i guess apk size increased because ffmpeg binaries put inside apk.

for android version 4.3 (api 18) , newer can use mediacodec api. introduced in api 16 expanded functionality available since api 18 (e.g. mediamuxer class).

to understand how works recommend go through android's unit tests here , here.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -