Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to capture audio streaming with ffmpeg

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.

like image 249
Raul Mercado Avatar asked Oct 28 '25 10:10

Raul Mercado


1 Answers

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
like image 86
llogan Avatar answered Oct 30 '25 14:10

llogan