mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 1220|reply: 15
打印 prevThread nextThread

使用bvcu报错,错误码65529请问是什么原因

[copyURL]

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
jumpTo
owner
poston 2023-4-16 18:26 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
平台版本:SmartEye-E
使用语言C++

现象:使用bvcu打开pu视频时,提示打开视频失败,错误码:65529;但使用smarteye-d是正常的

请问可能是什么原因导致?
reply

使用道具 report

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
sofa
 Owner| poston 2023-4-17 00:10 | 显示全部楼层
coldflame post on2023-4-16 21:30
注意把音频编码格式改为G.711A

您好,我是用mpu上传的音视频,在mpu上看音频编码格式只有G726和aac,而且我把音频取消上传也还是不行
reply agree Against

使用道具 report

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
bench
 Owner| poston 2023-4-17 18:05 | 显示全部楼层
张云威 post on2023-4-17 17:56
65529代表网络不通,检查一下

网络是通的,我切换成smarteye-d的版本就可以
reply agree Against

使用道具 report

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
ground
 Owner| poston 2023-4-17 18:05 | 显示全部楼层
张云威 post on2023-4-17 17:57
D和E版本端口冲突,建议把D停掉

我用D或E版本的时候都是把另一个停掉的
reply agree Against

使用道具 report

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
5#
 Owner| poston 2023-4-17 18:33 | 显示全部楼层
张云威 post on2023-4-17 18:25
E版本先在网页端测试,看看是否正常

我在smarteye监视器和Web端的demo上看是可以的。版本是v0.0.9
reply agree Against

使用道具 report

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
6#
 Owner| poston 2023-4-17 18:34 | 显示全部楼层
张云威 post on2023-4-17 18:26
E版本服务器使用的什么版本,发一下

版本是v0.0.9
reply agree Against

使用道具 report

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
7#
 Owner| poston 2023-4-17 18:37 | 显示全部楼层
张云威 post on2023-4-17 18:26
E版本服务器使用的什么版本,发一下

版本是v0.0.9
reply agree Against

使用道具 report

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
8#
 Owner| poston 2023-4-17 18:56 | 显示全部楼层
张云威 post on2023-4-17 18:26
E版本服务器使用的什么版本,发一下

版本是 v0.0.9
reply agree Against

使用道具 report

22

主题

55

帖子

216

积分

midMem

Rank: 3Rank: 3

积分
216
9#
 Owner| poston 2023-4-19 22:43 | 显示全部楼层
huixing post on2023-4-17 18:33
我在smarteye监视器和Web端的demo上看是可以的。版本是v0.0.9

之前对接D版本是按照如下流程:

if (!BVCU_Result_SUCCEEDED(m_loginStatus)){
                return BVCU_RESULT_E_FAILED;
        }

        MPUChannelInfo puInfo;
        ZeroMemory(&puInfo, sizeof(puInfo));
        if (strcmp(type, "data") == 0){
                int result = m_data.GetPu(puId, &puInfo);
                if (BVCU_Result_FAILED(result))
                {
                        wchar_t buf[128];
                        wsprintf(buf, _T("m_data.GetPu result:%d \r\n"), result);
                        OutputDebugStringW(buf);
                        return result;
                }
        }
        else if (strcmp(type, "4G") == 0){
                int result = m_data.Get4GPu(puId, &puInfo);
                if (BVCU_Result_FAILED(result))
                {
                        wchar_t buf[128];
                        wsprintf(buf, _T("m_data.Get4GPu result:%d \r\n"), result);
                        OutputDebugStringW(buf);
                        return result;
                }
        }
        OpenInfo openInfo;
        ZeroMemory(&openInfo, sizeof(openInfo));
        openInfo.wnd = hwnd;
        strncpy_s(openInfo.sPUID, BVCU_MAX_ID_LEN + 1, puInfo.szPUID, _TRUNCATE);

        RECT rect;
        bool res = ::GetWindowRect(hwnd, &rect);       
        BVCU_Display_Rect dispRect;
        dispRect.iBottom = rect.bottom;
        dispRect.iLeft = rect.left;
        dispRect.iRight = rect.right;
        dispRect.iTop = rect.top;

        // 查找video或者4G模块的通道号
        if (strcmp(puInfo.pChannel[0].szName, "video") == 0 || strcmp(puInfo.pChannel[0].szName, "channel1") == 0)
        {
                for (int i = 0; i < puInfo.iChannelCount; i++){
                        //
                        // 10 代表单向视频回传
                        int result = CMLibBVCU::Browse(&openInfo.pDialog, puId, puInfo.pChannel.iChannelIndex, 10, hwnd, &dispRect);
                        if (BVCU_Result_SUCCEEDED(result)){
                                // 管理起来
                                m_openList.push_back(openInfo);
                        }
                        wchar_t buf[128];
                        wsprintf(buf, _T("CMLibBVCU::Browse result:%d \r\n"), result);
                        OutputDebugStringW(buf);
                        return result;
                }
        }
        else if (strcmp(Utf8ToGbk(puInfo.pChannel[0].szName).c_str(), "通道1") == 0){
                for (int i = 0; i < puInfo.iChannelCount; i++){
                        //
                        // 8 代表单向音频回传
                        int result = CMLibBVCU::Browse(&openInfo.pDialog, puId, puInfo.pChannel.iChannelIndex, 8, hwnd, &dispRect);
                        if (BVCU_Result_SUCCEEDED(result)){
                                // 管理起来
                                m_openList.push_back(openInfo);
                        }
                        wchar_t buf[128];
                        wsprintf(buf, _T("CMLibBVCU::Browse result:%d \r\n"), result);
                        OutputDebugStringW(buf);
                        return result;
                }
        }
        return BVCU_RESULT_E_FAILED;

看最新SDK好像有点区别,能否指点一下?
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-19 17:09 , Processed in 0.064449 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList