发送与视频流同步的事件

发布于 2024-11-19 20:58:03 字数 652 浏览 0 评论 0原文

我想获得一些与其同步的实时事件的视频流。例如,我希望能够在屏幕上发生某些事情后解锁按钮 - 当相机前面发生某些事情时,应该发送一些有关它的信息(即摄影师按下特殊按钮)。任务是使该信息(或事件)与屏幕上的情况同步。是否可以使用 RTSP 发送和接收此类元数据?该应用程序将用 WPF 编写。

我需要获得与此非常相似的功能: http://www.adobe.com/devnet/flashmediaserver/articles/metadata_video_streaming.html 由 flash 提供,但在 .NET 平台上。你知道有什么图书馆可以帮助我吗?

http://www.streamingmedia.com/conferences/west2010 /presentations/SMWest-2010-Microsoft-Workshop.pdf

I would like to get video stream with some real-time events synchronized with it. For example I would like to have a possibility to unlock a button, after something on the screen happenened - when something happens in front of the camera, there should be send some info about it (i.e. cameraman is pushing special button). The quest is to have this info (or event) synchronized with situation on the screen. Is it possible to send and receive such metadata using RTSP? The application will be written in WPF.

I need to get functionality very similar to this one:
http://www.adobe.com/devnet/flashmediaserver/articles/metadata_video_streaming.html
offered by flash, but on .NET platform. Do you know any libraries that could help me?

http://www.streamingmedia.com/conferences/west2010/presentations/SMWest-2010-Microsoft-Workshop.pdf

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

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

发布评论

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

评论(2

彼岸花似海 2024-11-26 20:58:03

AFAIK,RTSP 不提供发送额外元数据的可能性。

也许您可以将一些元数据放入 RTP(视频)帧的扩展标头中。

另一种方法是启动并行元数据流(XML 即)。在客户端,您可以像音频/视频流一样同步两个流。

祝你好运。

AFAIK, RTSP is not offering such a possibilty to send additional MetaData.

Maybe you could put some meta data into the extension header of the RTP (video-) frames.

Another way is to start a parallel meta data stream (XML i.e.). On the client side you synchronize both streams like it is done for audio/video streaming.

good luck.

要走就滚别墨迹 2024-11-26 20:58:03

我找到了 2 个提供所需功能的解决方案。第一个是微软媒体服务器。它由 Microsoft 提供,因此在 WPF 中使用它非常容易。这里的问题是它不是实时协议。对我来说,大约 10-20 秒的延迟(在本地主机上)是不可接受的。

第二个是使用 RTMP 的 Flash Media Streaming Server。它还提供所需的功能,而且正如其名称所示,它是实时协议。这里的延迟是不明显的(在本地主机上通常远低于 1 秒)。但由于它是 Flash 技术,因此必须由 Flash 代码处理。我通过将 Flash 组件放入 ActiveX 共振峰中解决了这个问题。对我来说,这是我的完美搭配;)

I have found 2 solutions that are offering requied functionality. First one is Microsoft Media Server. It's offered by MIcrosoft, so it's quite easy to use it in WPF. The problem here is that it's not a Real Time protocol. For me lags about 10-20 seconds (on localhost) were not acceptable.

The second one is Flash Media Streaming Server using RTMP. It also offers requied functionality and what is more as it's name says it's Real Time protocol. Lags here were unnoticeable (usually much lower than 1 second on localhost). But as it's Flash technology it must be handled by Flash code. I resolved it by putting Flash componnent inside ActiveX formant. For me it was my perfect match ;)

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