http://www.wowza.com/forums/content.php?36-How-to-publish-and-play-a-live-stream-(RTMP-or-RTSP-RTP-based-encoder)
关于如何实现流媒体的multi-bitrate播放,文档中并没有完整的描述,只是告诉你如何配置。
文档提到:你需要有一个能从一个视频流中编码出多种码率的编码器。
写道
Multi-bitrate live streaming to Flash, Apple iOS devices and Silverlight requires that you have an encoder that can generate multiple bitrate streams from the same source that are properly key-frame aligned.
然后用SMIL文件来描述码率配置。
但什么例子也没有,什么样的encoder满足key-frame aligned?客户端怎么做?
有点参考性的是帖子的回复,第二页回复的最后有位venoushcz用H.264,mp3
写道
I use FMLE, h.264 and MP3:
<encode>
<video>
<format>H.264</format>
<datarate>500;200;100;</datarate>
<outputsize>768x432;512x288;512x288;</outputsize>
<advanced>
<profile>Main</profile>
<level>4.0</level>
<keyframe_frequency>4 Seconds</keyframe_frequency>
</advanced>
<autoadjust>
<enable>false</enable>
<maxbuffersize>1</maxbuffersize>
<dropframes>
<enable>false</enable>
</dropframes>
<degradequality>
<enable>false</enable>
<minvideobitrate></minvideobitrate>
<preservepfq>false</preservepfq>
</degradequality>
</autoadjust>
</video>
<audio>
<format>MP3</format>
<datarate>96</datarate>
</audio>
</encode>
I stream to origin server. It is connected to edge server. I can stream each of the substreams to the demo player succesfully so the config origin - edge should be OK. I created the setup for the o-e multibitrate as you described in the post.
my live1.stream etc. files contain just the link to the origin server as you described:
rtmp://originsrv:1935/LIVESTREAM/livestream1
似乎能行
因为我没有亲手写过flash中camera encode,不太了解这些环节,
还是等需要介入时把代码拿来看看。
另外,2010年的时候有人说flash不能做h.264编码,到了2011年9月就有人在回复中指出最新的flash已经提供了支持。确实如此,我们前段时间修改为h.264后带宽节省了很多。
写道
Originally Posted by cnynracer1
“Thanks Roger. Yes I understand Flash player doesn't encode in H.264, but I am curious if we can do this without asking our users to download a plugin such as this.“
The latest (pre-release - coming soon - honestly ;-) ) does a nice job of encoding with H.264.
Get it here: http://labs.adobe.com/downloads/flashplayer11.html
It takes some fiddling to get flash building in your dev environment:
Flex instructions here: http://www.youtube.com/watch?v=LlME1tUrDTo
Flash Professional CS5.5 instructions here: http://forums.adobe.com/message/3906794#3906794
Here are some snippets for your flash code that will effect the changes:
Code:
// Settings for H.264 - this is all there is to it. Sadly no AAC :-(
var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();
h264Settings.setProfileLevel(H264Profile.BASELINE, H264Level.LEVEL_2);
nsPublish.videoStreamSettings = h264Settings;
I"ve used this successfully with some Xuggler code that I fire off from a module to post process streams for IOS availability. This could have been done as a distinct server, but I felt it better to manage one app than two.
可见跟对一个技术流派是多么重要。。。
从以上可以推测出,我们可以在客户端做multi-bitrate encode,也可以在服务器上做,具体如何实施还需要详细论证,需要匹配不同的业务场景,由于编码是个CPU密集型运算,client-origin-edge各自的负载能力需要仔细测试和规划。
分享到:
相关推荐
wowza-letsencrypt-converter 一个简单的实用程序,用于将所有加密证书转换为JKS存储,并为Wowza Streaming Engine(4.5.0+)创建一个域到密钥库的映射。 Wowza Streaming Engine可以在密钥库映射文件更改时重新...
Wowza令牌认证的令牌生成器要求Java 7或更高版本Maven 3.3.9(经测试)或更高版本建造要构建生成器,请转至/ wowza-token-auth-generator-java /并运行以下命令: mvn clean package构建成功后,您将在名为target的...
docker build --tag= " $USER /wowza:latest " . 用法 docker run --name= ' wowza ' -d \ -e ' WOWZA_KEY=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx ' \ -p 1935:1935 -p 8086:8086 -p 8087:8087 -p 8088:8088 \ $...
vod-wowza-angularjs-spring-hibernate 农林大学的最终项目
赶紧下载,不知道什么时候过期,有破解流程,建议百度下载,Wowza支持多转码,支持多平台的服务器,一键上传,多平台使用
WowzaStats-v4 用于检查 Wowza 流服务器的当前连接的插件。先决条件操作系统Linux 视窗智能操作系统操作系统支持的v v v v 运行节点.js Python Java必需的+NPM 依赖项: xml2js 乐天派要求插件设置适用于 Wowza ...
文件比较大,一共4个分卷,这是分卷2 LINUX版本,有坛友上传了WINDOWS版本。
Ansible-wowza Wowza Ansible角色 该角色可自动完成Wowza ... Wowza Streaming Engine:trade_mark:是强大的,可自定义的媒体服务器软件,可为任何地方的任何设备提供可靠的高质量视频和音频流。 Wowza软件具有平台无关
请注意:通过确定Wowza许可证文件的状态来检查是否已在服务器上安装Wowza Streaming Engine,Wowza许可证文件的状态默认安装到/usr/local/WowzaStreamingEngine/conf/Server.license路径。 要求 要求在角色元数据中...
Wowza空中模块wowza的模块,如果源流脱机,您可以将任何流自动切换到非直播视频循环。 启用此插件后,每个传入流都将导致创建另一个流,并在末尾附加“ _out”。 例如,传入的“ studio”流将导致创建“ studio_out...
文件比较大,一共4个分卷,这是分卷1 LINUX版本,有坛友上传了WINDOWS版本。
Wowza Streaming Engine 4 (也就是著名的Wowza Media Server®)是一个高性能、可扩展的流媒体服务器软件,支持直播、VOD、在线视频聊天、远程录制功能, 它也支持多种播放器技术。
此代码用于我创建的演示,该演示使用 Wowza 使用 rtp 流式传输实时事件,并将基于 JSON 的元数据注入媒体流并使用它在客户端触发同步事件。 设置 要进行此设置,您需要设置 wowza 并广播实时流(Adobe 实时编码器...
媒体服务器软件Wowza Streaming Engine详细介绍.docx
wowza入门图文教程
截至 20140328 为止 wowza 官方发布的最新 Wowza Streaming Engine 安装包,版本为 4.0.3,含 windows 和 Linux 两个,一个 119.116 MB 的 WowzaStreamingEngine-4.0.3.exe,一个 110.148 MB 的 ...
wowza server trace log
文件比较大,一共4个分卷,这是分卷3 LINUX版本,有坛友上传了WINDOWS版本。
Rem-East-Edge-1-Wowza-Stats 监控 Rem-East-Edge-1 Wowza 服务器统计信息的边界插件 wowzapoll.sh 运行,然后依次运行 wowza-stats.js
WowzaMediaServer-3.6.2.exe,大小 84MB,截至 20130924 为止,Wowza 官方公布的最新 Windows 下的安装程序。 关于 Wowza 发布直播服务,请参考博客:http://blog.csdn.net/defonds/article/details/11979095。