Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: M4A export with QTKit (or native QuickTime-API)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Hi Eberhard,

As you have noticed, QuickTime Player is much more flexible than an iPod in
what it plays.  The m4a file you are trying to create is an mp4 variant, not
an mov. Unless you have a way to build a reliable m4a file from scratch, I
believe the only straightforward way to do this at this time is using
Apple's Chapter Tool which is discussed here along with a download link:
http://www.apple.com/itunes/podcasts/faq.html

Perhaps this will be into QuickTime at some point as a particular kind of
export.  If it is already hiding in there somewhere, it would be great if
someone would document it.

-- Michael

On 6/26/06 4:24 AM, "Eberhard Rensch" <email@hidden> wrote:

> 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:
>
> This email sent to email@hidden


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

This email sent to email@hidden

References: 
 >M4A export with QTKit (or native QuickTime-API)? (From: Eberhard Rensch <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.