cisco / openh264

Open Source H.264 Codec
BSD 2-Clause "Simplified" License
5.52k stars 1.79k forks source link

Question: how to limit vbv buffer size or maxrate in OpenH264 #2911

Open zf29 opened 6 years ago

zf29 commented 6 years ago

Hi,

In x264, we can set vbv buffer size or vbv maxrate. I wonder if we can do the same thing in OpenH264? If not, is there any similar parameter I can set to limit the vbv buffer size? Right now, I am doing real-time screen sharing within very low latency. When there is a huge scene change, the screen will stuck for a short time. Thanks.

sijchen commented 6 years ago

the max bit rate can be set like this:

note that in both ways, you need to set the total one and the layer one simultaneously

zf29 commented 6 years ago

Thanks for the answer. But how about vbv buffer size? Is there a way to set vbv buffer size like in x264 or vp9?

ruil2 commented 6 years ago

there is no interface to set VBV buffer size in Openh264 now. we can add this requirement to backlog. thanks!

huili2 commented 1 year ago

Close it since no support for this requirement.