Hi,
I've been working with IPNC RDK V2.8 and met some questions as below,
I modified the full feature usecase.
Resolution:
1. 1080P_MJPEG changed to 720P_MJPEG, it works well.
2. 1080P_H264 changed to 720P_H264,Error occurs in UTILS_assert():
encLink_h264.c
enclink_h264_set_algObject()
{
........
UTILS_assert((status->videnc2Status.bufInfo.minOutBufSize[i].bytes < algCreateParams->mvDataSize));
}
I print those variables:
"minOutBufSize[1].bytes = 148172", which is the same with 1080P condition,
"algCreateParams->mvDataSize = 86400", which is 194400 in 1080P condition.
Thus, it seems that the "minOutBufSize[2].bytes" remains the same ,which should be changed according the resolution.
I also test resolution 1600*900, it also works well, the "minOutBufSize[1].bytes = 104268", and "algCreateParams->mvDataSize = 135000".
3. D1 to CIF, errors infors from serial port:
[m3video] 11314: ENCODE: Creating CH1 of 360 x 120, pitch = (360, 360) [PROGRESSIVE] [NON-TILED ], bitrate = 2000 Kbps ...
[m3video] 11422:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[195]::INTERNAL ERROR:-1
[m3video] ALGCONTROL FAILED:CMD:1
[m3video] ERROR: XDM_UNSUPPORTEDPARAM = 14,
[m3video] ERROR: XDM_FATALERROR = 15
[m3video] ERROR: IH264ENC_UNSUPPORTED_VIDENC2DYNAMICPARAMS = 30,
About H264 profile:
I change the High profiel to Main profile and Baseline profile:
======code========
1. Venc_params_init() :
// pContext->h264Profile[chId] = VENC_CHN_HIGH_PROFILE;
if(chId==0)
pContext->h264Profile[chId] = VENC_CHN_MAIN_PROFILE;
2. MultiCh_createTriStreamFullFtr():
// case 8: pLinkChPrm->format = (i==0)? IVIDEO_H264HP:IVIDEO_H264HP; break; //"TRIPLE_H264"
case 8: pLinkChPrm->format = (i==0)? IVIDEO_H264MP:IVIDEO_H264MP; break; //"TRIPLE_H264"
======code========
attach please find the error info.7266.bootInfo.log
So, does it support 720p, CIF; Main profile and Baseline profile, how can I deal with those problems?