• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Running a service
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running a service


  • Subject: Re: Running a service
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 25 Oct 2016 22:46:54 +1100

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.


-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>


 _______________________________________________
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

  • Follow-Ups:
    • Re: Running a service
      • From: Jeremy Roussak <email@hidden>
References: 
 >Running a service (From: Jeremy Roussak <email@hidden>)
 >Re: Running a service (From: Shane Stanley <email@hidden>)
 >Re: Running a service (From: Jeremy Roussak <email@hidden>)

  • Prev by Date: Re: Running a service
  • Next by Date: Audio file format conversion (was: Running a service)
  • Previous by thread: Re: Running a service
  • Next by thread: Re: Running a service
  • Index(es):
    • Date
    • Thread