[x264-devel] Encoding parameters for streaming

Jason Garrett-Glaser darkshikari at gmail.com
Wed Jan 6 18:32:26 CET 2010


On Wed, Jan 6, 2010 at 12:24 PM, Ivan Alen Fernandez
<ivan.alen at uclouvain.be> wrote:
> Thanks a lot
> So using VBV bufsize and maxrate for a bitrate around 1000, which values
> should i select aproximately???
> Should then use bitrate 1000 or the crf 13 that has a close bitrate to 1000?

1) What is the size of your client-side buffer in seconds?  Call this
number X.  If you don't know what it is, guess (say, 1).
2) vbv-maxrate = the bandwidth of your connection (minus any space you
intend to spend on audio)
3) vbv-bufsize = X * vbv-maxrate
4) If you want constant bitrate, set bitrate = vbv-maxrate.  This will
use all your bandwidth to maximize quality.
5) If you don't want 4) and instead want to save bandwidth, use
constant quality (say, CRF=22) mode.  In this mode, VBV will only
_limit_ the bitrate to prevent it from going over what your connection
can handle.


More information about the x264-devel mailing list