Cut video
From UBot Studio
This command is a Video Command in the UBot Extended Library.
This command will cut a video at the specified amount of seconds. For example, if a video with a length of 9 seconds is inputted for cutting, and the cut time is set to 4 seconds.
The first output video will be 4 seconds long. The second output video will be the remaining 5 seconds of video.
Input video file: The video being cut
Cut Time: The point at which the video is to be cut (input 4 for 4 seconds)
First Output video file: The first video created at the cut time
Second Output video file: The second video created after the cut time
Example
cut video("C:\\Users\\Downloads\\combine list\\sup.mp4",4,"C:\\Users\\Downloads\\combine list\\4secs.mp4","C:\\Users\\Downloads\\combine list\\5secs.mp4")
Running the script will produce one output video with a duration of 4 seconds and another with a duration of the remaining 5 seconds.