question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

i want to make video 2x speed using moviepy but its making videos zoom in,enlarge

See original GitHub issue

Hi 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

2020-09-10 (5) 2020-09-10 (6)

Thank you

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:25

github_iconTop GitHub Comments

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found