基于ffmpeg的高性能高清流媒体播放器软件设计-仪器仪表工程专业论文.docxVIP

  • 57
  • 0
  • 约3.95万字
  • 约 67页
  • 2019-01-09 发布于上海
  • 举报

基于ffmpeg的高性能高清流媒体播放器软件设计-仪器仪表工程专业论文.docx

基于ffmpeg的高性能高清流媒体播放器软件设计-仪器仪表工程专业论文

浙¨大学硕.1.学位论文 浙¨大学硕.1.学位论文 摘要 摘 要 随着网络和通信技术的不断发展,视频流媒体技术已广泛应用于安防领域, 具有广阔的发展前景。流媒体播放器是视频流媒体技术的重要组成部分,研发高 性能的高清流媒体播放器具有较高的理论研究意义和工程实用价值。 本文设计实现了基于fhpeg的高性能高清流媒体播放器。采用模块化的设计 思想,将流媒体播放器软件分为接收模块、解码模块和播放模块,根据媒体数据 处理流程,各模块之间通过接口调用进行交互,模块问耦合度低、扩展性高、重 用性好。针对媒体数据网络传输的抖动问题,本文设计了去抖动码流平滑机制。 播放启动之前缓存数帧视频图像,根据码流帧率进行定时解码送显,从而缓解网 络传输带来的抖动,确保音视频能够平滑播放。针对视频监控系统的高实时性要 求,在数据接收和处理环节,设计了共享内存,实现接收、解码及显示缓存的零 拷贝,提高了播放器实时性;在解码环节,采用ffmpeg解码库,调用GPU硬件加 速,充分利用显卡的GPU运算能力进行硬件解码,减轻cPu负担,提高解码性能, 将码流播放的平均延迟时间缩短至34.410ms。 关键词:流媒体;ffmpeg;高性能;高清;GPU;监控系统 浙汀大学硕‘l:学位论文 浙汀大学硕‘l:学位论文 ABSTRACT ABSTRACT With the continuous development of Internet and communication technology, video streaming media technology is widely used in the field of security surveillance system.And it has broad prospects in the future.Streaming media player is an important part of the video streaming technology.The design and implementation of the player with high performance and^high definition has scientific significance and practical value. This thesis is about the design and implementation of high performance and high definition streaming media player based on ffmpeg codec library.According to the modular designing approach,the whole player software is made up of three individual functional modules,i.e.receive module,decode module and display module. Interaction between each two modules is achieved by calling the communication interfaces when data is transferred among different modules.There is low degree of coupling,high scalability and reusability between modules.To solve the unexpected delay problem of network data transmission,a special method is introduced in the thesis.Where the data iS never sent to decode module untiI several frames are cached. Besides,video data is decoded and displayed at a regular time according to the specific data frame rate in order to ensure the real-time requirement of surveillance systems,glo

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档