OpenIPC / majestic

Majestic Community edition integration kit
MIT License
32 stars 5 forks source link

Enable real CBR video for H265 encoders #109

Closed tipoman9 closed 1 year ago

tipoman9 commented 1 year ago

Required information

Issue description

Seems like H265 encoding is always Variable Bit Rate, even when set to Constant Bit Rate. When changed to H264 CBR , it gives constant bitrate as expected. Such feature will be useful for FPV users , who require a video stream with a bitrate just below the limited radiolink bandwidth in order do get maximum possible quality.

CBR

widgetii commented 1 year ago

CBR for H265 codec was added, please check if it works in new Majestic build and close the issue

tipoman9 commented 1 year ago

I confirm it works, tested in gk7205v200 and hi3516ev300. On Ingenic T31 I had to set these params in the majestic.yaml to make it work as real CBR. video0: minqp: 10 maxqp: 45 initqp: 10