#10106 NORM 1.5-sof: Camera driver v4l2 caps only advertise 30fps
Zarro Boogs per Child
bugtracker at laptop.org
Wed Apr 7 17:17:01 EDT 2010
#10106: Camera driver v4l2 caps only advertise 30fps
---------------------------------+------------------------------------------
Reporter: cjb | Owner: corbet
Type: defect | Status: new
Priority: normal | Milestone: 1.5-software-update
Component: kernel | Version: not specified
Resolution: | Keywords:
Next_action: never set | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
---------------------------------+------------------------------------------
Comment(by corbet):
<goes and digs through the gstreamer source for a bit>
OK, it's using VIDIOC_ENUM_FRAMEINTERVALS. That was added in 2.6.21, and
somehow I missed it, so the driver doesn't implement it. As far as I can
tell, gstreamer reacts to the missing command by just assuming 30fps and
won't even try to change the rate.
I can add the ioctl() with no great trouble; will try to get it done by
tomorrow. I don't think I can quite do what's asked for here, though: the
frame rate is controlled by setting the ov7670 "clock divider" value;
essentially, you can tell it "use every Nth" clock tick. So I can get you
5, 10, 15, and 30fps, but I don't think that anything between 15 and 30 is
possible. Will look again to convince myself of that, though.
--
Ticket URL: <http://dev.laptop.org/ticket/10106#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list