FFMPEG SRT video send only audio to icecast

956 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 answers

0
llogan 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