What library is best for a H264 video stream strea

2019-06-07 20:48发布

问题:

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

回答1:

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.



回答2:

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.



回答3:

I've played a bit with the products from StreamCoders and they seems to work fairly well.



标签: c# h.264 rtsp