ffserver的配置及使用
2011-12-07 15:24
169 查看
修改配置文件 vi /etc/ffserver.conf
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 2M
ACL allow 127.0.0.1
</Feed>
<Stream test.flv>
Feed feed1.ffm
Format flv
</Stream>
对于已经存在的文件而非实时流数据的情况, 配置文件如下
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
<Stream test.flv>
File "/tmp/test.flv"
Format flv
</Stream>
打开终端,输入 ffserver -f /etc/ffserver.conf 命令启动ffserver
如果是实时流数据还要启动 ffmpeg -i test.flv -an http://localhost:8090/feed1.ffm
最后在浏览器地址栏输入http://localhost:8090/test.flv 就可以观看了
come from:http://blog.csdn.net/chinacodec/article/details/5212072
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 2M
ACL allow 127.0.0.1
</Feed>
<Stream test.flv>
Feed feed1.ffm
Format flv
</Stream>
对于已经存在的文件而非实时流数据的情况, 配置文件如下
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
<Stream test.flv>
File "/tmp/test.flv"
Format flv
</Stream>
打开终端,输入 ffserver -f /etc/ffserver.conf 命令启动ffserver
如果是实时流数据还要启动 ffmpeg -i test.flv -an http://localhost:8090/feed1.ffm
最后在浏览器地址栏输入http://localhost:8090/test.flv 就可以观看了
come from:http://blog.csdn.net/chinacodec/article/details/5212072
相关文章推荐
- ffmpeg和ffserver配置使用
- Ubuntu 9.10 ffserver的配置及使用
- Ubuntu 9.10 ffserver的配置及使用
- Ubuntu 9.10 ffserver的配置及使用
- 使用http-server零配置在本地开启http服务器
- vnc之server配置以及安装viewer使用
- Win server 2008安装Sql 2008提示必须使用角色管理工具安装或配置microsoft.net framework 3.5
- Linux下SVN server 的使用及权限配置
- WebLogic Portal学习系列之二:在WebLogic中配置和使用第三方LDAP Server
- 配置 Project Server 2010 与 Microsoft Exchange Server 2010 结合使用
- review board 安装和使用系列 ---(四)server配置及手动提交diff文件
- Rails Production Server @ Nginx + Postgresql + Ubuntu 使用git远程部署 配置
- VisualSVN Server的配置和使用方法 图文
- Spark History Server配置使用
- TortoiseSVN和VisualSVN-Server的配置使用,外网访问SVN版本库
- VisualSVN Server的配置和使用方法
- Spark History Server配置使用
- VisualSVN Server的配置和使用方法
- ffserver的配置
- git的ssh配置,包括多个git server配置ssh config,使用多个ssh identify