如何从正面录制视频前置摄像头? [英] How to record video from Front Facing Camera?

查看:1592
本文介绍了如何从正面录制视频前置摄像头?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们得到了一个要求记录从正面和背面摄像头视频同时放..
在Android 2.1 SDK我们只有MediaRecorder.VideoSource.CAMERA和默认值,但不FRONT_CAMERA和REAR_CAMERA。那么,有没有任何其他方式,从前置摄像头拍摄..像第三方API的..
谢谢..

we got a requirement to record video from front and rear cameras simultaniously.. In the Android 2.1 SDK we only have the MediaRecorder.VideoSource.CAMERA and DEFAULT, but not FRONT_CAMERA and REAR_CAMERA. So, is there any other way to record from Front camera.. like any third party API's.. thank you..

推荐答案

我只知道有一个前置摄像头,并且都在2.1以上(在美国Sprint的EVO和EPIC)曾设置2.1两个设备。斯普林特实际上在打包,你可以通过反射查找供应商特定的lib面对镜头前面。他们所描述的过程,其具体的图书馆在他们的开发者文档(https://docs.google.com/View?id=dhtsnvs6_57d2hpqtgr)我怀疑其他厂商做同样的在他们的BSP的3.4节。

I only know of two devices that have a front camera and that are on 2.1 or that were on 2.1 (EVO and Epic in the US from Sprint). Sprint actually packages the front facing camera in a vendor specific lib that you can lookup via reflection. They describe the process for their specific library in section 3.4 of their developer documentation (https://docs.google.com/View?id=dhtsnvs6_57d2hpqtgr) I suspect other vendors do the same in their BSP.

这篇关于如何从正面录制视频前置摄像头?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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