Modify encode setting