求python将两个MP3音频文件拼接成一个MP3文件的代码
的有关信息介绍如下:
可以使用pydub
1 网址:https://github.com/jiaaro/pydub
2 pydub需要依赖 libav或者ffmpeg
3 在mac环境下安装依赖:(二选一)
[plain] view plaincopy
brew install libav --with-libvorbis --with-sdl --with-theora
将所有依赖都安装上~~
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis--with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools --with-fdk-aac --with-freetype --with-ffplay --with-ffplay --with-freetype --with-frei0r --with-libass --with-libbluray --with-libcaca --with-libquvi --with-libvidstab --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-openssl --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools --with-x265
4 安装pydub: pip install pydub
5 使用pydub:
下载是示代码



