Log in

View Full Version : Fast way to strip actions from subtitles?


unclepete
21st November 2009, 14:46
Some movies contain English subtitles only for deaf people. Those subtitles have a lot of actions and names in them. Example:

[HORSE NEIGHS]
MAN 1: Get them!

Removing the lines with just brackets isn't too hard with some basic regex, but what would be the quickest way to remove the names of people from the beginning or sometimes even from the middle of a line? The rest of the line should obviously stay.

dwm4444
21st November 2009, 20:38
If you're talking about srt subtitles, I run them through Subtitle Workshop to get rid of that sort of thing (the old version 2.5.1; not sure about the new one).

As far as I remember, just clicking Tools...Information and Errors...Fix all Errors (F10) would change your example to just "Get them!". If I'm mistaken, you can easily adust the default settings by clicking Tools...Information and Errors...Settiings...Fix and then clicking the boxes next to "Hearing Impaired Subtitles" and "Text before colon", but like I said, I think they're already checked.

unclepete
23rd November 2009, 22:58
Thanks for that, I'll take a look at Subtitle Workshop, or search the Aegisub (which I usually use) help files for the 'hearing impaired' subtitles.

jeanl
10th December 2009, 23:05
DVDSubEdit can do this, but only on existing DVDs (working on the vob files). It runs an OCR and removes hearing impaired stuff automatically.
Jeanl

laserfan
10th December 2009, 23:39
If you're talking about srt subtitles, I run them through Subtitle Workshop...clicking the boxes next to "Hearing Impaired Subtitles" and "Text before colon"...Good grief, I've been using STWS for awhile now but didn't know about these features! :o

I'm gonna try it right now, thanks!