Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Capture and stream webcam

Status
Not open for further replies.

rikeman

Programmer
Sep 18, 2004
40
BE
Hello,

I want to make a program that captures video from my webcam, that's not the difficult point, but then, I want to stream the captured video, like an *.wmv file, so when the program is running and capturing, and I open the wmv file, that file must show what the webcam has captured, live webcam. Any suggestions?
 
I'm trying to learn how to write the initial program. Do you have any examples I could look at?
 
I'm working on a similar project.

Do you want audio along with video? There are several commercial and shareware solutions that may help you out.

I didn't like that route though, I wanted to create my own application.

For the video portion (and I've seen this on several web-sites) an easy way to do this is to set up a timer and grab a video frame several times a second, save as a file, open as binary, and send it to the far end, which reconstructs the file. The audio is a little more involved. My current solution is to save the audio in 1 second recordings to stream to the far end for play back, similar to the process of the video portion.

There is a really good module out there that someone published that covers all of the funtions for video capturing, I'll track down the link and post it if I can find it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top