RtspServer:RTSP服务器,支持传输H.264和AAC格式的音视频

上传者: 42131628 | 上传时间: 2021-06-07 10:49:41 | 文件大小: 2.17MB | 文件类型: ZIP
RtspServer 项目介绍 使用C++实现的一个RTSP服务器 功能介绍 支持H264、AAC的音视频格式 支持传输H264格式的视频文件和AAC格式的音频文件 支持同时传输音视频 支持采集V4L2摄像头,编码成H264格式传输 支持采集ALSA音频设备,编码成AAC格式传输 支持单播(RTP_OVER_UDP, RTP_OVER_RTSP),多播 开发环境 系统:Ubuntu 14.04 编译工具:gcc 4.8.4 总体框架 使用方法 提供示例:传输H.264文件、传输AAC文件、同时传输H.264和AAC文件、采集摄像头数据编码传输、采集声卡数据编码传输 1、传输音视频文件 下载 # git clone git@github.com:ImSjt/RtspServer.git 编译 # cd RtspServer/ # make 编译之后在example/目录下会生成h264_rt

文件下载

资源详情

[{"title":"( 95 个子文件 2.17MB ) RtspServer:RTSP服务器,支持传输H.264和AAC格式的音视频","children":[{"title":"RtspServer-master","children":[{"title":"README.md <span style='color:#111;'> 6.15KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"02_test_add_event.cpp <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"03_test_thread_pool.cpp <span style='color:#111;'> 556B </span>","children":null,"spread":false},{"title":"04_test_acceptor.cpp <span style='color:#111;'> 912B </span>","children":null,"spread":false},{"title":"01_test_log.cpp <span style='color:#111;'> 430B </span>","children":null,"spread":false}],"spread":true},{"title":"pic","children":[{"title":"url.png <span style='color:#111;'> 27.92KB </span>","children":null,"spread":false},{"title":"buffer.png <span style='color:#111;'> 65.62KB </span>","children":null,"spread":false},{"title":"mem.png <span style='color:#111;'> 21.68KB </span>","children":null,"spread":false},{"title":"show2.png <span style='color:#111;'> 411.98KB </span>","children":null,"spread":false},{"title":"frame.png <span style='color:#111;'> 53.55KB </span>","children":null,"spread":false},{"title":"rtp2tcp.png <span style='color:#111;'> 56.69KB </span>","children":null,"spread":false},{"title":"show1.png <span style='color:#111;'> 457.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"net","children":[{"title":"AACFileMediaSource.h <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"MediaSource.cpp <span style='color:#111;'> 956B </span>","children":null,"spread":false},{"title":"Acceptor.h <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"TcpConnection.cpp <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"Event.h <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"H264RtpSink.h <span style='color:#111;'> 581B </span>","children":null,"spread":false},{"title":"Timer.h <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"MediaSession.h <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"UsageEnvironment.h <span style='color:#111;'> 515B </span>","children":null,"spread":false},{"title":"RtspConnection.h <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"Timer.cpp <span style='color:#111;'> 4.07KB </span>","children":null,"spread":false},{"title":"InetAddress.h <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"TcpConnection.h <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"RtpSink.h <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"RtspServer.h <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"UsageEnvironment.cpp <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"Rtp.h <span style='color:#111;'> 1018B </span>","children":null,"spread":false},{"title":"SocketsOps.h <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"AACRtpSink.cpp <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"poller","children":[{"title":"SelectPoller.cpp <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"EPollPoller.cpp <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"Poller.cpp <span style='color:#111;'> 71B </span>","children":null,"spread":false},{"title":"PollPoller.h <span style='color:#111;'> 676B </span>","children":null,"spread":false},{"title":"PollPoller.cpp <span style='color:#111;'> 3.73KB </span>","children":null,"spread":false},{"title":"SelectPoller.h <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"Poller.h <span style='color:#111;'> 449B </span>","children":null,"spread":false},{"title":"EPollPoller.h <span style='color:#111;'> 613B </span>","children":null,"spread":false}],"spread":false},{"title":"TcpSocket.cpp <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"MediaSource.h <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"RtspConnection.cpp <span style='color:#111;'> 14.91KB </span>","children":null,"spread":false},{"title":"RtspServer.cpp <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"Event.cpp <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"H264FileMediaSource.h <span style='color:#111;'> 627B </span>","children":null,"spread":false},{"title":"MediaSession.cpp <span style='color:#111;'> 6.56KB </span>","children":null,"spread":false},{"title":"H264RtpSink.cpp <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"RtpSink.cpp <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"AACRtpSink.h <span style='color:#111;'> 709B </span>","children":null,"spread":false},{"title":"RtpInstance.h <span style='color:#111;'> 3.95KB </span>","children":null,"spread":false},{"title":"SocketsOps.cpp <span style='color:#111;'> 6.08KB </span>","children":null,"spread":false},{"title":"EventScheduler.cpp <span style='color:#111;'> 4.14KB </span>","children":null,"spread":false},{"title":"AACFileMediaSource.cpp <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"TcpServer.cpp <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"Buffer.h <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"InetAddress.cpp <span style='color:#111;'> 683B </span>","children":null,"spread":false},{"title":"EventScheduler.h <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"H264FileMediaSource.cpp <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"TcpSocket.h <span style='color:#111;'> 421B </span>","children":null,"spread":false},{"title":"Acceptor.cpp <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"Buffer.cpp <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"TcpServer.h <span style='color:#111;'> 763B </span>","children":null,"spread":false}],"spread":false},{"title":"README.md <span style='color:#111;'> 157B </span>","children":null,"spread":false},{"title":"extend","children":[{"title":"alsa","children":[{"title":"AlsaMediaSource.cpp <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"AlsaMediaSource.h <span style='color:#111;'> 960B </span>","children":null,"spread":false}],"spread":true},{"title":"v4l2","children":[{"title":"V4l2.h <span style='color:#111;'> 7.86KB </span>","children":null,"spread":false},{"title":"V4l2.cpp <span style='color:#111;'> 8.90KB </span>","children":null,"spread":false},{"title":"V4l2MediaSource.cpp <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false},{"title":"V4l2MediaSource.h <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"base","children":[{"title":"New.h <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"ThreadPool.h <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"Logging.h <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"Condition.cpp <span style='color:#111;'> 920B </span>","children":null,"spread":false},{"title":"Mutex.h <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"AsyncLogging.h <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"Thread.h <span style='color:#111;'> 453B </span>","children":null,"spread":false},{"title":"Mutex.cpp <span style='color:#111;'> 523B </span>","children":null,"spread":false},{"title":"Condition.h <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":"Allocator.cpp <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"AsyncLogging.cpp <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"Allocator.h <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"Sem.h <span style='color:#111;'> 228B </span>","children":null,"spread":false},{"title":"Logging.cpp <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"Thread.cpp <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"Construct.h <span style='color:#111;'> 774B </span>","children":null,"spread":false},{"title":"Sem.cpp <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":"ThreadPool.cpp <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"example","children":[{"title":"02_aac_rtsp_server.cpp <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"01_h264_rtsp_server.cpp <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"05_alsa_rtsp_server.cpp <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"test.h264 <span style='color:#111;'> 868.54KB </span>","children":null,"spread":false},{"title":"04_v4l2_rtsp_server.cpp <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"test.aac <span style='color:#111;'> 263.25KB </span>","children":null,"spread":false},{"title":"03_h264_aac_rtsp_server.cpp <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"Makefile <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明