Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Webcam "capped" at 4.5fps?

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
33 posts
  • Previous
  • 1
  • 2
Author
Message
suicidal_orange_II
Apprentice
Apprentice
Posts: 299
Joined: Sat Sep 04, 2004 11:39 am

  • Quote

Post by suicidal_orange_II » Thu Sep 16, 2010 9:08 pm

Oh yeah, that would be more useful :oops: There are plenty of them!

Code: Select all

media-video/mplayer-1.0_rc4_p20091026-r1  USE="X a52 aac alsa ass cddb cdio dga dirac dts dv dvd dvdnav enca encode faac faad iconv ipv6 live mmx mmxext mp3 network opengl osdmenu quicktime rar real rtc schroedinger sdl shm speex sse sse2 ssse3 theora toolame tremor truetype twolame unicode v4l2 vorbis x264 xscreensaver xv xvid -3dnow -3dnowext -aalib (-altivec) -amr -bidi -bindist -bl -bs2b -cdparanoia -cpudetection -custom-cpuopts -debug -directfb -doc -dvb -dxr3 -esd -fbcon -ftp -ggi -gif -gmplayer -jack -joystick -jpeg -ladspa -libcaca -lirc -lzo -mad -md5sum -mng -nas -nut -openal -oss -png -pnm -pulseaudio -pvr -radio -samba (-svga) -teletext -tga -v4l -vdpau (-vidix) (-win32codecs) -xanim -xinerama -xvmc -zoran" VIDEO_CARDS="nvidia -mga -s3virge -tdfx"
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Thu Sep 16, 2010 9:21 pm

suicidal_orange_II,

That looks good. How hard is mplayer hiting your CPUs. Run the cam stream and look at the CPU use in top.
Press the number 1 key and look at all CPUs separately.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
suicidal_orange_II
Apprentice
Apprentice
Posts: 299
Joined: Sat Sep 04, 2004 11:39 am

  • Quote

Post by suicidal_orange_II » Thu Sep 16, 2010 9:54 pm

Not sure where I should be looking on the 4 cpu list - the %us's peak up to around 50 (when added together, the highest one peaks at 25) with the stream running compared to around 20 without (with a single peak of around 10). It flicks between 0.5 and 2% cpu on the main table? That was at 1280x720 (thought I'd at least give it a challenge!)
Top
iss
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 134
Joined: Mon Oct 30, 2006 8:36 am
Location: Poland/Bydgoszcz
Contact:
Contact iss
Website

  • Quote

Post by iss » Fri Sep 17, 2010 11:19 am

In the first post you said it behaves the same on windows and on linux - maybe the webcam is broken?

BTW you can also try to test it with ubuntu live cd.
Top
suicidal_orange_II
Apprentice
Apprentice
Posts: 299
Joined: Sat Sep 04, 2004 11:39 am

  • Quote

Post by suicidal_orange_II » Wed Sep 22, 2010 6:56 pm

As an interesting sidenote forcing 20fps in guvcview gives me 9.5fps all the way up to 1280x720, but all the other options output 4.5 regardless of resolution.

Does this say anything? If I had a CD drive I'd try ubuntu, but it's dead :(
Top
iss
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 134
Joined: Mon Oct 30, 2006 8:36 am
Location: Poland/Bydgoszcz
Contact:
Contact iss
Website

  • Quote

Post by iss » Thu Sep 23, 2010 10:37 am

You can make bootable USB key with sys-boot/unetbootin.
Top
mimic
n00b
n00b
Posts: 2
Joined: Sun Oct 03, 2010 4:23 pm

  • Quote

Post by mimic » Sun Oct 03, 2010 4:55 pm

Could you send output of

Code: Select all

uvcdynctrl -f
or

Code: Select all

luvcview -L
for you webcam, to see what driver sees as available resolutions/framerates? Creative Cam Socialize HD?

Maybe the problem is in exposure being too long so FPS cannot be higher. Try lowering exposure. For example with:

Code: Select all

uvcdynctrl -s "Exposure, Auto" 3
uvcdynctrl -s "Exposure, Auto Priority" 0
Top
mimic
n00b
n00b
Posts: 2
Joined: Sun Oct 03, 2010 4:23 pm

  • Quote

Post by mimic » Sun Oct 03, 2010 4:59 pm

You could use also V4L capture example to see raw capture speed without any postprocessing. For everyframe just a dot is displayed.
Top
Post Reply

33 posts
  • Previous
  • 1
  • 2

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic