Re: [Linux-uvc-devel] Logitech QuickCam Pro 9000, unable to get more then 5 fps when live recording
Linux UVC driver and tools
Brought to you by:
pinchartl
From: Jelle de J. <jel...@po...> - 2009-03-14 23:03:15
|
I bought an other webcam today this time a QuickCam Orbit/Sphere AF but it has the exact same issues and also seem to be a bcdDevice 0.08 device /me cries (continuing saga day 6 ...) Paulo Assis schreef: > > > I did a lot more testing today (this is full day 5 already) and I found > some very disturbing discoveries! > > I can watch the webcam at width=320:height=240:fps=30 and have the > correct result. However when going over this resolution I will get only > 15 fps and i can max go to 640x480 resolution. > > Any idea why a tool as guvcviewer seems to output 800x600 and even > 1600x1200 but mplayer does not want go higher as 640x480 (it does go > lower) > > > I believe mplayer checks your hardware and sets resolution accordingly > (not sure about this though). I believe it checks the v4l fields see the (attached) v4l-info2.log could somebody run these commands on there good working >2MP webcam and sent the test to the mailinglist? > � > > > I upgraded to guvcview 1.0.2 and tested some more there is still the > issue that i get lower fps when recording. Could somebody test recording > 800x600 with 25fps and sound, if its really 25fps the sound will be > in sync. > > > In the case of guvcview you should check the resulting fps in the avi > header, use avidemux to check the avi properties. > Sound can become out of sync due to a bad microphone or if fps varies a > lot during capture, guvcview will write the average fps (total number of > frames / total time of capture) to the avi header. > The quality of video capture is very dependent on your hardware since > video processing requires a lot from ones system (processor, memory, > disk, ...), in your case and although the eeepc is a damn good machine > for it's size and price, I wouldn't consider it a prime candidate for > this type of usage. � > I did some testing with guvcview and my expectations where correct I tried to record a 800x600 stream with 25 fps. Result is complete out of sync audio and the fps was going up and down during recording (auto exposure was off) (result was a average of 13.833 fps) BTW its kind of cool to see that guvcview is using a direct interface to do the avi muxing (ID_CLIP_INFO_VALUE1) Please see the attached capture-10.log for all the info on the recording. Could somebody please do some testing with there device and see what the highest possible resolution is with 25fps on there system. I would really appreciate this. Please also test this with the mplayer command as I did. I have an atom 1,6 GHZ 1GB DDR ram eeepc that would be fast enough for there kinds of recording, and during recoding htop show the cpu load is very low around 20%. And bwm-ng also tells me the hard-disk throughput is about 14 MB/s so the hardware should not be a bottleneck here. But maybe can test this on there system and check there throughput values. Maybe an idea to also use mpeg4 for encoding, I tried to get named pipes to work with guvciewer to make ffmpeg take it as input but I could not get it to work. > > Also i tested the v4l2 fields of the webcam and there are a lot of > errors > and non working fields. Is the device really v4l2 compatible? Could > somebody check this out further? > > > Maybe you had some bad luck and bought the 2008 model, this camera has > some serious firmware issues causing all sorts of problems in linux, the > 2009 models according to logitech have these problems fixed: Yes i bought a 2008 model and today again a 2008 model from a store that usually have very very high resales and should have hat the latest version. What is the best 2MP+ webcam that works, are there any digital foto camaras or video camares that work with uvc, I don't and can't have any firewire interfaces (only usb) so IEEE 1394 is not an option. > http://forums.quickcamteam.net/showthread.php?tid=551 > > � > > > I also want to use the device on headless machines so no X. How can I > configure the device then so it does not use auto exposure...? > > > If you need a command line control application, you should consider > libwebcam: > > http://www.quickcamteam.net/software/libwebcam hmm this software is not in the debian repository (somebody feels like packaging it), but why cant i use standard v4l2 command line tools and mencoder and mplayer to get the job done in an universal way. > > � > > > I attacked all test reports I made that lead to my conclusions please > look at them. > > I can be contacted on chat.freenode.org <http://chat.freenode.org> > as /msg tuxcrafter > > Does somebody know a usb device that can be used for recording with v4l2 > capable tools at at-leased 25pfs and 800x600 some auto balancing and > focusing would be nice to. > > > If you need hardware autofocus, the best one I can remember is the > /QuickCam/ Vision Pro, but there is also the creative cam optia AF. > They are both UVC cameras so should do fine in linux. Isn't the QuickCam Vision Pro exactly the same device as the Pro 9000 except branded as special MACOS version? If i can find the creative cam optia AF i think i will buy it, any ideas for better webcams or digital camaras with usb interfaces? > � > > > Again please checkout the attachment. > > Thanks in advance for help. > > Jelle de Jong > > > Best regards, > Paulo Thanks, Best regards, Jelle de Jong |