• 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: Property synthesis trouble - 32 vs 64 bit builds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Property synthesis trouble - 32 vs 64 bit builds


  • Subject: Re: Property synthesis trouble - 32 vs 64 bit builds
  • From: Graham Cox <email@hidden>
  • Date: Wed, 06 Jul 2016 09:55:13 +1000

> On 6 Jul 2016, at 7:10 AM, Jonathan Taylor <email@hidden> wrote:
>
> Quicktime. My code has been 32-bit only since I first wrote it, because I make use of the APIs in QuickTime/ImageCompression.h for encoding movies.


Not really quite on-topic, but if you are having to switch to a whole new API, a possible alternative is to use ffmpeg. You can just embed the binary in your app and wrap it in a NSTask. I just did this for a very specific video encoding requirement I had and it was (in my case) a far simpler exercise than learning the necessary AVFoundation API. I had it working in about an hour as opposed to probably several days, and most of that hour was figuring out how to correctly pass command line parameters to NSTask.

It might seem sagreligious to some not to use a native API if one is available, but OTOH, sometimes the best tools are the ones to hand.

—Graham



_______________________________________________

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: 
 >Property synthesis trouble - 32 vs 64 bit builds (From: Jonathan Taylor <email@hidden>)
 >Re: Property synthesis trouble - 32 vs 64 bit builds (From: Jens Alfke <email@hidden>)
 >Re: Property synthesis trouble - 32 vs 64 bit builds (From: Greg Parker <email@hidden>)
 >Re: Property synthesis trouble - 32 vs 64 bit builds (From: Jonathan Taylor <email@hidden>)

  • Prev by Date: Re: Prioritize my own app's disk access
  • Next by Date: Re: Prioritize my own app's disk access
  • Previous by thread: Re: Property synthesis trouble - 32 vs 64 bit builds
  • Next by thread: Re: Property synthesis trouble - 32 vs 64 bit builds
  • Index(es):
    • Date
    • Thread