LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Closed Thread
 
Search this Thread
Old 04-14-2004, 08:26 AM   #1
Madhukar
LQ Newbie
 
Registered: Apr 2004
Location: Chennai , India.
Posts: 11

Rep: Reputation: 0
How to capture video frames form 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?
 
  


Closed Thread


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
capture html form data blizunt7 Programming 12 06-19-2005 09:31 PM
Grabbing video frames as thumbnails smegware Linux - Software 0 05-21-2004 12:47 PM
How to capture live Video frames from webcam Madhukar Linux - General 0 04-14-2004 08:31 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 12:43 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