Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
20th January 2010, 21:33 | #621 | Link |
Registered User
Join Date: Feb 2009
Location: USA
Posts: 676
|
Sorry if this has been asked before (its a huge thread after all), but I'd like to know how (if possible) to prevent Subrip from skipping ANY subtitle line for any reason.
For instance, when I finished OCR'ing some subs, the main program window lists the total VOB Pictures as 39, but the text window after OCR only goes up to Index 37 and says 2 were skipped for being too short/small ? I looked around but can't tell what to change (if anything, hopefully) to prevent this from happening. I at least want to know that it isn't crucial dialogue or something I can correct myself. I turned "Skip subtitles shorter than" down to 0ms in gobal options, but that didn't seem to change anything.. Is it something under Advanced OCR? |
21st April 2010, 02:04 | #627 | Link |
Registered User
Join Date: Nov 2008
Location: Spain
Posts: 16
|
Hello, Ive been using from a time ago subrip for getting the subs from DVDs and it always worked perfectly. But now I'm trying to use it for hardsubs and I'm being crazy with it. I'm always getting white zones that I can't take off without deleting the real text.
I'm using the Fill: Open and large areas, and the color text at 30. The only thing I didn't tried are the Frames options, but I don't undertand how they work, at least I undertand that the Skip First is when the text has fading but it's not the thing so I put it on 0, but for "update every" and "min.duration" I don't know if they can help me. |
26th May 2010, 05:25 | #628 | Link | |
easily bamboozled user
Join Date: Sep 2002
Location: Atlanta
Posts: 373
|
Quote:
Right now I'm working on instead feeding SubRip an avisynth script full of filters to denoise, smooth, and flatten everything out so the finicky OCR can pick out the letters. MSmooth is my current hopeful for doing most of the work, but it still doesn't seem to be enough. The ability to scan hardcoded subs out of arbitrary video files is a genius feature, god bless whoever wrote it, but it's definitely still incomplete. |
|
26th May 2010, 21:12 | #629 | Link |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
OCR only works decently if the letters look similar each time they appear and if edges are easily detectable. Your video sounds like it doesn't fulfill either of those requirements so no OCR engine will be able to make much sense of it. It's probably faster to just copy the subs by hand.
|
28th May 2010, 02:06 | #630 | Link | |
easily bamboozled user
Join Date: Sep 2002
Location: Atlanta
Posts: 373
|
Quote:
After tons of trial and error I've finally come up with an Avisynth script that gets SubRip to behave acceptably. Although there's probably more I could do, I don't have much experience using filters to dramatically change the picture. After playing around with other options I came back to MSmooth because it does the effect I need best. There was also no way to get any kind of acceptable results without feeding SubRip a greatly upscaled video res. Code:
LoadPlugin("C:\Program Files (x86)\Avisynth 2.5\plugins\RemoveGrainSSE3.dll") LoadPlugin("C:\Program Files (x86)\Avisynth 2.5\plugins\FluxSmooth.dll") LoadPlugin("C:\Program Files (x86)\Avisynth 2.5\plugins\MSmooth.dll") LoadPlugin("C:\Program Files (x86)\Avisynth 2.5\plugins\WarpSharpYV12.dll") AviSource("E:\Video2\Anime\Kiki's Delivery Service (sub).avi") #560x320 Crop(32,252,-32,0,align=true) #496x68 FluxSmoothST(4,4) RemoveGrain(mode=1) BicubicResize(1736,238,b=1/3,c=1/3) RemoveGrain(mode=1) MSmooth(threshold=20,strength=5,chroma=true,highq=true) RemoveGrain(mode=1) WarpSharp(depth=90,blur=4) FluxSmoothST(6,6) RemoveGrain(mode=1) ConvertToRGB32() LanczosResize(992,136) ConvertToRGB24() I'm still not sure whether the filtering task I'm trying to accomplish would be more effective in YV12, with subsampled chroma, or in a 1:1 color space. No way to test that, obviously, so it's just a theoretical question. |
|
28th May 2010, 03:26 | #631 | Link |
easily bamboozled user
Join Date: Sep 2002
Location: Atlanta
Posts: 373
|
I seem to have triggered an infinite loop in SubRip when I was in the "View/Edit Character Matrix" dialog while the OCR-from-video-file process was on, but stopped. I pressed the "Delete This Character" button while a zero-character symbol was selected and it did that then froze up. The application doesn't look like it's frozen, but its CPU usage is steady at 100% of one CPU core, and clicking anywhere on its windows just causes Windows' "ding" sound. It's stayed this way for 6 or 7 minutes now. The character matrix was enormous, though; maybe that has something to do with it.
|
9th July 2010, 20:21 | #632 | Link |
quack quack
Join Date: Apr 2009
Posts: 259
|
I'm trying to turn my sup file (from DVB TV) into srt. Not many programs are compatible with this. So far I managed to demux with projectX and convert it to bitmaps with DVDSupTools all automatically with the video file name passed as a parameter to a batch file.
Now I need to turn the bitmaps to srt with SubRip. I can do it manually by clicking File >> Open Image Sequence and taking it from there. I need to do it with the CLI. Can anyone go through how to set it up please? Because I can't work out how to do it. I can post the results when it is done if anyone is interested too. |
23rd October 2010, 07:10 | #633 | Link |
Registered User
Join Date: Feb 2006
Location: kernel space
Posts: 245
|
It would be nice if subrip could join srt files. Subtitle Workshop works but requires the files to be ANSI format. Some of the newer subtitles are either unicode/UTF-8 which it doesnt support afaik.
|
22nd March 2011, 15:21 | #634 | Link | |
Guest
Posts: n/a
|
Quote:
The other option is to install VobSub with the submodification tool. I do not know its name at this point (as I always only join subs when joining vids, and I use MKV only) but you'll find it soon enough. When installed, it works via the context menu. |
|
30th April 2011, 09:21 | #636 | Link |
Just another User
Join Date: Mar 2008
Posts: 21
|
Matrix Debuging
For all these with big character matrixes and some wrong character, here's a mod that will allow you to easily identify the bad characters in the Matrix entry and correct/delete them:
Links to unofficial version 1.50 beta 5: Program: http://www.mediafire.com/?d3aa3rp4a43o0bm Code: http://www.mediafire.com/?epbh8ifhc8pwzvd Enjoy |
14th August 2011, 22:45 | #638 | Link |
Registered User
Join Date: Mar 2010
Posts: 106
|
Hi folks. I don't like my .srt output to be formatted (e.g <i>...</i>), so could you help me with either one of the points below:
1) can I tell SubRip not to format the output (i.e. ignore formatting)? or 2) is there a clean-up operation in SubRip I could perform to delete formatting tags ? or 3) in "view/edit character matrix": can I deselct the italics checkbox for all glyphs (I have >5000, too many to do this manually one-by-one) ? thank you! (PS: I know I can run a search&replace on the output file with any text editor, if I can avoid doing that each time, that would be great.) Last edited by lovelove; 14th August 2011 at 22:48. |
22nd August 2011, 16:15 | #639 | Link |
Registered User
Join Date: Mar 2010
Posts: 106
|
PS: Can SubRip extract/export closed captions (CC)? When selecting files in SubRip which include CCs, SubRip says "Information: Closed Captions detected (2x)". So I was wondering if SubRip can detect them, can SubRip also display and save them to a text file?
Thank you. |
|
|