Silverlight 是否有标准或推荐的外部字幕格式?

发布于 2024-08-08 10:18:48 字数 678 浏览 11 评论 0原文

我需要将字幕加载为视频的外部 xml/文本(代表不同语言)文件。但是,我正在尝试确定外部文件的架构/格式,并且遇到了两个选项:

现在我倾向于 SAMI,因为定时文本似乎相对较新并且仍在起草中。此外,Netflix 提到他们正在致力于实现它:http://blog.netflix.com/2009_06_01_archive.html
有人有什么建议/推荐吗?

I need to load subtitles as external xml/text (representing different language) files for a video. However, I'm trying to decide on a schema/format for my external file, and have come across two options:

Right now I'm leaning towards SAMI since it seems like Timed Text is relatively new and still being drafted. Also, Netflix mentioned that they were working on an implementation for it: http://blog.netflix.com/2009_06_01_archive.html
Does anyone have any suggestions/recommendations?

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

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

发布评论

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

评论(2

沉默的熊 2024-08-15 10:18:49

我使用 SAMI 字幕制作了一个项目 - 它工作得很好。
如果您需要一些示例代码来入门,请写信给我。

I have made a project using SAMI subtitles - it works just fine.
Write me in case you need some sample code to get startet.

难如初 2024-08-15 10:18:48

我曾使用过 SMIL 和另一种优先级格式,该格式与 CodePlex 上的 Silverlight 播放器 配合使用。 SAMI 也很有趣...我已经看到了对 SMIL 的更普遍的支持,但是对于听起来你正在做的事情,我会说 SAMI 或 SMIL 都很好,因为(今天)没有对任何格式的内置支持银光。

您将必须自己处理它并渲染它,所以我只会选择最简单的格式。除非您希望从外部来源获取这些内容,在这种情况下,您应该首先查看该格式是什么。

我从事广播行业,我获得的大多数 CC 文件都是基于 SMIL 的文件。

I have worked with SMIL and another priority format that goes with this Silverlight player on CodePlex. SAMI is interesting too... I have seen more general support for SMIL, but for what it sounds like you are doing I would say that either SAMI or SMIL would be good since there is no built in support for any format (today) in Silverlight.

You are going to have to process it and render it yourself so I would just pick the simplest format. Unless you are expecting to be getting these from external sources in which case you should first look at what that format is.

I am in the broadcast industry and most of the CC files that I get are SMIL based files.

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