简体   繁体   English

如何将DVR的视频提要从Web服务器获取到vb.net?

[英]how to get video feed of DVR from a web server to vb.net?

we actually have something like a control center of DVR (http:/ip:port) 我们实际上有一个类似DVR的控制中心(http:/ ip:port)

but i want to create my own through vb.net is there a way to get the video feed from that and get each channels for vb forms? 但是我想通过vb.net创建自己的视频,是否有办法从中获取视频供稿并获取vb表单的每个频道? i really don't know how to start this. 我真的不知道该如何开始。 thanks. 谢谢。

There is multiple ways to approach this. 有多种方法可以解决此问题。

1) First of I would suggest look if the company manufacturer of the DVR has their SDK(Software development kit) released since thats the best way to obtain the feed and you will have much more additional control over the DVR. 1)首先,我建议您看一下DVR的公司制造商是否发布了SDK(软件开发套件),因为那是获取提要的最佳方法,您将对DVR拥有更多的控制权。

2) The other way depends if the DVR supports RTSP(Real-Time Streaming Protocol) and if it does you can request specific channel video feed based on a special url (Example: rtsp://ip:port/channel) the url depends on the DVR brand. 2)另一种方法取决于DVR是否支持RTSP(实时流协议),如果可以,您可以基于特殊的URL(例如rtsp:// ip:port / channel)请求特定的频道视频提要,则取决于该URL在DVR品牌上。 Once your request the video feed you can play it with refrenced video plugin from 3rd party video player like for example VLC( http://www.videolan.org/vlc/ ) 请求视频供稿后,您就可以使用来自第三方视频播放器的受版权保护的视频插件来播放它,例如VLC( http://www.videolan.org/vlc/

Those are couple of do-able solutions but in order to suggest the most well suited one I would need more information regarding the DVR. 这些是可行的解决方案,但是为了建议最合适的解决方案,我需要有关DVR的更多信息。

Just like Knight said, best option would be asking those concerns to the company from whom you have ordered your DVR. 就像Knight所说的那样,最好的选择是将这些问题咨询给您订购DVR的公司。
if you are going to use something from them externally, they should have something like that for you to tweak. 如果您打算从外部使用它们,则它们应具有类似的功能供您进行调整。 in most cases, they have their own activeX controls, it gives you the easiest way possible in VB because it has its own properties that you can adjust. 在大多数情况下,它们具有自己的activeX控件,它为您提供了在VB中最简单的方法,因为它具有可以调整的自己的属性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM