It’s a proprietary codec, so if you want to produce MQA files you have to go through a licensee.
But it looks like
@mansr did some work on reverse-engineering it a while ago and you can find his code
here. Obviously you’d need to compile it to get something useful.