[x264-devel] limit on frame size in x264

Jason Garrett-Glaser jason at x264.com
Tue Oct 9 16:55:39 CEST 2012


On Tue, Oct 9, 2012 at 6:15 AM, Karthick Kumar <karthik1990r at gmail.com> wrote:
> Hi,
>       Can we set the upper limit on the frame sizes returned by
> x264_encoder_encode call? I have tried using vbv-bufsize. But still some
> frame sizes( around 7000) are exceeding the vbv-buf size. So I have a doubt
> that is it the right way to do it? my x264 settings are --preset veryfast
> --tune zerolatency --vbv-bufsize 1500 --vbv-maxrate 8000 --crf 27
> --no-scenecut.

vbv-bufsize is in kilobits, so a bufsize of 1500 will allow (in
theory) frame sizes up to 1500 kilobits.

Jason


More information about the x264-devel mailing list