mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-30 15:31:10 +00:00
9 lines
222 B
Python
9 lines
222 B
Python
import moviepy.editor
|
|
|
|
path_video = input("Enter the path of video: ")
|
|
video = moviepy.editor.VideoFileClip(path_video)
|
|
|
|
audio = video.audio
|
|
path_audio = input("Enter the path of audio:")
|
|
audio.write_audiofile(path_audio)
|