Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

M4A export with QTKit (or native QuickTime-API)?



Hi,

I've created an "enhanced AAC" structure in a QuickTime movie (wrapped into a QTMovie).
The movie contains 4 tracks (AAC track,chapter text track, URL text track and a JPEG track) and some id3 tags as annotations.


When writing this to disk (with [qtMovie writeToFile:...] with QTMovieFlatten flag set) I'll get a .mov file which works as expected in QuickTime Player (chapters, images ect.) but obviously is not usable with iTunes or an iPod.

In order to get a m4a file I suppose its necessary to export the QTMovie into the right file format (instead of flatten it to a .mov file).

I've tried to call:

NSDictionary* dict = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithBool:YES], QTMovieExport,
[NSNumber numberWithInt:kQTFileTypeMP4], QTMovieExportType,
nil];
BOOL success = [dstMovie writeToFile:dstFilePath withAttributes:dict];


With that I've got a mp4-file where the chapter track and id3 tags are gone and the URL-Text track and image track are mixed together to one unclickable image track.

Are there any settings (maybe with QTMovieExportSettings) that give me control over this? Or is there a way to do this task with old style Quicktime-API?

I've searched the list archives and developer documentation over and over again and couldn't find anything useful about this.

Anyone can help?

Thanks,

Eberhard
Pleasant software for the people


_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.