I have tried the "maxrate" and "bufsize" flags from ffmpeg (NOT from x264), and they did a great job in limiting the max bitrate. However, the "vbv-maxrate" from x264 does not seems to do this job that well. Can we have the option to pass "maxrate" and "bufsize" flags to ffmpeg (instead of x264)? Or has it already been implemented?
More info: https://trac.ffmpeg.org/wiki/Limiting%…utput%20bitrate