rendered paste bodynohope@localhost:~/msn/utils/linux/capture$ ./test.tcl
dlsym[./libng/plugins/drv0-v4l2.so]: ./libng/plugins/drv0-v4l2.so: undefined symbol: _ng_plugin_init
dlsym[./libng/plugins/drv1-v4l.so]: ./libng/plugins/drv1-v4l.so: undefined symbol: _ng_plugin_init
WARNING: no plugins found [/home/nohope/msn]
vid-probe: trying: v4l2...
vid-probe: trying: v4l...
open(/dev/video1): No such device
open(/dev/video2): No such device
open(/dev/video3): No such device
Found Creative Labs Webcam 5 at /dev/video0
vid-probe: trying: v4l2...
ioctl VIDIOC_QUERYCAP: Invalid argument
open(/dev/video1): No such device
open(/dev/video2): No such device
open(/dev/video3): No such device
Video Source (0) Name : Webcam
channel 0: Webcam 0 tuners, has
type: CAMERA norm: 16411
Video Source (0) Name : Webcam
channel 0: Webcam 0 tuners, has
type: CAMERA norm: 16411
vid-open: trying: v4l2...
v4l2: open
vid-open: failed: v4l2
vid-open: trying: v4l...
v4l: open
mbuf: size=921600 frames=2
v4l: using mapped buffers for capture
v4l: init: /dev/video0 (Creative Labs Webcam 5)
capabilities: capture
size : 160x120 => 352x288
channels: 1
Webcam: 0 camera
audios : 1
1 (Microphone):
PAL NTSC SECAM AUTO
fbuffer : base=0x(nil) size=0x0 depth=0 bpl=0
picture : brightness=54784 hue=65535 colour=32768 contrast=53248
picture : whiteness=30720 depth=24 palette=yuv420p
v4l: close
vid-open: ok: v4l
vid-open: flags: 2
v4l: open
mbuf: size=921600 frames=2
v4l: using mapped buffers for capture
ng_dev_open: opened Creative Labs Webcam 5 [refcount 1]
v4l: setformat
v4l: capture probe 24 bit TrueColor (BE: rgb)... failed
v4l: setformat
v4l: capture probe 24 bit TrueColor (LE: bgr)... ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=4): Invalid argument
failed
Trying converter from 16 bit YUV 4:2:2 (packed, YUYV) to 24 bit TrueColor (BE: rgb)
v4l: setformat
v4l: capture probe 16 bit YUV 4:2:2 (packed, YUYV)... ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=7): Invalid argument
failed
Trying converter from 16 bit YUV 4:2:2 (planar) to 24 bit TrueColor (BE: rgb)
v4l: setformat
v4l: capture probe 16 bit YUV 4:2:2 (planar)... ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=13): Invalid argument
failed
Trying converter from 12 bit YUV 4:2:0 (planar) to 24 bit TrueColor (BE: rgb)
v4l: setformat
v4l: capture probe 12 bit YUV 4:2:0 (planar)... ok
convert-in : 320x240 12 bit YUV 4:2:0 (planar)
convert-out: 320x240 24 bit TrueColor (BE: rgb)
v4l: setformat
v4l: getimage
ioctl: VIDIOCMCAPTURE(frame=0;height=240;width=320;format=15): No such file or directory
capturing image failed at 320, 240
v4l: setformat
v4l: getimage
Segmentation fault
nohope@localhost:~/msn/utils/linux/capture$