Separate events and scheduling for encoder and recoder