Salute tried to get a videoimage from a webcam into gridflow - due to the output the camera is recognized (see below) but bangin the [metro 33.3667] gf is complaining about:
[gf] ioctl VIDIOCMCAPTURE: Invalid argument error: ArgumentError: ioctl error format/videodev.c.fcs:358:in `void FormatVideoDev::frame_ask(int, Ruby*)' [#in]
anyone using #camera with a webcam? does it work only with tv-card? thanks olsen
[gf] [:VideoCapability, "Philips 730 webcam", 1, 1, 1, 480, 640, 120, 160] [gf] [:VideoWindow, 0, 0, 144, 176, 0, 655360, -968836024] [gf] [:VideoWindow, 0, 0, 480, 640, 0, 0, 0] [gf] [:VideoWindow, 0, 0, 480, 640, 0, 655360, 0] [gf] [:VideoPicture, 58368, 52224, 65468, 65535, 63488, 24, 15] [gf] This card supports palettes: 12, 15 [gf] ioctl VIDIOCSPICT: Invalid argument [gf] [:VideoChannel, 0, "Webcam", 0, 0, 2, 46180] camera: open videodev /dev/video0 [gf] ioctl VIDIOCGFREQ: Invalid argument [gf] returning 0xb464de58 error: ArgumentError: can't set frequency to -1252451584 format/videodev.c.fcs:512:in `void FormatVideoDev::_0_frequency(int, Ruby*, int)' [#io:videodev in ] camera: frequency -1.25245e+09 [gf] getting brightness=58368 [gf] returning 0x0001c801 camera: brightness 58368 [gf] getting contrast=64512 [gf] returning 0x0001f801 camera: contrast 64512 [gf] getting whiteness=63488 [gf] returning 0x0001f001 camera: whiteness 63488 [gf] getting colour=65468 [gf] returning 0x0001ff79 camera: colour 65468 [gf] getting hue=65535 [gf] returning 0x0001ffff camera: hue 65535 camera: get
Hello,
Le Jeudi 22 Juin 2006 17:33, olsen a écrit :
anyone using #camera with a webcam? does it work only with tv-card?
I added a test patch in /doc/examples. I think I have the same chipset as you and I had to get the pwc driver from http://www.saillard.org (easy install).
Once you have it running, you have to select the "colorspace YUV420P" and "transfer read" options and select the YUV -> RGB conversion.
Good luck,
Alexandre
On Fri, 23 Jun 2006, Alexandre Castonguay wrote:
I added a test patch in /doc/examples.
It was called webcam.pd. There's no /doc/examples in Gridflow's CVS: you added it in /examples instead. I have just moved and renamed the file as /doc/flow_classes/#camera-help.pd because [#camera] doesn't have a help file and because it doesn't belong in /examples, which is for demoing what's possible with GridFlow (generally large patches), whereas /doc/flow_classes is for help files (which are small patches except for the larger number of comments in them).
Once you have it running, you have to select the "colorspace YUV420P" and "transfer read" options and select the YUV -> RGB conversion.
Yes. That's because I don't know an automatic way to detect the transfer type (how to download images from the driver), and each driver may skip implementation of one of the two ways, because it's not implemented in a global way. The rest is because kernel authors *forbid* driver authors from implementing any color conversions inside the driver. (!!!)
To anyone dealing with Video4Linux 1: What's a good way of autodetecting a suitable colorspace ?
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
Jep his works out with my philips 730 webcam too - thanksalot! salutis olsen
Alexandre Castonguay wrote:
Hello,
Le Jeudi 22 Juin 2006 17:33, olsen a écrit :
anyone using #camera with a webcam? does it work only with tv-card?
I added a test patch in /doc/examples. I think I have the same chipset as you and I had to get the pwc driver from http://www.saillard.org (easy install).
Once you have it running, you have to select the "colorspace YUV420P" and "transfer read" options and select the YUV -> RGB conversion.
Good luck,
Alexandre
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list