There are a few links to .ts to .mkv scripts that can be added as post processing scripts, here is one for Linux:
Just add it in dvr settings under postprocessing. I still wish there was an option to keep this as a standard recording format as post processing adds delay after recording before it can be watched, where it used to be immediate in the old DVR betas.