什么库最适合从 RTSP 服务器流式传输的 H264 视频流?
有人知道一个高效、功能丰富且支持 C# .NET 的库,用于捕获从 RTSP 服务器流式传输的 H264 编码视频吗?
我正在开发一个安全应用程序,需要将视频缓冲一段时间(例如 30 秒),然后在出现提示时(通过外部触发器)记录 n 秒;以便捕获导致该事件的原因以及之后发生的情况。
到目前为止,我已经找到了 LeadTools Multimedia SDK(它可以缓冲具有暂停/播放/快进/等功能的实时流),但缺少 C# 的库和文档;大多数功能仅在 C++ 中完全可用。
非常感谢任何帮助
Anyone know of an efficient, feature rich and C# .NET supported library for capturing H264 encoded video streamed from an RTSP server?
I'm developing a security application that needs to buffer video for a set amount of time (e.g. 30 seconds), and then when prompted (via an external trigger) record for n seconds after; so that what lead to the event and what happened after is captured.
So far I've found the LeadTools Multimedia SDK (which can buffer real time streams with pause/ play/fast forward/etc functionality), but its libraries and documentation for C# are lacking; with most of the features only fully available in C++.
Any help is greatly appreciated
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
经过大量研究后发现,LeadTool 的多媒体 SDK 库是最佳选择,尽管他们的文档主要基于 C++,但他们的客户支持论坛非常出色。
因此,对于这样的问题,似乎最好要么用 C++ 开发,要么购买专业制作的库。
After much research found that the LeadTool's Multimedia SDK library is the best option for this, although their documentation is heavily C++ based their customer support forum is excellent.
So for problems like this, seems best to either develop in C++ or purchase a professionally made library.
您可以使用 https://net7mma.codeplex.com/
记录每个 RTPPacket,然后在需要时播放。如果您多花一点时间,您甚至可以将其保存到
rtpdump
文件中,以便其他播放器可以播放它。You could use https://net7mma.codeplex.com/
Log each RTPPacket and then play it back when desired. If you took a little extra time you could even save it to a
rtpdump
file which would allow other plays to play it back.我尝试过 StreamCoders 的产品,它们似乎工作得相当好。
I've played a bit with the products from StreamCoders and they seems to work fairly well.