Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro Removing Sharpen FX From Multiple Clips

  • Removing Sharpen FX From Multiple Clips

    Posted by Mark Prebonich on May 9, 2011 at 1:45 am

    When I rendered out a hockey game shot in HD to SD I added sharpen FX light. It worked quite well. I then later decided that I also wanted to render it out in HD as well to place on my computer for later viewing. It was quite easy to add the FX to multiple clips by just selecting them and dragging the FX down onto the first clip. I am not sure how to delete the FX from multiple clips simultaneously. How is this done? Thanks.

    -Mark

    Pyry Nevala replied 10 years, 1 month ago 6 Members · 8 Replies
  • 8 Replies
  • John Rofrano

    May 9, 2011 at 2:34 am

    Without a script like Ultimate S Pro or Excalibur, you have to do it one event at a time. 🙁

    ~jr

    http://www.johnrofrano.com
    http://www.vasst.com

  • Mark Prebonich

    May 9, 2011 at 2:48 am

    Thanks for the prompt reply John. This forum is, as always, great. It looks like it may be time for me to look into some other tools. I’ll take a look at the two you mentioned.

    -Mark

  • Mike Kujbida

    May 9, 2011 at 1:19 pm

    Mark, I dug through my script collection and found the following one that should work for you.
    Thanks to Edward Troxel for making it available.

    Copy everything below, paste it into Notepad, save it as RemoveAllEffects.js, copy it into your script menu folder and you should be good to go.
    You will need to select which events it’s to be applied to.
    I just tried it in Pro10.0d and it works for me.

    /**
    * This script will remove all effects from selected events
    *
    * To use, simply select the events on which effects are to be eliminated.
    *
    * Written By: Edward Troxel
    * https://www.jetdv.com/tts
    * Modified: 07-23-2003
    **/

    import System;
    import System.Collections;
    import System.Text;
    import System.IO;
    import System.Drawing;
    import System.Windows.Forms;
    import Sony.Vegas;

    try {

    var trackEnum = new Enumerator(Vegas.Project.Tracks);
    while (!trackEnum.atEnd()) {
    var track : Track = Track(trackEnum.item());

    //Go through the list of Events
    var eventEnum = new Enumerator(track.Events);
    while (!eventEnum.atEnd()) {
    var evnt : TrackEvent = TrackEvent(eventEnum.item());

    if (evnt.Selected & evnt.IsVideo()) {
    var videoEvent = VideoEvent(evnt);
    var i;
    for (i=videoEvent.Effects.Count – 1; i >= 0; i–) {
    var effect = videoEvent.Effects[i];
    videoEvent.Effects.Remove(effect);
    }
    }

    eventEnum.moveNext();
    }

    trackEnum.moveNext();
    }

    } catch (e) {
    MessageBox.Show(e);
    }

  • John Rofrano

    May 9, 2011 at 7:10 pm

    It’s important to note that the script that Mike posted will remove ALL FX from the selected events not just Sharpen FX. So any other FX will be lost. Ultimate S Pro will only remove the FX to tell it to.

    ~jr

    http://www.johnrofrano.com
    http://www.vasst.com

  • Mike Kujbida

    May 9, 2011 at 7:21 pm

    John, I neglected to mention that detail so thanks for the reminder.

  • Graham Bernard

    May 10, 2011 at 6:32 am

    How about making a Preset Chain of what you want, and then, from Plugin Manager, drag/apply that to a selection of Events? It would knock out the previous chain. Wouldn’t that do it?

    Grazie

  • Stephen Crye

    May 30, 2011 at 7:02 pm

    HI;

    I’m trying to get this script to remove all audio FX. I tried changing the instances of Video (or video) in the script to Audio (or audio) but it fails with this error:

    C:Program FilesSonyVegas Pro 10.0Script MenuRemoveAllEffects.js(33) : Variable ‘audioEvent’ has not been declared

    Any hints greatly appreciated!

    Steve

  • Pyry Nevala

    April 3, 2016 at 9:29 am

    Here is a script that deletes all (video and audio) effects, just added few lines to the original


    /**
    * This script will remove all effects from selected events
    *
    * To use, simply select the events on which effects are to be eliminated.
    *
    * Written By: Edward Troxel
    * https://www.jetdv.com/tts
    * Modified: 07-23-2003
    *
    * Modified By: Pyry Nevala
    * a.k.a zeezaa (youtube)
    * 04-03-2016
    **/

    import System;
    import System.Collections;
    import System.Text;
    import System.IO;
    import System.Drawing;
    import System.Windows.Forms;
    import Sony.Vegas;

    try {

    var trackEnum = new Enumerator(Vegas.Project.Tracks);
    while (!trackEnum.atEnd()) {
    var track : Track = Track(trackEnum.item());

    //Go through the list of Events
    var eventEnum = new Enumerator(track.Events);
    while (!eventEnum.atEnd()) {
    var evnt : TrackEvent = TrackEvent(eventEnum.item());

    if (evnt.Selected & evnt.IsVideo()) {
    var videoEvent = VideoEvent(evnt);
    var i;
    for (i=videoEvent.Effects.Count - 1; i >= 0; i--) {
    var effect = videoEvent.Effects[i];
    videoEvent.Effects.Remove(effect);
    }
    }

    else if (evnt.Selected & evnt.IsAudio()) {
    var audioEvent = AudioEvent(evnt);
    var i;
    for (i=audioEvent.Effects.Count - 1; i >= 0; i--) {
    var effect = audioEvent.Effects[i];
    audioEvent.Effects.Remove(effect);
    }
    }

    eventEnum.moveNext();
    }

    trackEnum.moveNext();
    }

    } catch (e) {
    MessageBox.Show(e);
    }

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy