modify the encoder interface

modify the encoder interface to support the bit rate setting