use a local copy of tthe prores profile, fixes #17

This commit is contained in:
Peter Körner 2017-08-05 14:34:21 +02:00
parent 64c9914627
commit 5043acf244
2 changed files with 52 additions and 2 deletions

View file

@ -116,10 +116,9 @@ def enqueue_job(event):
fp.write(xmlstr)
compressor_info = run_output(
'/Applications/Compressor.app/Contents/MacOS/Compressor -batchname {batchname} -jobpath {jobpath} -settingpath {home}/Library/Application\ Support/Compressor/Settings/Apple\ ProRes\ 4444.cmprstng -locationpath {locationpath}',
'/Applications/Compressor.app/Contents/MacOS/Compressor -batchname {batchname} -jobpath {jobpath} -settingpath apple-prores-4444.cmprstng -locationpath {locationpath}',
batchname=describe_event(event),
jobpath=work_doc,
home=os.getenv('HOME'),
locationpath=intermediate_clip)
match = re.search("<jobID ([A-Z0-9\-]+) ?\/>", compressor_info)