博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ubuntu12.04上搭建darwin streaming server6.03
阅读量:5869 次
发布时间:2019-06-19

本文共 2883 字,大约阅读时间需要 9 分钟。

个人建议:使用DarwinStreamingSrvr5.5.5,因为DarwinStreamingSrvr6.0.3安装过程中有很多问题需要解决!而且安装只需执行./Install就可以!

1:下载darwin源代码DarwinStreamingSrvr6.0.3-Source.tar,补丁patch dss-6.0.3.patch

$wget 

$wget 

 ls

DarwinStreamingSrvr6.0.3-Source.tar  dss-6.0.3.patch

 

2:解压DarwinStreamingSrvr6.0.3-Source.tar,打好补丁patch dss-6.0.3.patch

 tar xvf DarwinStreamingSrvr6.0.3-Source.tar

 ls
DarwinStreamingSrvr6.0.3-Source      dss-6.0.3.patch
DarwinStreamingSrvr6.0.3-Source.tar
 patch -p0 < dss-6.0.3.patch

 

3:修改安装脚本Install

 vim Install

    if [ $INSTALL_OS = "Linux" ]; then

        /usr/sbin/groupadd qtss > /dev/null 2>&1
        /usr/sbin/useradd -m qtss > /dev/null 2>&1
    else
        /usr/sbin/groupadd qtss > /dev/null 2>&1
        /usr/sbin/useradd qtss > /dev/null 2>&1
    fi

4:  添加qtss用户信息,添加后面安装会报错误提示

      chown: invalid user: `qtss'

      $ addgroup -system qtss  

      $ adduser -system -no-create-home -ingroup qtss qtss

5: ./Buildit编译

6: ./buildtarball提示出错,修改Makefile.POSIX,后重新编译

lstdc++ -lm -lcrypt -lCommonUtilitiesLib ../CommonUtilitiesLib/libCommonUtilitiesLib.a

../CommonUtilitiesLib/libCommonUtilitiesLib.a(SDPUtils.o): In function `memset':
/usr/include/i386-linux-gnu/bits/string3.h:82: warning: memset used with constant zero length parameter; this could be due to transposed parameters
DarwinStreamingServer failed to build!
Buildit Failed. Exiting!

 $vim Makefile.POSIX

LIBS = $(CORE_LINK_LIBS) -lCommonUtilitiesLib -lQTFileLib -ldl

 

ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ vim QTFileTools/QTFileInfo.tproj/Makefile.POSIX

ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ vim QTFileTools/QTFileTest.tproj/Makefile.POSIX

ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ vim QTFileTools/QTSampleLister.tproj/Makefile.POSIX

ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ vim QTFileTools/ QTTrackInfo.tproj.tproj/Makefile.POSIX

LIBS+ =  -lpthread

7:进入目录安装DarwinStreamingSrvr-Linux,./Install,提示输入用户名,密码,通过网页登录用.

 cd DarwinStreamingSrvr-Linux/

 ,./Install

In order to administer the Darwin Streaming Server you must create an administrator user [Note: The administrator user name cannot contain spaces, or single or double quote characters, and cannot be more than 255 characters long].

Please enter a new administrator user name: ekin

You must also enter a password for the administrator user [Note: The administrator password cannot contain spaces, or quotes, either single or double, and cannot be more than 80 characters long].

Please enter a new administrator Password: 
Re-enter the new administrator password:

8:查看Darwin服务进程是否正确运行

 ps ax | grep Darwin

 8332 ?        Ss     0:00 /usr/local/sbin/DarwinStreamingServer
 8333 ?        Sl     0:00 /usr/local/sbin/DarwinStreamingServer
 8355 pts/0    S+     0:00 grep --color=auto Darwin

 

9:http://127.0.0.1:1220可以访问服务器,输入用户名,密码

默认文件路径为/usr/local/movies/
 
10:安装VLC测试darwin服务器
$ sudo apt-get install vlc
 
11:输入rtsp://127.0.0.1/sample_300kbit.mp4播放测试ok
 
转载自:http://blog.csdn.net/ekin1999/article/details/21815027
你可能感兴趣的文章
【那些拍案叫绝的好代码-一行代码的事】js中有关数组的去重
查看>>
如何让语音交互更流畅?
查看>>
[Git]-命令基操
查看>>
spring常见问题总结
查看>>
Linux系统安装配置proftp服务器
查看>>
Angular JS 模块
查看>>
关于extjs的tabpanel加载tab项并且tab项以iframe显示时的页面刷新问题
查看>>
使用Java创建rest 服务 通过HTTP请求访问资源
查看>>
java.util.concurrent.CountDownLatch组件说明
查看>>
jQuery UI 自动完成(Autocomplete)
查看>>
CCImage.mm
查看>>
html中的click事件被触发两次如何解决
查看>>
驰骋工作流引擎表单设计器--表单装载前数据填充
查看>>
微信分享链接或网站文章到微信朋友圈,缩略图片不显示,该如何解决?
查看>>
无屏无外设操作,SSH,VNC
查看>>
企业官网图片与腾讯云服务器映射
查看>>
5分钟制作欢乐捕鱼app
查看>>
git忽略对已入库文件的修改
查看>>
Python gevent学习笔记 2
查看>>
android开机启动service
查看>>