Answers for "how to convert mp4 to mp3 using python"

0

mp4 to mp3 in python

# -*- coding: utf-8 -*-
from moviepy.editor import *

video = VideoFileClip('Sora no Kiseki the 3rd Evolution [BGM RIP] - Cry for your Eternity.mp4')
video.audio.write_audiofile('test.mp3')
Posted by: Guest on August-08-2021
0

python mp4 to mp3

import os
from moviepy.editor import *
video = VideoFileClip(os.path.join("path","to","movie.mp4"))
video.audio.write_audiofile(os.path.join("path","to","movie_sound.mp3"))
Posted by: Guest on July-18-2021

Python Answers by Framework

Browse Popular Code Answers by Language