Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-05-03
3
Medium Priority
?
579 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 375 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Suggested Courses

636 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