Save trimmed intermediate?

BrianStanding wrote on 10/7/2008, 6:36 AM
I've been pouring over the various scripts for Vegas, but I can't find something that can do this. I'd like to be able to do exactly what the Vegas "File | Save As | Save Trimmed Media with file feature does, except I'd like to replace M2T files on the timeline with TRIMMED Cineform digital intermediate files instead. This way, I could do a rough cut in M2T (keeping the relationship with the HDV files on tape), then export out just the digital intermediates I need (saving archive space) for final color correction, etc.

I thought about trying to write a meta-script that would "call" several existing scripts to automate this process. I can get most of the way there by using:
- Ed Troxel's "Extend Media" script (to add "handles" to media on the timeline)
- Excalibur's Gap/Overlap to eliminate all overlaps
- Excalibur to create regions at each event
- BatchRender GUI (JHM) to render out the trimmed intermediate files.

But then, I get stuck. I'd like to be able to swap out all the events on the timeline with the new intermediate files, and save as a new VEG, but I can't find a way to do this. I also thought about trying to work with Gilles "Proxy Stream" script, but I can't figure out how to save just the trimmed files, not the whole thing.

It seems like there should be a more elegant way to do this via scripting, but I'm a scripting moron. Any ideas?


Rosebud wrote on 10/7/2008, 8:57 AM
Maybe you can try this :
File | Save As | Save Trimmed Media
Use Proxy Stream to encode the new media to Cineform
Import Cineform files
Use Proxy Stream to switch m2t/Cineform
BrianStanding wrote on 10/7/2008, 10:41 AM
Hi, Gilles

Thanks for responding. Yes, I thought of that, but wouldn't that mean that you're transcoding from the original M2T file to a trimmed M2T file, and then to the digital intermediate? Wouldn't that extra step (untrimmed M2T to trimmed M2T) create generation loss with a lossy codec like MPEG-2? If so, I'd like to avoid that extra step and just go straight from the original m2t file to the Cineform codec.

If I'm wrong and those trimmed files don't re-encode, then your suggestion may be the way to go.
JohnnyRoy wrote on 10/7/2008, 12:40 PM
This is exactly what VASST GearShift does when using the Timeline option. You do a rough cut on the timeline and it creates trimmed Cineform intermediaries for you out of each event.

BrianStanding wrote on 10/7/2008, 8:51 PM
Thanks, Johnny. I had looked at Gearshift, but didn't realize it had a timeline option. I'll check it out.