rhel4实现Helix Server+windows media encoder实现视频在线直播

rhel4实现Helix Server+windows media encoder实现视频在线直播 来源: ChinaUnix博客  日期: 2009.06.16 16:12 (共有0条评论) 我要评论 最近中科院的院士要来学校演讲,学校要求我们雨无声网站制作视频直播,任务就交给我们维护组了,老师的要求是Helix Server+windows media encoder实现,制作过程遇到了许多困难,但是都被我们克服了.具体实现过程记录如下,留以后备用. 一:Helix Server安装在服务器端 使用rhel 4系统+Helix Server Unlimited v11.0.1.1884 For Linux 安装Helix Server(转载) Helix Server Unlimited v11.0.1.1884 For Linux 特别版 下载地址:http://www.cncode.com/Download.asp?ID=1170&URL=http://downloads511.cncode.com/server/HelixServerUnlimited11_Linux.rar (linux公社有Helix_DNA_Server_10.1可下载,不过我喜欢新些的版本) 汉化补丁 下载地址:http://www.helix.cn/download/Helix_Administrator_CHS_2.01.rar (解压密码:www.helix.cn) 以上两个文件都是用rar压缩的,你可以在你的linux中系统装一个rar_forlinux来解压,也可以winrar解压好再到linux系统中使用,我已经解压好了,解压后的文件都放在了同一个文件夹内. [root@rhel ~]# cd helixserver/ [root@rhel helixserver]# ls crack HelixAdministrator HelixServerUnlimited11_Linux.zip setup.tar.gz [root@rhel helixserver]# tar xzvf setup.tar.gz helix-server-retail-11.01-rhel4-setup.bin HelixProxyAdmin.pdf HelixProxyConfig.pdf HelixServerAdmin.pdf HelixServerConfig.pdf [root@rhel helixserver]# ls crack HelixServerConfig.pdf HelixAdministrator helix-server-retail-11.01-rhel4-setup.bin HelixProxyAdmin.pdf HelixServerUnlimited11_Linux.zip HelixProxyConfig.pdf setup.tar.gz HelixServerAdmin.pdf [root@rhel helixserver]# chmod +x helix-server-retail-11.01-rhel4-setup.bin [root@rhel helixserver]# ./helix-server-retail-11.01-rhel4-setup.bin Extracting files for Helix installation........................ Welcome to the Helix Server 11.0 (11.0.1.1884) Setup for UNIX Setup will help you get Helix Server running on your computer. [ Press [Enter] to continue... ] If a Helix Server license key file has been sent to you, please enter its directory path below. If you have not received a Helix Server license key file, then this server WILL NOT OPERATE until a license key file is placed in the server's License directory. Please obtain a free Basic Helix Server license or purchase a commercial license from our website at http://www.real.com/. If you need further assistance, please visit our on-line support area at http://service.real.com/. License Key File: []: [ 这个是要许可证,可以先放下,等安装完再将许可证文件放入 ] Installation and use of Helix Server requires acceptance of the following terms and conditions: Press [Enter] to display the license text... [ 回车,然后....有兴趣就读一读吧^_^... ] Choose "Accept" to accept the terms of this license agreement and continue with Helix Server setup. If you do not accept these terms, enter "No" and installation of Helix Server will be cancelled. I accept the above license: [Accept]: [ 此处回车默认即可 ] Enter the complete path to the directory where you want Helix Server to be installed. You must specify the full pathname of the directory and have write privileges to the chosen directory. Directory: [/root/helixserver]: /usr/helixserver [ 更改安装路径 ] Please enter a username and password that you will use to access the web-based Helix Server Administrator and monitor. Username []: [ 设置远程管理用户名 ] Username []:Password []: [ 设置密码 ] Confirm Password []: Please enter a port on which Helix Server will listen for RTSP connections. These connections have URLs that begin with "rtsp://" Port [554]: [ 此处回车默认即可 ] Please enter a port on which Helix Server will listen for HTTP connections. These connections have URLs that begin with "http://" Port [80]:8080 [ 更改http传输端口,为避免和apache冲突,建议更改 ] Please enter a port on which Helix Server will listen for MMS connections. These connections have URLs that begin with "mms://" Port [1755]: [ 此处回车默认即可 ] Helix Server will listen for Administrator requests on the port shown. This port has been initialized to a random value for security. Please verify now that this pre-assigned port will not interfere with ports already in use on your system; you can change it if necessary. Port [11012]:11111 [ 更改远程管理访问的端口,系统默认的有时难以记住,可更改为好记的 ] You have selected the following Helix Server configuration: Admin User/Password: traveller2/**** Encoder User/Password: traveller2/**** Monitor Password: **** RTSP Port: 554 HTTP Port: 8080 MMS Port: 1755 Admin Port: 11111 Destination: /usr/helixserver Enter [F]inish to begin copying files, or [P]revious to go back to the previous prompts: [F]: [ 如果以上设置你没意见,此处回车默认即可,否则按P重新设置 ] Copying Helix Server files.... Helix Server installation is complete. If at any time you should require technical assistance, please visit our on-line support area at http://service.real.com/. Cleaning up installation files... Done. [root@rhel helixserver]# ls crack HelixServerConfig.pdf HelixAdministrator helix-server-retail-11.01-rhel4-setup.bin HelixProxyAdmin.pdf HelixServerUnlimited11_Linux.zip HelixProxyConfig.pdf setup.tar.gz HelixServerAdmin.pdf [root@rhel helixserver]# cp -a HelixAdministrator/ /usr/helixserver/HelixAdministrator_zh/ [ 这是汉化过程,HelixAdministrator就是最初下载的汉化包解压得来 ] [root@rhel helixserver]# cp crack/DistributedLicensing.lic /usr/helixserver/License/ [ 破解过程??^_^ ] [root@rhel helixserver]#cd /usr/helixserver [root@rhel helixserver]# mv HelixAdministrator HelixAdministrator_en [ 为默认的英文语言包重命名,这样做的主要目的是,万一某一刻你突然感觉英文看着很爽,依然可以将管理界面换回英文 ] [root@rhel helixserver]# ln -s HelixAdministrator HelixAdministrator_zh/ [root@rhel helixserver]# ls adm_b_db default.cfg HelixAdministrator_zh Plugins Bin default.cfg.old helixserver.my Plugins.old Bin.old enc_b_db Lib rmserver.cfg Cache enc_r_db Lib.old rmserver.cfg.old cdi_b_db enc_w_db License Secure Commerce HelixAdministrator Logs slta.cfg Content HelixAdministrator_en master.cfg [root@rhel helixserver]# ./Bin/rmserver rmserver.cfg & [ 启动服务器进程并让它在后台执行, ] [root@rhel helixserver]# ps -aux |grep rmserver Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ root 2918 0.1 1.0 7000 2096 pts/0 S 18:17 0:00 ./Bin/rmserver rmserver.cfg root 2919 7.9 61.5 324136 117592 ? Ssl 18:17 0:02 ./Bin/rmserver rmserver.cfg root 2920 0.0 1.0 7004 2100 ? Ss 18:17 0:00 ./Bin/rmserver rmserver.cfg [ 检查服务是否已正常启动 ] 这时你的流媒体服务器已经正常运行了,可以在远程进行维护.我是在另一台WINDOWS机上进行维护的.打开IE(或其他浏览器),输入 http://192.168.213.128:11111/admin/index.html 会提示让你输入用户名和密码,验证便可以看到管理界面,并且已经是全中文,端口设置可在这里随意更改. 限制最大用户数: "加载点"里的内容一般是一定要更改的 现在我添加一个新的加载点mov1,注意加载点/mov1/最后一定要有这个"/",设置好后"应用" 更改加载点内容后若想生效必须重新启动helixserver服务,重启服务器按钮可在管理界面的右上角看到,重启后页面会在20秒后自动刷新,一般不需要等那么久,可以手动重载页面. Helix Server Unlimited v11.0.1.1884已经将以前放在 "服务器设置中"的"媒体演示"功能也挪到,了右上角,和帮助等放在了一起,这样的更改的确更合理,你可以转到"媒体演示"页面进行服务器测试.这时你的流媒体服务器已基本能满足要求. 可监控服务器运行状态 helixserver还可以做许多设置,如访问控制,广播等,管理界面已经是中文,应当不难看懂,有些功能我自己也没有摸清楚,您可以到网上查到一些关于设置的文章,最好的教程是它的帮助文档. 二.连接dv与电脑,可用视频采集卡,但是采集卡挂了..所以换部门里本来有的电视卡 用了天敏电视卡,连接上以后装上天敏驱动盘里相关软件,采用天敏录制DVD机子里节目的原理连接了dv和电视卡.测试成功 三.安装并本机测试windows media encoder 简单.. 不说 到此为止录制节目和把视频放在服务器上供远程浏览已经完成,但是还不能实现直播 四.(这里最难搞了..我们弄了一天就是没把直播弄好,结果失望而归回去吃饭,为了缓解一下情绪,回宿舍魔兽一局,突然电光火石间灵机一动,想起用 Helix server windows media encoder 五个关键字一起百度搜索 结果老天有眼啊..........马上搜出了解决方案 多亏网上一位仁兄的技术博客指导我们才完成了直播大业 下面转载一下~~ 再次感谢这位仁兄 【逸舟原创】用Helix Server做Windows Media广播要注意的问题 2008-08-13 01:21 最近为给电台设置网络直播而接触了一把Helix Server和相关的压缩发布软件。Helix从9.0版之后就开始支持Windows的流媒体广播了,只要简单的设置就可以用Windows媒体编码器向Helix发布直播流。但是网络上还查询不到这方面的具体信息,我在这里做一下介绍。 1、Helix Server中的设置 在Helix中点选至“广播设置”(以汉化版为例,英文版也很简单,请参考翻译。),选择“Windows Media编码”,在这个页面中设置广播的加载点、推送编码端口和推送认证(用户名、密码)。加载点可以选择默认值,或者自己设置。例如我们设置为"/wma/"。这里记住加载点结尾一定要为"/"。推送编码端口也可以选择默认的7077端口。推送编码认证一项可以选择"SecureWMEncoder”,这样在直播发布端需要输入你原来设置的Helix的管理员名称和密码。如果选择"No Authentication"则是不需要验证可以直接发布。 这个页面下方的源、源描述、主机、端口等项目在我们的直播中用不上,不用设置。 2、在Windows Media编码器中的设置 Windows媒体编码器中我们主要关注的是会话属性中的“输出”选项卡的设置。我们是向服务器退传递方式的广播发布,所以要点选“向服务器退传递(由编码器初始化连接)”,然后设置服务器的IP地址和端口号,例如"127.0.0.1:7077",接着是发布点,可以填写你想要的名称,实际上就是服务器广播的实况流的名字,例如"wma/live”。这里需要注意的是在Helix中设置加载点为"/wma/",但是在Windows媒体编码器中填写这个发布点时不可将最前面的“/”带进去,live后可以不带后缀。“从此复制设置”一栏默认,不需更改。接着设置其它选项卡的内容,比如源、压缩、属性等,完成后即可点击“开始编码”按钮开始退传递方式发布。 3、给播放器正确的广播URL Helix Server可能跟我们开了一个玩笑,你如果直接用Windows媒体编码器给出的URL来收听,肯定会提示你找不到文件而导致广播失败。其实这里正确的MMS广播地址应该是"MMS://127.0.0.1:554/wma/live"。在服务器默认的MMS端口1755上并不能接收到直播流,而应该是在RTSP端口554上进行接收。这个端口可以在Helix的服务器设置-端口下更改。 ——如果你需要转载请注明出处,谢谢!
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值