Menu

#252 QTKit's QTCaptureDecompressedVideoOutput buggy

open
nobody
None
5
2009-07-29
2009-07-29
Anonymous
No

I implemented a QTKit capture app, based upon the apple example. It works fine with iSight. The live video works fine with macam too (EyeToy and QuickCam Express). However when I add a QTCaptureDecompressedVideoOutput to the session to capture a still frame the CVImageBufferRef is corrupt when it's converted to a CIImage. It looks as if the CVImageBuffer is getting filled in with 24 bit data when it needs 32 (the scan line is about 1/4 short, but the image is recognsable-ish).

It could be a bug in my code, but I've tested with iSight and a DV Camcorder and they're fine, while the two macam camera both fail identically.

Has anyone else tried macam with QTKit Capture?

If you need more info or code you can contact me at ian at dctsystems dot co dot uk.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB