修改这个控件会自动更新这一页面

在“终端”中将作业提交到 Compressor
如果你习惯使用终端 shell 执行操作,则可以使用 Compressor 命令从命令行运行 Compressor
命令的所需参数的信息。有很多命令行选项可用于提交作业。
以下是提交作业进行转码的 Compressor 命令概要。尖括号 < > 表示命令中的必选自变量,方括号 [ ] 表示可选自变量。该 Compressor
命令位于“<PATH>/Compressor.app/Contents/MacOS”。
【重要事项】下面的命令必须在一行中执行。
Compressor [-computergroup <name>] [-batchname <name>]
[-priority <value>] -jobpath <file>[?frameRate=<frame rate>
|?audio=<file>|?frameRate=<frame rate>\&audio=<file>]
-settingpath <path> -locationpath <file>
[-info <xml>] [-scc <file>] [-startoffset <hh:mm:ss:ff>]
[-in <hh:mm:ss:ff> [-out <hh:mm:ss:ff> [-annotations <file>]
[-chapters <file>]
Compressor -checkstream <file>
Compressor -findletterbox <file>
Compressor -help
Compressor [-resetBackgroundProcessing [cancelJobs]]
[-sharing <on|off>] [[-requiresPassword <password>]
| [-noPassword]] [-instances <value>]
[-networkInterface <bsd name>] [-portRange <starting port>
<count>]
以下三个自变量是提交作业的最低要求:
Compressor ‑jobpath <path> ‑settingpath <path> ‑locationpath <path>
【重要事项】如果将图像序列用作源文件,则必须在 -jobpath 中使用路径的 URL。
以下是用于提交 Compressor 作业的代码示例:
/Applications/Compressor.app/Contents/MacOS/Compressor
-batchname "My First Batch" -jobpath ~/Movies/
MySource.mov -settingpath ~/Library/Application\
Support/Compressor/Settings/Apple\ Devices\ HD\ \
(Custom\).cmprstng -locationpath ~/Movies/MyOutput.m4v
此命令执行的功能:
识别 Compressor 的位置
给批处理指定名称“My First Batch”(使用引号的原因是名称中有空格)
为位于 ~/Movies 的作业找到文件“MySource.mov”
使用“Apple 设备 HD(自定义)”预置,位于“~/资源库/Application\ Support/Compressor/Presets”(“\”字符用于保留“Application Support”中的空格。)
将输出文件“MyOutput.m4v”写入 ~/Movies 文件夹