You are not logged in.
I'm using a LifeCam Pro, capturing data in MJPEG format using Video4Linux2.
I make sure to triple buffer the capture buffers, and run the capture thread at real time priority. I also decode and display in another thread.
However, I usually only get 15 fps, and sometimes only 7.5 fps. I make sure to configure 1/30 frame time, and the driver days that's what it's set at.
The resolution I configure doesn't matter -- the size of capture changes, but not the rate. The port I plug into does matter -- my USB3 ports always give 7.5 fps; the USB2 ports often but not always 15.
Also, occasionally, the capture will get 1 frame, then lock up. Quitting the app doesn't un-wedge it, I have to kill it (or ctrl-\; ctrl-C isn't sufficient)
The motherboard is a miniitx P67 from Asus with a core i2500 CPU, running very recent pacman -Syu from base, extras and community, using intel graphics and LXDE.
I'm using my own software, but this feels a lot like a driver or hardware problem. There are always at least 2 buffers enqueued on the driver, so it's not underflowing. (I cranked it up to 5 with no change.)
Any idea about what could be going wrong? Other things I could be doing to test 30 fps MJPEG?
Offline