modify the encoder interface

extend the interface to correctly get bit rate and frame rate setting