- 收藏
- 点赞
- 分享
- 举报
ubuntu12.04上搭建darwin streaming server6.03
个人建议:使用DarwinStreamingSrvr5.5.5,因为DarwinStreamingSrvr6.0.3安装过程中有很多问题需要解决!而且安装只需执行./Install就可以!
1:下载darwin源代码DarwinStreamingSrvr6.0.3-Source.tar,补丁patch dss-6.0.3.patch
$wget http://dss.macosforge.org/downloads/DarwinStreamingSrvr6.0.3-Source.tar
$wget http://www.abrahamsson.com/dss-6.0.3.patch
ekin@ubuntu:~/work/darwin$ ls DarwinStreamingSrvr6.0.3-Source.tar dss-6.0.3.patch
2:解压DarwinStreamingSrvr6.0.3-Source.tar,打好补丁patch dss-6.0.3.patch
ekin@ubuntu:~/work/darwin$ tar xvf DarwinStreamingSrvr6.0.3-Source.tar ekin@ubuntu:~/work/darwin$ ls DarwinStreamingSrvr6.0.3-Source dss-6.0.3.patch DarwinStreamingSrvr6.0.3-Source.tar ekin@ubuntu:~/work/darwin$ patch -p0 < dss-6.0.3.patch
3:修改安装脚本Install
ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ 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,提示输入用户名,密码,通过网页登录用.
ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ cd DarwinStreamingSrvr-Linux/
ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source$ ,./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服务进程是否正确运行
ekin@ubuntu:~/work/darwin/DarwinStreamingSrvr6.0.3-Source/DarwinStreamingSrvr-Linux$ 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
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
-
2015-11-26 22:01:51
-
2014-10-22 13:57:58
-
42016-10-29 15:40:23
-
2014-05-04 13:27:05
-
2020-08-25 11:41:50
-
2014-10-24 08:55:49
-
2018-03-26 17:56:23
-
2016-11-17 16:57:00
-
2018-09-29 14:54:59
-
2018-08-17 17:24:46
-
2018-08-06 16:04:39
-
2019-01-10 15:17:22
-
2013-01-30 00:14:56
-
2015-04-15 11:40:23
-
2020-06-02 08:47:21
-
2023-09-06 22:15:16
-
2013-01-07 08:59:41
-
2016-04-06 18:02:54
-
2016-04-20 09:59:39
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明