Android视频编码和脱机本机级别 [英] Android video encoding and deocding native level

查看:156
本文介绍了Android视频编码和脱机本机级别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

场景
我必须阅读视频帧并编辑它们并将其编码为一个新的.mp4文件。
根据我所做的研究,我可以做这个本机级别。即使我在本地级别开始使用开源库,因此可以使视频的编码和解码速度更快。在许多地方看到人们使用ffmpeg,但为了H264流,它需要LGPL许可证。有没有其他的库具有更好的性能和GPL。

解决方案

如果可以使用Android 4.3(API 18)或更多,请查看 Big Flake示例。如果你想要其他的API版本,你必须编译并使用适用于Android的FFMPEG


Scenario : I have to read the video frames and edit them and encode it a new .mp4 file. According to the research i have done i can do this native level. Even if i am doing it in the native level which open source library i can use so that the encoding and decoding of the video will be faster. It have seen in many places people used ffmpeg but it in order to H264 stream it needs LGPL license. Is there any other libraries which have better performance and comes under GPL.

解决方案

If you can use Android 4.3 (API 18) or greater, take a look to the Big Flake samples. It's easy to rewrite them to your needs.

If you want other API version, you will have to compile and use FFMPEG for Android

这篇关于Android视频编码和脱机本机级别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆