From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: Colin Brace <cb@lim.nl>
Cc: video4linux-list@redhat.com
Subject: Re: xawtv 'webcam' & uvcvideo webcam: ioctl error
Date: Mon, 03 Nov 2008 20:02:19 +0100 [thread overview]
Message-ID: <490F4ABB.1050608@hhs.nl> (raw)
In-Reply-To: <490F2730.9090703@lim.nl>
Colin Brace wrote:
> Hi all,
>
> I am trying to get the 'webcam' utility of xwatv working with my uvcvide
> webcam, a Creative Optia. My Fedora 9 system recognizes the webcam fine;
> here is the dmesg line:
>
> uvcvideo: Found UVC 1.00 device Live! Cam Optia (041e:4057)
>
> The webcam works with apps like Skype.
>
> I'd like to configure it to upload images periodically to my website
> using the xawtv 'webcam' utility. I create ~/.webcamrc as indicated in
> the man page, but when I run it, it return an error message:
>
> $ webcam
> reading config file: /home/colin/.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
>
> Any ideas what is going wrong here?
I think I do, xawtv contains a few v4l2 handling bugs. This patch fixes them
and most likely fixes your issue:
http://cvs.fedoraproject.org/viewvc/devel/xawtv/xawtv-3.95-fixes.patch?revision=1.1
Regards,
Hans
>
> TIA
>
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next prev parent reply other threads:[~2008-11-03 18:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-03 16:30 xawtv 'webcam' & uvcvideo webcam: ioctl error Colin Brace
2008-11-03 19:02 ` Hans de Goede [this message]
2008-11-03 21:00 ` [patch] " Colin Brace
2008-11-04 8:25 ` Hans de Goede
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=490F4ABB.1050608@hhs.nl \
--to=j.w.r.degoede@hhs.nl \
--cc=cb@lim.nl \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox