Hi,
I am trying to change the H264 level to 1.3 for DM6446. I am using loopbackCombo.x64P which comes with dvsdk1.3.
My target is to configure the h264 encoder to baseline profile with level 1.2. But after I changed the encodedecode application with params.levelIdc = IH264_LEVEL_12 I saw
the sequence parameter set(SPS) has baseline profile and level 3 (not 1.2). Here is my code segment. Could anyone tell me what am I missing. Also what should be the value for params.searchRange.
IH264VENC_Params params;
VIDENC_Handle hEncode;
XDAS_Int32 status;
params.videncParams.size = sizeof(IH264VENC_Params);
params.videncParams.encodingPreset = XDM_DEFAULT;
params.videncParams.rateControlPreset = bitrate < 0 ? IVIDEO_NONE : IVIDEO_LOW_DELAY;
params.videncParams.maxFrameRate = gblGetYFactor() == NTSCSTD ? 30000 : 25000;
params.videncParams.maxBitRate = bitrate < 0 ? 0 : bitrate;
params.videncParams.dataEndianness = XDM_BYTE;
params.videncParams.maxInterFrameInterval = 0;
params.videncParams.inputChromaFormat = XDM_YUV_422ILE;
params.videncParams.inputContentType = IVIDEO_PROGRESSIVE;
params.videncParams.maxHeight = D1_HEIGHT;
params.videncParams.maxWidth = D1_WIDTH;
params.profileIdc = 66;
params.levelIdc = IH264_LEVEL_13;
params.rcAlgo = 0;
//params.searchRange = 16;
/* Create H.264 encoder instance */
hEncode = VIDENC_create(hEngine, "h264enc", (VIDENC_Params *)¶ms);