Hi, 
 What I can understand from your code is a number of
mistakes.

1) You have not used VIDIOCSYNC command, which is
necessary after every capture.

2. You are using both, the read command and
VIDIOMCAPTURE. You should use only one. They are both
alternative to each other.

3. The mmap command is used only once, outside the
loop and should be done before capture. (If you are
capturing images in a loop.).

4. You are not using the command for setting the
palette.

Try it again.
Bye
Shiraz

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to