-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video Skewed (does not maintain aspect ratio) #31
Comments
Currently it's not possible to crop video at all. You can pad video with #, but not crop. |
Thank you! And agreed. But even # doesn't pad the video for me. And it returns the exact same video as 500x500 (without the hashtag). Any ideas?
|
possibly this gem is not finished yet, for padding. |
The geometry options are actually totally ignored in this version of the gem. You can see here that the various options are extracted but they are never passed to the output. The only thing the output sees is a sanitized geometry setting which causes the backend to resize to the requested height/width. |
The video uploaded does not maintain aspect ratio. In the readme it says, " '!' - Keep the same aspect of the image/video, but with the passed dimesion."
My goal is to be able to be able to have the video returned in a square (while maintaining the aspect ratio). Cropping from the center would be ideal, as well.
Any help would be greatly appreciated. I included my code below.
Here is a link to a skewed 500x500! video of my puppy:
http://s3.amazonaws.com/pivotdevelopment/posts/videos/102/square.mp4?1440617576
Here is the non-skewed version for comparison:
http://s3.amazonaws.com/pivotdevelopment/posts/videos/103/square.mp4?1440617933
The text was updated successfully, but these errors were encountered: