Font Size: a A A

Optimization Of H.264 Video Transmission Over WLAN

Posted on:2009-03-28Degree:MasterType:Thesis
Country:ChinaCandidate:L H ZhangFull Text:PDF
GTID:2178360242480736Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
With the development and popularization of network technologies, the simple information such as text, sounds and images can not satisfy user's requirements, the transmission of video and multimedia information on network is a new kind of trend and need. Among all kinds of network video services, real-time transmission of video data is the most challenging task, as it severely requires video compression efficiency and network friendly design, but H.264/AVC just satisfy the two kinds of requirements above at some extent. H.264/AVC is the newest international video coding standard, jointly developed by groups from ISO/IEC and ITU-T, which aims at achieving improved compression performance and network-friendly video representation for different types of applications including real-time video communications. It performs significantly better than the available ISO MPEG-4 Part 2 standard and ITU-T Recommendation H.263 in terms of compression and network adaptation. However, it cuts down the ability of error resiliency as using high compression technology on video coding. The contradiction between compression efficiency and the ability of error resiliency are serious, especially facing with wireless network, which with the character of high bit error rate and limited bandwidth. In order to solve the serious problem, kinds of error control schemes are employed by H.264/AVC, such as flexible macroblock ordering (FMO), rate distortion optimization(RDO) and redundant slice(RSs). Nevertheless, it reduces the video compression efficiency and costs more precious network bandwidth resources at the same time of using these error control schemes in order to enhance the ability of error resiliency. Consequently, it becomes the focus how to adopt appropriate video coding mode and error control method. Moreover, it is the aim and target of this thesis.Nowdays, at home and abroad, Most researches on the wireless transmission of H.264 are on the context of 3G mobile telecommunication network or wireless broadband IP network, and optimize it from the respect of codec and network protocol respectively. During these years, many research institutes and researchers invite the application of cross layer design(CLD) idea to the wireless transmission of video, which solve the problem of supportless between the optimization of codec and network protocol. Here in this thesis we employ the method of cross layer design, aiming directly at the character of WLAN's MAC layer, utilizing the frame ACK to estimate the error rate condition of the wireless channel. And then direct the latter video coding according to the result above, which achieve the target of self-adaptive adjustment of the codec according to the condition of channel. It is a cross layer design scheme that initiate from MAC layer and application layer(codec) responding to it. We use the mode of network simulation in this experiment with the simulate software of NS2 to construct WLAN for the simulation of video transmission, and then analyze the result according to the simulated experiment.In the theory part of this thesis, first of all, the coding characters of H.264 are analyzed, and the changes on network friendly design of H.264 and its significance are also introduced. Then some kinds of error control schemes and video optimization methods of H.264 are analyzed, which mainly focus on the unique error control schemes of H.264, such as flexible macroblock ordering (FMO), rate distortion optimization(RDO) , Parameter Sets and so on. Then in the next part of the thesis, WLAN is simply introduced, including the classification of topology, frame category and the structure of all kinds of frame. The thesis analyzes the characters of IEEE802.11b MAC layer's protocol of WLAN. These are the theory foundation of the cross layer design proposed in this thesis. In the respect of network simulation, besides describing the features, basic structure and basic principle of NS2, the thesis analyzes the code implementatiom of network components involving in the experiments. There are the subject of the introduction of the video stream to the traffic generator in application layer of NS2, the subject of some kinds of timer and the subject of procedures realization of IEEE802.11b MAC layer's protocol, especially for the last subject. These are the procedure code foundation of the cross layer design proposed in this thesis.At last, the network simulation experiment is carried out using NS2. The operating system of the experiment is windows XP+cygwin, and the edition of the codec of H.264 is JM7.2, the transmission mode is point-to point wireless transmission. The experiment utilizes the ACK frames of MAC layer to calculate the received rate of the packet at the MAC layer, and then estimates the channel condition of bit error rate according to the calculation result of the packet received rate. First of all, the experiment is about the homologous relationship between packet received rate at the MAC layer and channel condition of error bit rate. We set the coding parameter SliceArgument=100 and SliceArgument=200 respectively. The experiment carried out under several discrete bit error rate conditions and the same experiment is repeated 10 times each. From the experimental results, it is obvious that under the same channel condition of error rate, the packet received rate at the MAC layer trend to the same. Furthermore, it can distinguish each other under different error rate channel conditions. Then makes all the other coding parameters fixed except for the coding parameter RDO. The experimental results show that the packet received rate in MAC layer are not fluctuate though RDO is changed. It proves that RDO's change will not disturb the judge of the MAC layer's estimation of the channel conditions, which is convenient to continuous survey of the channel condition using latter coding frame that is adapted by cross layer design. The explanation of the experiment result is: if the SliceArgument is fixed, the slice length of the H.264 coding is around the value of the SliceArgument. Furthermore, the codec here we use adopt the method of simple packet scheme, which means that one RTP packet load one slice, and in other words, the RTP packet length is fixed by and large. That is the reason why the packet received rate is regular. The next step of the experiment is decoding the video which is transmitted on the WLAN and working out matching schemes. The results of two respects are mainly considered to work out the schemes: the PSNR value of the video decoded and transmission defer. At the premise of the transmission defer be up to standard, we choose the coding scheme whose PSNR value of decoded is the best. At last, we carry out the test of the cross layer design scheme of this thesis. The experimental results show that the scheme can optimize the H.264 video transmission on some channel conditions. Besides implementing optimization by adjusting the parameter of RDO, we also realize the optimization by adjusting quantization step QP. It means adjusting the coding precise extent according to the channel conditions and optimize the video transmission. In this experiment, the optimization extent is tested through adjusting QP value, which is mainly based on the condition of the channel improvement. The experiment process is similar to the RDO adjustment and better expermental results are also obtained.At last, we summarize and give some prospect of the thesis. The shortcomings of the experiment are pointed out and further improved schemes are put forward. The cross layer design scheme adopted in this thesis can be utilized together with other optimization methods of video transmission and other cross layer design schemes, but the result is not clear and need further experiments.
Keywords/Search Tags:H.264, WLAN, cross layer, video transmission, error resilience
PDF Full Text Request
Related items