v4l2


V4L2 frame rate maxes out at ~10FPS… why?


I know there area few questions that talk about this, but I am still stumped. I'm starting with code right out of linuxtv.org (https://linuxtv.org/downloads/v4l-dvb-apis/uapi/v4l/capture.c.html), and no matter what I do I can't get better than around 10FPS using a few different USB webcams. My host is a quad-core i5 machine (plenty of CPU), my pixelformat it MJPG (plenty of USB bus bandwidth), I have auto-exposure turned off (light should not effect capture time) and I've verified that the FrameInterval is configured for 30FPS. I can set the resolution to 1280x720 or 320x240 and I still get around 10FPS.
Anyone have a suggestion?

Related Links

V4L2 frame rate maxes out at ~10FPS… why?
Any known-to-work example in C using VIDIOC_S_CROP in V4L2?
Getting framesize in V4L2 with VIDIOC_ENUM_FRAMESIZES
A4Tech webcam and avconv (ffmpeg) captures same frame all the time
yavta cause kernel panic (ov5640 with DM3730)
V4L2 preview with callback instead of polling-loop
Function call ioctl with VIDIOC_QUERYCAP request doesn't return
V4L2 difference between JPEG and MJPEG pixel formats
v4l2-ctl not changing from default webcam
Where I can find example in using v4l2 codec driver
Timestamp for v4l2 image capture
Where does v4l2_buffer->timestamp value starts counting?

Categories

HOME
qemu
casting
liquibase
azure-database-mysql
spotfire
django-middleware
opc-ua
mailchimp
glympse
docker-compose
wavefront
angularjs-ng-repeat
jpql
ldap-query
ng2-charts
expo
github-flavored-markdown
tag-cloud
vivado-hls
ofbiz
views
scotty
udeploy
url-parameters
restructuredtext
mattermost
rvm
prepros
ps
aspxgridview
poisson
pypy
ds-5
delphi-2010
schedule
ios-autolayout
urhosharp
angularjs-resource
android-geofence
extern
mapquest
blueimp
usernotifications
colorbox
cakephp-3.2
azure-data-catalog
serverless-architecture
django-tables2
dcom
beanshell
runtime-permissions
cancan
androiddesignsupport
rmq
alarmmanager
xcode7.1
rowname
git-cherry-pick
db2-zos
database-administration
pyshark
jcalendar
calc
dcast
trendline
hana-sql-script
askbot
ewam
web-performance
dynamics-nav
gtkwave
random-sample
edgar
lytro
android-togglebutton
om
openhab
sparkcore
transparentproxy
radgrid
backtrace
clearcanvas
rpt
dateadd
hotlinking
nvcc
nativequery
ekevent
code-complete
azure-pack
removeall
gwt2
rbm
junit-rule
sup
mysql-connector
motorola-droid
helicontech
joomla1.7
yii-cactiverecord
execjs
service-layer
fxcopcmd
helios
data-formats
retrospectiva
ffdshow
html-help-workshop

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile