【问题标题】:FFMPEG SRT video send only audio to icecastFFMPEG SRT 视频仅将音频发送到 icecast
【发布时间】:2020-12-03 02:15:13
【问题描述】:

所以我知道使用 FFMPEG 你可以阅读srt:// 现在我现在你也可以拍摄视频并将其仅转换为音频。

但我们遇到的问题是

  • 我们不知道如何只将视频srt 中的音​​频发送到icecast 服务器

到 icecast 的示例 RMPT 流:

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:pass@example.com:8000/mountpoint.mp3

【问题讨论】:

    标签: ffmpeg icecast srt


    【解决方案1】:
    ffmpeg -i srt://hostname:port -vn \
           -codec:a libmp3lame -b:a 64k -f mp3 \
           -content_type audio/mpeg \
           icecast://source:pass@example.com:8000/mountpoint.mp3
    

    【讨论】:

      猜你喜欢
      • 2016-04-11
      • 2016-09-17
      • 1970-01-01
      • 2021-03-10
      • 2012-03-09
      • 2016-06-13
      • 1970-01-01
      • 1970-01-01
      • 2021-06-24
      相关资源
      最近更新 更多