VOBsub 字幕格式是什么?

发布于 2024-08-19 17:06:41 字数 122 浏览 3 评论 0原文

在哪里可以找到 VOBsub 字幕格式的文档/示例代码?一个是 .idx 和一个 .sub 文件。

我需要创建一个生成这些字幕的程序。我一直在谷歌上寻找,但只找到了如何从 DVD 上翻录它们。

谢谢

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

不乱于心 2024-08-26 17:06:41

VOBsub 从 DVD 中提取原始 DVD 字幕 PES 并转储此内容到 .sub 文件。它还创建一个 .idx 索引文件,其中包含每个字幕的时间和字节偏移量。该格式支持多轨,还可以嵌入 MP4(Nero 提供)和 Matroska 文件中。

看看这些开源实现:

然后还有像 VLC 这样的媒体播放器。您还可以查看 doom9 上的这些主题:

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:

一身骄傲 2024-08-26 17:06:41

我认为最好的方法是查看一些开源媒体播放器的源代码。其中一些将具有解释 .idx 或 .sub 字幕文件的代码。

这可能是一个有用的起点:
http://sourceforge.net/projects/guliverkli/

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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文