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.

the default bit rate DM3730 DVSDK (gstreamer)

   I  am using the dvsdk_dm3730-evm_4_02_00_06 version,  I want to know the default bit rate  about H264 encode(gsttividenc1.c) in the gstreamer  .

I have referted the website:

http://processors.wiki.ti.com/index.php/DM36x_Rate_Control_Modes#DM36x_Rate_Control_Modes

The bit rate is dynamic? 

#define DEFAULT_BIT_RATE 2000000

The parameter only just is the upper limit value?

Hope anyome help!

Thanks!

jay yang

  • Hi Jay Liyang,

    As you see in the code (gsttividenc1.c) the default value is 2000000 and this is not the upper limit value, but this value is used only if there is no set any value.

    Check the initialization of a new element instance - function "gst_tividenc1_init". The bit rate is initialized with value -1.

    If bit rate does not get any correct value it gets the DEFAULT_BIT_RATE see the following code fragment:

        /* set the encoding bitrate */
        params.maxBitRate = videnc1->bitRate < 0 ?
            DEFAULT_BIT_RATE : videnc1->bitRate;

    Regards