[FFMpeg Concat] Use FFMpeg to concat MP3 files of 地球村高級美語CD
#!/usr/bin/env python# you must have ffmpeg in $PATHimport os, sys, glob
for i inrange(1,14):
flist = "|".join(glob.glob("%02d??-A.mp3" % i ))
os.system('ffmpeg -y -i "concat:%s" -acodec copy %02d.mp3 '\
% (flist,i) )
No comments:
Post a Comment