Mailing Lists: Apple Mailing Lists

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

Re: QT Java export settings



On Jun 20, 2008, at 11:19 AM, Tom Fung wrote:

I am doing a java project to batch export some video files to quicktime mov format. Is it possible to define the video and audio compression settings in java program instead of using dialog?

Yes. Bring up the dialog on a development machine, do the settings the way you want, then do getExportSettingsFromAtomContainer to get an AtomContainer that you could then save to disk (just do getBytes()). When running it for the user, read the bytes, build an AtomContainer with them, and set the MovieExporter with setExportSettingsFromAtomContainer(). This will pre-set the export to the "canned" settings you saved, and you can either export with those settings, or bring up the dialog and let the user tweak them.


And is it possible to use "AAC" codec in QTJ? It is because I cannot find the AAC option in dialog the example "ImportExport.java".

If you're using the dialog, you should see AAC as an option when exporting to a QuickTime movie or MPEG-4 (in the sound sub-dialog or tab). If you needed to specify it programmatcally somewhere, perhaps as an OSType/4CC, Apple pretty consistently uses "aac " (note the trailing space) as a component identifier.


--Chris

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

This email sent to email@hidden
References: 
 >QT Java export settings (From: Tom Fung <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.