随笔-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
ffmpeg -i not-during-worktime.mp3 -ar 16000 -acodec g722 1.g722
posted @ 2024-08-21 16:33  LiYanbin  阅读(8)  评论(0)    收藏  举报