Re: Running a service
Re: Running a service
- Subject: Re: Running a service
- From: Jeremy Roussak <email@hidden>
- Date: Mon, 31 Oct 2016 09:24:12 +0000
Shane,
I have tried your code and it works a treat.
The only point of interest is that whether I use HighestQuality or AppleM4A, the resulting files are about half the size of those which result from the Service using iTunes Plus. It’s odd, but I think unimportant: my ears are no longer as acute as they were.
Thanks again.
Jeremy
On 25 Oct 2016, at 12:46, Shane Stanley < email@hidden> wrote:
On 25 Oct. 2016, at 9:20 pm, Jeremy Roussak < email@hidden> wrote:
where can I find the options for the export?
I believe you have to change the preset name and the outputFileType. What I posted is, I think, exporting lossless.
Try these changes:
set theSession to current application's AVAssetExportSession's exportSessionWithAsset:theAsset presetName:(current application's AVAssetExportPresetHighestQuality) theSession's setOutputFileType:(current application's AVFileTypeMPEG4)
I think that's iTunes Plus. The other presets are AVAssetExportPresetMediumQuality and AVAssetExportPresetLowQuality.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden