Comments

xberk wrote on 1/21/2019, 9:15 PM

Start here:

Paul B .. PCI Express Video Card: EVGA VCX 10G-P5-3885-KL GeForce RTX 3080 XC3 ULTRA ,,  Intel Core i9-11900K Desktop Processor ,,  MSI Z590-A PRO Desktop Motherboard LGA-1200 ,, 64GB (2X32GB) XPG GAMMIX D45 DDR4 3200MHz 288-Pin SDRAM PC4-25600 Memory .. Seasonic Power Supply SSR-1000FX Focus Plus 1000W ,, Arctic Liquid Freezer II – 360MM .. Fractal Design case ,, Samsung Solid State Drive MZ-V8P1T0B/AM 980 PRO 1TB PCI Express 4 NVMe M.2 ,, Wundiws 10 .. Vegas Pro 19 Edit

xberk wrote on 1/21/2019, 9:19 PM

Here's my little tutorial on bezier masking motion tracking if you wanted another one:

Paul B .. PCI Express Video Card: EVGA VCX 10G-P5-3885-KL GeForce RTX 3080 XC3 ULTRA ,,  Intel Core i9-11900K Desktop Processor ,,  MSI Z590-A PRO Desktop Motherboard LGA-1200 ,, 64GB (2X32GB) XPG GAMMIX D45 DDR4 3200MHz 288-Pin SDRAM PC4-25600 Memory .. Seasonic Power Supply SSR-1000FX Focus Plus 1000W ,, Arctic Liquid Freezer II – 360MM .. Fractal Design case ,, Samsung Solid State Drive MZ-V8P1T0B/AM 980 PRO 1TB PCI Express 4 NVMe M.2 ,, Wundiws 10 .. Vegas Pro 19 Edit

Phil_P wrote on 1/22/2019, 12:47 AM

Very helpful xberk. Thanks.

Salah wrote on 1/22/2019, 3:56 AM

"xberk wrote on 1/22/2019, 4:15 AM"

 I'm not asking about this aspect. How to zoom and track a spacecraft and make a separate camera shot from it. This is my problem! I will do the object tracking and zoom, but I can not do this with a separate shot

klt wrote on 1/22/2019, 4:18 AM

@Salah, do you want a pan/crop to follow motiontracking?

If yes, take a look at here

https://www.vegascreativesoftware.info/us/forum/motion-tracking-and-pan-crop-vegas-16-pro--113254/#ca702789

 

 

Salah wrote on 1/22/2019, 5:41 AM

YES exactly what I mean! I just can not find this script :/

klt wrote on 1/22/2019, 5:47 AM

It's there. Select all the text from the "code" segment. (It's that the gray box).

Copy to clipboard, then paste into your text editor (notepad, or preferably notepad++)

Save it as a .cs. Then copy it to your scripts folder.

Voila.

Some remark:

This 2 lines:

float X = (float) (1920 * tmpValue.X + InitialDiffX);

float Y = (float) (1080 * (1- tmpValue.Y) + InitialDiffY);

convert the motiontrack location coordinates to Pan/crop coordinates. The resolution 1920*1080 is hardcoded, as you see, so if you work with different res. media, change it accordingly. This is my lazyness, I didn't finish the script...

Last changed by klt on 1/22/2019, 5:54 AM, changed a total of 1 times.

Camera: JVC GY-HM600

Desktop: AMD Ryzen 5 1600, 16GB RAM (dual channel 2400 MHz) - Videocard: Radeon R9 380 2GB

Laptop: i5 5200u, 8GB RAM (1600MHz single channel) Videocard: integrated HD5500

Salah wrote on 1/22/2019, 6:07 AM

error :( video resolution is fullhd what is wrong?

F: \ - VEGAS - \ - To VEGAS CONSTANT- \ Scripts \ mttopancrop.cs (213): An invalid "{" token exists in the declaration of a class, structure or interface member.
F: \ - VEGAS - \ - To VEGAS CONSTANT- \ Scripts \ mttopancrop.cs (214): The method must have the return type.
F: \ - VEGAS - \ - To VEGAS CONSTANT- \ Scripts \ mttopancrop.cs (215): An invalid token "(" exists in the declaration of a class, structure or interface member.
F: \ - VEGAS - \ - To VEGAS CONSTANT- \ Scripts \ mttopancrop.cs (216): An invalid token "(" is present in the declaration of a class, structure or interface member.
F: \ - VEGAS - \ - To VEGAS CONSTANT- \ Scripts \ mttopancrop.cs (216): An invalid token "=>" appears in the declaration of a class, structure or interface member.
F: \ - VEGAS - \ - To VEGAS CONSTANT- \ Scripts \ mttopancrop.cs (219): An invalid token "(" is present in the declaration of a class, structure or interface member.
F: \ - VEGAS - \ - To VEGAS CONSTANT- \ Scripts \ mttopancrop.cs (219): An invalid token ")" exists in the class, structure or interface declaration. "
F: \ - VEGAS - \ - To VEGAS CONSTANT- \ Scripts \ mttopancrop.cs (220): Member names can not be directly in the namespace, such as fields or methods.
F: \ - VEGAS - \ - To VEGAS CONSTANT- \ Scripts \ mttopancrop.cs (222): Expected type

klt wrote on 1/22/2019, 7:10 AM

Something went wrong with the copy/paste. Probably more lines were merged into one which should be different lines.

Here are my scripts:

https://drive.google.com/file/d/1yEssHCQtwUXPtSB0zHq_ywyArY7GIq8X/view?usp=sharing

Last changed by klt on 1/22/2019, 7:12 AM, changed a total of 1 times.

Camera: JVC GY-HM600

Desktop: AMD Ryzen 5 1600, 16GB RAM (dual channel 2400 MHz) - Videocard: Radeon R9 380 2GB

Laptop: i5 5200u, 8GB RAM (1600MHz single channel) Videocard: integrated HD5500

Salah wrote on 1/22/2019, 7:48 AM

It works very good. Thank you very much for your help 😍

klt wrote on 1/22/2019, 8:05 AM

You're welcome 😉

Blake-Wescoat wrote on 9/16/2022, 11:12 PM

Something went wrong with the copy/paste. Probably more lines were merged into one which should be different lines.

Here are my scripts:

https://drive.google.com/file/d/1yEssHCQtwUXPtSB0zHq_ywyArY7GIq8X/view?usp=sharing

Is there any chance that you can update the google drive link? It seems to have expired and this is exactly what I've been looking for.