What's the VOBsub subtitle format?
Asked Answered
M

2

12

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

Mercurate answered 26/1, 2010 at 14:26 Comment(0)
A
11

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.

Have a look at these open source implementations:

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

Apivorous answered 30/6, 2011 at 11:2 Comment(0)
H
0

I think your best approach would be to have a look at the sourcecode of some of the open-source media players. Some of them will have the code to interpret an .idx or .sub subtitle file.

This might be a useful starting point:
http://sourceforge.net/projects/guliverkli/

Halfmast answered 26/1, 2010 at 14:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.