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.

Venc_snapshotDump, how to set the quality of jpeg frame.

Dear All!

I want to use Venc_snapshotDump function to implement snapshot.Now I can get the jpeg frame by using Venc_getBitstreamBuffer,but I don't know how to change the quality of the jpeg frame.Can anyone help me? 

  • By quality if you mean increasing the bitrate of MJPEG, then use the following API to increase the targetbitrate:

    Venc_setDynamicParam()

    Refer /dvr_rdk/mcfw/interfaces/ti_venc.h for API documentation 

    Refer /dvr_rdk/demos/mcfw_api_demos/mcfw_demo/demo_encode.c for example code