i want to make video 2x speed using moviepy but its making videos zoom in,enlarge
See original GitHub issueHi I’m new to moviepy my requirement is to make a normal video into 2x. All the videos are recorded on the phone and the videos which are not required any rotations are working fine. By the videos which are needed to be rotated even, I apply rotation or even just trying to write the output is zoomed in with full screen here is the code
from moviepy.editor import VideoFileClip
from moviepy.audio import *
import moviepy.video.fx.all as vfx
clip = VideoFileClip("testingggg.mp4",audio=False)
clip.size
#clip = clip.rotate(90)
print("Duration of video : ", clip.duration)
print("Duration of video : ", clip.reader.fps)
clip = clip.speedx(2)
#clip = VideoFileClip("final.mp4",audio=False)
#clip.size
clip.write_videofile("final.mp4", threads=4, audio_fps=44100,codec = 'libx264')
hope someone can help me here are some images so that u can get an idea on my issue image of the original file output is in this way
Thank you
Issue Analytics
- State:
- Created 3 years ago
- Comments:25
Top Results From Across the Web
python - i want to make video 2x speed using moviepy but its ...
i want to make video 2x speed using moviepy but its making videos zoom in,enlarge ; import VideoFileClip from moviepy.audio import ; all...
Read more >MoviePy – Applying Speed effect on Video Clip - GeeksforGeeks
In this article we will see how we can apply speed effect on the video file clip in MoviePy. MoviePy is a Python...
Read more >Moviepy Enlarging And Zooming In Video Outputs - ADocLib
Hi I'm new to moviepy my requirement is to make a normal video into 2x. video 2x speed using moviepy but its making...
Read more >How to be efficient with MoviePy
The best way to start with MoviePy is to use it with the IPython Notebook: it makes it easier to preview clips (as...
Read more >Resize video size online - sono naturale
To resize a video using Veed, you can upload your video and resize it using ... in or zoom out videos of various...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
https://zulko.github.io/moviepy/_modules/moviepy/video/VideoClip.html#ColorClip
Wait a minute