Change all the image sequence paths

DanLane wrote on 1/26/2011, 9:18 AM
Hi,

Does anybody know of a script which will change the paths of all the imported image sequences inside vegas?

I sometimes need to swap the imageSequences with updated images saved in another folder. I need to keep the original frames otherwise I would just overwrite them.

I am extremely new to sony vegas so not sure if this sort of option exists inside vegas already.

Any advice is extremely appreciated

Cheers

Dan

Comments

JohnnyRoy wrote on 1/26/2011, 4:03 PM
It's already built into Vegas.

If you rename the original folder, Vegas will prompt you to find the missing images when you open the project. Just point it to the new folder and it will read all the images in from that folder instead.

~jr
DanLane wrote on 1/27/2011, 1:31 AM
Hi Jr,

Thanks for the reply, Yeah i had been doing that but the sheer number of shots made it a real pain. I even tried renaming the folders to trick vegas into finding the other frames but vegas seemed to have a problem with that.

the frames sequences are held in their own folders, a typical path would be:

X:/EP_01/COMPS/SHOT_01
X:/EP_01/COMPS/SHOT_02
etc...

and it would be good to systematically change the paths to:

X:/EP_01/MOTIONBLURED/SHOT_01
X:/EP_01/MOTIONBLURED/SHOT_02

Basically swapping the "COMPS" portion of the path to "MOTIONBLURED".

Would this be an easy thing to do with scripting? I'm starting to look into how to script this, so any pointers would be great.

Cheers

Dan
DanLane wrote on 1/27/2011, 8:10 AM
Hmm, after having a look through the docs it seems I can get the
filepath but not set them through script.
JohnnyRoy wrote on 1/27/2011, 3:53 PM
> Hmm, after having a look through the docs it seems I can get the filepath but not set them through script.

Yea, the FilePath is immutable. What you have to do is actually replace the media with a new image sequence media object.

~jr