Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-14-2006, 12:07 AM
|
#1
|
Member
Registered: Jul 2003
Posts: 105
Rep:
|
running 2 USB webcam simultaneously
Hi all,
I am trying to capture images from two USB webcam simultaneously.
However everytime I run two instances of streamer like this:
streamer -c /dev/video0 -f rgb24 -r 1 -t 00:00:60 -o /home/mine/video0.avi
streamer -c /dev/video1 -f rgb24 -r 1 -t 00:00:60 -o /home/mine/video1.avi
on two different terminals, I got a kernel panic.
I have tried running the above commands as a background process (adding & at the end), so I can use a single terminal, but the result is the same: a kernel panic.
Does anybody know whether capturing images from two different USB webcams simultaneously is actually possible at all ?
Thanks for any help
BTW: my distro is slackware 10.2 with kernel 2.4.31 and my box is an AMD athlon 900 MHz and the webcam I am using are (from lsusb):
Bus 003 Device 002: ID 0553:0002 STMicroelectronics Imaging Division (VLSI Vision) CPiA WebCam
Bus 003 Device 003: ID 046d:0920 Logitech, Inc. QuickCam Express
and they are running great if I am running the streamer one by one.
Thanks again.
|
|
|
01-14-2006, 12:16 AM
|
#2
|
Member
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259
Rep:
|
hi,
I dont think its possible to capture images from 2 USB webcams simultaneously.its similar to not able to play music from 2 different music players
|
|
|
01-14-2006, 01:00 AM
|
#3
|
Member
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877
Rep:
|
what is the kernel panic message you get?
|
|
|
01-14-2006, 02:31 AM
|
#4
|
Member
Registered: Jul 2003
Posts: 105
Original Poster
Rep:
|
dear dr_zayus,
The kernel panic message I get is like this:
Unable to handle kernel paging request at virtual address d0fe5000
and then some stack dump info follows (like *pte and *pde that would have a different number on each occurance)
then
<0> kernel panic: Aiee, killing interrupt handler
Ininterrupt handler - not syncing
dear paragn,
I would think that running two instances of streamer would be no problem, (just like running two instances of vi for example). As long as they don't try to occupy/use the same resource (e.g. file, device etc.). In my case the v4l devices they are using are different anyway (video0 & video1) and the output are also different.
unless they are using the same some internal kernel stuff (like to do paging as the kernel panic message shows).
In any case I need to know whether anybody has tried to do the same before and get the same result.
Thanks guys.
|
|
|
01-14-2006, 03:11 AM
|
#5
|
Member
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259
Rep:
|
hi aherrys,
oops i didnt notice that you are using two different devices. then it must not create any problem. i am checking what can be possible reasons for kernel panic
|
|
|
All times are GMT -5. The time now is 12:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|