[x264-devel] Forcing max frame size
Jason Garrett-Glaser
jason at x264.com
Mon Mar 5 17:28:21 CET 2012
On Mon, Mar 5, 2012 at 8:02 AM, Yoav Weiss <yoav.weiss.fr at gmail.com> wrote:
> Hi,
>
> First I'd like to point out that I'm a real noob in everything related to
> video encoding, so please forgive my ignorance :)
>
> I am trying to encode a video using x264 so that every frame will have a
> maximal size it cannot exceed. I've tried using the i_slice_max_size
> parameter, but it doesn't seem to actually guaranty a maximal size.
> I've also tried to use single frame VBV (i.e. VBV max rate + a buffer size
> that is equal to max rate divided by fps), which approximately achieves
> this, but there are cases where frames exceed the maximal size I wanted to
> give them.
See https://github.com/DarkShikari/x264-devel/commit/e86388f0fb10ff21726a2ace6f48d85c7ed8d7b8
.
Jason
More information about the x264-devel
mailing list