• 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: About Technical Q&A QA1518 - Using UTIs to Identify Image Files - what about Video?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About Technical Q&A QA1518 - Using UTIs to Identify Image Files - what about Video?


  • Subject: Re: About Technical Q&A QA1518 - Using UTIs to Identify Image Files - what about Video?
  • From: "Douglas A. Welton" <email@hidden>
  • Date: Sat, 02 Jun 2007 08:52:02 -0400

Steve,

Check out the QTMovie methods +movieFileTypes: and
+movieUnfilteredFileTypes:.  Each returns an array of "file" types that can
be used to initialize a QTMovie object.  Also, check out the +canInitWith...
methods they may be useful to you as well.

later,

douglas

on 6/1/07 5:57 PM, Steve Sheets at email@hidden wrote:

> Apple's recently released Technical Q&A 1518 uses UTIs to identify
> Image files. Given a path to a file, the routine show returns true if
> the file is an Image file. It actually uses the
> CGImageSourceCopyTypeIdentifiers: call to find a list of UTIs for the
> images files Quartz supports.
>
> What about videos?
>
> I need to be able to do exactly the same thing for the various file
> formats that Quicktime supports. (ex .mov & .mpg file types). I can
> not find a similar call in Quicktime to provide the UTIs for
> Quicktime compatible files.
>
> Does anyone have better suggestion? I do not want to have to try to
> open the file, to determine if it is a video.
>
> Thank you
>
> Steve
> _

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >About Technical Q&A QA1518 - Using UTIs to Identify Image Files - what about Video? (From: Steve Sheets <email@hidden>)

  • Prev by Date: Secure Virtual Ram Detection
  • Next by Date: Re: SIGTRAP in NSURLConnection
  • Previous by thread: Re: About Technical Q&A QA1518 - Using UTIs to Identify Image Files - what about Video?
  • Next by thread: SIGTRAP in NSURLConnection
  • Index(es):
    • Date
    • Thread