Is it possible to compress video on Android? [closed]

痞子三分冷 提交于 2019-12-28 05:21:09

问题


I want to do video compression.

Actually in my application I want to have two options, one is low and another is high. If I choose the low option then the application will compress the video and then upload it. If I choose high then it will upload the original video which I have recorded itself.

I want to do this thing in my application and I'm confused. I have searched google a lot but I'm not able to find the useful way to solve this question please if anyone can help me out.


回答1:


I used ffmpeg4android,

And was able to achieve this in about 10min using only java, Note that its a commercial library.




回答2:


Yes in android you can us ffmpeg4android for compress video it's native library

Please check this link

ffmpeg4android Code

Install the Android NDK First to Use it



来源:https://stackoverflow.com/questions/10991863/is-it-possible-to-compress-video-on-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!