Incorrect aspect ratio of video when using c_limit
Using c_limit results in a video with an incorrect aspect ratio. Per the docs (https://cloudinary.com/documentation/video_manipulation_and_delivery#limit) c_limit is supposed to preserve the original aspect ratio
Original
https://res.cloudinary.com/oncyber-io/video/upload/hicetnunc/424868.mp4
Resized
https://res.cloudinary.com/oncyber-io/video/upload/w_600,h_600,c_limit/hicetnunc/424868.mp4
-
Hi Yassine,
You can add the fl_keep_dar to retain the original aspect ratio when doing the transformation (see https://cloudinary.com/documentation/transformation_reference#fl_keep_dar):
The outcome of the c_limit results in some adjustment of the image and text and I would recommend using c_scale, instead (see https://cloudinary.com/documentation/transformation_reference#c_scale):
And to further help you in optimizing your video when delivered to different client devices and browsers, use can our automatic quality and automatic format transformations so you could save a lot of bandwidth, for example:
Please take a look and hope this helps.
-
Hi Yassine,
Glad to know that solved the issue. Do not hesitate to reach out with any further issues or questions you have using our support center. Thanks.
Please sign in to leave a comment.
Comments
3 comments