Server Version#: 1.15.2.793
Player Version#: n/a
So a little background first. I live in a house with deaf people, so subtitles are required. For years now I’ve been using MCEBuddy to rip the subs to an srt file, and have them inserted into mkv files. This worked great.
Recently, Plex has added the ability to display EIA_608 subtitles, which in and of itself would seem like a good thing. More subtitles is good right?
However, the display for those subs, needs a LOT of work. Frankly it makes the TV show almost unwatchable because they are too large and cover too much of the screen.
Another problem is, that since Plex now automatically detects the existence of 608 subs, it shows them as Unknown (EIA_608) and they are automatically selected when sometimes a better srt file is available.
So, I wanted to remove the 608 subs, HOWEVER keep their data, because the 608’s usually have the timing dead on (they come embedded into the video stream itself) vs grabbing subs from opensubtitle or elsewhere, where the timing and correctness can be suspect at best.
So I wrote a python script that uses ffmpeg and several other tools to rip the 608 subs to an srt file, then remove them from the video, and then merge the srt back into the file (assuming you’re using mkv files like I do).
This makes plex select the srt file automatically and it’s says ‘English’ instead of Unknown.
And this is all totally automated thanks to Tautulli’s awesome script tools.
First head over to Tautulli’s settings, and go to Notification Agents. create a new Script agent, and then fill in the following settings:
Script folder: { where you put my python script}
Script file { should let you just select it once you chose the folder above }
Script timeout 0
Under Triggers:
Check ‘Recently Added’ ( I suppose you could do more, but it’s not necessary )
Change nothing on the Conditions tab
Then under Arguments scroll down to Recently Added and enter the following:
{media_type} {file} {filename}
Then click Save.
Then all you have to do is modify the top of my script to update the specific locations, and you’re all set.
Every time new media is added, this script will run and remove those pesky 608’s and replace them with wonderful srt’s embedded in your mkv files.
I’ve tested this quite thoroughly… and it’s worked GREAT so far, for both DVR’d recordings, and recordings from ‘other’ sources too.
Let me know if you have questions or need help!
Enjoy!
{c}guy
SubProcessing.7z (1.7 KB)