af_encoder_attach