-   Linux - Hardware (
-   -   Please recommend a webcam for Fedora 9 (

ed_homeLinux 09-10-2008 05:34 PM

Please recommend a webcam for Fedora 9

I would like to purchase a webcam for my Linux machine. I am currently running Redhat Fedora 9 (x86_64). Would someone please recommend one that is easy to install and use.


Peacedog 09-10-2008 08:15 PM

Hi ed_homeLinux, I'd recommend any of the UVC compliant cameras. You can read more here. More specifically I recently bought a Logitech Quickcam Pro 9000 that I couldn't be happier with. Painless install and setup, works very nicely.
Good luck. ;-)

ed_homeLinux 09-10-2008 08:31 PM

Thanks for the response. Is the camera automatically recognized upon boot? What software do I use? I have not yet used a webcam under Linux. I have used one a little under Windows.


Peacedog 09-10-2008 09:09 PM

You're welcome, it wasn't recognized on boot, I had to install the uvc package. YMMV, depends on the distro and kernel, etc.

Software, depends on what you want to do. I'm using Skype and the uvc viewer that comes as part of the driver package to grab snapshots, it also records video with no audio. I'm using ffmpeg and mencoder for video with audio. There should be some aplication available for any job you can think of. Video conferencing for instance, you could use Ekiga.

Good luck. ;-)

ed_homeLinux 09-19-2008 07:43 PM

OK. I have purchased a Logitech Quickcam Pro 9000. I looked around that website and it looks like I need the spca5xx driver. Next, I go to From that page I click on the site for the spca5xx driver. Next I click download near the middle at the top ( Since my kernel is, I download gspcav1-20071224.tar.gz. I unzip and untar the file. I change to the directory containing the contents of the tar file and type "make." I then get the following message

make -C /lib/modules/`uname -r`/build SUBDIRS=/home/ed/Download/gspcav1-20071224 CC=cc modules
make: *** /lib/modules/ No such file or directory. Stop.
make: *** [default] Error 2

The build directory points to "../../../usr/src/kernels/" The link is in red. I go to "../../../usr/src" and find that the directory is completely empty.

Are the steps above correct? Do I need to download something for the empty directory?


ed_homeLinux 09-19-2008 08:14 PM

I downloaded the kernel source and then needed the gcc compiler. I downloaded that and did both "make" and "make install." Both of those commands appeared to execute successfully. Now, what is next? I brought up "camstreams" but can't get it to work. I select various devices under "open video device," but I get an error that says "The device experienced an error -19 (No such device). The window will be closed.


Peacedog 09-19-2008 08:30 PM

Hi ed_homeLinux, First, I don't see the camera supported by the driver your trying to install. I'm using the uvc driver you can get the source from subversion.

svn checkout svn://
You can read more here and here.
Second, you need to install your kernel source and headers to compile against.
Good luck. ;-)

Peacedog 09-19-2008 08:32 PM

Sorry, looks like I was a bit late. Try the uvc driver and read up at the links in my last post.
Good luck. ;-)

ed_homeLinux 09-20-2008 06:09 PM

I installed svn and then ran the svn command to get the driver. I changed to the "trunk" directory and ran "make" and then "make install." The second command needed to be run as root. All of the text associated with the commands seemed to indicate everything went fine. I am still not sure if it is setup correctly. How do I make a short video with the camera? Thanks for your help.


Peacedog 09-20-2008 07:46 PM

The luvcview program will allow you to test the camera and make a video without audio.

luvcview -h
Will list the cli switches available. If you get nothing or errors, you may need to modprobe the driver first.
Good luck. ;-)

ed_homeLinux 09-20-2008 11:01 PM

Where do I get luvcview? It is not on my system. It doesn't appear to be available from Administration -> Add/Remove software and I haven't yet been able to find it on the web.


ed_homeLinux 09-20-2008 11:59 PM

GREAT!!!. I found luvcview after some more web searching and downloaded it. I got version 20070512. This can be obtained from I had trouble running make. I did more searching and found I then ran "yum install SDL*devel" which took some time. I could then do a "make" and "make install." The camera now works!!!!!!!

ed_homeLinux 09-21-2008 07:09 AM

The video works!!! However, there is no audio. Does anyone know how to get luvcview to record the audio?

Peacedog 09-21-2008 12:49 PM

Hi ed homeLinux, The luvcview software doesn't record audio as far as I know. I have used ffmpeg to do that job.

ffmpeg -f video4linux2 -s 320x240 -i /dev/video0 -f audio_device -ac 2 -i /dev/dsp1 -f mp4 test.mp4
That works on my system, you may need to change the devices /dev/video0 and /dev/dsp1 accordingly to your system.
Good luck. ;-)

ed_homeLinux 09-23-2008 06:41 PM

I have installed ffmpeg. When I try to run the command you list I get the following

FFmpeg version SVN-r15385, Copyright (c) 2000-2008 Fabrice Bellard, et al.
libavutil 49.10. 0 / 49.10. 0
libavcodec 52. 0. 0 / 52. 0. 0
libavformat 52.22. 1 / 52.22. 1
libavdevice 52. 1. 0 / 52. 1. 0
built on Sep 22 2008 22:25:58, gcc: 4.3.0 20080428 (Red Hat 4.3.0-8)
[video4linux2 @ 0x1e23500]Wrong time base (0)
/dev/video0: Error while opening file

What is wrong?


All times are GMT -5. The time now is 10:36 AM.