Last updated: Mar-08-2023
On this page:
Learn how to crop a video using content-aware AI to keep the most interesting part of the video in the crop.
This tutorial presents the following topics. Click a timestamp to jump to that part of the video.
Resize and crop videos with Cloudinary
|0:04||You can resize and crop videos on the fly with Cloudinary by including transformation parameters in the delivery URL, for example
Use automatic gravity
|0:34||When videos are cropped using
Use compass points for gravity
|0:47||You can also use compass points for gravity, such as
- Watch more Dev Hints videos on the Cloudinary YouTube channel.
- Learn more about cropping videos using automatic gravity.
- Discover more transformations in the Transformation URL API reference.
If you like this, you might also like...
Transformation BasicsLearn the basics of a transformation URL
Gravity Crops for ImagesIndicate which areas to keep when cropping
Complex TransformationsCombine transformations to generate a 3D canvas
Check out the Cloudinary Academy for free self-paced Cloudinary courses on a variety of developer or DAM topics, or register for formal instructor-led courses, either virtual or on-site.