Forum Replies Created

Page 17 of 459
  • Edward Troxel

    December 13, 2018 at 10:16 pm in reply to: when vegas pro 16 goes in crash is possible autosave?

    Yes, it works in Vegas Pro 16.

    There are installers for versions from Vegas Pro 8 through Vegas Pro 16. The last installer works in Vegas Pro 14 – 16.

    Edward Troxel

  • Edward Troxel

    December 12, 2018 at 3:49 pm in reply to: when vegas pro 16 goes in crash is possible autosave?

    Please do note that AutoSave installs with Excalibur. However, AutoSave is a FREE plugin. You do not have to purchase Excalibur in order to use AutoSave but you do need to install Excalibur to install AutoSave.

    Project Inspector is also another FREE plugin that installs with Excalibur.

    So while you do need to install Excalibur to install those two plugins, those two plugins are free for you to use with no purchase required.

    Excalibur comes with a free trial period so you can test out the features of Excalibur as well. For purchase information on Excalibur, please e-mail me.

    Edward Troxel

  • Edward Troxel

    November 21, 2018 at 10:41 pm in reply to: Disable Resizing

    You can send me an e-mail for purchase information.

    Edward Troxel

  • Edward Troxel

    November 20, 2018 at 10:39 pm in reply to: Disable Resizing

    I use the Logo Resize tool in Excalibur to return them to their original size.

    Edward Troxel

  • It’s part of Excalibur. I have not made that function as a standalone free version.

    Here’s an extremely old one (MatchAspectSony.js) from 2011 that I did not write:

    // "Match Output Aspect" on all selected video events.
    // No selection = ALL

    import System.Windows.Forms;
    import Sony.Vegas;

    var zero : int = 0;

    function GetSelectionCount (mediaType)
    {
    var cTracks = Vegas.Project.Tracks.Count;
    var cSelected = zero;
    var ii;

    for (ii = zero; ii < cTracks; ii ++)
    {
    var track = Vegas.Project.Tracks[ii];

    if (track.MediaType == mediaType)
    {
    var eventEnum : Enumerator = new Enumerator(track.Events);

    while ( ! eventEnum.atEnd() )
    {
    if (eventEnum.item().Selected)
    {
    cSelected ++;
    }

    eventEnum.moveNext();
    }
    }
    }

    return cSelected;
    }

    function GetActiveMediaStream (trackEvent : TrackEvent)
    {
    try
    {
    if ( ! trackEvent.ActiveTake.IsValid())
    {
    throw "empty or invalid take";
    }

    var media = Vegas.Project.MediaPool.Find (trackEvent.ActiveTake.MediaPath);

    if (null == media)
    {
    throw "missing media";
    }

    var mediaStream = media.Streams.GetItemByMediaType (MediaType.Video, trackEvent.ActiveTake.StreamIndex);

    return mediaStream;
    }
    catch (e)
    {
    //MessageBox.Show(e);
    return null;
    }
    }

    function MatchOutputAspect (keyframe : VideoMotionKeyframe, dMediaPixelAspect : double, dAspectOut : double)
    {
    var keyframeSave = keyframe;

    try
    {
    var rotation = keyframe.Rotation;

    // undo rotation so that we can get at correct aspect ratio.
    //
    keyframe.RotateBy (-rotation);

    var dWidth = Math.abs(keyframe.TopRight.X - keyframe.TopLeft.X);
    var dHeight = Math.abs(keyframe.BottomLeft.Y - keyframe.TopLeft.Y);
    var dCurrentAspect = dMediaPixelAspect * dWidth / dHeight;
    var centerY = keyframe.Center.Y;
    var centerX = keyframe.Center.X;

    var dFactor;

    var bounds = new VideoMotionBounds(keyframe.TopLeft, keyframe.TopRight, keyframe.BottomRight, keyframe.BottomLeft);

    if (dCurrentAspect < dAspectOut)
    {
    // alter y coords
    dFactor = dCurrentAspect / dAspectOut;

    bounds.TopLeft.Y = (bounds.TopLeft.Y - centerY) * dFactor + centerY;
    bounds.TopRight.Y = (bounds.TopRight.Y - centerY) * dFactor + centerY;
    bounds.BottomLeft.Y = (bounds.BottomLeft.Y - centerY) * dFactor + centerY;
    bounds.BottomRight.Y = (bounds.BottomRight.Y - centerY) * dFactor + centerY;
    }
    else
    {
    // alter x coords
    dFactor = dAspectOut / dCurrentAspect;

    bounds.TopLeft.X = (bounds.TopLeft.X - centerX) * dFactor + centerX;
    bounds.TopRight.X = (bounds.TopRight.X - centerX) * dFactor + centerX;
    bounds.BottomLeft.X = (bounds.BottomLeft.X - centerX) * dFactor + centerX;
    bounds.BottomRight.X = (bounds.BottomRight.X - centerX) * dFactor + centerX;
    }

    // set it to new bounds
    keyframe.Bounds = bounds;

    // restore rotation.
    keyframe.RotateBy (rotation);

    }
    catch (e)
    {
    // restore original settings on error
    keyframe = keyframeSave;
    MessageBox.Show("MatchOuput: " + e);
    }
    }

    var dWidthProject = Vegas.Project.Video.Width;
    var dHeightProject = Vegas.Project.Video.Height;
    var dPixelAspect = Vegas.Project.Video.PixelAspectRatio;
    var dAspect = dPixelAspect * dWidthProject / dHeightProject;
    var cSelected = GetSelectionCount (MediaType.Video);

    var cTracks = Vegas.Project.Tracks.Count;
    var ii;

    for (ii = zero; ii < cTracks; ii ++)
    {
    var track = Vegas.Project.Tracks[ii];

    if (! track.IsVideo())
    {
    continue;
    }

    var eventEnum : Enumerator = new Enumerator(track.Events);

    while ( ! eventEnum.atEnd() )
    {
    var trackEvent : TrackEvent = eventEnum.item();

    if ( !cSelected || trackEvent.Selected )
    {
    var mediaStream = GetActiveMediaStream (trackEvent);

    if (mediaStream)
    {
    var videoStream = VideoStream (mediaStream);

    var dMediaPixelAspect = videoStream.PixelAspectRatio;
    var videoEvent = VideoEvent(eventEnum.item());
    var keyframes = videoEvent.VideoMotion.Keyframes;

    var cKeyframes = keyframes.Count;
    var jj;

    for (jj = zero; jj < cKeyframes; jj ++)
    {
    MatchOutputAspect (keyframes[jj], dMediaPixelAspect, dAspect);
    }
    }
    }

    eventEnum.moveNext();
    }
    }

    Vegas.UpdateUI();

    Edward Troxel

  • Or you can use a script that will Match Output Aspect for all selected events at the touch of a button…

    Edward Troxel

  • Edward Troxel

    October 31, 2018 at 3:16 pm in reply to: Consolidation of Track Events

    John, please e-mail me for purchase information.

    Edward Troxel

  • Edward Troxel

    October 31, 2018 at 3:14 pm in reply to: Script for stretch & compress in a event

    Ramil, Vegasaur will do that task. You just need to have it change the playback rate.

    Edward Troxel

  • Edward Troxel

    October 30, 2018 at 10:01 pm in reply to: Does Excalibur work with Vegas Pro 15?

    Please e-mail me for purchase information.

    Edward Troxel

  • Edward Troxel

    October 29, 2018 at 3:11 pm in reply to: Consolidation of Track Events

    Yes, there are several. I use Excalibur for this.

    Edward Troxel

Page 17 of 459

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