encording setting