• 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: "Finlay Dobbie" <email@hidden>
  • Date: Fri, 1 Jun 2007 23:26:28 +0100

On 01/06/07, Steve Sheets <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.

I don't believe there is a similar function using UTIs in QuickTime yet. However, there has been functionality for determining if QuickTime can deal with a file for a long time through a specific API, see <http://developer.apple.com/documentation/QuickTime/WhatsNewQT5/QT5NewChapt1/chapter_1_section_31.html>

-- Finlay
_______________________________________________

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: About Technical Q&A QA1518 - Using UTIs to Identify Image Files - what about Video?
  • Next by Date: SIGTRAP in NSURLConnection
  • Previous by thread: About Technical Q&A QA1518 - Using UTIs to Identify Image Files - what about Video?
  • Next by thread: Re: About Technical Q&A QA1518 - Using UTIs to Identify Image Files - what about Video?
  • Index(es):
    • Date
    • Thread