假设协议是HTTP,音频格式为MP3,那么它可以非常简单: ffmpeg -i http://server:port -c copy output.mp3 参见: FFmpeg协议文档 ffmpeg文档:流复制