Hi,
I'm using a Trust 380 SpaceCam. This cam uses the ovfx2 driver (a part of the ov511 source). The only choice of resolution has been 640x320, but I contacted the developer and he's working on a new version of the driver, which allows more resolutions. He mailed me a patch that would enable multiple resolutions with the ovfx2 driver. So I installed this driver and checked with v4l-info, which gave me this:
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "OVFX2 USB Camera"
type : 0x201 [CAPTURE,SUBCAPTURE]
channels : 1
audios : 0
maxwidth : 640
maxheight : 480
minwidth : 64
minheight : 48
channels
VIDIOCGCHAN(0)
channel : 0
name : "Camera"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
tuner
ioctl VIDIOCGTUNER: Invalid argument
audio
ioctl VIDIOCGAUDIO: Invalid argument
picture
VIDIOCGPICT
brightness : 37632
hue : 32512
colour : 47872
contrast : 32768
whiteness : 26880
depth : 24
palette : RGB24
buffer
VIDIOCGFBUF
base : (nil)
height : 0
width : 0
depth : 0
bytesperline : 0
window
VIDIOCGWIN
x : 0
y : 0
width : 640
height : 480
chromakey : 0
flags : 30
Ok, now I was able to use other resolutions than 640x320 which doesn't work in aMSN (some MSN restriction KaKaRoto wrote). I then wanted to test with aMSN. I've compiled it with the --disable-libng option. When I hit the "configure webcam" button I get this in my x-term:
Malformed attributes: HTML PUBLIC "-//IETF//DTD HTML 2.0//EN" found in:
HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"
Current stack: :!DOCTYPE
Video Source (0) Name : Camera
channel 0: Camera 0 tuners, has
type: CAMERA norm: 0
Video Capture Device Name : OVFX2 USB Camera
64 < width < 640 : 48 < height < 480
Can capture
Can subcapture
picture: brightness 0 hue 0 colour 0
contrast 0 whiteness 26880 depth 24
palettes: RGB24
setting palette to : RGB24
window: x 0 y 0 w 640 h 480
window: flags 30 chromakey 0
window: x 0 y 0 w 320 h 240
window: flags 30 chromakey 0
window: x 0 y 0 w 320 h 240
window: flags 30 chromakey 0
mmap buffer successfully allocated
size: 1843216 with 2 frames
I get an image. However, this is a static image. No movement. Just the same image blinking every 0,5 second or so.
I then tried compiling amsn without the --disable-libng option. Here I get this:
Malformed attributes: HTML PUBLIC "-//IETF//DTD HTML 2.0//EN" found in:
HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"
Current stack: :!DOCTYPE
dlsym[./utils/linux/capture/libng/plugins/drv0-v4l2.so]: ./utils/linux/capture/libng/plugins/drv0-v4l2.so: undefined symbol: _ng_plugin_init
dlsym[./utils/linux/capture/libng/plugins/drv1-v4l.so]: ./utils/linux/capture/libng/plugins/drv1-v4l.so: undefined symbol: _ng_plugin_init
WARNING: no plugins found [/home/Download/AMSN/amsn-0.95]
where /home/Download/AMSN/amsn-0.95 is the location of the source and from where it's compiled. I don't get an image, just a black window.
The camera works fine in GnomeMeeting and xawtv (I still have to use the -f option for xawtv though).
Anyone? Why doens't this work in aMSN? And what does all those errors and warnings in my x-term mean?
A.