> -----Alkuperäinen viesti----- > Lähettäjä: video4linux-list-admin@xxxxxxxxxx > [mailto:video4linux-list-admin@xxxxxxxxxx]Puolesta Warren > Lähetetty: Thursday, September 25, 2003 3:27 PM > Vastaanottaja: video4linux-list@xxxxxxxxxx > Aihe: Sample code to display v4l input? > > > Does anyone have any sample code that will take v4l input and display it > in an X window? I was thinking that perhaps I might use SDL for this, > or that perhaps having v4l dump right to video memory might work. > I will take any hints, code snippets, scraps that I can get. > Try this: http://geocities.com/jonikahara/CaptureProject_100303.tar.gz It's a start of a v4l2 (C++) library project that never finished. It was written by Chris Nuernberger as a university project (or something, I may not recall correctly.) It has classes for XVideo display, among other things. Jonk