Pipe ffmpeg stream to sox rec

╄→гoц情女王★ 提交于 2019-12-06 07:43:41

What difficulty did you meet? I tried myself and the only problem I noticed in using the example given in the sox man page is that sox - may have trouble understanding the input format from just a few bytes.

Try going through flac, it worked here:

ffmpeg -i http://icecast.radiovox.org:8000/live.ogg -f flac - | sox - song.ogg silence 1 0.50 0.1% 1 2.0 0.1% : newfile : restart

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!