我想压缩视频,但发现只有一种解决方案是使用 ffmpeg。
我找到了这个 Trying to use FFMPEG for android. Compiling but still not working但不知道他是如何编译的。
最佳答案
您可以使用 JavaCPP Presets 中的预编译库连同来自 JavaCV 的 FFmpegFrameRecorder
压缩图像,如 RecordActivity sample 中所示,例如。
关于android - 如何在android studio中使用Ffmpeg?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25933189/