I’m afraid you’ll have to.
But try to use Subtitle Edit for extracting the subtitle.
It also has some handy validity and formatting checks which can fix quite a few common issues in one go.
Is there some way to automatize this? Like searching for files that contain .srt files and then check if it has problems and apply changes to the file and remux? I won’t go over 12230 episodes and 111 movies manually to check if they might have a problematic subtitle. Especially since every other software I use can deal with those subs just fine.
I’ve looked a bit at the commanline options of mkvextract and mkvmerge, as extracting and remuxing the subtitle fixes the problem. (after extracing with mkvextract the file is fixed)
I now have a Python script that extracts the subtitles and then remuxes while omitting the srt subtitles that are already in the file. I’ve put it on GitHub but it’s just the first working prototype so to say. https://github.com/ThxAndBye/SRT-remux
While this works, I still think that PLEX should be able to deal with this formatting snafu as it’s not illegal formatting just not formatted well. Having two empty lines shouldn’t confuse the subtitle parser. As already said a couple of times, other players and software can deal with it, so I don’t think it’s unreasonable to expect PLEX to do so too.
I don’t think the parser is taking exception at the line breaks.
I think it faithfully follows the instruction to go to the next line, twice.
But the 3rd line will be outside of the visible screen space…
That wouldn’t explain why external srt subtitles with the same “broken” formatting work correctly.
Probably one of those very specific bugs that only triggers under very specific conditions.
It’s reproducible with the correct files but as I can only look at PLEX from the outside, I’m just able to make assumptions about this.
I’ll mark this as solved as the cause for the problem is known, and I have a somewhat reasonable way to fix it now. It might still be worth a look tho.
Would you be able to produce a small snippet of the video file, which contains the offensive line?
I still want to file this bug, so it has at least chance to get fixed.
And I have trouble to recreate a faulty file 
With a modern version of MKVToolNix it seems to be impossible if you don’t already have a “broken” file and the program fixes the problem on it’s own already. As such I wasn’t able to construct a file on my own and only was able to use old files.
The files that I used to discover and analyze this are already fixed up as I’m currently watching it and as such it’s kinda nice if the subtitles work.
I’ve send you a PM with a movie that has the same problem.
Thank you for the sample!
I have forwarded the report to the developers.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.