Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the VOBsub subtitle format?

Tags:

subtitle

vob

Where can I find documentation/sample code of the VOBsub subtitles format? The one that's an .idx and a .sub file.

I need to create a program that generates those subtitles. I've been looking on Google but only found how to rip them from DVD.

Thanks

like image 386
George Avatar asked Jan 26 '10 14:01

George


1 Answers

VOBsub extracts the DVD subtitles raw PES from a DVD and dumps this to a .sub file. It also creates a .idx Index file with the times and byteoffsets for each and every single subtitle. The format has support for multiple tracks and can also be embedded in MP4 (by Nero) and Matroska files.

  • Technical specs vobsub
  • Technical specs from Matroska.org
  • Example files: Specs_and_idx-sub_files.rar

Have a look at these open source implementations:

  • BDSup2Sub (Java)
  • Subtitle Edit (C#)
  • guliverkli by gabest (C++) check out VSFilter and VSRip; original implementation
  • Son2VobSub.rar (C++)

And then there are the media players like VLC. You can also check out these threads on doom9:

  • http://forum.doom9.org/archive/index.php/t-87171.html
  • http://forum.doom9.org/archive/index.php/t-99815.html
like image 58
Gfy Avatar answered Sep 28 '22 18:09

Gfy