LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 11-03-2008, 06:04 AM   #1
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Mint, Ubuntu server, FreeBSD, Android
Posts: 362

Rep: Reputation: 32
uvcvideo: xawtv 'webcam' problem


Hi all,

I have a Creative Optia webcam which my F9 system recognizes as a uvc device:

Code:
uvcvideo: Found UVC 1.00 device Live! Cam Optia (041e:4057)
It works fine with Skype.

Now I'd like to set it up to upload images periodically to my web server. The xawtv 'webcam' utility looks ideal. I created ~/.webcamrc as indicated in the man page. After some experimenting (ie, running "v4lctl list"), I found these two settings avoid a syntax error:

Code:
[...]
input = Camera 1
#norm = pal
[...]
but I still get an ugly error message:

Code:
$ webcam
reading config file: /home/krop/.webcamrc
video4linux webcam v1.5 - (c) 1998-2002 Gerd Knorr
grabber config:
  size 320x240 [16 bit YUV 4:2:2 (packed, YUYV)]
  input Camera 1, norm (null), jpeg quality 75
  rotate=0, top=0, left=0, bottom=240, right=320
write config [ftp]:
  local transfer ~/Desktop/uploading.jpeg => ~/Desktop/webcam.jpeg
ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=unknown): Invalid argument
capturing image failed
Anyone have any ideas what is going wrong here?

Alternately, does anyone know of a command-line utility which does work with uvcvideo devices like this Optia?

Thanks
 
Old 12-02-2008, 02:41 AM   #2
bapigoo9
Member
 
Registered: Aug 2008
Posts: 107

Rep: Reputation: 16
Try to see what cameras xawtv sees on your system with the command:

> xawtv -hwscan

This will give you a list of devices xawtv is aware of. The first device in the list will be the default device, which is used if no other device is specified in the command line. Then, if you see your device, try to use it with xawtv with the command line first to see if it works okay.
 
  


Reply

Tags
uvcvideo, webcam, xawtv


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
logitech webcam 5000pro and uvcvideo module kky Linux - Hardware 1 07-06-2007 12:36 PM
[SOLVED] trouble with Logitech webcam Ultra Vision using uvcvideo with VLC pisti Linux - Software 0 11-17-2006 01:49 AM
Using webcam in Xawtv Maverick1182 Linux - Software 1 10-19-2006 03:50 AM
Getting my webcam to work with xawtv orange400 Linux - Hardware 1 07-24-2006 07:09 AM
Aplux MU2-35 Webcam Fedora 2 Problem xawtv SpagettiMan Linux - Hardware 1 09-22-2004 09:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:18 AM.

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