I Remembered the Plugin who do this too. Is called "Vengasaur". But cost 100U$$!! Very expensive.
Former user
wrote on 12/2/2023, 7:46 PM
@didigo182 Ok, I just tried to change the script I put the link to, changed the settings to 01.00.00 (1min), it did cut the clip into 1min sections but only the video, not the audio, sorry I have no idea how to make it cut the audio also 🤷♂️🤔
This that script.
/** * Program: SplitEvents - 1min.js * Description: This script will split selected event into pieces for specified seconds * Author: Philip * * Date: August 24, 2003 **/
//time intervals for split events. var Interval = "01:00:00"; try { var IncTime : Timecode = new Timecode(Interval);// step through all selected video events: for (var track in Vegas.Project.Tracks) { for (var evnt in track.Events) { if (!evnt.Selected || evnt.MediaType != MediaType.Video) continue; evnt.Split(IncTime); } } } catch (errorMsg) { MessageBox.Show(errorMsg, "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); }
@didigo182 Ok, I just tried to change the script I put the link to, changed the settings to 01.00.00 (1min), it did cut the clip into 1min sections but only the video, not the audio, sorry I have no idea how to make it cut the audio also 🤷♂️🤔
This that script.
/** * Program: SplitEvents - 1min.js * Description: This script will split selected event into pieces for specified seconds * Author: Philip * * Date: August 24, 2003 **/
//time intervals for split events. var Interval = "01:00:00"; try { var IncTime : Timecode = new Timecode(Interval);// step through all selected video events: for (var track in Vegas.Project.Tracks) { for (var evnt in track.Events) { if (!evnt.Selected || evnt.MediaType != MediaType.Video) continue; evnt.Split(IncTime); } } } catch (errorMsg) { MessageBox.Show(errorMsg, "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); }
It worked here! Thanks!
Have the same function of Vengasaur, but it's FREE!
if (!evnt.Selected || evnt.MediaType != MediaType.Video)
continue;
That says "skip this event IF it is not selected or it is not video. If you want it to process the audio too, just change it to:
if (!evnt.Selected)
continue;
Former user
wrote on 12/2/2023, 8:59 PM
@jetdv Thanks but I changed that & the script works as it did before, only the video is cut, have i got it wrong?
Ah! Sorry my mistake, I only had the video selected (highlighted yellow), I thought that if one was selected because they're grouped they both were selected, with the cursor I lassoed both video & audio highlighting them both yellow & it cut both 🤸♂️🤸♂️🤸♂️😁