[x264-devel] about x264 encoding ratecontrol

BugMaster BugMaster at narod.ru
Mon May 21 18:50:25 CEST 2012


On Sat, 19 May 2012 11:51:44 +0800, 梁增健 wrote:
> hello, everyone
> We know that we can set bitrate or quality before opening x264
> encoder. But I have a problem. I want to change bitrate or quality
> during encoding frames, because I need to send the h264 data using
> network. When network quality change, the bitrate need to be change
> aptly. This is very useful. I have read the x264 source code and try
> to finish this function, but it doesn't work well. I hope x264 will
> export some APIs to change encoding quality in future version.
>  
> Best wishes!
>  
> 2012-05-19 
> Mr.Leung 

You can change rc.i_bitrate in CBR case (rc.i_bitrate == rc.i_vbv_max_bitrate)
through x264_encoder_reconfig. In other cases you can't but you can change
other VBV limits (rc.i_vbv_max_bitrate / rc.i_vbv_buffer_size).



More information about the x264-devel mailing list