首 页文章中心黑客工具黑吧学院技术论坛安全培训免费频道最近更新瑞星在线杀毒黑吧百度繁體中文
  设为首页
加入收藏
发布作品
   
栏目导航
· 安全防范 · 网管技术
· 病毒分析 · 网络安全
热门文章
· 如何封别人QQ
· 充QQ币的疯狂——宽...
· 免费得QB
· 400秒远程攻破你的Q...
· [图文] QQ免费建400个群
· [组图] 给你一台永远不关机...
· [注意] QQ宠物砸蛋秘诀
· 再次有机会免费获得...
· 想的挂QQvip的进
· 在QQ中将自己从对方...
相关文章
网吧电视直播服务器架设
作者:佚名  来源:www.hack58.com  发布时间:2006-8-19 9:04:43  发布人:黑客动画吧

减小字体 增大字体

近期有很多网吧做的朋友向我询问网吧电视直播的事情,今天刚好有空我发些资料大家看看。

网吧电视直播一般要求不是很高,150台机器以下可以直接在电影服务器上做,150台以上并且看电视的人很多,建议配台专用的电视服务器。

所需硬件:电视卡一块(我以天敏的电视大师2代介绍,市场价在190~210之间吧)

所需软件:Windows Media Encoder

首先安装好电视卡驱动和播放软件及Windows Media Encoder,安装完后启动桌面的windows media编码器

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199430824.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

启动后界面为

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199431439.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

然后新建会话

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199431118.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

然后新建广播实况时间,然后配置视频和音频设备

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199431364.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199431649.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199432118.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

在选择广播方式

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199432810.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

在选择你要用的端口

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199432428.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

再就是编码的类型和问您存不存档

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199432581.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199432915.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

在就是添加欢迎词和标题、作者

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199432920.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199432123.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199432124.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199432850.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

启动后界面为

javascript:window.open(this.src); alt="" src="/Article/UploadPic/2006-8/20068199432395.jpg" onload="javascript:if(this.width>screen.width-500)this.style.width=screen.width-500;" border=0>

点击编码就可以直播了,下面观看的地址为mms://服务器ip:8080(或者其他端口)

好了,现在我们就可以通知我们的朋友了,告诉它刚才记下的地址。打开Windows Media Player,输入IP地址以及端口号。(外网观看需要在服务器上映射端口到电视服务器)

需要注意的是:不要用天敏的电视精灵系列,它不能编码成功,有事电视直播时在很少人观看的情况下很卡,你看看Windows Media Encoder的cpu占用率是不是为100%,是的话把它关了在开。

默认情况下,在广播过程中编码器最多支持 5 个直接连接。通过在注册表中编辑项,可以将该数字增加到 50。(要编辑注册表项,必须具备编码计算机上的管理员身份凭据。)在注册表编辑器中,通过树形视图找到如下子键:HKEY_CLASSES_ROOT\Software\Microsoft\Windows Media Tools\Encoder\MaxClientConnections。
编辑该子键,使其反映出所需的直接连接最大数量。可能的最大数量为 50。

投资200元,就提升网吧的服务,我想大家看了应该都想试试了吧。

[ ] [返回上一页] [打 印] [收 藏]
 
关于本站 - 网站帮助 - 广告合作 - 下载声明 - 网站导航 - 作品发布
互联网备案登记:粤ICP备05008775号
友情提示:浏览本站,请使用IE6.0浏览,并将分辩率设置为1024*768 为佳
Copyright © 2002-2005 Hack58.Com. All Rights Reserved .