• 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: Codec type from QTMovie/QTMedia/QTTrack
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Codec type from QTMovie/QTMedia/QTTrack


  • Subject: Re: Codec type from QTMovie/QTMedia/QTTrack
  • From: Edwin Vane <email@hidden>
  • Date: Sun, 7 Aug 2005 11:36:45 -0400
  • Mail-followup-to: email@hidden

You might have better luck with this question on the quicktime list.

>From my experience qith QT, I'm guessing what you're doing is the way to
do things using the C API. What makes me believe this is the general way
QT works:
-Find the component you need to use for your data
-Query the component about information

Having little experience with images, I can't say there is a better way
for images.

Here's a link you may find useful for QT api info:
http://developer.apple.com/documentation/QuickTime/APIREF/index.html

On Sun, Aug 07, 2005 at 11:59:16PM +1000, Braken wrote:
> I've been trawling through the QuickTime / Cocoa API and have been
> unsuccessful in finding a simple way to determine the codec type of
> separate tracks in QTMovie/QTTrack/QTMedia objects. I'm relatively new
> to programming on Macs, and have been pretty much confined to Cocoa and
> Objective-C, so finding/using the pure C functions which are the
> quicktime API is quite a tedious and time consuming task.
>
> The only way I've come across getting the codec descriptor is to get a
> MovieImportComponent using GetMovieImporterForDataRef(), then getting a
> ComponentDescription using GetComponentInfo() and then getting the
> componentSubType of the ComponentDescription structure.
>
> With images, that involved the extra step (after determining that it's
> an image because the subType seems to end up being grip) of using
> GetGraphicsImporterForDataRef() and GraphicsImportGetImageDescription()
> and then getting cType from the ImageDescription structure.
>
> What I'm wonder if there's a high level method for a QTTrack or QTMedia
> object for retrieving codec type, or a single function from the
> QuickTime API which I've just totally missed, or is going through and
> using 4 separate functions to get 4 bytes of information the only way?
>
> Ben
> email@hidden
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>

--

Edwin Vane
   MMath Candidate
   Computer Graphics Lab
   School of Computer Science
   University of Waterloo

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Codec type from QTMovie/QTMedia/QTTrack (From: Braken <email@hidden>)

  • Prev by Date: NSBrowser & Binding
  • Next by Date: Re: decoding arabic text broken
  • Previous by thread: Codec type from QTMovie/QTMedia/QTTrack
  • Next by thread: Re: Codec type from QTMovie/QTMedia/QTTrack
  • Index(es):
    • Date
    • Thread