Ubuntu 9.10 ffserver的配置及使用
2010-01-19 11:15
441 查看
Ubuntu 9.10 下,首先安装ffmpeg
apt-get install ffmpeg
然后,修改配置文件 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 就可以观看了
apt-get install ffmpeg
然后,修改配置文件 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 就可以观看了
相关文章推荐
- Ubuntu 9.10 ffserver的配置及使用
- Ubuntu 9.10 ffserver的配置及使用
- 【转】Ubuntu server 9.10更改网卡配置设置IP地址
- Ubuntu server 14.04 配置Memcache,以及Memcache的简单使用
- 配置GRUB 2:调整Ubuntu Server 9.10中的启动程序_/etc/default/GRUB分析
- PS3MediaServer(用于PS3的DLNA server) - 在Ubuntu 9.10上的安装和配置
- Rails Production Server @ Nginx + Postgresql + Ubuntu 使用git远程部署 配置
- Ubuntu 9.10 NFS server & client 配置安装
- 使用Hyper-V安装Ubuntu16.04 Server 网络配置
- Ubuntu Server 16.04.1 安装配置以及简单使用MySQL(云服务器配置)
- Ubuntu 9.10 Server 配置Apache + WebDav 实现文档协同管理
- ubuntu9.10 系统安装、配置、使用指南
- 【ZZ】ubuntu9.10桌面版使用(一)基础安装配置
- ffmpeg和ffserver配置使用
- UBuntu9.10 server上配置Pure FTPd 常用功能
- UBuntu9.10 server上配置Pure FTPd 常用功能
- Ubuntu 安装配置MySQL,并使用VS的Server Explorer UI界面远程管理MySQL
- Ubuntu 14.04 server配置使用无线连接静态设置IP
- UBuntu9.10 server上配置Pure FTPd 常用功能
- Ubuntu上使用Hadoop 2.x 二 配置single node server