关于win8.1平板前后摄像头调用的问题
三星win8.1平板 摄像头在控件设备列表里可以显示,后置型号为OV8830,前置是OV2270(这个没记清)程序调用黑屏,可以调用出画质调节,切换摄像头也均无反应,用一个第三方的摄像头美化软件YouCam 可以在设备列表里列出这个虚拟摄像头,可以调用,但这个软件只能调用后置摄像头,无法调用前置的
注 win8.1自带的相机是可以调用前后摄像头的,我的程序在win7平台调用USB摄像头完全正常,切换正常
请官方核实,如何解决? 补充一点
anychatsdk.ini不能写出videocapture设备, audiocapture是正常的,手工添加后,程序也能知道选的是添加的那个头,但仍然是黑屏 您好,anychatsdk.ini是Anychat系统的参数控制写出来的;试试使用QQ视频,前置摄像头是否正常? 您好,这是由于获取摄像头失败导致的。请问有试过其他第三方软件能获取到摄像头吗? 程序调用黑屏,可以调用出画质调节,切换摄像头也均无反应您好,请将打开摄像头失败后的日志文件(BRAnyChatCore.log)附上来,我们帮您分析一下,谢谢。 ---------------------------AnyChat Platform Core SDK Client Log---------------------------
Load BRAnyChatCore.dll success!(V6.0 Build Time:May 16 2016 17:00:42)
Load BRMiscUtil.dll success!(V6.0 Build Time:May 16 2016 17:02:37)
Load BRMediaUtil.dll success!(V6.0 Build Time:May 16 2016 16:59:56)
Load BRMediaShow.dll success!(V6.0 Build Time:May 16 2016 17:02:44)
Load BRMediaCore.dll success!(V6.0 Build Time:May 16 2016 17:02:56)
Video capture device supported:
1-OV8830
2-OV2720
Audio capture device supported:
1-麦克风 (Intel SST Audio Device (WDM))
Invoke AudioGetVolume(device:0, dwVolume:50)=0
Invoke AudioSetVolume(device:0, dwVolume:50)=0
Invoke Connect(127.0.0.1,8906)=0
Invoke Login(username:RUN)=0
Create anychatdnsserver connect:127.0.0.1(8906)
On pre-connection result, errorcode:0, anychatcoreserver, 127.0.0.1(8906, tcp:1)
CheckClientSocketLink Connect(ip=127.0.0.1,port=8906)
Server version: V6.1(Build Time:2016-06-03 15:08:22, Server OS:Windows)
Message OnConnect(bSuccess:1, errorcode=0)
Message OnLoginSystem(userid=-2,errorcode=0,username=RUN), msg deliver worked(1)
Server running time: 0 days, 0 hours, 0 minutes, license mode:0
Connection to streaming media server successfully!(udp delay:39ms)
Success add upnp map(port:58892, tcp)
Invoke EnterRoom(roomid=1)
Success add upnp map(port:57239, udp)
Message OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
Message OnReceiveOnlineUser(count=1,roomid=1)
Invoke UserSpeakControl(userid=-2,bOpen=-1)
WaveIn Audio Capture Driver(麦克风 (Intel SST Audio Device )
Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
Invoke SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
Invoke SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
Audio codec init, handle:1, 11, 1, 16000, 16, 15850
Invoke UserCameraControl(userid=-2, bOpen=-1, stream=0)
Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
MinCroppingSize(448, 252) MaxCroppingSize(448, 252) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(448, 252) MaxCroppingSize(448, 252) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(960, 540) MaxCroppingSize(960, 540) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(960, 540) MaxCroppingSize(960, 540) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(1920, 1080) MaxCroppingSize(1920, 1080) Format(NV12, 0x3231564e, 29fps)
Prepare config camera(1-OV8830): 320x240, 25fps
Video Config Size(640, 480) Format(NV12, 29fps)
Local Video Connect:80040217
****Open Local Video Fail,ErrorCode:10160
Invoke SelectVideoCapture(1-OV8830)
MinCroppingSize(448, 252) MaxCroppingSize(448, 252) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(448, 252) MaxCroppingSize(448, 252) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(960, 540) MaxCroppingSize(960, 540) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(960, 540) MaxCroppingSize(960, 540) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(1920, 1080) MaxCroppingSize(1920, 1080) Format(NV12, 0x3231564e, 29fps)
Prepare config camera(1-OV8830): 320x240, 25fps
Video Config Size(640, 480) Format(NV12, 29fps)
Local Video Connect:80040217
****Open Local Video Fail,ErrorCode:10160
Invoke SelectVideoCapture(2-OV2720)
MinCroppingSize(448, 252) MaxCroppingSize(448, 252) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(448, 252) MaxCroppingSize(448, 252) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(640, 360) MaxCroppingSize(640, 360) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(640, 480) MaxCroppingSize(640, 480) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(960, 540) MaxCroppingSize(960, 540) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(960, 540) MaxCroppingSize(960, 540) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(NV12, 0x3231564e, 29fps)
MinCroppingSize(1280, 720) MaxCroppingSize(1280, 720) Format(YUY2, 0x32595559, 29fps)
MinCroppingSize(1920, 1080) MaxCroppingSize(1920, 1080) Format(NV12, 0x3231564e, 29fps)
Prepare config camera(2-OV2720): 320x240, 25fps
Video Config Size(640, 480) Format(NV12, 29fps)
Invoke SelectVideoCapture(2-OV2720)
Local Video Connect:80040217
****Open Local Video Fail,ErrorCode:10160
Invoke UserCameraControl(userid=-2, bOpen=0, stream=0)
Invoke LeaveRoom(roomid=-1) Elapse:62 ms
Invoke LogoutServer(userid=-2) Elapse:140 ms
Invoke BRAC_Release Elapse:188 ms
QQ可以正确识别后置摄像头,前置也不能识别
anychat可以识别到两个头,但那个都不能激活 QQ可以正确识别后置摄像头,前置也不能识别从您的测试情况,以及日志输出的信息来分析,可能是这台平板的摄像头驱动存在一定的特殊之处,没有兼容标准的DirectShow体系。
AnyChat、QQ都是兼容DirectShow体系的,如果QQ也不能打开该摄像头,则AnyChat也是无法打开该摄像头的,除非由厂家提供相关的API接口做定制开发。
页:
[1]