Last active
July 27, 2017 18:43
-
-
Save yazdipour/bdcbf2ae5acbbb5e05198a3c8fa900c3 to your computer and use it in GitHub Desktop.
This file contains 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
# pip install imageio | |
# then in python : | |
# import imageio and | |
# imageio.plugins.ffmpeg.download(). | |
import moviepy.editor as mp | |
clip = mp.VideoFileClip("X.mp4") | |
# .subclip(0,20) | |
clip.audio.write_audiofile("Y.mp3") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment