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 @   CGRun  阅读(72)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· DeepSeek 开源周回顾「GitHub 热点速览」
  1. 1 一直很安静 王贰浪
  2. 2 热爱105°C的你 阿肆
  3. 3 She - Vicky宣宣 Anne Marie
  4. 4 目及皆是你 目及皆是你
  5. 5 很受伤 郁可唯
  6. 6 远远的时光 吉克隽逸
  7. 7 失眠播报 苏星婕
  8. 8 第三人称 买辣椒也用券
  9. 9 像鱼 王贰浪
热爱105°C的你 - 阿肆
00:00 / 00:00
An audio error has occurred, player will skip forward in 2 seconds.
点击右上角即可分享
微信分享提示