文章目录
有个IPC的项目有用到live555,简单编译了一下live555的动态库,作为笔记存用,因为也没碰到什么难点,有问题可以联系我
一、Live555简绍
-
Live555作为一个经典的流媒体开源框架,相信如果你要用到,肯定也有初步了解,我的项目中用到他的RTSP Server。一起来看看它的支持:
The “LIVE555 Media Server” is a complete RTSP server application. It can stream several kinds of media file (which must be stored in the current working directory - i.e., the directory from which you launch the application - or a subdirectory.):
- A MPEG Transport Stream file (with file name suffix “.ts”)
- A Matroska or WebM file (with filename suffix “.mkv” or “.webm”)
- An Ogg file (with filename suffix “.ogg”, “ogv”, or “.opus”)
- A MPEG-1 or 2 Program Stream file (with file name suffix “.mpg”)
- A MPEG-4 Video Elementary Stream file (with file name suffix “.m4e”)
- A H.264 Video Elementary Stream file (with file name suffix “.264”)
- A H.265 Video Elementary Stream file (with file name suffix “.265”)
- A VOB video+audio file (with file name suffix “.vob”)
- A DV video file (with file name suffix “.dv”)
- A MPEG-1 or 2 (including layer III - i.e., ‘MP3’) audio file (with file name suffix “.mp3”)
- A WAV (PCM) audio file (with file name suffix “.wav”)
- An AMR audio file (with file name suffix “.amr”)
- An AC-3 audio file (with file name suffix “.ac3”)
- An AAC (ADTS format) audio file (with file name suffix “.aac”)
上面死它支持流的类型,它能同时传输多路流,支持VLC和RTSP Client预览流媒体
-
它对应的目录(中间还包含其他目录,包括win和linux编译环境和脚本,我们用不到删除即可):
- BasicUsageEnvironment UsageEnvironment define
- groupsock 包含网络和socket相关
- liveMedia 核心功能,对接流媒体编码器等
- mediaServer 媒体server
- proxyServer 代理server
- UsageEnvironment 都是些待实现的抽象基础类,构成一些基础架构
- testProgs 列举使用UsageEnvironment实现的一些简单程序
二、编译live555
-
下载:http://www.live555.com/liveMedia/public/
选择live555-latest.tar.gz
-
删除用不到的文件,如win和linux编译环境和脚本