Darwin streaming server源码安装方式总结
2016-03-31 15:27
351 查看
darwin streaming server 源码编译
从苹果的网站http://developer.apple.com/opensource/server/streaming/index.html
下载 DarwinStreamingSrvr5.5.5-Source.tar.gz
编译环境为 fedora core 5,gcc 4.1.0
tar -zxvf DarwinStreamingSrvr5.5.5-Source.tar.gz
cd 解压缩的目录下
执行./Buildit
编译完成后,我们来生成linux下的dss安装包
执行 ./buildtarball
生成DarwinStreamingSrvr-Linux.tar.gz
DarwinStreamingSrvr-Linux.tar.gz
解压缩
tar -zxvf DarwinStreamingSrvr-Linux.tar.gz
cd DarwinStreamingSrvr-Linux
执行./Install
Please enter a new administrator user name:your_username
Please enter a new administrator Password: your_password
查看是否安裝成功
id qtss (查看Darwin Streaming Server的组id)
uid=501(qtss) gid=501(qtss) groups=501(qtss)
ps aux | grep Darwin(查看流媒体服务器的进程)
root ... ... ... /usr/local/sbin/DarwinStreamingServer
qtss ... ... ... /usr/local/sbin/DarwinStreamingServer
netstat -ntulp | grep Darwin(查看流媒体服务器的端口)
tcp 0.0.0.0:8001
tcp 0.0.0.0:554
tcp 0.0.0.0:7070
udp 127.0.0.1:6970
udp 192.168.0.1:6970
udp 127.0.0.1:6971
udp 192.168.0.1:6971
udp 127.0.0.1:6976
udp 127.0.0.1:6977
udp 127.0.0.1:6978
udp 127.0.0.1:6979
启动服务
启动 Darwin Streaming Server
sudo /usr/local/sbin/DarwinStreamingServer
启动 Web 管理介面 (tcp port 1220)
sudo /usr/local/sbin/streamingadminserver.pl
ps. 以上两项在刚安装好的时候会自动启动,不需手动执行
小技巧:自动启动流媒体服务器的方法:
自动运行流媒体服务器序非常简单,把上述命令添加在/etc/rc.d/rc.local脚本中即可。
进入web管理页面地址:http://yourip:1220/
enable TD board and PC server Local wired USB network connection
enable TD usb network
insert micro usb cable and select rndis
type command in the console: ifconfig usb0 192.168.1.100
Enable PC RTSP server USB network
watch sudo ifconfig usb0 192.168.1.1
Test network connection between board and PC server
ping RTSP server from board console: ping 192.168.1.1
从苹果的网站http://developer.apple.com/opensource/server/streaming/index.html
下载 DarwinStreamingSrvr5.5.5-Source.tar.gz
编译环境为 fedora core 5,gcc 4.1.0
tar -zxvf DarwinStreamingSrvr5.5.5-Source.tar.gz
cd 解压缩的目录下
执行./Buildit
编译完成后,我们来生成linux下的dss安装包
执行 ./buildtarball
生成DarwinStreamingSrvr-Linux.tar.gz
DarwinStreamingSrvr-Linux.tar.gz
解压缩
tar -zxvf DarwinStreamingSrvr-Linux.tar.gz
cd DarwinStreamingSrvr-Linux
执行./Install
Please enter a new administrator user name:your_username
Please enter a new administrator Password: your_password
查看是否安裝成功
id qtss (查看Darwin Streaming Server的组id)
uid=501(qtss) gid=501(qtss) groups=501(qtss)
ps aux | grep Darwin(查看流媒体服务器的进程)
root ... ... ... /usr/local/sbin/DarwinStreamingServer
qtss ... ... ... /usr/local/sbin/DarwinStreamingServer
netstat -ntulp | grep Darwin(查看流媒体服务器的端口)
tcp 0.0.0.0:8001
tcp 0.0.0.0:554
tcp 0.0.0.0:7070
udp 127.0.0.1:6970
udp 192.168.0.1:6970
udp 127.0.0.1:6971
udp 192.168.0.1:6971
udp 127.0.0.1:6976
udp 127.0.0.1:6977
udp 127.0.0.1:6978
udp 127.0.0.1:6979
启动服务
启动 Darwin Streaming Server
sudo /usr/local/sbin/DarwinStreamingServer
启动 Web 管理介面 (tcp port 1220)
sudo /usr/local/sbin/streamingadminserver.pl
ps. 以上两项在刚安装好的时候会自动启动,不需手动执行
小技巧:自动启动流媒体服务器的方法:
自动运行流媒体服务器序非常简单,把上述命令添加在/etc/rc.d/rc.local脚本中即可。
进入web管理页面地址:http://yourip:1220/
enable TD board and PC server Local wired USB network connection
enable TD usb network
insert micro usb cable and select rndis
type command in the console: ifconfig usb0 192.168.1.100
Enable PC RTSP server USB network
watch sudo ifconfig usb0 192.168.1.1
Test network connection between board and PC server
ping RTSP server from board console: ping 192.168.1.1
相关文章推荐
- 数据库索引的实现原理二
- DataSet.WriteXml()
- ios 高性能方法调用优化(IMP)
- Mongodb索引实战
- Html5+CSS3+EL表达式问题集锦
- MVC5+Unity4.0注入依赖学习
- iOS for循环创建button,button的宽度根据上面的文字来自适应.(自适应宽度且自动换)
- 数据存储
- linuxGPIO驱动示例
- ios自带地图笔记
- DSP28335串口使用(查询发,中断收)
- Java基础------知识点整理(十)-----String类
- Shell for循环用法总结
- Virtual Memory Usage from Java under Linux, too much memory used
- matlab prctile
- 加密
- 根据输入的模型属性表达式获取名称
- error LNK2005: _DllMain@12 已经在 MSVCRTD.lib(dllmain.obj) 中定义
- php获取本机真实IP地址实例代码
- 删除字符串中所有html标签,保留标签内容