The attached graph shows the ratio between the frame size we request using setBitrate API (On NvV4L Encoder) and what we actually receive from the encoder. The blue dots are P-Frames and the Yellow ones are IDR.
The issue here is that we would expect the average per second will be around 1, meaning that if we request 2.5 Mbps from the encoder, IDRs will be larger, P-Frames will be smaller, but they will average at what we requested.
But in the graph we see t’o distinct scenario where we receive twice and even four times the bitrate we request - and on a stream of P-Frames.
This behaviour is highly unexpected.
Have you seen such behaviour or have any idea what might produce such large P-Frames?
Thanks!
Yoav