Solved

Camera project: mjpeg, jpg to avi ... ?

Posted on 2004-05-03
3
563 Views
Last Modified: 2013-11-20
Hello, I am a student working on a camera surveillance project and I am trying to write an
application that will be able to use any camera regardless of its vendor.

I have an axis PTZ 2130 camera to work with, and I have the ActiveX control for this camera that displays the MJPEGs being pushed from the camera.

If I want to periodically grab one of those JPEG being pushed from the
camera what would be the best way to do it. I know I want to use DirectShow.
But I'm not quite sure how to go about doing it.

Any help would be much appreciated, thanks.
0
Comment
Question by:qualvis
[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
3 Comments
 
LVL 4

Accepted Solution

by:
bkfirebird earned 125 total points
ID: 10978108
DirectShow is the way to go ..... it is very easy to capture stills and video .....  you just need to understand a little about graphs in directx .... check out the directshow sample called StillCap ..... it does pretty much what you need
0
 

Author Comment

by:qualvis
ID: 10978247
Well, I've been working for a few weeks with directshow, and working whith the capture graph isn't really a problem anymore.

its the parsing of these Jpegs that troubles me. I Have no idea how to make a stream out of these and using them with in Directshow. (the opposite of StillCap I think Actually).
I use Wininet to download one jpeg and save it to a file at a time, and I can show this with using RenderFile(c:\\"example.jpg") or something. I just don't know how to stream these jpegs. (the camera has a webserver where a jpeg image is refreshed constantly).

I've been trying to understand the PushSource sample filter, but it seems pretty difficult, and I'm not sure it will do the trick.

thanks for the reply btw
 
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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Folder Comparison 12 55
modThree challenge 4 112
withoutTen challenge 14 137
Way to decrease size of apk file 9 110
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 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