RE: Capturing video streams continuously

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> when i tried running your program , i got following error messages.
> Do you know how i can solve this? I am new at this...
> Thanks a lot in advance.

The general way to go is to create a window, map it, then have your
video cards "overlay" mode copying the received frames directly into the
frame buffer (video memory) related to the window. It works very dirty,
and that's why it has close to no impact on CPU usage. That also means
that you won't see much code for it in xawtv. You just have to catch all
events for the window, so to stop capturing if the window is unmapped,
and adapt capturing when the window moves.

If you simply want to play with it, without too much hassle, just use
v4l-conf to query the frame buffer's address and have the card copy the
frame into the top-lefthand corner of your screen. When you're done,
call xrefresh.




[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux