Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 13669
  • Last Modified:

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.
0
Enill
Asked:
Enill
  • 2
1 Solution
 
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now