如何发布多比特率(MBR)直播视频?
我搜索了很多线程:
http://forums.adobe.com/thread/27371
dynamicStream.addStream("livestream1",200);
dynamicStream.addStream("livestream2",400);
dynamicStream.addStream("livestream2",600);
vid.play2(dynamicStream);
但是所有他们正在谈论播放多比特率直播视频,
我的问题是我如何首先发布多比特率直播视频?
I've searched quite a few threads:
http://forums.adobe.com/thread/27371
dynamicStream.addStream("livestream1",200);
dynamicStream.addStream("livestream2",400);
dynamicStream.addStream("livestream2",600);
vid.play2(dynamicStream);
But all of them are talking about playing multiple bit rate live video,
my question is how I can publish multiple bit rate live videos in the first place?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论
评论(2)
不知道您到底在寻找什么,您能否更具体地说明您的设置,即您使用 Red5 作为 RTMP 服务器还是 FMS,进一步使用您链接的说明中指定的 Flash 媒体编码器有什么问题为了创建一个具有多种比特率编码的文件,从我在 FMS 演示中看到的情况来看,媒体位于单独的 flv 文件中,我相信并且会即时切换它正在传输的流数据。
http://livedocs.adobe.com/ fms/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm
您是否尝试发布单个比特率文件,然后以多个较低比特率进行流式传输,如果是这样,另一篇文章可能会有所帮助您:
将网络摄像头源发布到 Flash Media Server
祝你好运,希望这是有帮助,
肖恩
Don't know what you're looking for exactly can you be a bit more specific about your setup, that is are you using Red5 as the RTMP server or FMS further what's the problem with using the flash media encoder specified in the instructions you linked in order to create a file with multiple bit-rate encodings, from what I've seen in the demos for FMS the media was in separate flv files I believe and would switch which one it was streaming data from on the fly.
http://livedocs.adobe.com/fms/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm
Are you attempting to publish a single bit-rate file then have it streamed at multiple lower bit-rates, if so this other post may help you:
Publish webcam feed to Flash Media Server
Good luck hope this is helpful,
Shaun
发布多个比特率的选项位于编码软件中,如果您不使用专用硬件解决方案,通常是 Flash Media Live Encoder。
在 FMLE3 中,该设置位于“视频”部分下的“编码选项”选项卡中;在“输入大小”正下方,您应该会看到一组标有“比特率”的字段,您最多可以检查其中三个。
但是,这仍然给您留下了如何指定发布每个流的位置的问题,因为您只获得了一个编辑框来输入目标流名称。此问题的解决方案可在 http: //help.adobe.com/en_US/FlashMediaLiveEncoder/3.0/Using/WSA7473A4B-12E2-4d43-A70F-2949CD87732F.html:
因此,要实现一组类似于您在代码中指定的 MBR 流,您可以将 MBR 流集合指定为:
或:
当您选中所有 MBR 复选框,并且指定流名称包括所有如果您正在广播的流,您将能够使用您提供的代码为播放器提供足够的数据以在流之间切换。
The option to publish multiple bitrates is in your encoding software, often Flash Media Live Encoder if you're not using a dedicated hardware solution.
In FMLE3, the setting is in the 'Encoding Options' tab under the 'Video' section; right beneath 'Input Size' you should see a collection of fields labeled 'Bit Rate', of which you can check up to three.
However, this still leaves you with the problem of how to specify where you're publishing each of your streams, since you're only given a single edit box to type in your destination stream name. The solution for this is found at http://help.adobe.com/en_US/FlashMediaLiveEncoder/3.0/Using/WSA7473A4B-12E2-4d43-A70F-2949CD87732F.html:
So, to achieve a set of MBR streams like the ones you specified in your code, you can specify your collection of MBR streams as either:
or:
When you have all the MBR checkboxes checked, and the stream name specified to include all of the streams you're broadcasting, you'll be able to use code like you provided to provide a player with enough data to switch between streams.