随笔-ffmpeg ffplay
linux下播放alaw文件:
xfile=poweroff.alaw ;timeout 5 ffplay -i $xfile -f alaw -ac 1 -ar 8000
for xfile in $(ls *.alaw);do sleep 1s; echo $xfile;timeout 5 ffplay -i $xfile -f alaw -ac 1 -ar 8000; done
本文来自博客园,作者:LiYanbin,转载请注明原文链接:https://www.cnblogs.com/stellar-liyanbin/p/18371953