问题
I'd like to capture audio streaming from a live radio on internet using ffmpeg.
If you have some examples or documentation it will be very appreciated.
回答1:
Assuming the protocol is HTTP and audio format is MP3 it can be as simple as:
ffmpeg -i http://server:port -c copy output.mp3
See:
- FFmpeg Protocols Documentation
- ffmpeg Documentation: Stream copy
来源:https://stackoverflow.com/questions/45239954/how-to-capture-audio-streaming-with-ffmpeg