Font Size: a A A

Software Design Of High Performance And High Definition Streaming Media Player Based On Ffmpeg

Posted on:2013-02-09Degree:MasterType:Thesis
Country:ChinaCandidate:S W HuangFull Text:PDF
GTID:2218330371458357Subject:Instrumentation engineering
Abstract/Summary:PDF Full Text Request
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 until 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, global shared memory strategy is performed with zero copy between data buffers during all the data receiving and processing periods. Thus the real-time performance of the player is improved sharply. During the decoding period, ffmpeg decoding library and hardware acceleration engines of GPU are both used to exploit the full ability of GPU hardware decoding. As a result, the CPU load is lowered, and meanwhile the average delay time for a single frame processing is reduced to about 34.410ms.
Keywords/Search Tags:streaming media, ffmpeg, high performance, high definition, GPU, surveillance system
PDF Full Text Request
Related items