-
Slow-motion Script
Posted by Tony Sarafoski on March 20, 2008 at 2:49 amIs there a FREE script that will add 50% Slow-mo to all my clips selected on the timeline?
Edward Troxel replied 18 years, 2 months ago 2 Members · 3 Replies -
3 Replies
-
Edward Troxel
March 20, 2008 at 3:26 amThis should do it:
//PlayBackRate.js
import Sony.Vegas;for (var currentTrack : Track in Vegas.Project.Tracks) {
if (currentTrack.IsVideo() == true) {
for (var currentEvent : VideoEvent in currentTrack.Events) {
if (currentEvent.Selected == true) {
currentEvent.PlayBackRate = .5;
}
}
}
} -
Tony Sarafoski
March 20, 2008 at 3:34 amEdward,
I get this error when I try applying?
C:\Program Files\Sony\Vegas 7.0\Script Menu\slow-mo 50js(8) : Objects of type ‘Sony.Vegas.VideoEvent’ do not have such a member
-
Edward Troxel
March 20, 2008 at 7:13 pmI didn’t bother to test it. Try this one (there’s a couple of little corrections):
//PlayBackRate.js
import Sony.Vegas;for (var currentTrack : Track in Vegas.Project.Tracks) {
if (currentTrack.IsVideo() == true) {
for (var currentEvent : TrackEvent in currentTrack.Events) {
if (currentEvent.Selected == true) {
currentEvent.PlaybackRate = .5;
}
}
}
}
Reply to this Discussion! Login or Sign Up
