[x264-devel] Is it right for setting bitrate to zero in "X264_RC_ABR" mode?

BugMaster BugMaster at narod.ru
Thu Jul 5 18:33:00 CEST 2012


On Thu, 5 Jul 2012 15:31:32 +0800, alexander tian wrote:
> Hi, everyone
> I encode video in cbr/abr mode. I think the program will return
> error when I set the bitrate to zero. I test it. But I find the
> program encode the sequences successfully. The qp value is 51 for
> every encoded frame. I trace the program. Then I find the value of q
> is "1.#INF" when divide zero in function "get_qscale".

> I wonder whether the program should return error when I set br to zero in "X264_RC_ABR" mode.

> sincerely
>  
> Alexnder Tian

Hi. No need to repeat it twice. We have already seen it first time. I
agree that we probably should inform user that bitrate wasn't
specified in case of zero bitrate. Such fix was already committed in
development repo so wait for next commit push.



More information about the x264-devel mailing list