python提取音频

# -*- coding: utf-8 -*-
"""
@Author: Meng
@software: PyCharm
@file: python提取音频.py
@time: 2021/10/28 20:16
"""
from moviepy.editor import *
video = VideoFileClip(r'C:\Users\meng\Desktop\test\33.mp4')
audio = video.audio
audio.write_audiofile(r'C:\Users\meng\

 

posted @ 2022-02-21 21:56  CGRun  阅读(83)  评论(0)    收藏  举报