V4l/sdl simple loop?

Does anyone have a simple code snippet that will take input from a V4L
device (/dev/video) and send it to a fullscreen SDL window (or any SDL
window) in Linux/X?

or even anything that will help me toward that end… The capture
device does YUV so I was thinking a YUV overlay would be a good thing
but I am having trouble figuring all this stuff out as both v4l and SDL
are new to me.

I appreciate any help.

Regards,
Warren

Try effectv (http://effectv.sourceforge.net/)

Have fun,

StephOn Wednesday 24 September 2003 20:53, Warren wrote:

Does anyone have a simple code snippet that will take input from a V4L
device (/dev/video) and send it to a fullscreen SDL window (or any SDL
window) in Linux/X?

or even anything that will help me toward that end… The capture
device does YUV so I was thinking a YUV overlay would be a good thing
but I am having trouble figuring all this stuff out as both v4l and SDL
are new to me.