Related:
How to extract audio from a video file using python?
Extract audio from video as wav
How to rip the audio from a video?
My question
Audio clips can be created from an audio file or from the soundtrack of a video file
from moviepy.editor import * audioclip = AudioFileClip("some_audiofile.mp3") audioclip = AudioFileClip("some_video.avi")
https://zulko.github.io/moviepy/getting_started/audioclips.html