I'm using the encode example on the dm365 and trying to dynamically change the bit rate while the encoder is runing. In video.c in the while loop i do the following
dynParams->targetBitRate = 25000000;
if (VIDENC1_control(Venc1_getVisaHandle(hVe1), XDM_SETPARAMS, (IVIDENC1_DynamicParams *)& dynParams, (IVIDENC1_Status *)& encStatus) != VIDENC1_EOK) {
printf("no go on the control setup!!!!\n");
}
The function doesn't return successfully, thus I am unable to set the bit rate.
any help would be greatly appreciated