python3.5.3
windows10
需要使用pydub整合音频文件,但是pydub需要的libav or ffmpeg.都下载不下来
代码:from?pydub?import?AudioSegment
song_zero?=?AudioSegment.from_mp3("F://auido.mp3")
song_one?=?AudioSegment.from_mp3("F://auido1.mp3")
song_two?=?AudioSegment.from_mp3("F://auido2.mp3")
song_three?=?AudioSegment.from_mp3("F://auido3.mp3")
song_four?=?AudioSegment.from_mp3("F://auido4.mp3")
song_five?=?AudioSegment.from_mp3("F://auido5.mp3")
merge_song=song_zero+song_one+song_two+song_three+song_four+song_five
merge_song.export("F://merge_song.mp3",format="mp3")
直接运行的时候说找不到指定文件,就算没有ffmpeg,也不用报错说找不到指定文件吧,因为我存储文件的时候就是这个地址啊?
电脑上的文件地址
存文件的时候是好的