C# - How to read the stream from an IP Camera(MJPEG)

Hi,
i'm looking for a simple example on how i can read a MJPEG stream from a IP Camera in .NET in my WPF Application?

Thanks in advance.
EnillAsked:
Who is Participating?
 
nipunuCommented:
Try

1. AForge.NET library - It is a good library for video/image streaming

You should be able to do it with the following controls/namespaces:

AForge.Controls.VideoPlayer - control for displaying the video/image
AForge.Video - namespace for video streaming and stuff. Take a look at JPEGStream and MJPEGSTream classes.

All you need is a link to either jpeg or mjpeg stream and you are able to do it.

Example - http://<IP address>:port/video.cgi

http://www.aforgenet.com/framework/

Another link - http://www.codeproject.com/KB/audio-video/cameraviewer.aspx


Links:
0
 
EnillAuthor Commented:
Thanks, ill give it a look.

However, for specific reason, i can't use 3rd party library.

I'm open to other suggestions.
1
 
nipunuCommented:
afogent is an opensource. But still if you cant use it, i will check what else we have :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.