MJPEGStream 显示流 Aforge.Video.dll [英] MJPEGStream Display Stream Aforge.Video.dll
本文介绍了MJPEGStream 显示流 Aforge.Video.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用 Aforge 库流式传输 IPCAM D'Link,但没有成功:我想将视频流显示到 PB 控件中.我的代码:
I'm trying to stream an IPCAM D'Link using the Aforge Libraries but i'm not succeed: I want to display the video stream into an PB control. My Code:
Imports AForge.Video
Public Class Form1
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
Try
Dim stream As New MJPEGStream("http://190.6.198.3/video/mjpg.cgi")
stream.Login() = "admin"
stream.Password() = ""
stream.Start()
Catch ex As System.Net.WebException
MsgBox(ex.Message.ToString)
End Try
End Sub
End Class
推荐答案
你有点混合 MJPEGStream 和控件
you kinda mixing the MJPEGStream and the control
这篇关于MJPEGStream 显示流 Aforge.Video.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文