• 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: Album art from Mp3, AAC via QTKit question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Album art from Mp3, AAC via QTKit question


  • Subject: Re: Album art from Mp3, AAC via QTKit question
  • From: Kay Roepke <email@hidden>
  • Date: Sun, 29 Jan 2006 16:12:28 +0100


On 29. Jan 2006, at 8:03 Uhr, Jerry Brace wrote:

 // get value
 char valueBuf[valueSize];
 QTMetaDataGetItemValue (movieMetaData,
                                item,
                                &valueBuf,
                                valueSize,
                                NULL);

Note that this code will produce a warning, because of passing a char* where a QTPropertyValuePtr is expected.
I'd do:
QTPropertyValuePtr valueBuf;
valueBuf = malloc(valueSize);


QTMetaDataGetItemValue (movieMetaData,
                               item,
                               valueBuf,
                               valueSize,
                               NULL);

Right now it does nothing. Does anyone have any experience doing this kind of thing?

In my work with it, I often encountered crashes (even with the Apple sample code) when trying to open AAC files which
came from the iTMS. I cannot really say where that came from.
Also, the choice of the correct storage format and key format can be tricky. You should also take into consideration
the encoding of the data. This info is all pretty evenly distributed over the entire QT API docs, unfortunately.
Have you tried to iterate over each and every metadataitem to see if the file really contains the information you want
to get at?
You should also take a look at the relevant Apple sample code. It's over at http://developer.apple.com/samplecode/QTMetaData/QTMetaData.html


HTH,

Kay
_______________________________________________
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: 
 >Album art from Mp3, AAC via QTKit question (From: Jerry Brace <email@hidden>)

  • Prev by Date: -[NSAttributedString initWithPasteboard:...] vs. Dictionary
  • Next by Date: Re: Enabling Standard AppleScript Support with Cocoa App
  • Previous by thread: Album art from Mp3, AAC via QTKit question
  • Next by thread: Modifying HTML Content of a WebFrame
  • Index(es):
    • Date
    • Thread