From 4dfc9d9ef241897d5060a82fdb3ed969c01a8168 Mon Sep 17 00:00:00 2001 From: Tanmoy Gupta <64883575+Im-Tanmoy@users.noreply.github.com> Date: Fri, 2 Oct 2020 15:55:20 +0530 Subject: [PATCH] Convert Video to audio Run this code and extract any audio as a mp3 file from a video. --- Convert Video to audio | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Convert Video to audio diff --git a/Convert Video to audio b/Convert Video to audio new file mode 100644 index 0000000..a49ffae --- /dev/null +++ b/Convert Video to audio @@ -0,0 +1,5 @@ +import moviepy.editor as mp #[at first install moviepy in ur system] + +clip = mp.VideoFileClip(r'C:\\Users\\ADMIN\\Desktop\\Despacito.mp4') #[copy and paste the path where u saved ur video] + +clip.audio.write_audiofile('C:\\Users\\ADMIN\\Desktop\\Despacito_cvrt.mp3') #[give the path where u want to save ur audio file]