DTS-HD and DTS:X

This is just a curiosity motivated question, nothing else. The world of DTS is a mystery to me. Both DTS:X and DTS-HD are excellent codecs as far as I can tell from the many Blu-rays I have in DTS-HD, and the few 4K ones I have that are in DTS:X (so few that I can only remember two, Gladiator and the X-Men Phoenix movie), but I could never find any information on how to export a mix to either of them. Many years ago Adobe Premiere had some sort of expensive plugin that could export to some type of DTS, that I never bought and eventually was discontinued. Other than that, I never saw any program that can encode audio and has a DTS encoder, even the basic one from the 2000’s.

Is there anyone here who encodes to either variant, and how much did you pay for it? Is it a permanent license or a subscription?

I don’t know about DTS-HD but DTS:X is ProTools only and Mac only to the best of my knowledge so not something you can do in Nuendo.

For oldschool DTS there was software called SurCode that would take multi-channel wave files and encode them. Not sure if it is still available and this is all the old DVD format, not the lossless or object-based stuff.