Thomas Maurer wrote: > > Hello, > > 1) > I have a view lines of c code to grab with v4l. > Now I need an easy way (API and/ore Example) to get this frames in a X-Window. > > 2) Is X-Video a god choice ? And is there a simple example? > > p.s: (just info) Later the program should run a loop like > grab->calculate->display > Do you use overlay for capture ? I have two examples, one about using xlib to show images, and another, a webcam using gtk contributed . Dont know if it helps you... http://videodog.cjb.net | http://planeta.terra.com.br/informatica/gleicon choose code for the xlib example, or video4linux for the gtk example. in the latest videodog release, I've included the xlib example. I dont know how to use xvideo ... regards -- Gleicon S. MORAES | gleicon@xxxxxxxxxx, gleicon@xxxxxxxxxxxx http://planeta.terra.com.br/informatica/gleicon/ - http://videodog.cjb.net/ Writing about music is like dancing about architecture. -- Frank Zappa