Comments

Chienworks wrote on 2/25/2013, 3:40 PM
Sadly no. Please fill out a feature request for it, as many others of us have already. Maybe one more request will get the programmers to consider it.

Personally i'd like to have a global setting that says "always default Resample to disable". Of course, one could then still turn it on for each clip that needs it. But, so far in my history of editing i'd say out of every 100,000 clips i've put on the timeline, i've needed resample for less than 1 of them.
johnmeyer wrote on 2/25/2013, 4:08 PM
Here's a script I just wrote that will disable resample on all events on all tracks. Just one click and it's done. Copy and paste into Notepad, and save with the extension ".js"

//****************************************************************************
//Disable resample on all events
//
//Copyright 2013 John H. Meyer
//****************************************************************************

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


try {
for (var track in Vegas.Project.Tracks) {
if (track.IsVideo()) { // Proceed only if video track.
for (var trackEvent in track.Events) {
trackEvent.ResampleMode = VideoResampleMode.Disable;
}
}
}
}
catch (errorMsg)
{
MessageBox.Show(errorMsg, "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}


RyanPlaceProductions wrote on 2/25/2013, 4:34 PM
Thx for the quick reply, im kind of a noob when it comes to scripts, This looks great tho, can you step me through how to use this.

Thx again

Mike
RyanPlaceProductions wrote on 2/25/2013, 4:35 PM
Wow me too
johnmeyer wrote on 2/25/2013, 5:09 PM
You copy/paste from my post into Notepad, and save the file with the extension ".js"

If you prefer, I just uploaded the file to an ftp site, and you can just download the file:

Disable Resample.js

You then put this file anywhere on your computer, but if you want it to appear in the Vegas script menu, you need to put it in the Vegas script folder (see the help file for its location).

To use it, you simply click on Tools --> Scripting. If you put the script in the Vegas scripting folder, it will show up in this menu; otherwise, click on Run Script, and navigate to the location where you put the script. As soon as you click on the script, all video events on the timeline will have resample set to "disable."

To really speed things up, you can use the "Customize Keyboard" or "Customize Toolbar" to assign this script to a shortcut key or menu item.

I always disable resample whenever changing frame rates for film, such as going from 12, 15, 16, 18, or 24 fps (common film speeds) to 29.97 interlaced. If you disable resample, Vegas will produce correct "pulldown" (duplicated fields, not duplicated frames) so the film plays at the correct speed, but without the blended fields that resampling produces. The problem with blended fields is that they look soft.
mx1497 wrote on 2/25/2013, 5:14 PM
You can use the "Selection Edit Tool" and drag over all of the clips on the timeline you want to change.
Then right click on one of the selected/highlighted clips: Switches>Disable Resample and it will change all to Disable Resample.

You can also, with the Normal Edit tool (or Selection Edit Tool), hold down the keyboard Ctrl button while clicking on each clip to select/highlight then choose Switches>Disable Resample to disable all selected.
amendegw wrote on 2/25/2013, 5:26 PM
Here's another script SetResample.zip

Gives the user the following options:



...Jerry

System Model:     Alienware M18 R1
System:           Windows 11 Pro
Processor:        13th Gen Intel(R) Core(TM) i9-13980HX, 2200 Mhz, 24 Core(s), 32 Logical Processor(s)

Installed Memory: 64.0 GB
Display Adapter:  NVIDIA GeForce RTX 4090 Laptop GPU (16GB), Nvidia Studio Driver 566.14 Nov 2024
Overclock Off

Display:          1920x1200 240 hertz
Storage (8TB Total):
    OS Drive:       NVMe KIOXIA 4096GB
        Data Drive:     NVMe Samsung SSD 990 PRO 4TB
        Data Drive:     Glyph Blackbox Pro 14TB

Vegas Pro 22 Build 239

Cameras:
Canon R5 Mark II
Canon R3
Sony A9

mx1497 wrote on 2/25/2013, 5:40 PM
After executing the script,
..does it change all files' switches from then on?
...do you execute that script once all of the affected files are on the timeline/for example, before render?
...or do you have to keep executing the script every time you introduce a new clip to the timeline (while the previous clips were already disabled)?

amendegw wrote on 2/25/2013, 5:46 PM
@mx1497

Are you speaking of my script? If so, (and I think this would apply to any script) it only sets the resample properties of the video events on the timeline when the script is executed. If you add new events, then you would need to re-execute the script.

...Jerry

System Model:     Alienware M18 R1
System:           Windows 11 Pro
Processor:        13th Gen Intel(R) Core(TM) i9-13980HX, 2200 Mhz, 24 Core(s), 32 Logical Processor(s)

Installed Memory: 64.0 GB
Display Adapter:  NVIDIA GeForce RTX 4090 Laptop GPU (16GB), Nvidia Studio Driver 566.14 Nov 2024
Overclock Off

Display:          1920x1200 240 hertz
Storage (8TB Total):
    OS Drive:       NVMe KIOXIA 4096GB
        Data Drive:     NVMe Samsung SSD 990 PRO 4TB
        Data Drive:     Glyph Blackbox Pro 14TB

Vegas Pro 22 Build 239

Cameras:
Canon R5 Mark II
Canon R3
Sony A9

mx1497 wrote on 2/25/2013, 11:00 PM
@amendegw

Yes, that does answer my question.

I wasn't sure if it would just permanently affect the timeline or not.
Thanks,
Gary James wrote on 2/26/2013, 9:55 AM
This feature is already a part of Timeline Tools. Highlight the Events in the main display grid, or Select the Events in the Vegas timeline that you want to modify, Right Click the TLT display grid and select the appropriate Properties editing option from the Context Menu. Then from the Property Editor dialog window set or disable Resample Mode as desired.