[SOLVED] Plex DVR hdhomerun Prime --captions work on iPad but not via Roku 3 -- help

Setup my hdhomerun prime yesterday.
Setup 3 recordings of which 2 recorded and one was partially recorded.
Pleased with ease of setup and use.
On viewing a recording this morning quality was excellent, both sound and video; however, viewing through my Roku with Plex app 5.0 build 1 there are no subs / captions.
Viewing same recording on iPad and the captions display.

Pressing caption button on TV won’t activate captions either.
Roku has subtitles enabled and works with my .srt files for movies.

Any ideas how to fix this issue.

Bit of a noob - so apologies if this is somewhat inaccurate.
Turns out .ts is a container like .mkv.
Hdhomerun prime records Plex show as a .ts
Inside the container is an mpeg2 stream, buried in the stream are the cc captions.
VLC will open video and under subtitles will show you (caption 1 through 4). Selecting one will use that caption.
After much research in Roku and Plex forums it turns out mpeg2 is not well supported.
To ameliorate (thanks to Ryan Baumann blog) I installed CCExtractor and the neccesry Google Tesseract ocr library.
I created a script that pulls the caption from the stream and stores as .srt
In Plex I select .srt subtitle and run it with recorded tv show.
I will post the bash script I made

bash script i used.
dont forget when moving something to a directory you are in requires a period.
e.g. to move something from temp to the directory you are in is
mv -v /tmp/*.srt . (period preceding this statement is for local directory…-v is for verbose)

            #!/usr/local/bin/bash
            for INF in *.ts
            do
            
            echo "Extracting subtitles"
            ccextractor "$INF" -o "/tmp/$(basename "$INF" .ts).srt"
            
            echo "Moving subtitles" 
            mv -v /tmp/*.srt .
            done

this script will take about 3-5 minutes to run on an hour long show. It does not re-encode but simply extracts the closed caption to a .srt file and then moves that file into the folder with the .ts recorded video. In Plex selecting the .srt as a subtitle file will enable subs with the .ts.
NOW to work on commercial skipping.