Skip to content

Commit 0fc7a2e

Browse files
committed
feat: Video to audio convertor
1 parent 4b99b24 commit 0fc7a2e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Video To Audio/main.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import moviepy
2+
from tkinter.filedialog import *
3+
4+
askForVideo = askopenfilename()
5+
video = moviepy.editor.VideoFileClip(askForVideo)
6+
7+
audio = video.audio
8+
audio.write_audiofile("demo.mp3")
9+
10+
print("Conversion Completed !!")

0 commit comments

Comments
 (0)