Reconnect Footage

Hi,

in shake it seams i have to relink footage manually . in after effects it is possible to add one new path for one footage. after effects will finde all other footage automaticly. is this also possible in shake?

thanks in advance!

Edit the .shk file in a text editor and do a search and replace.

QUOTE(beaker @ 09/19/05, 06:38 PM)
Edit the .shk file in a text editor and do a search and replace.
[snapback]215165[/snapback]

whuuu, ok sounds logical. but is there no automatication to do that. when adobe have applied this feature....and i mean adobe after effects. you know why shake can

QUOTE(@comp @ 09/20/05, 06:16 PM)
whuuu, ok sounds logical. but is there no automatication to do that.

Itsa idoelogical difference and design filosofical difference between ae and shake. Se shake GUI is basicaly a shake scriptp generator, think of shae like programming language even.

NOW becaus shake is supposed to be a command line tool (the gui is just so you can easily and graphicaly build your script, ultimately you will launch it form comandline). Now theres realy no big deal to run a regexp piror to rendering it. it faals into the unix category of thinsg why redesign a tool we allready have.

That is the code generator does not include a code generator in itslef.

But yeah shake can do thiskind of relocation you just should have tought of that before you started doing the script. Se theres realy no macro eingene inside the macro designer, wich is the only thing shake could have a command language for building those neworks thet can analyze and alter the exisiting script.

But yeah shake can do thiskind of relocation you just should have tought of that before you started doing the script.

nice, and what when i have 20 shake scripts. my raid sucks and i got a new one. other projects are on the raid. so i cant rename the raid. what now?! copy, paste the new link in texteditor? whooo. funny

you runa search and replace on all those 20 scripts via comndline. whats so hard in this? After all teh scripts are just text. AEs problem is that you cant realy so easily go in and poke into the comps because they are binary!

Its not liek theres anything superiorly manual about this? its just 1 line of shell command! pwrhaps a 20 but its prettymuch 1 minute of work. fa 1000 scripts would still only be 1 minute of work

oh what os aree you on? Mac (well atleast for most linux users this would be selfevident)? But for the sake of argument let us usppose yor sytem has perl isntalled (most nix and mac flawours should by default) then all youd need to do is type:

perl -i.bak -pe"s'//path/to/chnage'//path/to/changeto'g" file1 file2 file3 file4 *.shk ...

this wuld search all the lines on all files and search for the pattern //path/to/chnage to the pattern //path/to/changeto

note you can list individual files or use globs like *.shk wich would take all files ending .shk and change them.

Now it wasnt so painfull was it? Now witha few more lines you can easily make even more complex substitutions such as based on name of the file in question etc etc. (or even do web wide sarch for each footage file name and assign the atching o e whatever the path may be)

Also it makes bakups of the originals!!! now the real quetion is do we realy need such a feature? well could be nice i suppose but...

your suggestions sounds good. but im not familar with linux commands. ok, thats my fault sure.

but it sound also complex to relink footage.

lets say i have 15 FI nodes. and 40 shake scripts.

so i have to relink 600 files.
when i have to type here:

perl -i.bak -pe"s'//path/to/chnage'//path/to/changeto'g" file1 file2 file3 file4 *.shk ...

all old and new paths. i could be a nice job for a monkey

im sure there is a nice way in terminal so say one path and add this (and change) this with one command. but, like i sas, im not familar with command lines, like terminal in OS X.

but you

OsX is as close to *nix as possible in this sense.

QUOTE(@comp @ 09/21/05, 11:38 AM)
im sure there is a nice way in terminal so say one path and add this (and change) this with one command. but, like i sas, im not familar with command lines, like terminal in OS X.
[snapback]215288[/snapback]

well what you sould have done is define a variable thet acts a s the root of your path+ the filename so if you now would go and need change youd only change that one variable. But like saisd ist a bit too late now youd still need to replace the text.

And yes that perscript should work on your mac too (test?). Its time to learn commandlines! youll be glad you did, in the end it will save you 25% of the most boring things about your work.

But doing find and replace in text editor on 40 files takes less time that you took to take this discussion!?!

I mean all production graphic artist are going to hit the fan eventualy, so they all need to learn rudimentary commandlines , scripting and automation. Its just that instead of doing so they seem to try to delude themseves that tehy are artists. While in the truuth most of us are just workhorses, with artistic talent on top.

Se the thing is none of the progs will do EVERYTHING YOU WANT, all the time... so instead of giving up its good to have a headstart.

an easy and quick workaround for people how dont

but that brings us bacvk to te first suggestion on th thread.

Learn commandlines! shakei is abourtt commandlines! shake shoudl eb used thru commandlines even becaus eshale renders much fastr trough the commandline than trough the gui!

Editing .shk files in Text Edit on the mac is easy. If you have such complex directory structures that this is a hassle, then it will be pretty much as painful reconnecting your footage in after effects.

My advice would be to look at how you are organising your files and work out a way that means you can move your work around without too much trouble. If your raid dies, you should only have one word (the volume name) to change. You should be able to redirect 50 scripts in 5 minutes if your raid changes names.

And the motion blur in shake doesn't suck. Give me quality over idiot proofing any day.

that what i mean. sure, you can work more powerfull when you understand and have the know how with command lines.
but in my case, i have not much time and i have just to rename one word in my shake files to relink the footage.

about the depthblur. i came from after effects. and there i have never had, a real depth blur, mean Z Channel. just a rgb depth channel. worked also fine.

but, GUYS, thanks for your suggestions, criticis and support.

regards
alexander

If your running 10.4, a search an replace on hundreds of files is pretty easy with automator. Actually even before 10.4, you could just record the action into a applescript(no scripting needed, just hit the record button).