Created
February 16, 2017 06:06
-
-
Save leonardoo/55eb16ac81fb9239a1d8633f2d79f682 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from moviepy.editor import * | |
cad = u'98597661-10.jpg' | |
myclip = ImageClip(cad).fx(vfx.resize, newsize=[1280, 660]) | |
final = CompositeVideoClip([myclip], size=(1280, 720)) | |
final.set_duration(7).write_videofile("test.mp4", fps=30) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment