- Home /
Question by
rickyxd · Nov 12, 2018 at 11:43 PM ·
uivideovideotexture
Is It possible to crop videos and save them in Unity?
Hello! I'll explain my situation : I have a UI image, of fixed size, and if clicked it shows a video (like Live Photos). The video could be of every possible resolution and with an AspectRatioFitter and a mask I make the video fill the entire image. In this way only a portion of the video (that match the image resolution) is visible, the rest of it is "cropped", hides. I was wondering if it's possible to actually save to the disk only the visible section of the video, cropping the parts not visible. In the end the goal would be to have the image and the video of the same resolution. Is it possible to do this in Unity?
Comment