Trying to save disc space and lighten streaming load for Roku TV

I’m running a low-power Mac Mini serving out to a Roku TV (see signature for details) and Plex’s .mkv/.ts video files are larger than I need and require long loading times.

I currently crush them manually with Handbrake GUI using the “Roku 720p30” setting which works great and speeds things up a lot.

I currently have handbrakecli installed, but can’t figure out how to replicate that setting and run a post-processing script in Plex to execute it automatically.

Appreciate any help…

Was doing some research last night on automating some handbrake conversions and came across this site:

http://musings.silvertooth.us/2016/10/plex-dvr-post-processing-script/

I have not used this script, nor do I run Plex on a Mac so make sure you understand everything it is doing before trying it out.

@johnm_ColaSC Thanks, and I had seen that, but couldn’t get it to work. Meanwhile, I figured out an easier way to accomplish the goal:

How to optimize movies and TV shows for playback on your device:
Click on Movies in the sidebar (or whichever library you want). In the upper right corner of the new screen there’s a three dot icon which gives you the option to “Optimize…” In the modal screen that appears, click on “Optimized for mobile” and scroll down to “Custom.” Then type in a name for the new preset you’re going to create (I chose “RokuTV”), then select “Universal TV” and “3 MBps 720p.” Feel free to choose whichever specifics that fit your situation.

Now, Roku server will create a second smaller version of the video file (it can take awhile). When you go to watch shows, there will be a yellow triangle in the corner of the second (not the top!) Play button denoting “There’s more to this thing” and clicking on the Play triangle will give you the option of “Which version” and just choose the RokuTV version. It will load much faster and play more smoothly. Best of all, when you delete the show or movie, Plex deletes both versions of it!

However, for some unfathomable reason, Plex won’t retain your preset for future use, so you have to create it for each library you have (or you can do it on a file-by-file basis if you have nothing else to do with your life).

Hope that helps someone.