FFMPEG SRT video send only audio to icecast

967 Views Asked by At

So I know that with FFMPEG you can read srt:// Now I now you can also take a video and turn it into audio only.

But the problem we are having is

  • We don't know how to only send the audio from a video srt to icecast server

Example RMPT stream to icecast:

ffmpeg -re -i rtmp://192.168.22.12/live/live1 -vn \
       -codec:a libmp3lame -b:a 64k -f mp3 \
       -content_type audio/mpeg \
       icecast://source:[email protected]:8000/mountpoint.mp3

1

There are 1 best solutions below

0
On BEST ANSWER
ffmpeg -i srt://hostname:port -vn \
       -codec:a libmp3lame -b:a 64k -f mp3 \
       -content_type audio/mpeg \
       icecast://source:[email protected]:8000/mountpoint.mp3