Font Size: a A A

Design And Implementation Of Real-time Streaming Media Transmission Based On X264

Posted on:2016-02-09Degree:MasterType:Thesis
Country:ChinaCandidate:L Y ChangFull Text:PDF
GTID:2348330488474160Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the continuous improvement of the network environment and the rapid development of multimedia communication technology, the traditional communication technology of text and voice is becoming more and more difficult to meet the needs of people's lives. Video communication and video on demand system based on the Internet makes the text, voice, video and other information together to present to the people, and it provides a great convenience for people's communication and life,But the audio stream and video stream of the two systems, especially the video stream requires a lot on the network bandwidth, so there is a need for the transmission of multimedia data to compress. H.264 is a kind of video compression standards, x264 is the currently most widely used encoder in the market to support the H.264 standard, with a high efficiency of encoding performance. But for high resolution video, the encoding performance is not good enough to meet the needs of real-time, so it is necessary to configure and optimize the encoder according to the practical scene.Along with the widely application of the network multimedia, the design of real-time streaming media network transmission system has become the inevitable trend of the future development in the telecommunication field.In this paper, a real-time streaming media transmission system is designed, which is based on the high resolution video source file, it makes the encoding, real-time transmission together, the goal of the paper is achieved. First of all, the two level encoding system of H.264 and the basic framework are introduced,and then according to the H.264 encoding standard, the key technologies such as intra prediction, inter frame prediction and transformation are described in the paper. In order to optimize the x264 so as to enhance the real-time performance of encoding, in this part,combining the H.264 encoding standard to analysis the x264 encoder and using different params to test the encoder in order to make sure the effect on the performance of the encoder based on frame rate,bit rate and PSNR.Then the system is optimized in two aspects of parameters and multi thread. In order to make the system have a good interaction, using MFC to design a simple display interface, which improves the visualization and operability of the system.Secondly, the paper studies on the method of x264 network transmission. RTSP, RTCP and RTP protocols are introduced, and then the overall design of the real-time transmission system is analyzed and explained. In real-time transmission design, the data is divided into NALUs, according to the size of data packets using different forms of RTP packet format to pack, then send it to the decoder, by doing these steps achieve the purpose of real-time transmission of data. Use VLC to play at the decoder. System test shows that by optimizing the system gets a higher frame rate and a better real-time performance, which meets the demand of system in low bit rate, high image quality and high frame rate.In this thesis, the development of video coding and decoding is combined with the development of network streaming media. From the practical application, based on the premise of ensuring the video quality, the system enhances the real-time performance of the encoder and solves the relative problems, at last achieve the goal.
Keywords/Search Tags:H.264, x264, Video Codec, Interface design, real-time transmission
PDF Full Text Request
Related items