请教下,tuyaAPP端预览画面设置为标清时,预览画面会花屏的问题,我们测试发现预览画面设置高清时图像是正常的不会出现花屏的现象,标清时设备端上传的子码流按里说不会出现花屏的问题的。帮忙看下是否APP端图像解析有问题
【已解决】【 tuyaos 3.9.0】TuyaAPP端预览画面设置标清时预览画面会花屏的问题
-
- Posts: 196
- pippin-bobo
- Posts: 236
Re: 求助【 tuyaos 3.9.0】TuyaAPP端预览画面设置标清时预览画面会花屏的问题
一般不太会是APP解码显示问题哈,可以这么验证:
1)如果确认只是子码流出现问题,那可以本地录像看看是不是录像本身又问题
2)子码流的编码细节信息列一下
-
- Posts: 196
Re: 求助【 tuyaos 3.9.0】TuyaAPP端预览画面设置标清时预览画面会花屏的问题
好的,我们这边先定位下
-
- Posts: 196
Re: 求助【 tuyaos 3.9.0】TuyaAPP端预览画面设置标清时预览画面会花屏的问题
子码流编码通道设置如下:
.index = 1,
.enable = 1,
.payloadType = PT_H264,
.fs_chn_attr = {
.pixFmt = PIX_FMT_NV12,
.outFrmRateNum = 15,
.outFrmRateDen = 1,
.nrVBs = 2,
.type = FS_PHY_CHANNEL,
Code: Select all
.crop.enable = 0,
.crop.top = 0,
.crop.left = 0,
.crop.width = SENSOR_WIDTH,
.crop.height = SENSOR_HEIGHT,
.scaler.enable = 1,
.scaler.outwidth = SUB_STREAM_RESOLUTION_WIDTH,
.scaler.outheight = SUB_STREAM_RESOLUTION_HEIGHT,
.picWidth = SUB_STREAM_RESOLUTION_WIDTH,
.picHeight = SUB_STREAM_RESOLUTION_HEIGHT,
},
.framesource_chn = { DEV_ID_FS, 1, 0},
.imp_encoder = { DEV_ID_ENC, 1, 0},
},