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.

[OMAP3530] H.264 Dynamic Params

Other Parts Discussed in Thread: OMAP3530

I have been trying to get the dynamic parameters working on the H.264 encoder,  specifically the target bit rate.

But it does not seem to be working.  The Max Bit Rate is working on creation of the  encoder, but  the target bit rate does not seem to have any affect on the video encoding process.

 

I am using the h264enc Codec supplied with dvsdk_3_00_00_29/omap3530_dvsdk_combos_3_16.

 

I am setting:

dynParams.targetBitRate to an integer value less than or equal to the  MaxBiteRate

 

then calling:

 

VIDENC1_control(    Venc1_getVisaHandle(hVe),
                       XDM_SETPARAMS,
                       (IVIDENC1_DynamicParams *)&device->dynParams,
                       &device->encStatus );

    ret = Venc1_process(hVe, hInBuf, hOutBuf);


    VIDENC1_control(    Venc1_getVisaHandle(hVe),
                        XDM_GETSTATUS,
                       (IVIDENC1_DynamicParams *)&device->dynParams,
                       &device->encStatus );

 

but see no change in the encoded packet size/bit rate.

 

Can anyone confirm

1. My process is correct?

2. this feature is working with this version of the dvsdk/codec?

 

thanks for any help.