Why does Aspect Ratio not working as expected on some of my Cloudinary videos? Tamara Yulevich April 06, 2022 01:12 Updated Follow Videos have metadata as part of the original file that sets the display aspect ratio (DAR) and stream aspect ratio (SAR). The reason for the discrepancy might be different DAR and SAR values. When delivering the video we use the DAR. However, when viewing it in the Media Library we use the original size which might have a different aspect ratio. When applying transformations to the video (such as resizing it), we discard the metadata from the original file, so the derived/transformed video is created based on the SAR which can give you an unexpected output ratio. You can resolve this by using the keep_dar flag (fl_keep_dar in URLs) in the transformation, which forces the aspect ratio to be based on the DAR in the metadata and not the (SAR) aspect ratio of the actual stream. More information can be found here. Related articles Generate AI based video previews and play it on hover How to set an automatic format selection (f_auto) when using eager transformations What structure does Cloudinary use to back-up my resources? I've replaced an existing asset with a new file, but my site or application still shows the old asset. Why is that? How do I include 360 spin sets in the Product Gallery? Comments 1 comment Sort by Date Votes Ian McKay April 05, 2022 14:34 I'm surprised the aspect ratio isn't always preserved by default. Either way, adding this flag to my transforms solved our problem where aspect ratio wasn't preserved 0 Comment actions Permalink Please sign in to leave a comment.