Adding VideoFX from a script in Vegas 22

Richard-N wrote on 9/4/2025, 8:01 AM

I would like to add a VideoFX to a selected clip using a .js or c# script as opposed to a compiled .dll.

1. Is this within the capability of a simple ASCII script?

2. Can I describe the various properties of a VideoFV when I apply it, or must I use a preset of that fx that already exists in the dialog?

My initial attempt will be with HSL Adjust....... Can someone please point me in the direction of a suitable example?

I have Visual Studio 2019 but I have not yet progressed to that level of complexity to be writing .dll

Panasonic HDC-X1500 I use .MOV output of 2160p-50 at 150M

I stabilise the footage where needed with Mercalli 6 saving to mp4 AVC for edit

Vegas Pro 22.0 Build 239 My finished target is normally 2160p HEVC or AVC, occasionally 1080p

Benq EL287OU 28" native 4k monitor

Intel i9-9900 Skylake X @ standard 3.50Ghz - No overclocking

32GB Corsair RAM 3200Mhz

Booting from a fast on-board M.2 drive and the workspace is also on-board M.2

NVIDIA RTX4060 + the latest studio driver on offer

Windows 11 Home Ver 10.0.26100 Build 26100

Comments

jetdv wrote on 9/4/2025, 8:27 AM

@Richard-N - yes you can add an effect, yes you can choose a preset. If it's an OFX effect, you can even change the individual parameters.

etc... You might want to look at all my tutorials on that YouTube channel.

Richard-N wrote on 9/4/2025, 9:31 AM

Thanks Edward,

My first expedition into C#....... I may have questions later!

Panasonic HDC-X1500 I use .MOV output of 2160p-50 at 150M

I stabilise the footage where needed with Mercalli 6 saving to mp4 AVC for edit

Vegas Pro 22.0 Build 239 My finished target is normally 2160p HEVC or AVC, occasionally 1080p

Benq EL287OU 28" native 4k monitor

Intel i9-9900 Skylake X @ standard 3.50Ghz - No overclocking

32GB Corsair RAM 3200Mhz

Booting from a fast on-board M.2 drive and the workspace is also on-board M.2

NVIDIA RTX4060 + the latest studio driver on offer

Windows 11 Home Ver 10.0.26100 Build 26100