This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

McFW API (changing resolution)

Hi,

How can we change the capture resolution with McFW API? We tried to change resolution into DVR RDK (01.06.00.11) demos by changing changing demo_vcap_venc_vdec_vdis.c with the changes below:

-------------------------------------

 Vcap_params_init(&vcapParams);

    /* Override the context here as needed */
    vcapParams.deviceParams[0].dataFormat = VCAP_MULTICHN_OPTION_4CIF_PLUS_D1;
    vcapParams.deviceParams[1].dataFormat = VCAP_MULTICHN_OPTION_4CIF_PLUS_D1;
    vcapParams.deviceParams[2].dataFormat = VCAP_MULTICHN_OPTION_4CIF_PLUS_D1;
    vcapParams.deviceParams[3].dataFormat = VCAP_MULTICHN_OPTION_4CIF_PLUS_D1;

    Vcap_init(&vcapParams);

-------------------------------------------

According to documentation

VCAP_MULTICHIN_OPTION_4CIF_PLUS_D1 correspond to 4CH CIF Pixel multiplexed mode. ( Also what  PLUS_D1 stand for?)

Then we run the demo with cap + enc + dec + disp and recording

Our problem is recoded video resolution didn't change. It still a D1 resolution ( the default).

( we use elecard streameye slim to playback recorded video).

Also is there a way to dynamically change capture resolution.

Thanks,

Dan