Scripting request: Solving ugly portrait video

BankyEdwards wrote on 11/12/2014, 5:43 PM
Hey everyone, I'm a video editor at a company that primarily transfers older media, but there are plenty of customers that come my way to get their phone videos put onto a DVD. As I'm sure many of you know, this means a vertical-orientation video. I've in the past solved this by either cropping it to a proper frame or keeping it vertical with the ugly black bars.

Recently, I've found it pleasing to copy and layer the video with the copies oriented to the left/right with a Gaussian blur applied for a background, possibly slightly darker or with a slight vignette as well. This hasn't been a problem until a recent project where there are around 300 clips to apply this sort of thing to. I was curious if it'd be possible to write a script to solve this issue as it could be quite the time-consuming, mind-numbing project otherwise.

...help? Thanks in advance!

Comments

BankyEdwards wrote on 11/12/2014, 5:55 PM
Ah, its probably good to know that I'm on a Windows 7 system using Vegas Pro 10.0. It'd be nice (but isn't necessary) if the script also worked with Windows XP systems using Vegas Studio 10.0.

Thanks again!
Warper wrote on 11/17/2014, 5:49 AM
As I see it, you need to copy entire track down to background track and apply identical filters to each video: pan/crop with orientation change, gaussian blur, custom borders filter etc.
If it's all you need there is no real need in script:
1) Create background track
2) Turn on Ignore Event Grouping option in toolbar
3) Select video events on track you need to copy
4) Press Ctrl+C to copy event into clipboard (without audio)
5) Select background track
6) Press Ctrl+V to paste events on background track in the same order and placement as they were, align them if needed
7) Turn off Ignore Event Grouping on toolbar
8) Set up first event on background track as you please - pan/crop, blur, etc.
9) Select this first event on background track, press Ctrl+C
10) Select all events on background track, deselect first event
11) Right click on one of selected events, use Paste event attributes from custom menu
Now you have every event on background track with identical filters applied to it