fraunhoferhhi / vvenc

VVenC, the Fraunhofer Versatile Video Encoder
https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html
BSD 3-Clause Clear License
901 stars 158 forks source link

vvenc_reconfig support #325

Open JamesWiblin opened 8 months ago

JamesWiblin commented 8 months ago

Despite my best efforts i cannot get vvenc_reconfig to return anything other than VVENC_ERR_NOT_SUPPORTED. Diving into the source code, according to VVEncImpl::reconfig it seems that reconfig functionality is not implemented, is that correct?

If so, is it on the roadmap to be implemented? I was quite surpised because vvenc.h gives quite a detailed description of the function's usage but it appears not to be implemented!

lehmann-c commented 8 months ago

vvenc_reconfig is currently only a placeholder and not implemented yet. Do you have any particular use cases or parameter that you want to change on the fly?

JamesWiblin commented 8 months ago

Thank you for the reply. The ability to change qp value or target/max bitrate when in rate control mode are the most important. Framerate would be a nice to have but not critical for our use case.

ghxhy commented 1 month ago

If vvenc could support bitrate reconfiguration, that would be great. Because in practical use, it would allow adjusting the bitrate according to the bandwidth situation.

ghxhy commented 1 month ago

Is threre any plan to do so ? @lehmann-c It is very usefull for live broadcast

lehmann-c commented 1 month ago

Currently there are no plans to implement such behavior as VVenC is currently not suitable for broadcast. VVenC is neither real-time capable nor does it contains a Constant Bitrate Mode (CBR) which is needed for broadcast.