Re: Capturing frames in 64-bits arch
Re: Capturing frames in 64-bits arch
- Subject: Re: Capturing frames in 64-bits arch
- From: Ignacio Enriquez <email@hidden>
- Date: Tue, 27 Apr 2010 04:21:10 +0900
Yes I did. It didn't work.
I wonder what I am missing. maybe other additional setting?
On Tue, Apr 27, 2010 at 4:14 AM, douglas welton
<email@hidden> wrote:
> 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
>
>
--
________________________________
慶應義塾大学大学院 理工学研究科
開放環境科学専攻 斎藤英雄研究室
修士2年 Guillermo Ignacio Enriquez G.
e-mail : 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