Ubuntu 16.04 编译LIVE555 Server

简介: Ubuntu 16.04 编译LIVE555 Server

平台


Ubuntu 16.04 + LIVE555 live.2018.01.29.tar.gz


历程


从官方下载最新版本mediaServer

下载了最新版本live555-latest.tar.gz

下载下来后, 编译, 可惜编译失败.

失败LOG:


include/TLSState.hh:31:25: fatal error: openssl/ssl.h: No such file or directory


有文章说要去自己下载openssl编译, 果断放弃, 文章见后面海思hi3516dv300开发–live555交叉编译

后续

更新使用了Ubuntu 20.04, 同样遇到SSL编译问题, 解决:

sudo apt-get install libssl-dev


最终找了个旧版本, 编译成功, 并可以正常使用.

下载并解压:

drwxr-xr-x  10       4096 10月 29 15:09 live/
-rw-rw-r--   1     630144 10月 29 15:09 live.2018.01.29.tar.gz


编译

# 切换到源码目录下
cd live
# 生成对应平台makefile
genMakefiles linux-64bit
# 开始编译
make
# 等待完成即可.


编译后, 直接运行mediaServer/live555MediaServer

live/mediaServer$ ./live555MediaServer 
LIVE555 Media Server
  version 0.91 (LIVE555 Streaming Media library version 2018.01.29).
Play streams from this server using the URL
  rtsp://192.168.1.18:8554/<filename>
where <filename> is a file present in the current directory.
Each file's type is inferred from its name suffix:
  ".264" => a H.264 Video Elementary Stream file
  ".265" => a H.265 Video Elementary Stream file
  ".aac" => an AAC Audio (ADTS format) file
  ".ac3" => an AC-3 Audio file
  ".amr" => an AMR Audio file
  ".dv" => a DV Video file
  ".m4e" => a MPEG-4 Video Elementary Stream file
  ".mkv" => a Matroska audio+video+(optional)subtitles file
  ".mp3" => a MPEG-1 or 2 Audio file
  ".mpg" => a MPEG-1 or 2 Program Stream (audio+video) file
  ".ogg" or ".ogv" or ".opus" => an Ogg audio and/or video file
  ".ts" => a MPEG Transport Stream file
  (a ".tsx" index file - if present - provides server 'trick play' support)
  ".vob" => a VOB (MPEG-2 video with AC-3 audio) file
  ".wav" => a WAV Audio file
  ".webm" => a WebM audio(Vorbis)+video(VP8) file
See http://www.live555.com/mediaServer/ for additional documentation.
(We use port 8000 for optional RTSP-over-HTTP tunneling, or for HTTP live streaming (for indexed Transport Stream files only).)


把模拟的媒体文件放入live/mediaServer目录下即可


对应客户端请求地址: rtsp://192.168.1.18:8554/test.mkv


参考


LIVE555 旧版本

LIVE555在ubuntu下的编译

LIVE555

海思hi3516dv300开发–live555交叉编译


相关文章
|
26天前
|
Ubuntu Linux Go
ubuntu linux (20.04) 源码编译cryptopp库 - apt版本过旧
ubuntu linux (20.04) 源码编译cryptopp库 - apt版本过旧
23 1
|
12天前
|
Ubuntu 编译器 C语言
蓝易云 - ubuntu上安装boost库为SOMEIP的X86和ARM下编译做准备(编译两种版本)
以上就是在Ubuntu上安装Boost库并为SOME/IP的X86和ARM架构编译做准备的全部步骤。
25 0
|
1月前
|
Ubuntu 编译器 C++
Ubuntu系统下编译OpenCV4.8源码
本文档介绍了在Ubuntu系统下编译和安装OpenCV4.8的简单步骤:首先,通过wget命令下载源码包,然后解压;接着,安装必要的编译器和第三方库支持;最后,在源码目录创建build文件夹,执行cmake和make安装。整个过程包括下载、安装依赖和编译安装三个主要步骤。
40 6
|
19天前
|
Ubuntu
蓝易云 - Ubuntu18.04安装编译ffmpeg库
现在,你应该已经在你的Ubuntu 18.04系统上成功安装和编译了FFmpeg库。你可以通过运行 `ffmpeg -version`来验证安装是否成功。
20 0
|
1月前
|
Ubuntu Android开发
Android Froyo基于32 bit ubuntu 10.10编译问题
Android Froyo基于32 bit ubuntu 10.10编译问题
14 1
|
1月前
|
Ubuntu 应用服务中间件 nginx
ubuntu编译安装nginx及安装nginx_upstream_check_module模块
以上是编译安装Nginx和安装 `nginx_upstream_check_module`模块的基本步骤。根据你的需求和环境,你可能需要进一步配置Nginx以满足特定的要求。
69 3
|
24天前
|
Ubuntu
蓝易云 - ubuntu下安装Sphinx,编译pdf教程
以上就是在Ubuntu系统下安装Sphinx并使用它来编译PDF的过程。希望这个教程对你有所帮助!
25 0
|
1月前
|
Ubuntu
ubuntu下使用ndk编译libevnet
ubuntu下使用ndk编译libevnet
21 1
|
1月前
|
Ubuntu
ubuntu编译rk3588异常
ubuntu编译rk3588异常
39 0
|
1月前
|
Ubuntu C++
Ubuntu20.04LTS+uhd3.15+gnuradio3.8.1源码编译及安装
Ubuntu20.04LTS+uhd3.15+gnuradio3.8.1源码编译及安装
55 0