Crop Video
From UBot Studio
(Difference between revisions)
(Created page with "This function is a Video Command in the UBot Extended Library. This command will crop the given video. The first image determines the order of the video fr...") |
|||
Line 20: | Line 20: | ||
</pre> | </pre> | ||
+ | |||
+ | The resulting video will be cropped at the specified dimensions. |
Revision as of 17:31, 18 April 2017
This function is a Video Command in the UBot Extended Library. This command will crop the given video.
The first image determines the order of the video frame. The entire video is created from the first image and the rest of the images in the folder.
Input video file:Video being cropped
Output video file: The resulting cropped video
Origin x: starting position x
Origin y: starting position y
Size_width: the width of the output video
Size_height: the height of the output video
Example
crop video("C:\\Users\\Downloads\\20170327_153342.mp4","C:\\Users\\Downloads\\cropped_20170327_153342.mp4",200,300,120,80)
The resulting video will be cropped at the specified dimensions.