当前位置:主页 > 科技论文 > 网络通信论文 >

视频转码传输系统的设计与实现

发布时间:2018-01-04 20:31

  本文关键词:视频转码传输系统的设计与实现 出处:《西安电子科技大学》2014年硕士论文 论文类型:学位论文


  更多相关文章: FFMPEG 视频转码 AVS RTP Web Service


【摘要】:随着多媒体通信技术的日新月异,视频编解码技术、视频网络传输技术和网络视频监控技术得到了飞速发展,根据各种设备和播放软件的不同,人们对于网络视频的实时转码传输播放,包括格式、分辨率、码率、帧率等的转换都有不同需求,这就需要一种完善的视频处理系统,同时随着平安社会的建立,随时、随地的实时监控成为了现阶段发展的一个重点。本文从以上实际出发,在编解码理论和Web服务的支撑下,研究和开发了基于Windows平台的视频转码传输系统。本文首先分析了FFMPEG源码库的结构,通过FFMPEG提供的编解码模块和接口函数设计了本文所需的转码模块。由于FFMPEG不支持H.264和AVS(Audio Video Coding Standard)的编码,因此通过数据结构的建立实现了H.264和AVS外部编码库在FFMPEG中的扩展。同时FFMPEG不支持AVS的封装与解封装,所以本文基于RTP(Real-time Transport Protocol)协议设计了AVS视频流的封装和解封装模块,并通过数据结构的建立和接口函数的调用实现了AVS解封装模块在FFMPEG中的扩展。然后设计了通用转码接口函数,为后续Web服务的建立提供方便。通过对上述模块的测试,结果表明:转码模块支持H.264、H.263、MPEG-4和AVS四种视频流的格式、码率、帧率及分辨率之间的相互转换。最后,基于上述通用转码接口函数,采用Web服务的方式,本文创建了源端和转码端业务模块,利用gSOAP工具对源端服务和转码端服务进行了部署,设计了客户端的控制程序,通过TCP(Transmission Control Protocol)协议的socket编程实现了消息传输,同时通过python语言创建了客户端用户界面,完成了基于Windows平台的视频转码传输系统的总体设计,并对各个模块的实现进行了详细的介绍和说明。本客户端软件能够提供简单、友好、易用的操作界面。系统经过实际测试,在客户机的控制下,源端对本地视频流文件或者监控视频进行实时播放和传输,转码端实时接收、转码和传输,客户机进行实时播放,具有随时开启和随时停止的功能。分析表明:在无误码环境下,支持高清视频流25fps的转码和流畅播放,并且分辨率为720P以下的延时小于1s,分辨率为720P和1080P的时延在1.5s以内,同时整个视频转码传输系统运行稳定。
[Abstract]:With the development of multimedia communication technology change rapidly, video codec technology, video transmission technology and video surveillance technology has been rapid development, according to a variety of devices and playback software, people in the network video transmission and playback of real-time transcoding, including format, resolution, frame rate conversion rate, etc. have different needs, which requires a perfect video processing system, and with the establishment of the peace society, at any time, anywhere real-time monitoring has become a focus of the present stage of development. This article starts from the reality, in the coding and decoding theory and Web service support, research and development of video transcoding transmission system based on Windows platform. This paper first analysis the structure of the FFMPEG source library, provided by FFMPEG codec module and interface function module design transcoding needed in this paper. Because the FFMPEG does not support H.264 and AV S (Audio Video Coding Standard) encoding, so the data structure to realize the expansion of external H.264 and AVS encoding Library in FFMPEG. At the same time, FFMPEG does not support AVS encapsulation and de encapsulation, so this paper is based on RTP (Real-time Transport Protocol) protocol to design the encapsulating module of AVS video stream, and realize the extended AVS solution package module in FFMPEG through the establishment of data structure and interface function call. Then the design of the general transcoding interface function, established for the subsequent Web service to provide convenient. Based on the module test results show that the transcoding module supports H.264, H.263, MPEG-4 and AVS four video streams format, rate, conversion between frame rate and resolution. Finally, the universal transcoding interface function based on using Web services, this paper creates the source and end transcoding service module, using gSOAP The tool service source and transcoding end services were deployed, the control program was designed by the client, TCP (Transmission Control Protocol) protocol socket to realize message transmission, at the same time through the python language to create a client user interface, complete the overall design of video transcoding transmission system based on Windows platform, and the realization of each module is introduced and explained. The client software can provide a simple, friendly, easy to use interface system. After the actual test, under control of the client, the source of the video stream files or video playback and real-time transmission, the receiving end real time transcoding, transcoding and transmission of customer for real-time playback, and is open at any time at any time to stop function. Analysis shows that in the error free environment, support 25FPS HD video stream transcoding and smooth playback, and And the delay of the resolution is below 720P is less than 1s, the time delay of 720P and 1080P is within 1.5s, and the whole video transcoding system is stable.

【学位授予单位】:西安电子科技大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TN919.81

【相似文献】

相关期刊论文 前10条

1 远渡重洋;;手机视频转码也要门当户对[J];电脑迷;2011年18期

2 王],

本文编号:1379997


资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/wltx/1379997.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户8f883***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com