Solved

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

Posted on 2010-09-02
3
12,193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
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.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

726 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