LinuxQuestions.org
Help answer threads with 0 replies.
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 04-14-2004, 08:31 AM   #1
Madhukar
LQ Newbie
 
Registered: Apr 2004
Location: Chennai , India.
Posts: 11

Rep: Reputation: 0
How to capture live Video frames from webcam


Hello everybody,

#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?
 
  


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
convert jpegs into 2 frames per second video ? qwijibow Linux - Software 2 09-05-2004 09:32 PM
Grabbing video frames as thumbnails smegware Linux - Software 0 05-21-2004 12:47 PM
How to capture video frames form webcam Madhukar Linux - Software 0 04-14-2004 08:26 AM
video capture through webcam vishak Linux - General 0 03-07-2004 10:46 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 08:29 PM


All times are GMT -5. The time now is 08:05 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration