-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Feature Request] Zoom and Rotate #166
Comments
Rotating from any angle is already possible as long as you have PIL installed (see the source). I'll add a zoom feature at some time, but for the moment what you are asking is basically crop+resize. So something like this (didn't check, I hope my math is correct):
|
Will the arbitrary angle rotate work with Pillow? On Mon, May 4, 2015, at 10:15 AM, Zulko wrote:
newclip = clip.fx(zoom, factor=2)
Links: |
yes |
Upgrading to git version of moviepy fixed my PIL issue. I implemented zoom as (hope its correct):
Because I would get Thank you :) |
I am wondering if the following features are planned for moviepy, or what would be the best way to implement them with the current version.
1.) Zoom
Kind of like resize, except that it would take a frame from the center (x/2, y/2) and scale it up to original resolution (zoom in)? http://zulko.github.io/moviepy/ref/videofx/moviepy.video.fx.all.resize.html#moviepy.video.fx.all.resize
2.) Rotate
The current rotate solution only flips the video by 90 degree increments. I am wondering of how would it be possible to rotate for any arbitrary amount (eg. 5 degrees).
http://zulko.github.io/moviepy/ref/videofx/moviepy.video.fx.all.rotation.html#moviepy.video.fx.all.rotation
Any tips are greatly appreaciated. Thank you for the awesome work done with the library.
The text was updated successfully, but these errors were encountered: