AnsweredAssumed Answered

How to set the correct bitrate of 'vpuenc' on MX6Q?

Question asked by Robbie Jiang on Jun 27, 2015
Latest reply on Jun 29, 2015 by igorpadykov



I'm using gst-fsl-plugins to encode and stream live video on MX6Q/Linux-3.0.35 platform.

The input video of 'vpuenc' is 640x480@25fps and the encoding standard is H.264.


In my application scenario,  I'd like to use fixed bitrate (CBR) of vpuenc.

So I need set the 'bitrate' property of 'vpuenc' element to some value, instead of 0.


My question is, how to estimate / set the correct 'bitrate' property of vpuenc?

IMHO, perhaps the input video size, encoding frame rate, and gopsize may affect the required bitrate.

What's the relationship of these properties?


If the bitrate property is set too small, like 5kbps for a 640x480@25fps, what will happen?

Does the 'vpuenc' output the encoded video stream with the bitrate exactly as specified by the 'bitrate' property?