• 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
Capturing frames in 64-bits arch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Capturing frames in 64-bits arch


  • Subject: Capturing frames in 64-bits arch
  • From: Ignacio Enriquez <email@hidden>
  • Date: Tue, 27 Apr 2010 02:26:42 +0900

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

  • Follow-Ups:
    • Re: Capturing frames in 64-bits arch
      • From: douglas welton <email@hidden>
  • Prev by Date: Re: Changing folder attributes
  • Next by Date: Re: [iPhone] File coping application
  • Previous by thread: Re: [iPhone] File coping application
  • Next by thread: Re: Capturing frames in 64-bits arch
  • Index(es):
    • Date
    • Thread