设为首页收藏本站

AnyChat技术支持论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz

关于win8.1平板前后摄像头调用的问题

查看数: 9124 | 评论数: 7 | 收藏 1
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2016-7-7 21:35

正文摘要:

三星win8.1平板 摄像头在控件设备列表里可以显示,后置型号为OV8830,前置是OV2270(这个没记清) 程序调用黑屏,可以调用出画质调节,切换摄像头也均无反应,用一个第三方的摄像头美化软件YouCam 可以在设备列表里列 ...

回复

admin 发表于 2016-7-12 16:31:18
QQ可以正确识别后置摄像头,前置也不能识别
从您的测试情况,以及日志输出的信息来分析,可能是这台平板的摄像头驱动存在一定的特殊之处,没有兼容标准的DirectShow体系。

AnyChat、QQ都是兼容DirectShow体系的,如果QQ也不能打开该摄像头,则AnyChat也是无法打开该摄像头的,除非由厂家提供相关的API接口做定制开发。
qingfengtech 发表于 2016-7-12 14:42:11
[2016-07-12 13:49:26(554)]        ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2016-07-12 13:49:26(570)]        Load BRAnyChatCore.dll success!(V6.0 Build Time:May 16 2016 17:00:42)
[2016-07-12 13:49:26(585)]        Load BRMiscUtil.dll success!(V6.0 Build Time:May 16 2016 17:02:37)
[2016-07-12 13:49:26(914)]        Load BRMediaUtil.dll success!(V6.0 Build Time:May 16 2016 16:59:56)
[2016-07-12 13:49:26(929)]        Load BRMediaShow.dll success!(V6.0 Build Time:May 16 2016 17:02:44)
[2016-07-12 13:49:26(960)]        Load BRMediaCore.dll success!(V6.0 Build Time:May 16 2016 17:02:56)
[2016-07-12 13:49:27(054)]        Video capture device supported:
[2016-07-12 13:49:27(054)]                1-OV8830
[2016-07-12 13:49:27(070)]                2-OV2720
[2016-07-12 13:49:27(070)]        Audio capture device supported:
[2016-07-12 13:49:27(085)]                1-麦克风 (Intel SST Audio Device (WDM))
[2016-07-12 13:49:27(117)]        Invoke        AudioGetVolume(device:0, dwVolume:50)=0
[2016-07-12 13:49:27(117)]        Invoke        AudioSetVolume(device:0, dwVolume:50)=0
[2016-07-12 13:49:38(414)]        Invoke        Connect(127.0.0.1,8906)=0
[2016-07-12 13:49:39(445)]        Invoke        Login(username:RUN)=0
[2016-07-12 13:49:39(508)]        Create anychatdnsserver connect:127.0.0.1(8906)
[2016-07-12 13:49:39(648)]        On pre-connection result, errorcode:0, anychatcoreserver, 127.0.0.1(8906, tcp:1)
[2016-07-12 13:49:39(727)]        CheckClientSocketLink         Connect(ip=127.0.0.1,port=8906)
[2016-07-12 13:49:39(883)]        Server version: V6.1(Build Time:2016-06-03 15:08:22, Server OS:Windows)
[2016-07-12 13:49:39(898)]        Message        OnConnect(bSuccess:1, errorcode=0)
[2016-07-12 13:49:39(945)]        Message        OnLoginSystem(userid=-2,errorcode=0,username=RUN), msg deliver worked(1)
[2016-07-12 13:49:39(945)]        Server running time: 0 days, 0 hours, 0 minutes, license mode:0
[2016-07-12 13:49:40(039)]        Connection to streaming media server successfully!(udp delay:39ms)
[2016-07-12 13:49:40(211)]        Success add upnp map(port:58892, tcp)
[2016-07-12 13:49:40(445)]        Invoke        EnterRoom(roomid=1)
[2016-07-12 13:49:40(508)]        Success add upnp map(port:57239, udp)
[2016-07-12 13:49:40(524)]        Message        OnEnterRoom(roomid=1,errorcode=0,siteindex=0)
[2016-07-12 13:49:40(524)]        Message        OnReceiveOnlineUser(count=1,roomid=1)
[2016-07-12 13:49:40(539)]        Invoke        UserSpeakControl(userid=-2,bOpen=-1)
[2016-07-12 13:49:40(664)]        WaveIn Audio Capture Driver(麦克风 (Intel SST Audio Device )
[2016-07-12 13:49:40(684)]        Audio Init, error:0, device:0, 1, 16000, 16, capmode:0
[2016-07-12 13:49:40(685)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_NSCTRL,1)
[2016-07-12 13:49:40(705)]        Invoke        SetSDKOption(BRAC_SO_AUDIO_ECHOCTRL,1)
[2016-07-12 13:49:40(704)]        Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2016-07-12 13:49:40(705)]        Invoke        UserCameraControl(userid=-2, bOpen=-1, stream=0)
[2016-07-12 13:49:40(720)]        Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2016-07-12 13:49:41(267)]        Audio Playback Device Init(0, 1, 16000, 16), WaveOut Playback Driver
[2016-07-12 13:49:41(502)]        MinCroppingSize(448, 252)        MaxCroppingSize(448, 252)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:49:41(517)]        MinCroppingSize(448, 252)        MaxCroppingSize(448, 252)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:49:41(517)]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:49:41(533)]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:49:41(549)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:49:41(549)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:49:41(564)]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:49:41(580)]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:49:41(580)]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:49:41(595)]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:49:41(611)]        MinCroppingSize(1920, 1080)        MaxCroppingSize(1920, 1080)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:49:41(611)]        Prepare config camera(1-OV8830): 320x240, 25fps
[2016-07-12 13:49:41(674)]                Video Config Size(640, 480)        Format(NV12, 29fps)
[2016-07-12 13:49:42(033)]        Local Video Connect:80040217
[2016-07-12 13:49:42(033)]        ****Open Local Video Fail,ErrorCode:10160
[2016-07-12 13:50:09(177)]        Invoke        SelectVideoCapture(1-OV8830)
[2016-07-12 13:50:09(334)]        MinCroppingSize(448, 252)        MaxCroppingSize(448, 252)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:50:09(349)]        MinCroppingSize(448, 252)        MaxCroppingSize(448, 252)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:50:09(349)]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:50:09(365)]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:50:09(365)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:50:09(380)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:50:09(396)]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:50:09(412)]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:50:09(412)]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:50:09(427)]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:50:09(443)]        MinCroppingSize(1920, 1080)        MaxCroppingSize(1920, 1080)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:50:09(443)]        Prepare config camera(1-OV8830): 320x240, 25fps
[2016-07-12 13:50:09(505)]                Video Config Size(640, 480)        Format(NV12, 29fps)
[2016-07-12 13:50:09(646)]        Local Video Connect:80040217
[2016-07-12 13:50:09(662)]        ****Open Local Video Fail,ErrorCode:10160
[2016-07-12 13:50:26(139)]        Invoke        SelectVideoCapture(2-OV2720)
[2016-07-12 13:50:26(311)]        MinCroppingSize(448, 252)        MaxCroppingSize(448, 252)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:50:26(326)]        MinCroppingSize(448, 252)        MaxCroppingSize(448, 252)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:50:26(342)]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:50:26(358)]        MinCroppingSize(640, 360)        MaxCroppingSize(640, 360)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:50:26(373)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:50:26(389)]        MinCroppingSize(640, 480)        MaxCroppingSize(640, 480)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:50:26(405)]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:50:26(420)]        MinCroppingSize(960, 540)        MaxCroppingSize(960, 540)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:50:26(436)]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:50:26(451)]        MinCroppingSize(1280, 720)        MaxCroppingSize(1280, 720)        Format(YUY2, 0x32595559, 29fps)
[2016-07-12 13:50:26(467)]        MinCroppingSize(1920, 1080)        MaxCroppingSize(1920, 1080)        Format(NV12, 0x3231564e, 29fps)
[2016-07-12 13:50:26(467)]        Prepare config camera(2-OV2720): 320x240, 25fps
[2016-07-12 13:50:26(530)]                Video Config Size(640, 480)        Format(NV12, 29fps)
[2016-07-12 13:50:26(576)]        Invoke        SelectVideoCapture(2-OV2720)
[2016-07-12 13:50:26(701)]        Local Video Connect:80040217
[2016-07-12 13:50:26(717)]        ****Open Local Video Fail,ErrorCode:10160
[2016-07-12 13:50:48(824)]        Invoke        UserCameraControl(userid=-2, bOpen=0, stream=0)
[2016-07-12 13:50:48(886)]        Invoke        LeaveRoom(roomid=-1)        Elapse:62 ms
[2016-07-12 13:50:48(964)]        Invoke        LogoutServer(userid=-2)        Elapse:140 ms
[2016-07-12 13:50:49(152)]        Invoke        BRAC_Release        Elapse:188 ms
admin 发表于 2016-7-11 09:27:33
程序调用黑屏,可以调用出画质调节,切换摄像头也均无反应
您好,请将打开摄像头失败后的日志文件(BRAnyChatCore.log)附上来,我们帮您分析一下,谢谢。
佰锐科技-梁国桦 发表于 2016-7-8 09:55:38
您好,这是由于获取摄像头失败导致的。请问有试过其他第三方软件能获取到摄像头吗?
佰锐科技-邵光清 发表于 2016-7-8 09:50:36
您好,anychatsdk.ini是Anychat系统的参数控制写出来的;试试使用QQ视频,前置摄像头是否正常?
qingfengtech 发表于 2016-7-7 21:38:21
补充一点
anychatsdk.ini不能写出videocapture设备, audiocapture是正常的,手工添加后,程序也能知道选的是添加的那个头,但仍然是黑屏

Archiver|手机版|AnyChat ( 粤ICP备13022410号-1 )  

GMT+8, 2024-11-23 14:50 , Processed in 0.146237 second(s), 26 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表