哪种库最适合从RTSP服务器流式传输的H264视频流? [英] What library is best for a H264 video stream streamed from an RTSP Server?

查看:307
本文介绍了哪种库最适合从RTSP服务器流式传输的H264视频流?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都知道一个有效的,功能丰富且受C#.NET支持的库,用于捕获从RTSP服务器流式传输的H264编码视频吗?

Anyone know of an efficient, feature rich and C# .NET supported library for capturing H264 encoded video streamed from an RTSP server?

我正在开发一个安全应用程序,该应用程序需要将视频缓冲一定的时间(例如30秒),然后在提示(通过外部触发器)后记录 n 秒;这样就可以捕获导致事件的原因和之后发生的事情.

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.

到目前为止,我已经找到了LeadTools多媒体SDK(可以使用暂停/播放/快进/等功能来缓冲实时流),但是缺少用于C#的库和文档.大部分功能只有在C ++中才能完全使用.

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++.

非常感谢您的帮助

推荐答案

您可以使用 https://net7mma.codeplex. com/

记录每个RTPPacket,然后根据需要播放.如果您花了一些额外的时间,您甚至可以将其保存到rtpdump文件中,该文件将允许其他播放器对其进行播放.

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.

这篇关于哪种库最适合从RTSP服务器流式传输的H264视频流?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆