-
Create Vegas Pro 13 Plugin/Extension
I’ve recently learned the basics of FFmpeg for trimming down a large file to a smaller file containing certain footage copied from the original file.
I’ve seen there are plugins/extensions available for FFmpeg in Vegas Pro 13, but they include many options and settings which I don’t need (and probably don’t understand).
The line I’ve been using is:
ffmpeg -ss [START TIME] -i [INPUT].mp4 -map 0 -c copy -t [DURATION] [OUTPUT].mp4I imagine that all I’d need is:
1) GET selected range in Vegas
2) Take start and end time from that selected range
3) calculate duration based on end-start
4) video being selected in range set as [INPUT] file
5) user input for [OUTPUT] file
6) Run that line through a CMD window.It really wouldn’t take long at all and could be done with a simple batch file, but I would like to be able to do it from within Vegas; I just can’t find much useful information on creating a plugin/extension nor getting Vegas related syntax.
i.e.: startTime = timeline.selection.startCould anyone point me in the right direction for learning code for Vegas?
Thanks for your time.
-Tom