.NET - 从 MPEG-TS 中提取编解码器信息

发布于 2024-09-29 01:40:04 字数 542 浏览 0 评论 0原文

我正在使用 VLC (VideoLAN) 及其 ActiveX 插件编写一个流应用程序。我正在从卫星解码器获取流,现在我需要从流 (MPEG-TS) 获取有关流中存在的字幕(例如来自电影)的信息,以便我可以告诉 ActiveX 控件哪个字幕- 使用的语言。在这种情况下,字幕是通过使用图文电视在流中发送的。

VLC 知道这些信息,所以我猜 VLC 必须通过从 MPEG-TS 流中读取某种“摘要”信息来获取它。以下是 VLC 及其调试器的示例:

ts debug: * ttxt type=图文电视 lan=ita page=100

ts debug: * ttxt type=图文电视字幕 lan=ita page=777

ts debug: * ttxt type=图文电视字幕 lan= eng page=778

我需要掌握图文电视页面的语言和编号(例如 lan=eng,page=778)。

所以我的问题是,您是否知道我可以在网络应用程序(VB.Net 或 C#)中使用任何库或某些代码来获取当前播放的 MPEG-TS 流的一些信息。

谢谢。

I am writing a streaming-application using VLC (VideoLAN) and its ActiveX-plugin. I am getting a stream from a satellite-decoder and now I need to get information from the stream (MPEG-TS) as to the subtitles present (for instance from a film) in the stream so I can tell the ActiveX-control which subtitle-language to use. In this case, subtitles are being sent within the stream by using Teletext.

VLC knows this information so I guess VLC must get it by reading some kind of "summary"-information from the MPEG-TS-stream. Here is an example from VLC and its debugger:

ts debug: * ttxt type=Teletext lan=ita page=100

ts debug: * ttxt type=Teletext subtitles lan=ita page=777

ts debug: * ttxt type=Teletext subtitles lan=eng page=778

I need to get hold of the language and the number of the teletext-page (for instance lan=eng, page=778).

So my question is if you are aware of any library or some code which I can use within a Net-application (VB.Net or C#) to obtain some information of the MPEG-TS-stream currently playing.

Thank you.

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

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

发布评论

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

评论(1

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