mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 1708|reply: 11
打印 prevThread nextThread

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

[copyURL]

12

主题

48

帖子

160

积分

member

Rank: 2

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

使用道具 report

12

主题

48

帖子

160

积分

member

Rank: 2

积分
160
sofa
 Owner| poston 2020-11-22 13:39 | 显示全部楼层
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
bench
 Owner| poston 2020-11-22 13:43 | 显示全部楼层
现在有h264编码后的数据(不是预览数据)pps 和sps,请问如何设置进去
reply agree Against

使用道具 report

12

主题

48

帖子

160

积分

member

Rank: 2

积分
160
ground
 Owner| poston 2020-11-22 14:35 | 显示全部楼层
能说一下 打开网传的步骤吗?
reply agree Against

使用道具 report

12

主题

48

帖子

160

积分

member

Rank: 2

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

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

使用道具 report

12

主题

48

帖子

160

积分

member

Rank: 2

积分
160
6#
 Owner| poston 2021-3-25 15:44 | 显示全部楼层
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

12

主题

48

帖子

160

积分

member

Rank: 2

积分
160
7#
 Owner| poston 2021-3-25 15:46 | 显示全部楼层
信物 post on2021-3-25 15:44
也是调用的该方法:图传打不开
BVCU.getData().inputEncodeVideoData(mcu.getPUDeviceinfo().hDialog, d ...

2021-03-25 15:45:06.621 19746-20021/com.smarteye.mcu I/CUGlobal: pDialog = 0xcad28600
2021-03-25 15:45:06.660 19746-20021/com.smarteye.mcu I/CUGlobal: hDialog = 3,inputEncodeVideoPorth,Dialog size = 3224,dataType=2
2021-03-25 15:45:06.660 19746-20021/com.smarteye.mcu I/CUGlobal: pDialog = 0xcad28600
2021-03-25 15:45:06.699 19746-20021/com.smarteye.mcu I/CUGlobal: hDialog = 3,inputEncodeVideoPorth,Dialog size = 3227,dataType=2
2021-03-25 15:45:06.700 19746-20021/com.smarteye.mcu I/CUGlobal: pDialog = 0xcad28600
2021-03-25 15:45:06.740 19746-20021/com.smarteye.mcu I/CUGlobal: hDialog = 3,inputEncodeVideoPorth,Dialog size = 3235,dataType=2
2021-03-25 15:45:06.740 19746-20021/com.smarteye.mcu I/CUGlobal: pDialog = 0xcad28600
2021-03-25 15:45:06.780 19746-20021/com.smarteye.mcu I/CUGlobal: hDialog = 3,inputEncodeVideoPorth,Dialog size = 3215,dataType=2
2021-03-25 15:45:06.780 19746-20021/com.smarteye.mcu I/CUGlobal: pDialog = 0xcad28600
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-19 15:25 , Processed in 0.060549 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList