이 제어를 수정하면 이 페이지는 자동으로 업데이트됩니다.

터미널에서 Compressor에 작업 제출하기
터미널 셸에서 작업하는 데 익숙하다면 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’ 파일 찾기
~/Library/Application\ Support/Compressor/Presets에서 ‘Apple 기기 HD(사용자 설정)’ 프리셋 사용(‘\’ 문자는 ‘Application Support’ 폴더 이름에서 공백을 유지하는 데 사용됨)
출력 파일 ‘MyOutput.m4v’를 ~/Movies 폴더에 쓰기