Activity › Forums › VEGAS Pro › Saving loop region as a project. Also – A script for trimming out points?
-
Saving loop region as a project. Also – A script for trimming out points?
Posted by Frank Manno on August 1, 2005 at 1:55 amIs it possible to highlight a region and save that out as a project?
I sometimes have the need to save small areas of my timeline as a project. I normally delete everything I don’t want and keep what I -Do- want and simply save it.
Would be easier if I could simply highlight what I want and save that instead.
Also, has anyone heard of a script that I can use to trim 1 second from every clip on the timeline?
Edward, does excalibur have a tool for this?
-Frankie
Edward Troxel replied 20 years, 9 months ago 4 Members · 12 Replies -
12 Replies
-
Chris Young
August 1, 2005 at 3:11 amFrankie ~
Put ‘markers’ at your exact in/out points then drag a ‘loop’ region across the timeline area between your markers and this will select all the clips within that loop. You can then ‘copy’ that loop region to another open instance of Vegas and ‘paste’ that selection. ‘Save as’ the new instance of Vegas as a new VEG project. Avoids all that deleting business.
Re the one second trim question I am not sure but Ed, Peter or one of the others would most likely know the answer to that one. Wouldn’t mind knowing myself!
Chris Young
CYV Productions
Sydney -
Gary Kleiner
August 1, 2005 at 3:43 amMake your time selection and hit Ctrl/T this deletes everything else. Do a Save As. Then undo to get the rest of the project back.
Gary
-
Edward Troxel
August 1, 2005 at 1:53 pmAre you talking one loop region or several? If you want several loop regions, the Extract Good Clips tool could be very useful.
As for trimming one second off the front an back of a clip, that would be a fairly simple script. I had one for Vegas 4 that would chop x frames off the front. It wouldn’t take much to modify to work in Vegas 5 and 6 and chop off the front AND back.
-
Frank Manno
August 2, 2005 at 1:24 pmHow/where would I get such a script? I wouldn’t have the faintest idea on where to start with that.
-Frankie
>As for trimming one second off the front an back of a clip, that would be a fairly simple script. I had >one for Vegas 4 that would chop x frames off the front. It wouldn’t take much to modify to work in Vegas >5 and 6 and chop off the front AND back.
-
Edward Troxel
August 2, 2005 at 1:32 pm -
Frank Manno
August 3, 2005 at 1:15 amThanks!
-Frankie
>It would have to be written. Not sure how much “free time” I’ll have today but will take a look if I get >a chance.
-
Edward Troxel
August 3, 2005 at 8:54 pm -
Frank Manno
August 4, 2005 at 12:36 amThanks heaps Edward! I got excited when I saw your post 🙂
Could you do a small change for me please? How would I get it to trim just the
end or just the start? More importantly just the end of the clip actually.And what would be an easy way to ‘close all the gaps’ left over between clips after running the
script?Again, thanks so much.
-Frankie
>This should work for you:
-
Edward Troxel
August 4, 2005 at 2:44 amIt’s all related to this section:
var dStart = evnt.Start + trimAmt;
var dLength = evnt.Length;//Get current take offset
var tke = evnt.ActiveTake;
var tkeoffset = tke.Offset;
tkeoffset = tkeoffset + trimAmt;
evnt.Start = dStart;
tke.Offset = tkeoffset;dLength = dLength – trimAmt – trimAmt;
evnt.Length = new Timecode(dLength);For example, if you ONLY want to adjust the front, replace the original above with:
var dStart = evnt.Start + trimAmt;
var dLength = evnt.Length;//Get current take offset
var tke = evnt.ActiveTake;
var tkeoffset = tke.Offset;
tkeoffset = tkeoffset + trimAmt;
evnt.Start = dStart;
tke.Offset = tkeoffset;dLength = dLength – trimAmt;
evnt.Length = new Timecode(dLength);Now if you ONLY want to trim the back, replace the original above with:
var dLength = evnt.Length;
dLength = dLength – trimAmt;
evnt.Length = new Timecode(dLength);
Reply to this Discussion! Login or Sign Up
