PDA

View Full Version : Closed captions to .srt


Zverik
18th October 2006, 21:02
Hi. Do I get it right that extracting closed captions to .srt subtitles is still a problem? Today I tried to extract captions from the Stella box-set and totally failed at that. Both VobSub and VSRip produced a 2KB-file with only a few lines of speech. Long, ugly and boring way of building a filter graph with graphedit and waiting for 20 minutes to get .asf file that's feeded to CCParser resulted in almost all titles present (not mentioning several words lost), but the timing was all wrong. Maybe, it's because I used DVD Decrypter to split one single VOB-sequence to six different episodes?

Finally, I took a closer look at the .raw file VobSub produced and in three hours I wrote a converter. Bad thing: it's in Perl language. Good thing: it works :)

If you have similar problem and is able to find a Perl interpreter, try this (http://not.textual.ru/zverik/raw_cc.zip).

Zverik
19th October 2006, 18:04
Second take (http://not.textual.ru/zverik/cc_extract.zip), now it doesn't need VobSub :) Tired of waiting for graphedit to demux closed captions, I wrote an extractor by myself. Where VobSub fails, it works. Also, line21 stream to srt converter is included, sometimes works better than CCParser (and sometimes not).

ukendt
19th October 2006, 21:48
Now, what about a Perl interpreter?
Any freeware somewhere?

manusse
19th October 2006, 22:15
There is a good one here: http://www.activestate.com/Products/ActivePerl/?mp=1

ukendt
20th October 2006, 22:04
THX!:thanks: