mplayer Samba.wma -ao pcm:file=test.pcm
#再編成MP3
lame -ms test.pcm -o Samba.mp3
#!/bin/sh
for i in *.wma ;
do
mplayer "$i" -ao pcm:file=audiodump.wav
lame -ms audiodump.wav -o "`basename "$i" .wma`.mp3";
rm -f audiodump.wav
done
rm -f audiodump.wav
沒有留言:
張貼留言