Looking for help with combining audio to an image sequence in Compressor using command line. Then rendering a quicktime.
Here is what I have so far.
Thanks for any help
–Script to add job to batch using compressor
set jobPath to (choose folder default location “/raids” with prompt “Location of source files:”)
– folder path to source material to be converted
set fnlPathFolder to (choose folder default location “/raids” with prompt “Choose Destination of Render:”)
– choose folder to place final render
set compFileName to display dialog “Render Name:” default answer “” buttons {“OK”} default button 1
set stgPathFld to “MacintoshHD:Users:NAME:Documents:compressor_sets” --Replace this with path to your settings folder
set qtSettings to list folder stgPathFld
set usrSelectedSetting to (choose from list qtSettings with prompt “Which Setting for Project”)
–choose setting to use when running the job
set clusterList to {“This Computer”, “macpro-cluster”}
set clusterSlt to (choose from list clusterList with prompt “Which Cluster do you want to use?”)
if clusterSlt is “This Computer” then
set compressorCLIThis to "/Applications/Compressor.app/Contents/MacOS/Compressor -clustername " & “This Computer” & " " & "-batchname " & quoted form of text returned of compFileName & " -jobpath " & POSIX path of jobPath & " -settingpath " & POSIX path of stgPathFld & POSIX path of usrSelectedSetting & " -destinationpath " & POSIX path of fnlPathFolder & “/” & text returned of compFileName
set rnJobv1 to do shell script compressorCLIThis
else
set clusterID to “tcp://172.18.1.220:54527”
set compressorCLI to "/Applications/Compressor.app/Contents/MacOS/Compressor -clusterid " & clusterID & " " & "-batchname " & quoted form of text returned of compFileName & " -jobpath " & POSIX path of jobPath & " -settingpath " & POSIX path of stgPathFld & POSIX path of usrSelectedSetting & " -destinationpath " & POSIX path of fnlPathFolder & “/” & text returned of compFileName
set rnJobv2 to do shell script compressorCLI
end if
– pick which cluster to use in compressor