Complete the interface of bitrate and framerate setting

the previous interfaces are not actually functioning and did not correctly accepts the input values.