Click to See Complete Forum and Search --> : live Ip-videoserver as video source


chill
May 18th, 2004, 12:51 PM
Hi!

I am using a toolkit (application) written in c++ that consists of three parts:

1) video capture
2) image processing
3) OpenGL wrapper

The video capture program only works with local hardware (for example an usb webcam). Since I have to use a remote live camera with a fixed Ip-address, I then have to write my own video capture program to replace the original video library.

Actually, it’s an IP-videoserver that use (netscapes) “server push” – technology to stream images over http, using TCP/IP only. For the Internet Explorer a Java-Applet or ActiveX-module is used to make the stream visible.

In short, I need to use this remote camera as the video source for the toolkit instead of a local usb cam. Do you have any suggestions for a solution?

I’ve been looking at the HttpClient class that I think can be useful.. This class makes downloading the frames easy, but I only get one frame at a time. I don’t know how to get a live stream instead and how to connect this stream to the toolkits framegrabber. If you want to look at the code to the framegrabber or the HttpClient class, I can send it to you. How do I get and decompress JPEGs from an URL?

There is maybe another way to solve my problem. That is to derive a filter from Csource or CbaseFilter and grab the frames using normal network operation. I don’t know if this will work or not and how to connect this to the toolkit either. I suppose “using network operation” means using Winsock?? I don’t know how to proceed further. It would be great if you can tell me how or which of these solutions you think is best

Thank you for taking the time helping me, I really appreciate it! Hope I didn’t waste any of your time.


Regards

Chill