Android 手机上的硬件编码视频
我正在寻找一些有关使用硬件加速在 Android 手机上编码视频的信息。我知道有些手机(如果有人有列表?)支持相机编码,并希望我可以访问该芯片来编码通过 WiFi、USB 提供的实时馈送。 另外,我对任何此类芯片提供的延迟感兴趣。
编辑:显然Android使用PacketVideo,但是没有太多关于编码的文档。
编辑:Android文档显示了一个视频编码器: http://developer.android .com/reference/android/media/MediaRecorder.VideoEncoder.html。但是它没有提及任何有关硬件加速的信息。
I'm looking for some information about encoding video on an Android phone using hardware acceleration. I know some phones (if anyone has a list?) support encoding for the camera, and was hoping I could access the chip to encode a live feed supplied through say wifi, usb.
Also, I'm interested in the latency any such chip would provide.
EDIT: Apparently Android uses PacketVideo, however not much documentation to be found for encoding.
EDIT: Android documentation shows a video-encoder: http://developer.android.com/reference/android/media/MediaRecorder.VideoEncoder.html. However it does not say anything about hardware acceleration.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MediaCodec 应该适合您的需求。文档中没有提及硬件加速,但根据日志和基准测试,它依赖于 OpenMAX 库。
MediaCodec should fit your needs. Documentation says nothing about hardware acceleration, but according to logs and benchmarks, it relies on OpenMAX library.