Video streaming 如何在Wowza中发布rtmp流?

Video streaming 如何在Wowza中发布rtmp流?,video-streaming,wowza,Video Streaming,Wowza,我想从中发布一个rtmp流rtmp://someothersite.com/live/ 并将m3u8流传送到ios和android设备 我决定使用Wowza,并在本文后面做了一些设置 有: Publishing the stream (RTMP based encoder) Enter the Server URL and Stream Name information below and click the Publish or Start button on the encoder: S

我想从中发布一个rtmp流rtmp://someothersite.com/live/ 并将m3u8流传送到ios和android设备

我决定使用Wowza,并在本文后面做了一些设置

有:

Publishing the stream (RTMP based encoder)

Enter the Server URL and Stream Name information below and click the Publish or Start button on the encoder:

Server URL: rtmp://[wowza-address]/live
Stream Name: myStream

我想知道我需要在哪里输入服务器url和名称?

您需要下载RTMP编码器。试试这个:
我认为你可以用两种方法来做。 我知道你想从其他任何地方获得一个流,然后通过你的wowza服务器进行流式传输,或者想保存X流并开始通过wowza重新进行流式传输

第一种方式,您可以通过ffmpeg获得实时流

ffmpeg -i rtmp://remoteXstreamFromAnyWhereElse/playlist/first -f flv
rtmp://yourWowzaIp:1935/live/now

从现在起,使用ffmpeg将流重新流到wowza。及 在实例中,您可以很好地到达“现在”流

另一个是ffmpeg

ffmpeg -i rtmp://remoteZstream/StreamsName/fileName -vcodec copy -acodec copy 
-f.新阿维

另一个cmd命令是这样的

ffmpeg -i video="new.avi" -r 30 -b:v 128k -f flv rtmp://wowzaIp/live/now2
另一种方式是[对我来说也是最好的方式]

在中编辑xml StartupStream C:\Program Files\Wowza Media Systems\Wowza Media Server 3.1.2\conf

将以下行添加到

<StartupStreams><StartupStream><Application>live/_definst_</Application<MediaCasterType>rtp</MediaCasterType><StreamName>rtsp://yourRemoteZReStreamingProviderServer/App/File<StreamName> </StartupStream>
live/\u definst_