© moviepy |
由於語法渲染問題而影響閱讀體驗, 請移步博客閱讀~
本文GitPage地址
Quick Start: moviepy
Cite: taoquns 2019
# pip install moviepy
from moviepy.editor import *
video = VideoFileClip('test.mp4')
audio = video.audio
audio.write_audiofile('test.mp3')
Requirement
moviepy
decorator
tqdm
requests
numpy
imageio
pillow
imageio_ffmpeg
ffmpy3
Cite: (c) Jumping boy; 2019
from ffmpy3 import FFmpeg
ff = FFmpeg(inputs={'周笔畅-最美的期待(伴奏版).mp4': None},
outputs={'output.mp3': None})
print(ff.cmd)
ff.run()
Enjoy~
由於語法渲染問題而影響閱讀體驗, 請移步博客閱讀~
本文GitPage地址
GitHub: Karobben
Blog:Karobben
BiliBili:史上最不正經的生物狗