Closed Bug 928115 Opened 11 years ago Closed 11 years ago

Add support for higher fps modes for Pointgrey Flea3 1.3MP Mono USB 3.0 (VITA 1300)

Categories

(Testing Graveyard :: Eideticker, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: wlach)

Details

(Keywords: perf, Whiteboard: [c=automation p= s= u=])

Attachments

(3 files)

This bug is about adding support for that to our capture utility, as well as making whatever modifications are necessary to eideticker to support capturing/processing at such a higher frame rate.

I now have a pointgrey camera that supports more than 60fps, so that's cool. I can verify that it works with their "flycapture" utility. It appears this support needs to be explicitly programmed in via the "format7" video mode, as it is not a standard mode supported by the pointgrey SDK. This is certainly possible, but I'll need to fiddle with the SDK options a bit to get it to work.
Keywords: perf
Whiteboard: [c=automation p= s= u=]
So it turns out that we need to support format7 for this device to work at all. That bumps up the priority here a bit...
Mostly just fixing some nits as a lead up to more involved work.
Attachment #820602 - Flags: review?(dave.hunt)
This adds support for setting the framerate on the commandline, as well as basic support for the device. Basically just the prerequisites for getting this working before we add the higher fps support to eideticker itself.
Attachment #820603 - Flags: review?(dave.hunt)
Attachment #820602 - Flags: review?(dave.hunt) → review+
Comment on attachment 820603 [details] [diff] [review]
0002-Bug-928115-Support-Flea3-FL3-U3-13Y3M-variable-frame.patch

Review of attachment 820603 [details] [diff] [review]:
-----------------------------------------------------------------

I'm unable to test this at this time but the changes look good to me. One comment about setting FPS on the new camera, but r+ with/without a change there.

::: src/videocapture/videocapture/pointgrey/Capture.cpp
@@ +136,5 @@
> +      frameRateProp.type = FRAME_RATE;
> +      cam.GetProperty(&frameRateProp);
> +      frameRateProp.onOff = true;
> +      frameRateProp.autoManualMode = false;
> +      frameRateProp.valueA = fps;

Can this be any value? We only allow 60fps with the original camera, should we limit the possible values for the new camera?
Attachment #820603 - Flags: review?(dave.hunt) → review+
(In reply to Dave Hunt (:davehunt) from comment #4)
> Comment on attachment 820603 [details] [diff] [review]
> 0002-Bug-928115-Support-Flea3-FL3-U3-13Y3M-variable-frame.patch
> 
> Review of attachment 820603 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> I'm unable to test this at this time but the changes look good to me. One
> comment about setting FPS on the new camera, but r+ with/without a change
> there.
> 
> ::: src/videocapture/videocapture/pointgrey/Capture.cpp
> @@ +136,5 @@
> > +      frameRateProp.type = FRAME_RATE;
> > +      cam.GetProperty(&frameRateProp);
> > +      frameRateProp.onOff = true;
> > +      frameRateProp.autoManualMode = false;
> > +      frameRateProp.valueA = fps;
> 
> Can this be any value? We only allow 60fps with the original camera, should
> we limit the possible values for the new camera?

Yes, surprisingly enough this can be any value on this particular device. You can set it arbitrarily inside the flycapture utility.
(In reply to William Lachance (:wlach) from comment #5)
> (In reply to Dave Hunt (:davehunt) from comment #4)
> > Can this be any value? We only allow 60fps with the original camera, should
> > we limit the possible values for the new camera?
> 
> Yes, surprisingly enough this can be any value on this particular device.
> You can set it arbitrarily inside the flycapture utility.

Interesting, thanks.
Status: NEW → ASSIGNED
This actually enables us to get valid results with higher fps captures. Currently fps of greater than 100 doesn't work because of a limitation of either ffmpeg or the webm format. But it's a start.
Attachment #828175 - Flags: review?(dave.hunt)
Attachment #828175 - Flags: review?(dave.hunt) → review+
Will, do you plan to keep this open to resolve the > 100fps issue you mentioned in comment 8 or will you work through that in a separate bug?
Flags: needinfo?(wlachance)
Sorry, this should have been resolved. I filed a followup for the 100fps issue in bug 943139.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(wlachance)
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: