Hey
Yes that is all I want to do, I knew the Xv extension allow for video to
be drawn and scaled but never knew what the V4L extension did.
If using the V4L extension would you not have to open the capture device
and put the data into Xv. If that is correct does that mean that
XFree86 has the whole V4L api support in it, Im guessing you still use
the V4L api for changing inputs on the card and such though.
What header file would I include to use the V4L extension? I can only
see Xv.h in Xawtv source.
Thanks in advance.
~Mike
Ronald Bultje wrote:
Hey Mike,
On Sat, 2003-03-29 at 22:57, Mike Russell wrote:
Im new to GTK2 and V4L. Anyway now I have only just started learning GTK2
and C. So far I have got xine and mozilla embedded but I need to have V4L
support in it. Has anyone got any GTK code for viewing from V4L devices or
preferably a GTK2 widget for it? I have looked at Xawtv but I couldnt
understand any of it.
What do you want to do with it? Just view TV input (overlay)? In that
case, use the Xv/v4l extension, that way you only need the X11 window ID
of the GtkWidget's GdkWindow to embed video in it.
Ronald