Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US :: FAQ
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
SONY VEGAS:Sony Vegas TutorialsSony Vegas ForumArticlesBasics ForumBlack Magic Design ForumAJA Xena Forum

Slow-motion Script

COW Forums : Sony Vegas

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook
Tony SarafoskiSlow-motion Script
by on Mar 20, 2008 at 2:49:14 am

Is there a FREE script that will add 50% Slow-mo to all my clips selected on the timeline?



Return to posts index
Reply   Like  

Edward TroxelRe: Slow-motion Script
by on Mar 20, 2008 at 3:26:21 am

This 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;
}
}
}
}




Edward Troxel
JETDV Scripts


Return to posts index
Reply   Like  

Tony SarafoskiRe: Slow-motion Script
by on Mar 20, 2008 at 3:34:01 am

Edward,

I get this error when I try applying?

C:Program FilesSonyVegas 7.0Script Menuslow-mo 50js(8) : Objects of type 'Sony.Vegas.VideoEvent' do not have such a member




Return to posts index
Reply   Like  


Edward TroxelRe: Slow-motion Script
by on Mar 20, 2008 at 7:13:40 pm

I 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;
}
}
}
}


Edward Troxel
JETDV Scripts


Return to posts index
Reply   Like  

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook


FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2014 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]