登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 计算机类 > 计算机科学与技术 > 正文

视频服务器系统毕业论文

 2022-02-15 09:02  

论文总字数:18147字

摘 要

本课题主要研究在linux平台下实时音视频传输技术rtmp协议以及I/O 多路复用的socket编程技术,构建一个致力于实现一个直播点播于一体的视频服务器。

本文首先阐述非阻塞socket编程技术以及运用在此课题中的意义,rtmp协议的内容和通信过程等相关内容,在此基础上完成视频服务器系统。系统负责将用户(音视频采集工具)采集到的音视频消息流转发给订阅的用户,用户也可以根据流名点播相应的视频流。论文将详细说明相关技术的背景,原理,实现细节和服务器的设计,测试情况。经测试表明,系统实现了多种情况下的音视频直播点播,在网络良好的情况下播放流畅,具有一定的实用价值

关键词:rtmp协议;socket编程;服务器;实时;直播

Vedio Server System

Abstract

With the continuous development of Internet technology,network video technology continues to improve,the advent of live sites has shown great commercial value.This topic mainly studies the real-time audio and video transmission technology, RTMP protocol and IO multiplexing socket programming technology on the Linux platform,and build a video server dedicated to the implementation of live telecast and play.

At first, this paper describes the non blocking socket programming technology and the significance using in this topic,RTMP protocol content and communication process,and other related content. On this basis, the video server system is completed.The system is responsible for forwarding the collected audio and video message stream to subscribers,users can also request the corresponding video stream according by the stream name.The background, principles, implementation details and design of the server and the test situation will be described in detail in this paper.The test shows that the system realizes the live audio and video on demand in a variety of circumstances and plays well in a good network. It has certain practical value.

Keywords: rtmp protocol;socket programming;server;real-time;live telecast;

目录

摘 要 I

Abstract II

第一章 绪论 1

1.1 研究背景和意义 1

1.1.1 研究背景 1

1.1.2研究意义 1

1.2 研究现状 1

1.3 课题研究内容 2

1.4 论文结构 2

第二章 系统相关技术 4

2.1 开发环境 4

2.2 python编程技术 4

2.3 rtmp协议 4

2.3.1 总体介绍 4

2.3.2 握手 5

2.3.3 RTMP chunk Stream 5

2.3.4 协议控制消息(Protocol Control Message) 8

2.3.5 不同类型的RTMP Message 10

2.3.6 代表流程 13

2.4 socket编程 15

2.5 本章总结 18

第三章 系统需求分析 19

3.1 可行性分析 19

3.1.1经济可行性分析 19

3.1.2 技术可行性分析 19

3.1.3 操作可行性分析 19

3.2 需求分析 20

3.2.1功能需求 20

3.2.2 非功能性需求 20

3.3 方案的选择 20

3.4 本章总结 21

第四章 系统结构设计 22

4.1系统模块划分 22

4.1.1 音视频上传模块 22

4.1.2 音视频转发模块 22

4.1.3 音视频推送 23

4.2 系统模型设计 23

4.3 本章总结 24

第五章 系统详细设计 25

5.1 系统类图 25

5.2 chunk的组装 26

5.3 命令消息处理 28

5.4 服务器监听 28

5.5 流消息处理 30

5.6 本章总结 30

第六章 总结与展望 31

6.1 总结 31

6.2 展望 31

参考文献 32

致谢 33

第一章 绪论

在本章中,将阐述该课题的背景和意义以及其研究现状,接着说明本文的主要内容和结构。

1.1 研究背景和意义

1.1.1 研究背景

流媒体播放是如今主流的视频播放方式,相对于传统的视频传输和播放技术,不需要下载到本地观看,实现了边传输边播放的功能,防止了下载视频的用户再次传播视频造成侵权的问题,同时实现了实时播放的效果,给互联网生活增加了便利。

本文就是实现了这样一个基于rtmp协议的流媒体视频服务器。

1.1.2研究意义

传统的视频播放服务器,都是将实现制作好的音频视频文件上传到服务器上来供用户下载和播放,但经历了这样一个过程之后,新闻就不在是“新闻”,用户也无法实现将自己的所见所闻立即与用户分享。想要实现真正的实时性,就必须实现用户通过视频采集设备将自己所拍摄的内容分享给大众。

互联网技术的不断成熟,通过互联网进行直播完全成为了可能,并且降低了视频直播的成本。相较于传统的视频服务器,直播服务器的负担更重,需要处理的数据量更多,系统设计也将更加复杂,同时传统的视频传输协议并不能胜任直播协议,这需要实时流媒体传输协议的支持。

当前,国外商业直播市场风生水起,国内更是百花齐放。斗鱼,虎牙,全民等大大小小的直播网站竞争激烈,展现了极大的商业价值,而直播技术的进步更将推动市场的发展与竞争。

请支付后下载全文,论文总字数:18147字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图