2005-04-27, 05:44 PM
So I am working on a different kind of web camera plugin. One that works for security systems and video phones (sound is still something I need to figure out). I have a few questions that hopefully others might know the answer to.
First I have a windows application that reads the camera and collects still images. Fast enough to appear like full video.
I need a windows application since I need the windows handle. I do not know if it would work if sub exposed it but my idea is that he would not need to.
Now the application is capturing frames with a size of 304128 bytes. (352x288).
I want this to work with the MVP (without sound) as well as the PC.
So this application connects to a set of cameras and sends the images to the client (client and server in the same application) client connects to remote server, remote server connects to local client.
I am debating about using the gbpvr as the client itself but that will break the support for multiple MVPs with this plugin.
Now I have an image (Which is a bmp?) that I am trying to serialize to the remote client. I have not figured out
1. How to compress the image to a jpg and send its data across. I can not get to the data directly. I have the data as a bmp but that is 300K a jpg would be about 14k. So ideally I want this as an jpg image.
I found a save method on an image but that does not stream well. I can write it to a file but that adds additional I/O overhead.
I would eventually like sound, I think the mvp does not support wav so the sound would have to be mpeg and thus delayed by a few seconds. For the PC it should be possible though.
First I have a windows application that reads the camera and collects still images. Fast enough to appear like full video.
I need a windows application since I need the windows handle. I do not know if it would work if sub exposed it but my idea is that he would not need to.
Now the application is capturing frames with a size of 304128 bytes. (352x288).
I want this to work with the MVP (without sound) as well as the PC.
So this application connects to a set of cameras and sends the images to the client (client and server in the same application) client connects to remote server, remote server connects to local client.
I am debating about using the gbpvr as the client itself but that will break the support for multiple MVPs with this plugin.
Now I have an image (Which is a bmp?) that I am trying to serialize to the remote client. I have not figured out
1. How to compress the image to a jpg and send its data across. I can not get to the data directly. I have the data as a bmp but that is 300K a jpg would be about 14k. So ideally I want this as an jpg image.
I found a save method on an image but that does not stream well. I can write it to a file but that adds additional I/O overhead.
I would eventually like sound, I think the mvp does not support wav so the sound would have to be mpeg and thus delayed by a few seconds. For the PC it should be possible though.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage