no thats fine and also tells me what what i thought was the issue seems in fact to be the case. It sems you are using an older driver version that was claimin to support video formats it did not acutally support. Plese grab the latest one from the git and recopile it. The othing thing is it is necessary to use libv4l to do format conversion since many applications do not natively support the formats used in our driver. Information about using libv4l shuld be included in the README with our driver. Hopefully doing this will fix things for you.
On Sat, Jan 17, 2009 at 2:04 AM, Ben <[email protected]> wrote: > > On Jan 17, 4:55 pm, Brian Johnson <[email protected]> wrote: >> When streaming your video what format are you using is your driver set >> for? you can find this out by typeing v4l-info at your terminal >> window. > > Here's the full output for /dev/video0, do I need to be streaming when > I run v4l-info? I'm logged in remotely via ssh at the moment... > > ### v4l2 device info [/dev/video0] ### > general info > VIDIOC_QUERYCAP > driver : "sn9c20x" > card : "SN9C20x USB 2.0 Webcam Driver" > bus_info : "usb-0000:00:02.2-2.1" > version : 32.9.1 > capabilities : 0x5000001 > [VIDEO_CAPTURE,READWRITE,STREAMING] > > standards > > inputs > VIDIOC_ENUMINPUT(0) > index : 0 > name : "Webcam" > type : CAMERA > audioset : 0 > tuner : 0 > std : 0x0 [] > status : 0x0 [] > > video capture > VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE) > index : 0 > type : VIDEO_CAPTURE > flags : 0 > description : "Bayer 8bit (BGGR)" > pixelformat : 0x31384142 [BA81] > VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE) > index : 1 > type : VIDEO_CAPTURE > flags : 0 > description : "I420 (YUV 4:2:0)" > pixelformat : 0x32315559 [YU12] > VIDIOC_ENUM_FMT(2,VIDEO_CAPTURE) > index : 2 > type : VIDEO_CAPTURE > flags : 0 > description : "YUYV (YUV 4:2:0)" > pixelformat : 0x56595559 [YUYV] > VIDIOC_ENUM_FMT(3,VIDEO_CAPTURE) > index : 3 > type : VIDEO_CAPTURE > flags : 0 > description : "JPEG (YUV 4:2:2)" > pixelformat : 0x4745504a [JPEG] > VIDIOC_G_FMT(VIDEO_CAPTURE) > type : VIDEO_CAPTURE > fmt.pix.width : 640 > fmt.pix.height : 480 > fmt.pix.pixelformat : 0x32315559 [YU12] > fmt.pix.field : ANY > fmt.pix.bytesperline : 960 > fmt.pix.sizeimage : 460800 > fmt.pix.colorspace : SRGB > fmt.pix.priv : 1 > > controls > VIDIOC_QUERYCTRL(BASE+0) > id : 9963776 > type : INTEGER > name : "Brightness" > minimum : 0 > maximum : 255 > step : 1 > default_value : 127 > flags : 0 > VIDIOC_QUERYCTRL(BASE+1) > id : 9963777 > type : INTEGER > name : "Contrast" > minimum : 0 > maximum : 255 > step : 1 > default_value : 127 > flags : 0 > > ### video4linux device info [/dev/video0] ### > general info > VIDIOCGCAP > name : "SN9C20x USB 2.0 Webcam Driver" > type : 0x1 [CAPTURE] > channels : 1 > audios : 0 > maxwidth : 640 > maxheight : 480 > minwidth : 48 > minheight : 32 > > channels > VIDIOCGCHAN(0) > channel : 0 > name : "Webcam" > tuners : 0 > flags : 0x0 [] > type : CAMERA > norm : 0 > > tuner > ioctl VIDIOCGTUNER: Invalid argument > > audio > ioctl VIDIOCGAUDIO: Invalid argument > > picture > VIDIOCGPICT > brightness : 32639 > hue : 0 > colour : 0 > contrast : 32639 > whiteness : 13107 > depth : 12 > palette : YUV420 > > buffer > ioctl VIDIOCGFBUF: Invalid argument > > window > VIDIOCGWIN > x : 0 > y : 0 > width : 640 > height : 480 > chromakey : 0 > flags : 0 > > > > --~--~---------~--~----~------------~-------~--~----~ Lets make microdia webcams plug'n play, (currently plug'n pray) To post to this group, send email to [email protected] Visit us online https://groups.google.com/group/microdia -~----------~----~----~----~------~----~------~--~---
