From: wei kin <kin2031@yahoo.com>
To: video4linux-list@redhat.com
Subject: Re: Unable to achieve 30fps using 'read()' in C
Date: Sat, 29 Nov 2008 00:27:16 -0800 (PST) [thread overview]
Message-ID: <368069.23199.qm@web39708.mail.mud.yahoo.com> (raw)
I installed qc-usb-0.6.6 and gspca-modules-2.6.18-5-xen-686 in my debian 2.6.18-5-xen. Below are what I got:
lsusb
Bus 004 Device 004: ID 046d:0920 Logitech, Inc. QuickCam Express
dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usb usb3: configuration #1 chosen from 1 choice
usb usb4: configuration #1 chosen from 1 choice
usb 4-1: new full speed USB device using uhci_hcd and address 2
usb 4-1: configuration #1 chosen from 1 choice
usb usb5: configuration #1 chosen from 1 choice
sda:<6>usb 4-1: USB disconnect, address 2
usb 4-1: new full speed USB device using uhci_hcd and address 3
usb 4-1: configuration #1 chosen from 1 choice
usbcore: registered new driver gspca
usb 4-1: USB disconnect, address 3
usb 4-1: new full speed USB device using uhci_hcd and address 4
usb 4-1: configuration #1 chosen from 1 choice
dmesg | grep Logitech
input: ImPS/2 Logitech Wheel Mouse as /class/input/input2
I did try out the API example in http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/spec/a16706.htm. However, I get error message stated that '/dev/video0 is no V4L2 device'.
Do anyone have any idea?
Thanks,
Rgds
nik2031
On Fri, Nov 28, 2008 at 3:02 AM, wei kin <kin2031@yahoo.com> wrote:
>
Hi all, I am new in v4l programming. What I did in my code is I used
'read( )' in C programming to read images from my Logitech Quickcam
Express. My problem is I can't get 30frames per second, what I got is
just 5fps when I loop and read for 200times. Do anyone know why is it
under performance? Thanks
>
> Rgds,
> nik2031
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next reply other threads:[~2008-11-29 8:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-29 8:27 wei kin [this message]
2008-11-29 8:47 ` Unable to achieve 30fps using 'read()' in C Jean-Francois Moine
-- strict thread matches above, loose matches on Subject: below --
2008-11-30 5:26 wei kin
2008-11-30 8:58 ` Nicolas
2008-11-28 8:02 wei kin
2008-11-28 13:02 ` Jonathan Lafontaine
2008-11-28 15:33 ` Jackson Yee
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=368069.23199.qm@web39708.mail.mud.yahoo.com \
--to=kin2031@yahoo.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.