These aren't working for me. I am trying to set the preview to Best / full for rendering snapshots from Vegas 8.
I can't set get the code to change the preview settings using this code. It works fine with the Project Video properties (width, height, field order, etc) but not with the Project Preview properties. When I run the program it just stays on whatever preview settings are set in the project (so if it is set to Preview Half, I get half resolution snapshots):
using (UndoBlock undo = new UndoBlock("Settings for thumbs"))
{
try
{
/// Set the preview quality and size.
rVegas.Project.Preview.RenderQuality = VideoRenderQuality.Best;
rVegas.Project.Preview.PreviewSize = VideoPreviewSize.Full;
/// Set the field order and deinterlace method
rVegas.Project.Video.FieldOrder = VideoFieldOrder.ProgressiveScan;
rVegas.Project.Video.DeinterlaceMethod = VideoDeinterlaceMethod.InterpolateFields;
/// Set width and height
rVegas.Project.Video.Width = 80;
rVegas.Project.Video.Height = 60;
}
catch (Exception e)
{
string msg = e.Message;
System.Windows.MessageBox.Show(msg);
}
}
I can't set get the code to change the preview settings using this code. It works fine with the Project Video properties (width, height, field order, etc) but not with the Project Preview properties. When I run the program it just stays on whatever preview settings are set in the project (so if it is set to Preview Half, I get half resolution snapshots):
using (UndoBlock undo = new UndoBlock("Settings for thumbs"))
{
try
{
/// Set the preview quality and size.
rVegas.Project.Preview.RenderQuality = VideoRenderQuality.Best;
rVegas.Project.Preview.PreviewSize = VideoPreviewSize.Full;
/// Set the field order and deinterlace method
rVegas.Project.Video.FieldOrder = VideoFieldOrder.ProgressiveScan;
rVegas.Project.Video.DeinterlaceMethod = VideoDeinterlaceMethod.InterpolateFields;
/// Set width and height
rVegas.Project.Video.Width = 80;
rVegas.Project.Video.Height = 60;
}
catch (Exception e)
{
string msg = e.Message;
System.Windows.MessageBox.Show(msg);
}
}