Video streaming blues
-
Hi all! I have a bunch of problems that fall under the general category of video streaming, and since this technology is rapidly advancing I'm hoping that other people are dealing with this too. I have: Analog camera -> osprey card -> Real Producer I would like: Analog camera -> osprey card -> my little program -> Real Producer I'm afraid it might not be in the cards, but I've only done VFW stuff so maybe it can be done using DirectShow? One problem is that I need to monitor the video stream (locally) but since the encoder is connected to the capture device I'm working around the problem by constantly peeking at the DC of the display window (X|) Is there a better way? Another problem is that I need a _live_ display (to get a reasonably tight feedback loop, as in video conferencing) but the >10 second delay that makes the Real stream so smooth and low bitrate makes the latency too high. Again, I'm working around this by capturing the DC of the Real Producer display, shrinking it, compressing it to a jpeg, then sending it over the net to a receiving program. Very inefficient, but the point is to get improved latency which it does. But it still makes me gag. By the way, the receiving program I'm using is a windows exe, but I'd like it to display on the web instead (users won't download stuff). I assume that the way to do this would be using java or an ATL control - neither of which I know now, but if this is the way to do it then I will learn. Any suggestions? To vent another video complaint, my stinky little Real Producer voyeur program saves recent frames in a circular buffer and makes a video file from it upon request. However, it's a pain to use the driver's 'compression dialog' to set the compression parameters manually. I'm working around it by saving the result of the compression structure in a file. As an aside, is it possible to change the video format and source in a more programmatically flexible way than clicking on a radio button in the driver's dialog box? I think I remember DirectShow being able to do this though. What's the legal status of the divx codec? Personal use? In-house use? Commercial use? Another video question - There are lots of codecs for transforming (a bunch of raw frames) -> (a video file) but I'm looking for a way to replace sending a 'stream' of jpeg frames (generated on the fly) over the network. Any pointers? Also I just noticed that versions of windows more recent than 95 have built-in JPEG support! My question is how compatible is