Camera Shake Script

karma17 wrote on 8/10/2018, 9:48 PM

https://github.com/tmarplatt/VegasScripts

Over at GitHub, in case anyone's interested, there is a Camera Shake script written in C# that is the most sophisticated script I've found so far. And of course, if you change line 23 to ScriptPortal, the script works perfectly!!

I love the fact that it includes a User Input menu. I miss that feature on many scripts and I'm just learning how to add those, so it is nice to add this to my list of C# scripts that actually work.

Comments

juan_rios wrote on 8/12/2018, 7:43 PM

Thank you. It is very useful.

east wrote on 4/6/2019, 12:21 PM

Not working on VEGAS 16

Eagle Six wrote on 4/6/2019, 1:38 PM

Works for me in Vegas Pro 16/361. @east when you say it is not working, do you mean it doesn't run, or it has no effect?

System Specs......
Corsair Obsidian Series 450D ATX Mid Tower
Asus X99-A II LGA 2011-v3, Intel X99 SATA 6 Gb/s USB 3.1/3.0 ATX Intel Motherboard
Intel Core i7-6800K 15M Broadwell-E, 6 core 3.4 GHz LGA 2011-v3 (overclocked 20%)
64GB Corsair Vengeance LPX DDR4 3200
Corsair Hydro Series H110i GTX 280mm Extreme Performance Liquid CPU Cooler
MSI Radeon R9 390 DirectX 12 8GB Video Card
Corsair RMx Series RM750X 740W 80 Plus Gold power pack
Samsung 970 EVO NVMe M.2 boot drive
Corsair Neutron XT 2.5 480GB SATA III SSD - video work drive
Western Digitial 1TB 7200 RPM SATA - video work drive
Western Digital Black 6TB 7200 RPM SATA 6Bb/s 128MB Cache 3.5 data drive

Bluray Disc burner drive
2x 1080p monitors
Microsoft Window 10 Pro
DaVinci Resolve Studio 16 pb2
SVP13, MVP15, MVP16, SMSP13, MVMS15, MVMSP15, MVMSP16

east wrote on 4/6/2019, 1:48 PM

I have this error :

 

C:\Program Files\VEGAS\Vegas Pro 16\Script Menu\Shake Selected Clip.cs(28) : The type or namespace name 'Sony' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\VEGAS\Vegas Pro 16\Script Menu\Shake Selected Clip.cs(50) : The type or namespace name 'Vegas' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\VEGAS\Vegas Pro 16\Script Menu\Shake Selected Clip.cs(59) : The type or namespace name 'Vegas' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\VEGAS\Vegas Pro 16\Script Menu\Shake Selected Clip.cs(201) : The type or namespace name 'Vegas' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\VEGAS\Vegas Pro 16\Script Menu\Shake Selected Clip.cs(225) : The type or namespace name 'VideoEvent' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\VEGAS\Vegas Pro 16\Script Menu\Shake Selected Clip.cs(240) : The type or namespace name 'VideoEvent' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\VEGAS\Vegas Pro 16\Script Menu\Shake Selected Clip.cs(246) : The type or namespace name 'VideoMotionKeyframe' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\VEGAS\Vegas Pro 16\Script Menu\Shake Selected Clip.cs(257) : The type or namespace name 'VideoMotionVertex' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\VEGAS\Vegas Pro 16\Script Menu\Shake Selected Clip.cs(272) : The type or namespace name 'VideoEvent' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\VEGAS\Vegas Pro 16\Script Menu\Shake Selected Clip.cs(281) : The type or namespace name 'Project' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\VEGAS\Vegas Pro 16\Script Menu\Shake Selected Clip.cs(281) : The type or namespace name 'VideoEvent' could not be found (are you missing a using directive or an assembly reference?)
 

matthias-krutz wrote on 4/6/2019, 2:09 PM

if you change line 23 to ScriptPortal, the script works perfectly!!

You must change the line "using Sony.Vegas" to "using ScriptPortal.Vegas" .

Eagle Six wrote on 4/6/2019, 2:23 PM

@east as @matthias-krutz points out and @karma17 pointed to in the OP, this script will work fine as is for any Sony version of Vegas Pro, but to work in any MAGIX version, the name space needs to be changed. You can do that manually by editing in something like Windows Notepad, or use the handy script converter program offered recently by Wayne Waag, that can be download here.....https://tools4vegas.com/text-script-converter/

System Specs......
Corsair Obsidian Series 450D ATX Mid Tower
Asus X99-A II LGA 2011-v3, Intel X99 SATA 6 Gb/s USB 3.1/3.0 ATX Intel Motherboard
Intel Core i7-6800K 15M Broadwell-E, 6 core 3.4 GHz LGA 2011-v3 (overclocked 20%)
64GB Corsair Vengeance LPX DDR4 3200
Corsair Hydro Series H110i GTX 280mm Extreme Performance Liquid CPU Cooler
MSI Radeon R9 390 DirectX 12 8GB Video Card
Corsair RMx Series RM750X 740W 80 Plus Gold power pack
Samsung 970 EVO NVMe M.2 boot drive
Corsair Neutron XT 2.5 480GB SATA III SSD - video work drive
Western Digitial 1TB 7200 RPM SATA - video work drive
Western Digital Black 6TB 7200 RPM SATA 6Bb/s 128MB Cache 3.5 data drive

Bluray Disc burner drive
2x 1080p monitors
Microsoft Window 10 Pro
DaVinci Resolve Studio 16 pb2
SVP13, MVP15, MVP16, SMSP13, MVMS15, MVMSP15, MVMSP16

east wrote on 4/6/2019, 2:24 PM

with which software can I modify this line? 

Eagle Six wrote on 4/6/2019, 2:26 PM

with which software can I modify this line? 


Windows Notepad works fine

System Specs......
Corsair Obsidian Series 450D ATX Mid Tower
Asus X99-A II LGA 2011-v3, Intel X99 SATA 6 Gb/s USB 3.1/3.0 ATX Intel Motherboard
Intel Core i7-6800K 15M Broadwell-E, 6 core 3.4 GHz LGA 2011-v3 (overclocked 20%)
64GB Corsair Vengeance LPX DDR4 3200
Corsair Hydro Series H110i GTX 280mm Extreme Performance Liquid CPU Cooler
MSI Radeon R9 390 DirectX 12 8GB Video Card
Corsair RMx Series RM750X 740W 80 Plus Gold power pack
Samsung 970 EVO NVMe M.2 boot drive
Corsair Neutron XT 2.5 480GB SATA III SSD - video work drive
Western Digitial 1TB 7200 RPM SATA - video work drive
Western Digital Black 6TB 7200 RPM SATA 6Bb/s 128MB Cache 3.5 data drive

Bluray Disc burner drive
2x 1080p monitors
Microsoft Window 10 Pro
DaVinci Resolve Studio 16 pb2
SVP13, MVP15, MVP16, SMSP13, MVMS15, MVMSP15, MVMSP16

east wrote on 4/6/2019, 2:40 PM

oh thx a lot guys, it finally works !