"Media packager" script?

Skaven252 wrote on 10/8/2008, 4:22 AM
Hello,

I have multiple Vegas projects, many of which refer to the same media files (for example, one sound effect that is used in multiple projects). I need to deliver my Vegas projects for off-site production work, packaged with all the media used in them. Now.. if I load the projects one by one, then Save As.. with "copy media with project", I get the expected error message:

"Warning: An error occurred while saving the project file .
A file had to be renamed during the operation.

Media file xxxx.xxx was renamed to xxxx - 4.xxx to avoid destroying existing file."

... but the existing file is actually the very same file as the one being renamed, so I get multiple, redundant copies of the media files, which can get problematic if the source files are large.

I was wondering if anyone has made, or if it's even possible to create a script that would allow you to:

1) Add multiple Vegas projects to a list
2) Create a combined media pool for them
3) Save all projects to a specified folder
4) Save all their media to a specified folder under the project folder (without redundant duplicates)
5) Specify whether to copy *all* media, or just the *used* media
6) If there are embedded Vegas projects, would either render a single copy that is used, or ensure that all media used in the embedded project are also included

I presume that step 4) would require that Vegas could use relative paths to media. Will this be supported in a future version? (Or is it already supported?)

Thank you for taking time to read this message. :)

Comments

JohnnyRoy wrote on 10/8/2008, 8:11 PM
Why not save them all to separate folders with media and then manually copy all of the media into one big folder (which would eliminate any duplicates). Then open each project and when it complains that it can't find a file, navigate to the single folder and it should find all of the other "missing" files there also. Then save the project. In the end, all of the project will use the same media from the single folder.

The one problem is that Vegas will not copy the needed media for nested projects but Ultimate S Pro will. It has an Archive Nested Projects function that archives each nested project separately, and then swizzles the names in the media pool to point to the new media.

~jr