Solved

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

Posted on 2010-09-02
3
11,522 Views
Last Modified: 2012-05-10
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
Comment
Question by:Enill
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
nipunu earned 500 total points
ID: 33593838
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
 

Author Comment

by:Enill
ID: 33595665
Thanks, ill give it a look.

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

I'm open to other suggestions.
0
 
LVL 6

Expert Comment

by:nipunu
ID: 33595752
afogent is an opensource. But still if you cant use it, i will check what else we have :)
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question