Is it possible to pull a RTMP stream from one server and broadcast it to another?

后端 未结 2 1552
谎友^
谎友^ 2021-01-06 09:28

I essentially have a situation where I need to pull a stream from one Wowza media server and publish it to a Red5 or Flash Media Server instance with FFMPEG. Is there a comm

相关标签:
2条回答
  • 2021-01-06 10:04

    Yes. An example (pulling from a local server, publishing to a local server):

     $ ffmpeg -analyzeduration 0 -i "rtmp://localhost/live/b live=1" -f flv rtmp://localhost:1936/live/c
    

    analyzeduration is to make it start faster. You can also add other parameters in there to "reencode" etc. if desired.

    0 讨论(0)
  • 2021-01-06 10:13

    try typing in this way: $ffmpeg -i "[InputSourceAddress]" -f [Outputfileformat] "[OutputSourceAddress]" The input source address can be in type rtmp, or rtsp/m3u8/etc.

    0 讨论(0)
提交回复
热议问题