Problems: YUV422 in xawtv and sync. in gnomemeetng

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



Hello,
	i am writing a driver for my webcam and i am testing it with xawtv 
and gnomemeeting.

I have two problems:

1) the window xawtv uses to display the frames is not resized to a 
particular resolution that xawtv successfully asked with the appropriate 
ioctl. I have to do it manually. Any idea? 
(I don't think the problem is the window manager).

2) The frames are grabbed using the YUV422-16bit format (original video), 
but when xawtv try to display them, the colours vary from green to 
purple only (i am not an expert, but i think the u or v value 
is setted to 0).

3) Gnomemeeting shows just the first captured frame even if the 
VIDIOCMCAPTURE and the VIDIOCSYNC commands continue to work in the right way 
(as debugging messages say). Did it ever happen to someone ?


Below is the output from the driver after xawtv starts 
(i hope this may help):


w9968cf.c: Opening the Video Blaster WebcamGo, minor n. 0...
w9968cf.c: [w9968cf_start_transfer,680] Starting the isochronous transfer (153600 bytes/frame)...
w9968cf.c: Video device is open.
w9968cf.c: Invalid IOCtl: 0x80585600.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_urb_complete,500] Got interrupt, but the camera is not streaming.
w9968cf.c: [w9968cf_stop_transfer,715] Isochronous transfer stopped.
w9968cf.c: Video device closed.
w9968cf.c: Opening the Video Blaster WebcamGo, minor n. 0...
w9968cf.c: [w9968cf_start_transfer,680] Starting the isochronous transfer (153600 bytes/frame)...
w9968cf.c: Video device is open.
w9968cf.c: Invalid IOCtl: 0x80585600.
w9968cf.c: [w9968cf_urb_complete,500] Got interrupt, but the camera is not streaming.
w9968cf.c: [w9968cf_stop_transfer,715] Isochronous transfer stopped.
w9968cf.c: Video device closed.
w9968cf.c: Opening the Video Blaster WebcamGo, minor n. 0...
w9968cf.c: [w9968cf_start_transfer,680] Starting the isochronous transfer (153600 bytes/frame)...
w9968cf.c: Video device is open.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP succe
,1151] VIDIOCGCHAN successfully called.
w9968cf.c: [w9968cf_ioctl,1165] VIDIOCSCHAN successfully called.
w9968cf.c: [w9968cf_ioctl,1165] VIDIOCSCHAN successfully called.
w9968cf.c: [w9968cf_ioctl,1165] VIDIOCSCHAN successfully called.
w9968cf.c: [w9968cf_ioctl,1165] VIDIOCSCHAN successfully called.
w9968cf.c: Invalid IOCtl: 0x800476C6.
w9968cf.c: [w9968cf_ioctl,1522] VIDIOCGFBUF successfully called.
w9968cf.c: [w9968cf_ioctl,1175] VIDIOCGPICT successfully called.
w9968cf.c: [w9968cf_ioctl,1334] VIDIOCGMBUF successfully called.
w9968cf.c: [w9968cf_mmap,1094] mmap method successfully called.
w9968cf.c: [w9968cf_ioctl,1151] VIDIOCGCHAN successfully called.
w9968cf.c: [w9968cf_ioctl,1175] VIDIOCGPICT successfully called.
w9968cf.c: [w9968cf_ioctl,1175] VIDIOCGPICT successfully called.
w9968cf.c: [w9968cf_ioctl,1175] VIDIOCGPICT successfully called.
w9968cf.c: [w9968cf_ioctl,1175] VIDIOCGPICT successfully called.
w9968cf.c: [w9968cf_ioctl,1175] VIDIOCGPICT successfully called.
w9968cf.c: [w9968cf_ioctl,1235] VIDIOCSPICT successfully called. Palette is YUV422, depth is 16.
w9968cf.c: [w9968cf_ioctl,1175] VIDIOCGPICT successfully called.
w9968cf.c: [w9968cf_ioctl,1235] VIDIOCSPICT successfully called. Palette is YUV422, depth is 16.
w9968cf.c: [w9968cf_ioctl,1175] VIDIOCGPICT successfully called.
w9968cf.c: [w9968cf_ioctl,1235] VIDIOCSPICT successfully called. Palette is YUV422, depth is 16.
w9968cf.c: [w9968cf_ioctl,1175] VIDIOCGPICT successfully called.
w9968cf.c: [w9968cf_ioctl,1235] VIDIOCSPICT successfully called. Palette is YUV422, depth is 16.
w9968cf.c: [w9968cf_ioctl,1165] VIDIOCSCHAN successfully called.
w9968cf.c: [w9968cf_ioctl,1151] VIDIOCGCHAN successfully called.
w9968cf.c: [w9968cf_ioctl,1165] VIDIOCSCHAN successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: Palette not supported (RGB555). VIDIOCMCAPTURE failed.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully call
ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: Palette not supported (RGB24). VIDIOCMCAPTURE failed.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: Palette not supported (RGB32). VIDIOCMCAPTURE failed.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: Palette not supported (GREY). VIDIOCMCAPTURE failed.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1407] VIDIOCMCAPTURE. Change settings for frame n. 0: 128x96, format YUV422. Wait...
w9968cf.c: [w9968cf_urb_complete,500] Got interrupt, but the camera is not streaming.
w9968cf.c: [w9968cf_stop_transfer,715] Isochronous transfer stopped.
w9968cf.c: [w9968cf_start_transfer,680] Starting the isochronous transfer (24576 bytes/frame)...
w9968cf.c: [w9968cf_push_frame,914] Frame n.0 pushed into the FIFO list.Position 0.
w9968cf.c: [w9968cf_ioctl,1451] VIDIOCMCAPTURE(0): successfully called.
w9968cf.c: [w9968cf_pop_frame,932] Popped frame n.0
w9968cf.c: [w9968cf_urb_complete,515] Switched from temp. frame to frame n. 0
w9968cf.c: [w9968cf_urb_complete,552] Frame n.0 READY
w9968cf.c: [w9968cf_ioctl,1492] VIDIOCSYNC(0) successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1407] VIDIOCMCAPTURE. Change settings for frame n. 0: 352x288, format YUV422. Wait...
w9968cf.c: [w9968cf_urb_complete,500] Got interrupt, but the camera 
c: [w9968cf_stop_transfer,715] Isochronous transfer stopped.
w9968cf.c: [w9968cf_start_transfer,680] Starting the isochronous transfer (202752 bytes/frame)...
w9968cf.c: [w9968cf_push_frame,914] Frame n.0 pushed into the FIFO list.Position 0.
w9968cf.c: [w9968cf_ioctl,1451] VIDIOCMCAPTURE(0): successfully called.
w9968cf.c: [w9968cf_pop_frame,932] Popped frame n.0
w9968cf.c: [w9968cf_urb_complete,515] Switched from temp. frame to frame n. 0
w9968cf.c: [w9968cf_urb_complete,552] Frame n.0 READY
w9968cf.c: [w9968cf_ioctl,1492] VIDIOCSYNC(0) successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_push_frame,914] Frame n.0 pushed into the FIFO list.Position 0.
w9968cf.c: [w9968cf_ioctl,1451] VIDIOCMCAPTURE(0): successfully called.
w9968cf.c: [w9968cf_pop_frame,932] Popped frame n.0
w9968cf.c: [w9968cf_urb_complete,515] Switched from temp. frame to frame n. 0
w9968cf.c: [w9968cf_push_frame,914] Frame n.1 pushed into the FIFO list.Position 0.
w9968cf.c: [w9968cf_ioctl,1451] VIDIOCMCAPTURE(1): successfully called.
w9968cf.c: [w9968cf_urb_complete,552] Frame n.0 READY
w9968cf.c: [w9968cf_pop_frame,932] Popped frame n.1
w9968cf.c: [w9968cf_ioctl,1492] VIDIOCSYNC(0) successfully called.
w9968cf.c: [w9968cf_push_frame,914] Frame n.0 pushed into the FIFO list.Position 0.
w9968cf.c: [w9968cf_ioctl,1451] VIDIOCMCAPTURE(0): successfully called.
w9968cf.c: [w9968cf_urb_complete,552] Frame n.1 READY
w9968cf.c: [w9968cf_pop_frame,932] Popped frame n.0
w9968cf.c: [w9968cf_ioctl,1492] VIDIOCSYNC(1) successfully called.
w9968cf.c: [w9968cf_push_frame,914] Frame n.1 pushed into the FIFO list.Position 0.
w9968cf.c: [w9968cf_ioctl,1451] VIDIOCMCAPTURE(1): successfully called.
w9968cf.c: [w9968cf_urb_complete,552] Frame n.0 READY
w9968cf.c: [w9968cf_pop_frame,932] Popped frame n.1
w9968cf.c: [w9968cf_ioctl,1492] VIDIOCSYNC(0) successfully called.
w9968cf.c: [w9968cf_push_frame,914] Frame n.0 pushed into the FIFO list.Position 0.
w9968cf.c: [w9968cf_ioctl,1451] 
fully called.
w9968cf.c: [w9968cf_urb_complete,552] Frame n.1 READY
w9968cf.c: [w9968cf_pop_frame,932] Popped frame n.0
w9968cf.c: [w9968cf_ioctl,1492] VIDIOCSYNC(1) successfully called.
w9968cf.c: [w9968cf_push_frame,914] Frame n.1 pushed into the FIFO list.Position 0.
w9968cf.c: [w9968cf_ioctl,1451] VIDIOCMCAPTURE(1): successfully called.
w9968cf.c: [w9968cf_urb_complete,552] Frame n.0 READY
w9968cf.c: [w9968cf_pop_frame,932] Popped frame n.1
w9968cf.c: [w9968cf_ioctl,1492] VIDIOCSYNC(0) successfully called.
w9968cf.c: [w9968cf_push_frame,914] Frame n.0 pushed into the FIFO list.Position 0.
w9968cf.c: [w9968cf_ioctl,1451] VIDIOCMCAPTURE(0): successfully called.
w9968cf.c: [w9968cf_urb_complete,552] Frame n.1 READY
w9968cf.c: [w9968cf_pop_frame,932] Popped frame n.0
w9968cf.c: [w9968cf_ioctl,1492] VIDIOCSYNC(1) successfully called.
w9968cf.c: [w9968cf_push_frame,914] Frame n.1 pushed into the FIFO list.Position 0.
w9968cf.c: [w9968cf_ioctl,1451] VIDIOCMCAPTURE(1): successfully called.
w9968cf.c: [w9968cf_urb_complete,552] Frame n.0 READY
w9968cf.c: [w9968cf_pop_frame,932] Popped frame n.1
w9968cf.c: [w9968cf_ioctl,1492] VIDIOCSYNC(0) successfully called.
w9968cf.c: [w9968cf_urb_complete,552] Frame n.1 READY
w9968cf.c: [w9968cf_ioctl,1492] VIDIOCSYNC(1) successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_ioctl,1129] VIDIOCGCAP successfully called.
w9968cf.c: [w9968cf_push_frame,914] Frame n.0 pushed into the FIFO list.Position 0.
w9968cf.c: [w9968cf_ioctl,1451] VIDIOCMCAPTURE(0): successfull
: [w9968cf_pop_frame,932] Popped frame n.0
w9968cf.c: [w9968cf_urb_complete,515] Switched from temp. frame to frame n. 0
w9968cf.c: [w9968cf_urb_complete,552] Frame n.0 READY
w9968cf.c: [w9968cf_ioctl,1492] VIDIOCSYNC(0) successfully called.
w9968cf.c: [w9968cf_urb_complete,500] Got interrupt, but the camera is not streaming.
w9968cf.c: [w9968cf_stop_transfer,715] Isochronous transfer stopped.
w9968cf.c: Video device closed.






[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