--- In Mike Doty <> wrote:
>
> Yan Seiner wrote:
> > Has anyone tried using spca5xx with 2 webcams?
> >
> > I'm having a lot of trouble getting both webcams to send an image.
> > One is always truncated.
> >
> > I suspect the spca5xxLE driver, since I can cause the webcams to fail
> > to read based on the order invoked. ATM if I initialize /dev/video0
> > first and /dev/video1 second, then /dev/video0 will provide corrupt
> > images. If I reverse the order in which they are initialized, then
> > the other camera will send corrupt images.
> >
> > One camera consistently sends the full image, and the other camera
> > sends only the top 1/5 or so of the image.
> >
> > Hmmm....
> >
> > I've posted my very ugly and hacked up version of spcacat at
> > <http://www.seiner.com/spca.tar.bz2>
> >
> > You should use the following line:
> > spcacat -f jpg -g -N 1 -d /dev/video0 -d /dev/video1 -w 7070
> >
> > and then from a remote machine connect to it:
> >
> > nc 192.168.128.138 7070 > x.jpg
> > nc 192.168.128.138 7071 > y.jpg
> >
> > nc should provide the full image. Alas, it does not. It's not a
> > network problem; the read itself from the driver is short.
> >
> > --Yan
> You likely don't have enough usb bandwidth. Try grabbing smaller images
> sizes from the cameras.
That was my thought, too. So I rewrote spcacat to get rid of
threading so both cameras cannot be read at once.
The problem occurs even with smaller images, down to 320x240.
Anything smaller than that is useless for me.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|