Re: V4L GTK2 Code

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



Hey Mike,

On Tue, 2003-04-01 at 12:59, Mike Russell wrote:
> 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.

Xv wraps the v4l2 API serverside (synchronously). So it opens the device
for you, etc. You can also switch inputs (XV_ENCODING, I think), xawtv
x11/xv.c has example code for that.

> What header file would I include to use the V4L extension? I can only 
> see Xv.h in Xawtv source.

That's all you need. Search for the v4l port number (where name =
"video4linux") and use standard Xv calls for that.

Ronald

-- 
Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx>
Linux Video/Multimedia developer





[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