From: Craig Allison <craig@(email surpressed)>
Subject: Re: Auto Rendering of QT's on jobcomplete
   Date: Tue, 02 Jun 2009 06:24:41 -0400
Msg# 1845
View Complete Thread (17 articles) | All Threads
Last Next
Ok, the retiming of the slate didn't work, Shake still insisted on rendering the slate/grey over and over again as it rendered the quicktime.

Have used to following to submit the two scripts from one submit:

my $submit = <<"EOF";
title        $in{JobTitle}
frames          1
command         perl $G::self -render $QT_script_to_render $in{Verbosity} $in{Retries} $in{RetryBehavior} $in{MaxLogSize} $in{PrintEnvironment} $in{Frames} $in{Production} $in{OutputQuicktime} $in{ShakeFlags} 
$submitoptions
EOF

my $submit2 = <<"EOF";
title        $in{JobTitle}
frames          1
command         perl $G::self -render $Slate_script_to_render $in{Verbosity} $in{Retries} $in{RetryBehavior} $in{MaxLogSize} $in{PrintEnvironment} $in{ShakeFlags} 
$submitoptions
EOF

 # ErrorWindow("$submit\n"); # DEBUGGING
    RushSubmit($submithost, $submit2, $in{JobTitle}, $in{StartIrush});
    exit(RushSubmit($submithost, $submit, $in{JobTitle}, $in{StartIrush}));



This works fine, only that when the second job starts, the log for $submit2 is overwritten as both jobs share the same directory, not such a problem, but may try to iron this out over the coming days.


As an aside does anyone know a quick way of always resetting to defaults for the QT render instead of Rush picking up the last settings every time? I assume it's a deletion of a certain local file, but maybe I could just reset certain fields which would work much better?  I can see that I'm going to run in to trouble with artists not choosing the correct production and frame range etc so would like to force them into a choice each time.  I will get them to start using "forms" too, I hadn't noticed that nice little feature until I was developing this, will come in useful for artists who are always working on the same shots.


C


Craig Allison

Digital Systems & Data Manager

The Senate Visual Effects

Twickenham Film Studios

St.Margarets

Twickenham

TW1 2AW


t: 0208 607 8866 

skype: craig_9000

www.senatevfx.com




On 27 May 2009, at 18:11, Victor DiMichina wrote:

You can try something like this,  suited to your needs of course.   Note the eval command (thanks go  to Greg again and again,  of course)

################################
#!/bin/csh -f
if ( ! $?RUSH_DIR ) setenv RUSH_DIR /usr/local/rush
source $RUSH_DIR/etc/.submit
eval `/usr/local/rush/bin/rush -submit` << EOF
title           (your title)
ram             1
frames          (your frame range)
logdir          (your log dir)
command        perl //server/raid/2D_Apps/RushSubmits/Applications/submit-shake.app/Contents/MacOS/submit-shake-autolog.pl -render 1 1 Fail  /server/raid/path/to/someshakeproject.shk  0 -v -proxyscale 1 -v
cpus            +farm=10@10
notes           (optional)
EOF
if ( $status ) exit 1
# (eval eats the setenv command, so we duplicate it here)
echo "setenv RUSH_JOBID $RUSH_JOBID"
echo $RUSH_JOBID > /tmp/curr_jobid.txt
# Job #2 -
/usr/local/rush/bin/rush -submit << EOF
title           (your 2nd title)
ram             1
frames          (frame range)
logdir          (your log dir)
command         (another command)
cpus            +farm=11@980
waitfor         $RUSH_JOBID
waitforstate    done
notes           (optional)
EOF
####################################################


HTH
Vic


On Wed, May 27, 2009 at 7:54 AM, Craig Allison <craig@(email surpressed)> wrote:
Ok, so I've finally got around to looking into this and have decided to change my original way of thinking and give the artists the opportunity to render a quicktime on the farm once they are happy with the results previewed in Framecycler.

I have taken the submit-shake-quicktime script and amended it to allow users to select which film they are working on, select the first frame in the sequence to render and dialogue for slate notes etc - the combination of all this information chooses the correct shake setup script on the network, replaces the variables, saves a copy and submits it to the farm.

The script renders a 2K slate & greyscale (named and numbered correctly) and also a QT with the appropriate settings for the production.  I have it working fine but now want to speed it up by splitting the job into two, i.e. one script to render the two 2k frames and one script to render the QT.

I've got rush creating the 2 distinct shake scripts to render, but don't know how to get 2 scripts to render with a single rush submit, is there an easy way?

Cheers

Craig

Craig Allison
Digital Systems & Data Manager
The Senate Visual Effects
Twickenham Film Studios
St.Margarets
Twickenham
TW1 2AW

t: 0208 607 8866 
skype: craig_9000



On 19 Dec 2008, at 09:20, Abraham Schneider wrote:

[posted to rush.general]

Greg Ercolano schrieb:
Sounds interesting, but unless they have a non-gui interface,
it's not something I think Rush can control properly.

yes, that's right. I'm doing it in two steps at the moment: rush=20
executes a jobdonecommand script which creates an entry with the path to =

the image sequence in a queue folder. A small python script on my QT=20
creation Mac is watching this folder and does the actual 'feeding' of=20
the Silverstack rendering app (called Cinemator).

That's not a perfect solution but it works quite well for us at the=20
moment. And with the template files it is easy to do different burnins,=20
codecs, framerates, etc. depending on project or user choose.

Abraham

--
Abraham Schneider
Senior VFX Compositor, 2 D Artist
ARRI Film & TV Services GmbH   Tuerkenstr. 89   D-80799 Muenchen / =
Germany
Phone +49 89 3809-1269     EMail aschneider@(email surpressed)
ARRI Film & TV Services GmbH
Sitz: M=FCnchen  -  Registergericht: Amtsgericht M=FCnchen  -  =
Handelsregisternummer: HRB 69396
Gesch=E4ftsf=FChrer: Franz Kraus; Thomas Till





--
Victor DiMichina
Pixel Magic
818.760.0862


Last Next