DVR Post Processing Script Issue converting TS file to MP4

For anyone interested, here’s a link to my working post-processing script: