[cpia] Re: 2 cameras streaming at once?

Jobe Bittman jobe@tns.net
Mon, 28 Aug 2000 10:34:21 -0700


I gav up on 2 cam streams. I have 2 USB Create WebCam IIs. I am trying to 
replace the 2 windows machines my friend runs www.lizardcam.com on with one 
pentium linux box. Using vidcat(from the w3cam package) and stamp I can get 
the images but my cron job eventually locks up the video device after a 
couple hours of screen captures every 30 seconds with cpia support compiled 
into the kernel (2.4.0-test7). I tried changing to kernel modules and 
loading an unloading the modules before each set of captures but that only 
prolongs it another couple hours until it dies again. When it dies as a 
module I get really funky errors, not just /dev/video not available. These 
last two tests were with the linux kernel driver not the cpia third party 
driver. I am going to try your driver tonight with kernel2.16 and USB 
backport both ways. Is anyone using cpia-based cameras with linux for a 
webcam? Can you give me any tips on better ways to do my captures?

Thanks,
Jobe Bittman

At 10:28 AM 8/28/00 +0200, Peter Pregler wrote:
>Hi,
>
>I just got a second USB camera and can now run a parport and a usb
>based camera at the same time without any problems. I tried the
>version in the usb-backport
>(usb-2.4.0-test2-pre2-for-2.2.16-v3.diff.gz) and the 1.1-version from
>the web-site. So at least one parport and one usb seem to work. I will
>get a few usb-cameras in a few weeks. Until then I cannot verify if
>the usb-driver is correct with regards to more than one camera. And I
>am right now a bit too lazy to do a code review of that since I did
>not write that portion of the code. Can anyone of the USB-guys have a
>short look at the code?
>
>-Peter
>
>On Mon, Aug 07, 2000 at 08:11:48AM -0700, Jobe Bittman wrote:
> > I'm a new member to the list. I have a Creative WebCam II and a Ezonics 
> USB
> > camera. I tried kernel-2.4-test5 support but it couldn't use 2 cameras at
> > once with gqcam. So I followed advice I found on the mailing list archive.
> > I went to kenel 2.2.16 and applied the USB backport patch. I compiled usb
> > and V4L support into my kernel but not CPiA support. I inserted the
> > videodev and cpia modules and I can capture one device at a time. I have n
> > SMP machine so I tried it with a uniprocessor kernel adding and 
> subtracting
> > -__SMP__ to the module compile but that didn't make a difference. Is 
> anyone
> > on the list at all able to see 2 video streams at once? What cameras are
> > you using? Which kernel versions? Can I run two instances of gqcam or do
> > they conflict with each other? What other programs hpeople had luck with.
> >
> > Jobe Bittman
>
>--
>I will not waste chalk. --Bart Simpson at the blackboard
>--------------------------------------------------------
>Email: Peter_Pregler@email.com
>WWW:   http://www.risc.uni-linz.ac.at/people/ppregler
>ICQ:   61011460
>
>_______________________________________________
>cpia mailing list  -  cpia@risc.uni-linz.ac.at
>http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia