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: Custom export settings



On Friday, November 29, 2002, at 04:47  PM, Gary Flint wrote:

I'm looking at developing an Applescript that will take a source Quicktime
file and export several Quicktime versions of the movie using different
compression settings (FPS, quality, codec) for streaming. Applescript can
tell Quicktime Pro to export movies using the export presets already
included in Quicktime Pro, but I am wondering if it is possible to add
custom export presets?


-Rob

The answer to your question is yes, with some caveats. You can preserve any arbitrary export preset using the following process:


1) Open a movie representative of the kind you'd like to export
2) Choose "Export" from the "File" menu
3) Select the desired export kind from the "Export:" popup menu (Movie to QuickTime movie in this example)
4) Click the "Options..." button to specify your custom settings, then click OK
5) Note that the "Use:" popup menu now displays "Most Recent Settings"
6) Start the export by clicking on the "Save" button (if you don't start an export the "Most Recent Settings" won't stick)
7) Cancel the export if it is a long one
8) To double-check the export settings, select the "Export..." menu item again. The "Export:" popup in the export dialog should indicate the last export performed and the "Use:" popup should display "Most Recent Settings". Click on the "Options..." button to confirm that the settings are indeed what you desire (you can skip this step once you gain confidence that this process actually works).
9) Without closing the open movie, run the following AppleScript


tell app "QuickTime Player"
tell first movie
save export settings for QuickTime movie to file "My Volume:Export to Xyz Format"
end tell
end tell


10) Repeat steps 1 through 9 for each export variation. Be sure to provide meaningful names for the export settings files.

To perform the actual movie export, use something like the following:

tell app "QuickTime Player"
	tell first movie
		-- export various movie versions
		export to "My Volume:Movie Xyz" as QuickTime movie ,
			using settings alias "My Volume:Export to Xyz Format.set"
		export to "My Volume:Movie Xyy" as QuickTime movie ,
			using settings alias "My Volume:Export to Xyy Format.set"
		export to "My Volume:Movie Xzz" as QuickTime movie ,
			using settings alias "My Volume:Export to Xzz Format.set"
		-- etc.
	end tell
end tell

Keep in mind that there is only one "Most Recent Settings" for each export type so you may want to make note of your settings in case you want to go back and tweak them.

Thankyou, and I hope my ramblings make sense. :)

I think they made sense (and my answer is predicated on that assumption). That said, I think both your question and my answer will appear as senseless ramblings to the non-scripters on the list. ;-)



It actually made a lot of sense. If I use the first script to export those settings, is there any way to invoke the settings manually when exporting. it would be great to have a folder with all your "favorite" export settings and be able to quickly use them without the second batch script.


Jim Longo
_______________________________________________
quicktime-talk mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-talk
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Custom export settings (From: Gary Flint <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.