ts-7000
[Top] [All Lists]

[ts-7000] Re: spca5xx and 2 webcams

To:
Subject: [ts-7000] Re: spca5xx and 2 webcams
From: "Yan Seiner" <>
Date: Wed, 17 Oct 2007 11:55:55 -0000
--- 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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU