Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro Is there a shortcut for changing the preview settings?

  • Is there a shortcut for changing the preview settings?

    Posted by Bryan Powers on July 4, 2011 at 7:33 pm

    I’ve been frustrated lately with the fact that, as the timeline plays, the ram continues to fill up making playback gradually more and more sluggish. I’ve noticed that toggling between preview settings ( auto to full or half to full or full to auto) clears the ram and smooth playback resumes.Is there a script or shortcut that makes this fairly easy work around even easier. I’d like it to be as easy as say cntrl+s which I almost do without thinking now as I work. Thanks!

    Bryan

    https://www.hindsightweddingfilms.net

    John Rofrano replied 14 years, 10 months ago 3 Members · 4 Replies
  • 4 Replies
  • John Rofrano

    July 5, 2011 at 3:38 am

    [bryan powers] “Is there a script or shortcut that makes this fairly easy work around even easier.”

    Here is a script that I just wrote for you which will do this. Cut and paste it into a file called TogglePreview.cs and place it in the Script Menu folder and then just assign it to a key combination to it:

    //*******************************************************************
    //* Program: TogglePreview.cs
    //* Author: John Rofrano
    //* Updated: July 4, 2011
    //* Description: Toggles the video preview to clear dynamic RAM
    //*------------------------------------------------------------------
    //* Copyright: (c) 2011, John Rofrano, All Rights Reserved
    //*******************************************************************
    using System;
    using System.Diagnostics;
    using System.Windows.Forms;
    using Sony.Vegas;

    public class EntryPoint
    {
    public void FromVegas(Vegas vegas)
    {
    try
    {
    VideoPreviewSize originalSize = vegas.Project.Preview.PreviewSize;
    vegas.Project.Preview.PreviewSize = VideoPreviewSize.Full;
    vegas.UpdateUI();
    vegas.Project.Preview.PreviewSize = VideoPreviewSize.Half;
    vegas.UpdateUI();
    vegas.Project.Preview.PreviewSize = originalSize;
    vegas.UpdateUI();
    }
    catch (Exception e)
    {
    MessageBox.Show(e.Message, "Critical Error", MessageBoxButtons.OK, MessageBoxIcon.Stop);
    }
    }
    }

    ~jr

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

  • Bryan Powers

    July 5, 2011 at 4:25 pm

    Awesome John! Thanks!

  • Matt Crowley

    July 5, 2011 at 5:49 pm

    The RAM shouldn’t continuously fill up with preview data unless you have set the Dynamic RAM Preview Size to something very high. Reduce the setting to something sensible (depends on your system RAM, OS etc) and you should find that Vegas doesn’t hog RAM for the preview.

  • John Rofrano

    July 5, 2011 at 6:17 pm

    You’re welcome Bryan. Let me know how it works out for you.

    ~jr

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

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