A script for Plex post-processing of OTA recorded video
On the linux machine you run your Plex Media Server on, place this file in /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scripts/convertTS.sh
and configure it as the Post Processing script in the Plex DVR Settings.