Re: Compressor Settings
Re: Compressor Settings
- Subject: Re: Compressor Settings
- From: Darrin Cardani <email@hidden>
- Date: Wed, 14 May 2014 10:50:15 -0700
According to the Compressor team, the command line tool’s interface is documented via the -help option:
> cd /Applications/Compressor.app/Contents/MacOSUsage: Compressor [Cluster Info] [Batch Specific Info] [Optional Info] [Other Options]
>
> ./Compressor -help
>
> -computergroup <name> -- name of the Computer Group to use.
> --Batch Specific Info:--
> -batchname <name> -- name to be given to the batch.
> -priority <value> -- priority to be given to the batch. Possible values are: low, medium or high
> Job Info: Used when submitting individual source files. Following parameters are repeated to enter multiple job targets in a batch
> -jobpath <url> -- url to source file.
> -- In case of Image Sequence, URL should be a file URL pointing to directory with image sequence.
> -- Additional parameters may be specified to set frameRate (e.g. frameRate=29.97) and audio file (e.g. audio=/usr/me/myaudiofile.mov).
> -settingpath <url> -- url to settings file.
> -locationpath <url> -- url to location file.
> -info <xml> -- xml for job info.
> -scc <url> -- url to scc file for source
> -startoffset <hh:mm:ss;ff> -- time offset from beginning
> -in <hh:mm:ss;ff> -- in time
> -out <hh:mm:ss;ff> -- out time
> -annotations <path> -- path to file to import annotations from; a plist file or a Quicktime movie
> -chapters <path> -- path to file to import chapters from
>
So I think you can add “-settingpath <url>” to the command and get it to use any settings file you want. (You could put it in the /tmp directory, or have some presets in your app bundle, or whatever.)
Darrin
On May 14, 2014, at 4:19 AM, Robert Monaghan <email@hidden> wrote:
> Hi Everyone,
>
> I am adding the ability to send a job to Compressor 4, from within my application.
> One of the abilities I am working through, is to allow the user to select range of options for export.
> For instance, the user may want to export a scaled movie, rather than the actual size.
>
> I see that I would need to provide a settings file, in order to render a job. This is a “.cmprstring” file located somewhere in the users’s home directory.
> Can I provide this string dynamically via command line? Or, do I have to pre-generate a library of “.cmprstring” files, to include along with my application?
>
> Thanks!
>
> bob.
>
>
> Robert Monaghan
> Glue Tools LLC
>
> P.O.Box 24124
> Santa Barbara, CA, 93121
> United States
>
> tel: +1 805 456 7997
> fax: +1 805 456 7998
>
> www.gluetools.com
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Pro-apps-dev 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.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden