LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-10-2008, 05:34 PM   #1
ed_homeLinux
Member
 
Registered: Apr 2005
Distribution: redhat FC6
Posts: 43

Rep: Reputation: 15
Please recommend a webcam for Fedora 9


Hi,

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.

Ed
 
Old 09-10-2008, 08:15 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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. ;-)
 
Old 09-10-2008, 08:31 PM   #3
ed_homeLinux
Member
 
Registered: Apr 2005
Distribution: redhat FC6
Posts: 43

Original Poster
Rep: Reputation: 15
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.

Ed
 
Old 09-10-2008, 09:09 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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. ;-)
 
Old 09-19-2008, 07:43 PM   #5
ed_homeLinux
Member
 
Registered: Apr 2005
Distribution: redhat FC6
Posts: 43

Original Poster
Rep: Reputation: 15
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 http://www.quickcamteam.net/software...webcam-driver/. From that page I click on the site for the spca5xx driver. Next I click download near the middle at the top (http://mxhaard.free.fr/download.html). Since my kernel is 2.6.26.3-29.fc9.x86_64, 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/2.6.26.3-29.fc9.x86_64/build: No such file or directory. Stop.
make: *** [default] Error 2

The build directory points to "../../../usr/src/kernels/2.6.26.3-29.fc9.x86_64." 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
 
Old 09-19-2008, 08:14 PM   #6
ed_homeLinux
Member
 
Registered: Apr 2005
Distribution: redhat FC6
Posts: 43

Original Poster
Rep: Reputation: 15
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.

Ed
 
Old 09-19-2008, 08:30 PM   #7
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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.
Code:
svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
You can read more here and here.
Second, you need to install your kernel source and headers to compile against.
Good luck. ;-)
 
Old 09-19-2008, 08:32 PM   #8
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Sorry, looks like I was a bit late. Try the uvc driver and read up at the links in my last post.
Good luck. ;-)
 
Old 09-20-2008, 06:09 PM   #9
ed_homeLinux
Member
 
Registered: Apr 2005
Distribution: redhat FC6
Posts: 43

Original Poster
Rep: Reputation: 15
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.

Ed
 
Old 09-20-2008, 07:46 PM   #10
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
The luvcview program will allow you to test the camera and make a video without audio.
Code:
luvcview -h
Will list the cli switches available. If you get nothing or errors, you may need to modprobe the driver first.
Good luck. ;-)
 
Old 09-20-2008, 11:01 PM   #11
ed_homeLinux
Member
 
Registered: Apr 2005
Distribution: redhat FC6
Posts: 43

Original Poster
Rep: Reputation: 15
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
 
Old 09-20-2008, 11:59 PM   #12
ed_homeLinux
Member
 
Registered: Apr 2005
Distribution: redhat FC6
Posts: 43

Original Poster
Rep: Reputation: 15
GREAT!!!. I found luvcview after some more web searching and downloaded it. I got version 20070512. This can be obtained from http://mxhaard.free.fr/spca50x/Investigation/uvc/. I had trouble running make. I did more searching and found http://forums.fedoraforum.org/showthread.php?t=174877. I then ran "yum install SDL*devel" which took some time. I could then do a "make" and "make install." The camera now works!!!!!!!
 
Old 09-21-2008, 07:09 AM   #13
ed_homeLinux
Member
 
Registered: Apr 2005
Distribution: redhat FC6
Posts: 43

Original Poster
Rep: Reputation: 15
The video works!!! However, there is no audio. Does anyone know how to get luvcview to record the audio?
 
Old 09-21-2008, 12:49 PM   #14
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi ed homeLinux, The luvcview software doesn't record audio as far as I know. I have used ffmpeg to do that job.
Code:
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. ;-)
 
Old 09-23-2008, 06:41 PM   #15
ed_homeLinux
Member
 
Registered: Apr 2005
Distribution: redhat FC6
Posts: 43

Original Poster
Rep: Reputation: 15
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.
configuration:
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?

Ed
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
webcam not working in fedora 8 av.dubey Linux - Newbie 2 08-17-2008 05:17 AM
recommend high quality webcam gothicbob Linux - Hardware 2 05-22-2007 04:33 PM
Recommend webcam and scripts for... ylikone Linux - Hardware 1 09-13-2006 04:00 AM
Fedora Core 5, would you recommend it? TomJon Linux - Distributions 4 07-31-2006 11:59 AM
LQ: Recommend to me a good webcam! ValidiusMaximus Linux - Hardware 2 07-26-2005 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration