• 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: QTKit from UNIX app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QTKit from UNIX app?


  • Subject: Re: QTKit from UNIX app?
  • From: Eric Wing <email@hidden>
  • Date: Sat, 09 Jun 2012 17:04:32 -0700

On 6/9/12, Todd Heberlein <email@hidden> wrote:
> Probably a naive question, but can I use QTKit (or is there a better
> library?) to capture images (or videos) inside a UNIX helper application?
>
>
> I've never tried using Cocoa (and related) objects outside a regular Cocoa
> application with a GUI, NSApplicationMain(), etc. Is this generally
> prohibited?
>
> Thanks,
>
> Todd
>

It is possible and reasonable to write command line tools with Cocoa
(use the Foundation framework). Foundation has no GUI components. I'm
not sure about QTKit though. It may have GUI components and may
presume things about having a standard runloop.

As I mentioned in the other thread, AVFoundation is probably the
better way forward than QTKit. However, I don't know if how it will do
in a command line app.

ImageIO can get you image capabilities without needing a GUI and I
know that will work.

-Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________

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

References: 
 >QTKit from UNIX app? (From: Todd Heberlein <email@hidden>)

  • Prev by Date: Re: QTKit from UNIX app?
  • Next by Date: WWDC registration on Sunday
  • Previous by thread: Re: QTKit from UNIX app?
  • Next by thread: Re: QTKit from UNIX app?
  • Index(es):
    • Date
    • Thread