LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-07-2004, 09:46 AM   #1
vishak
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
video capture through webcam


#include <>




main()
{

fd=open("/dev/dsp",O_RDONLY);
fd2=open("/dev/dsp",O_WRONLY);

while(1)
{
nread= read(fd,buf,500);
write(fd2,buf,nread);
}

}
it is the program for reading from microphone and to listen to it through speakers.

i would like to know whether we can capture the video from a webcam in a similar manner.

What may be the file format of that image?
What may be the file format of the sound captured by the above program?


we are terribly in need of these information since we have to go forward with our project "video conferencing".

if you know something, please don't forget to leave a remark and reply


awaiting your reply,
vishak
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
webcam creative don't capture pitufobcn Slackware 0 12-19-2004 11:26 AM
Webcam auto capture j03 Linux - Software 2 10-05-2004 04:21 PM
How to capture live Video frames from webcam Madhukar Linux - General 0 04-14-2004 07:31 AM
How to capture video frames form webcam Madhukar Linux - Software 0 04-14-2004 07:26 AM
Capture support for dvd and video capture in linux is it even going to be real ever? maximalred Linux - Distributions 3 07-06-2003 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration