mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
12NextPage
backToList newPost
view: 1644|reply: 11
打印 prevThread nextThread

图传通道使用,是否支持,编码后的 sps 和pps

[copyURL]

12

主题

48

帖子

160

积分

member

Rank: 2

积分
160
jumpTo
owner
poston 2020-11-22 12:58 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
咱们的图传,是不是仅支持YUV 格式,不知是否支持编码后的SPS 和PPS 视频流
reply

使用道具 report

1

主题

580

帖子

2001

积分

vipMem

Rank: 6Rank: 6

积分
2001
sofa
poston 2020-11-22 13:23 | authorOnly
您好,用的是bvcsp库吗?这个库的网传视频数据只支持编码后的h264  或h265,码流中可以没有sps,pps,但open命令回复中必须有。
reply agree Against

使用道具 report

12

主题

48

帖子

160

积分

member

Rank: 2

积分
160
bench
 Owner| poston 2020-11-22 13:39 | authorOnly
fanghj90 post on2020-11-22 13:23
您好,用的是bvcsp库吗?这个库的网传视频数据只支持编码后的h264  或h265,码流中可以没有sps,pps,但open ...

使用的MCP 的 pucore.jar bvcu.jar
reply agree Against

使用道具 report

12

主题

48

帖子

160

积分

member

Rank: 2

积分
160
ground
 Owner| poston 2020-11-22 13:43 | authorOnly
现在有h264编码后的数据(不是预览数据)pps 和sps,请问如何设置进去
reply agree Against

使用道具 report

1

主题

311

帖子

1105

积分

vipMem

Rank: 6Rank: 6

积分
1105
5#
poston 2020-11-22 14:20 | authorOnly
reply agree Against

使用道具 report

12

主题

48

帖子

160

积分

member

Rank: 2

积分
160
6#
 Owner| poston 2020-11-22 14:35 | authorOnly
能说一下 打开网传的步骤吗?
reply agree Against

使用道具 report

1

主题

311

帖子

1105

积分

vipMem

Rank: 6Rank: 6

积分
1105
7#
poston 2020-11-22 14:48 | authorOnly
收到dialog请求,开始传拓展数据,传视频帧,回复OK。
reply agree Against

使用道具 report

12

主题

48

帖子

160

积分

member

Rank: 2

积分
160
8#
 Owner| poston 2021-3-25 13:26 | authorOnly
fanghj90 post on2020-11-22 13:23
您好,用的是bvcsp库吗?这个库的网传视频数据只支持编码后的h264  或h265,码流中可以没有sps,pps,但open ...

你好,“open命令回复中必须有”调用的什么方法?
reply agree Against

使用道具 report

1

主题

311

帖子

1105

积分

vipMem

Rank: 6Rank: 6

积分
1105
9#
poston 2021-3-25 15:21 | authorOnly
信物 post on2021-3-25 13:26
你好,“open命令回复中必须有”调用的什么方法?

你现在用的是我们封好的接口,不是直接调bvcsp。   inputEncodeVideoData   VIDEO_DATA_TYPE_H264_EXTRA_DATA
reply agree Against

使用道具 report

12

主题

48

帖子

160

积分

member

Rank: 2

积分
160
10#
 Owner| poston 2021-3-25 15:44 | authorOnly
Arthur post on2021-3-25 15:21
你现在用的是我们封好的接口,不是直接调bvcsp。   inputEncodeVideoData   VIDEO_DATA_TYPE_H264_EXTRA_ ...

也是调用的该方法:图传打不开
BVCU.getData().inputEncodeVideoData(mcu.getPUDeviceinfo().hDialog, data, size, stemp, IData.VIDEO_DATA_TYPE_H264_FRAME);
提示信息
2021-03-25 15:41:13.544 19746-20006/com.smarteye.mcu I/PUDialog: new a dialog,hDialog = 3,channelIdx = 0
2021-03-25 15:41:13.544 19746-20006/com.smarteye.mcu I/PUDialog: processInvite+++++++++++++++++++++++
2021-03-25 15:41:13.544 19746-20006/com.smarteye.mcu I/PUDialog: setSPSAndPPSReady false1
2021-03-25 15:41:13.544 19746-20006/com.smarteye.mcu I/PUDialog: pDialogParam->iAVStreamDir = 5
2021-03-25 15:41:13.544 19746-20006/com.smarteye.mcu I/PUDialog: getCurrentMediaDir() = 0
2021-03-25 15:41:13.544 19746-20006/com.smarteye.mcu I/PUDialog: pParam->iEventCode = 1
2021-03-25 15:41:13.544 19746-20006/com.smarteye.mcu I/PUDialog: setSPSAndPPSReady false2
2021-03-25 15:41:13.544 19746-20006/com.smarteye.mcu I/PUDialog: openVideoEncoder
2021-03-25 15:41:13.820 19746-20006/com.smarteye.mcu I/PUDialog: openAudioEncoder
2021-03-25 15:41:13.821 19746-20006/com.smarteye.mcu I/PUDialog: SAVCodec_Open res = 0
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-6 21:47 , Processed in 0.070316 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList