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.

 

Go Back   Doom9's Forum > General > Subtitles

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 3rd October 2010, 22:33   #1  |  Link
ruediger.s
Registered User
 
Join Date: Sep 2010
Posts: 1
Announcing VobSub2SRT: convert .sub/.idx to .srt on Linux

VobSub2SRT is a Linux command line tool to convert Vobsub (.idx/.sub) subtitles into the .srt subtitle format. It is based on mplayer's vobsub code and uses tesseract for the OCR part.

You can get the source and manual at http://github.com/ruediger/VobSub2SRT

The quality of the OCR depends heavily on the quality of the subtitles. I'm currently planning to add some preprocessing features (like rescaling) to increase the OCR probabilities.

I'm developing VobSub2SRT on Kubuntu (current 10.04) but it should work on other Linux systems as well (and maybe even Mac OS X).

To build vobsub2srt on Ubuntu use
Code:
sudo apt-get install libavutil-dev tesseract-ocr-dev tesseract-ocr-eng build-essential cmake
./configure
make
sudo make install
To convert subtitles call
Code:
vobsub2srt Filename
with Filename being the file name of the subtitles without the .idx/.sub extension. The result is written to Filename.srt. To get more information use --verbose as parameter. With --lang langcode you can select the language stream (make sure you got the tesseract data for that language installed).

I hope this tool is useful to you and please give me some feedback.
ruediger.s is offline   Reply With Quote
 

Tags
linux, ocr, srt, vobsub

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:19.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.