是否可以在Android上压缩视频? [英] Is it possible to compress video on Android?
问题描述
我想做视频压缩。
实际上,在我的应用程序中,我想有两个选项,一个是低,另一个是高。如果我选择低选项,那么应用程序将压缩视频,然后上传。如果我选择高,那么它会上传我自己记录的原始视频。
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.
我想在我的应用程序做这件事,我很困惑。我已经搜索google了很多,但我不能找到有用的方法来解决这个问题,如果任何人都可以帮助我。
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.
推荐答案
我使用了 ffmpeg4android ,
并且能在约10分钟内使用java,
实现这一点。注意它是一个商业库。
And was able to achieve this in about 10min using only java, Note that its a commercial library.
这篇关于是否可以在Android上压缩视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!