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

后端 未结 2 1568
谎友^
谎友^ 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.

提交回复
热议问题