Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

mp4 to wav python

from os import path
from pydub import AudioSegment

# files
src = "test.mp4"
dst = "test.wav"

# convert mp4 to wav
sound = AudioSegment.from_file(src,format="mp4")
sound.export(dst, format="wav")
 
PREVIOUS NEXT
Tagged: #wav #python
ADD COMMENT
Topic
Name
6+8 =