Edgard Alexander Sotter wrote:

[snip]

> someone told me that I have to work with video_buffer struct,
> anyone has experience in work with this struct???... anyone has a example of
> grabbing image in real time (video)??? using more than one buffer.
> 

I uploaded an attempt to use the double buffers to grab.
My primary source of information were the Programming txt found in xawtv
tarball.
The link is the same:

http://planeta.terra.com.br/informatica/gleicon/videodog.html

The process looks is: sync buffer one, grab buffer 2, sync buffer 2,
grab buffer 1.
I hope it helps, sorry but I did it in a hurry, its not the nicest code
overthere ... BTW if somebody got some clue to help improve this double
buffer grab code, I would thank a lot. Probably I will do a presentation
about video processing using linux, and would be very cool if I got some
almost-real time processing :-D

Regards.


-- 
Gleicon S. Moraes  

Writing about music is like dancing about architecture.
                -- Frank Zappa



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

Reply via email to