Solved

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

Posted on 2010-09-02
3
10,969 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WPF - Tooltips for ComboBox items 5 35
Vb.net dynamic formulas in runtime 11 61
Name space syntax error 12 40
Code works but it's slow 24 30
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now