• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Capturing frames in 64-bits arch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Capturing frames in 64-bits arch
      • From: Ignacio Enriquez <email@hidden>
References: 
 >Capturing frames in 64-bits arch (From: Ignacio Enriquez <email@hidden>)

  • Prev by Date: Re: Creating temporary NSManagedObjects
  • Next by Date: Re: Creating temporary NSManagedObjects
  • Previous by thread: Capturing frames in 64-bits arch
  • Next by thread: Re: Capturing frames in 64-bits arch
  • Index(es):
    • Date
    • Thread