Re: Capturing frames in 64-bits arch
Re: Capturing frames in 64-bits arch
- Subject: Re: Capturing frames in 64-bits arch
- From: douglas welton <email@hidden>
- Date: Mon, 26 Apr 2010 15:14:56 -0400
Did you try kCVPixelFormatType_48RGB?
On Apr 26, 2010, at 1:26 PM, Ignacio Enriquez wrote:
> Hi All.
>
> I am working with QTKit.framework and I want to make my application
> works in 64 also.
> but I am having some troubles when capturing frames in 64bits arch
> (from iSight).
> I asked the same question in Quicktime-API list but no luck, so, maybe
> here I can get some help ;)
> ( http://lists.apple.com/archives/quicktime-api/2010/Apr/msg00069.html )
>
> The error:
> 2010-04-18 03:18:51.608 QTCam[7689:c503] *** QTCaptureSession warning:
> Session received the following error while decompressing video: Error
> Domain=NSOSStatusErrorDomain Code=-12905 "The operation couldn’t be
> completed. (OSStatus error -12905.)". Make sure that the formats of
> all video outputs are properly configured.
>
> So, I suppose I have to change kCVPixelFormatType_24RGB from
> attributes, but 64RGB didn't not work also.
>
> mCaptureDecompressedOutput = [[QTCaptureDecompressedVideoOutput alloc] init];
> [mCaptureDecompressedOutput setPixelBufferAttributes:[NSDictionary
> dictionaryWithObjectsAndKeys:
> [NSNumber numberWithDouble:320.0], (id)kCVPixelBufferWidthKey,
> [NSNumber numberWithDouble:240.0], (id)kCVPixelBufferHeightKey,
> [NSNumber numberWithUnsignedInt:kCVPixelFormatType_24RGB],
> (id)kCVPixelBufferPixelFormatTypeKey, nil]];
>
> So I am stucked here.
>
> BTW:numberWithUnsignedInt:kCVPixelFormatType_24RGB works in 32 bits.
>
>
> Thanks in advance.
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden