How do I convert a 3d SBS subtitle in a .mkv to a simple .srt file?
+ Reply to Thread
Results 1 to 11 of 11
-
Image subtitle? Then try open the mkv with Subtitle Edit and see if it can OCR it to text.
You might have to extract the subtitle with gmkvextractgui first. -
That works but gives me all sentences twice which takes a lot of manual editing to remove
-
-
-
phred1, Okay its quick and dirty but it works on TXT or SRT now. The checkbox will change to whatever you drag and drop in the input window. Also, it will work for up to 3 lines of subtitle text as shown in item 6 below that shows 2 lines with the same time frame.
Bear in mind if the line (3D) has extra spaces on one side or the other, it may give you wrong text since it splits in half for each side. Theright side is Left trimmed so there will be no spaces on the left of the text. This should help for slight differences.
It will show you if they mismatch. Just check whichever side auto that looks right or manually click the right one.
I can make changes if you see things that could be corrected or don't work right.
Right now the file is a ZIP file containing only an EXE. Feel free (I encourage it) to scan with antivirus since zip and EXE can be bad but I assure you there is nothing in there except Visual studio compiled exe.
The link is https://files.secureserver.net/0sw3QrpPLI2UVc and should require no password.
-
Open the PGS (.sup) in Subtitle Edit.
From the OCR window right click -> Export -> BND xml/png. Exit.
Open a .png in Irfan View. File -> Batch Conversion/Rename -> Advanced -> Add All -> Resize -> width 1600
Open a resized .png in Irfan View. File -> Batch Conversion/Rename -> Advanced -> Add All -> Crop -> width 800
and place the .xml exported from SE with the resized/cropped .png and open the .xml in SE. -
Thanks! I think your app works as it should. I've tried it on two subtitles and the first one was perfect. The second one didn't go as well since it had some linebreaks in the wrong places (from Subtitle Edits OCR). I cannot blame your app for not handling the linebreaks!
-
-
You could write a batch job using BDSup2Sub CLI
for conversion of .sup to BND xml/png and Irfan View CLI to make the resize/crop. -
phred1 ,
If you can supply a sample of the failing subtitles, I can alter the code to work with this kind of problem.
BTW.. if the parser stops on a mismatch you caN edit the text directly in the split boxes, like delete extra characters and then hit the green arrow accept for that side. The program copies whatever is in the split box for that matchingarrow accept button.
Thanks
Budman1Last edited by Budman1; 11th May 2016 at 17:05.
Similar Threads
-
Convert XML to SRT subtitle file
By subsync in forum SubtitleReplies: 7Last Post: 15th Jun 2015, 17:08 -
How do you convert 3D SBS to Anaglyph?
By digifred5 in forum Video ConversionReplies: 26Last Post: 25th Nov 2014, 13:39 -
Subtitle Edit Convert SSA Subtitles To SRT Issues!
By kairukun in forum SubtitleReplies: 3Last Post: 14th Oct 2014, 02:58 -
How to convert Half SBS to Anaglyph 3D
By VHser in forum Video ConversionReplies: 4Last Post: 9th Sep 2012, 15:42 -
how to convert alternate-frame 3D into SBS 3D ??
By mauslyon in forum Video ConversionReplies: 1Last Post: 10th May 2011, 08:23