save config for encoder type