Compressor 4.0.2 image sequence import with audio using command line

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

What doesn’t work? What else have you tried? What error messages do you get?

Should have clarified. The script as is works fine. What I am trying to figure out is how to take a folder full of tiff images and an audio clip like a .wav file then export them combined as a quicktime. You can do this with image sequence import within the program on Compressor 4. I am just trying to do it through a script.

Thanks

I can’t try anything (at work) to confirm or deny this, but my suspicion is that to make a movie file, you’d need to use Quicktime/FinalCut/iMovie to “build” the video file. Compressor just encodes it, it can’t know how long to make a still frame from a file or when to cut in the audio.
Just my unverified opinion. I use FCP and Compressor to edit video/ encode DVD, but I don’t do anything “fancy”.
I know there may be some threads or code around here for having Quicktime Player/Pro build a movie from frames.

Chris

Thanks Chris,

I was coming to the same conclusion. Was hoping since the length of the picture file sequence was equal to the length of the wave file there was a way automate making quicktimes. One of the things that is an issue for me is having multiple users making movies with different settings. So just trying to find a way to stream line it and reduce errors just out of confusion. Have plenty of tools to combine elements but hog up resources to make a quicktime.

Again thank you