随笔-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
posted @ 2024-08-21 16:33  LiYanbin  阅读(3)  评论(0编辑  收藏  举报