Add checking for bitrate mode settings. Add logging to the encoder filtering. PiperOrigin-RevId: 435662418