Research and Implement of Video Communication System over IP Network Based on DM642
- Author
- WangYaHui
- Advisor
- ChiXueFen
- School
- Jilin University
- Major
- Communication and Information System
- Classification
- TN919.8 Image communication, multimedia communication
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 241
- Citations
- 1
Abstract
With the development of network communications and multimediatechnologies, the application of delivering video over Internet is getting more andmore popular, such as video phone based on IP network, video conferencing anddistance learning. Moreover, with the rapid improvement of DSPs processingability, video processing platform quickly trends to miniaturization. The researchon video real-time communications based on embedded DSPs system becomes ahotspot. Transmission of real-time video has demands of bandwidth, delay, jitterand packet loss ratio. However, the current Internet does not offer any quality ofservice guarantees to video transmission over the Internet. Thus, designingprotocols and mechanisms for video transmission is facing many challenges. In thispaper, H.323 protocol and QoS (Quality of Service) control mechanism inapplication layer are researched, and an embedded real-time video communicationssystem is implemented, QoS control mechanism in application layer based on akind of feedback using RR (receiver report) of RTCP is realized.The whole system is based on Client/Server mode, and transmits real-timevideo stream from server to clients which have set up H.323 connection with thefront end server. System configuration includes three parts: front end server,communication devices and clients. Front end server is composed of analog camera,television and DM642 video processing platform running server programs;itcarries out system multipoint control and realizes video sample, local videorendering, video encoding, encoded video stream segmenting, and transmissionusing RTP;according to RTCP report packets come from clients, QoS controlmechanism in application layer analyzes and estimates network status to controltransmission rate. Communication devices are adopted transmission channels andrelated devices;communication network is LAN using Ethernet 10M switcher.Clients are composed of personal computers running client programs;they receivevideo stream from server, RTP headers of video stream are removed, and the restvideo data are assembled to video frame, then client programs decode video framesand display them;client transmits network status reports to server through RTCPchannels in order that server can control video transmission rate according tonetwork status reports.Server is built on TI DM642 video processing platform. TI DM642 is a kindof DSP chip designed for multimedia applications. Its core clock is up to 600MHz,and it has 8 parallel operation units, its processing ability is up to 4800MIPS. Formultimedia applications, DM642 video processing board integrates 3 configurablevideo ports, McASP for audio applications, 10/100Mb/s Ethernet MAC, and so on.In this paper, a simple H.323 video communication system using Client/Serverframework on DSP real-time operating system DSP/BIOS and Windows operatingsystem is designed respectively. This simple H.323 protocol consists of simpleH.225.0 call control protocol, simple H.245 media control protocol, embeddedRTP/RTCP protocol and video coder/decoder protocol, and supports applicationsby API functions.Selection of network transmission protocol has a significant effect onperformance of video communications system. Generally speaking, due to contentsof sampled video frames are different, sizes of encoded video frames are different,and the size of video frame may be longer than the data part of datagram, in thiscase, the encoded video frame must be handled. From the viewpoint oftransmission, according to maximum length of the data section of datagram, weshould segment video data to same length before transmission. UDP is adopted totransmit video data, but UDP does not guarantee delay, correct order of datagram,so related mechanism must be adopted at receiver to get correct sequence.RTP/RTCP is adopted to reduce disadvantages of using UDP. RTP/RTCP protocolcan support function of point-to-point transmission;it is suitable for real-time datatransmission. RTP is used to transmit real-time data, and RTCP is used to managequality of transmission and to supply related QoS information.Standard control system of H.323 protocol is very complex, this paper onlyresearch communication between endpoints. Server has the function of multipointcontrol to control the multipoint video communication system based on C/Sframework. Server manages multi-clients using three structures: Endpoint, CALLand LogicalChannel. Server uses these structures and stores data in messagestructures to exchange data, in this way, system control is realized.Communication procedures between H.323 endpoints can be divided intoseveral stages. First, H.225.0 protocol is carried out, call control channel is reliablechannel. After one call is set up, H.245 media control channel will be set upbetween endpoints. Second, H.245 protocol is carried out, media control channel isalso reliable channel, and it is used for terminal capability determination and modeenactment. Third, set up video logical channels between endpoints, and they areunreliable channels using UDP protocol. During communication procedure, H.245media control channel is used for parameter determination, and H.225.0 call controlchannel is used to end communication and to close logical channels and controlchannels.For QoS realization of video communications, control of video transmission isvery important. For video transmission, primary characteristic of channel inapplication layer is available bandwidth and packet loss. In the case of packet lossand variable bandwidth, QoS in application layer can promote the quality of videoin furthermost. Rate control attempts to minimize network congestion and theamount of packet loss by matching the rate of the video stream to the availablenetwork bandwidth. This paper mainly discusses realization of source-based ratecontrol. To reduce frequency of video sampling can reduce output video data rate.In this way, adjusted output data rate can be suitable for different networkbandwidth. Moreover, to reduce sending frame rate also can reduce sending rate.Video communication system can monitor QoS using sender report and receiverreport of RTCP. If RTP packet loss ratio is higher than some threshold, video datarate should be reduced. If interval of receiver report longer than some threshold,loss ratio section of receiver report should be checked. If the section shows networkcongestion, data rate should be reduced.Above all, in this paper, some key technologies of video communications areresearched, an embedded real-time video communication system is implemented,and QoS control mechanism in application layer based on a kind of feedbackcontrol using RR of RTCP is realized. The system effect is very well. Due tolimited time, this system is not perfect, and the author will improve it duringafterward works.
Table of contents
The first chapter 7-24
1.1 video communications and its applications are found; 7-9
1.2 H.323 System Architecture 9-14
System Overview 1.2.1 H.323 9
1.2.2 H.323 terminal structure and protocol stack 9-12
1.2.3 H.225.0, and H.245 protocol 12
1.2.4 RTP / RTCP protocol 12-14
1.3 video communication application layer QoS control 14-20
1.3.1 Congestion Control 15-18
1.3.2 error control 18-20
1.4 Research video communications 20-23
1.5 The main work and structural arrangements 23-24
Chapter II system development environment and tools 24-30
2.1 DSP software development environment CCS 24-25
2.2 under Windows environment programming techniques 25-30
the 2.2.1 the Winsock network programming 25-28
2.2.2 Windows multi-threaded programming 28-30 < br /> Chapter video communication system design and realization 30-53
3.1 overall system design 30-31
3.2 DM642 video processing. platform 31 - 35
3.2.1 DM642 board Functional Overview the 32-33 3.2.2 DM642 digital signal processor
the 33-34
3.2.3 video interface 34-35
3.2.4 Ethernet interface 35
3.3 system software design 35-38
3.3.1 DM642 platform server-side software architecture 35-37
3.3.2 PC platform client software structure 37-38
3.4 module design and realization 38-51
3.4. 1 H.323 protocol module 38-42
3.4.2 server-side video processing module 42-45
a 3.4.3 client video processing module 45 - 46
3.4.4 network transmission module the program flow 46-51
3.5 module 51-53
Chapter control system design and implementation 53-60
4.1 multi-point control system based on C / S structure the 53-54
4.2 system terminal communication process 54-60
4.2. nbsp 1 H.225.0 call control procedures; 55-56
4.2.2 H.245 media control process 56-60
Chapter application layer QoS control design and implementation 60-71
5.1 application layer QoS control design nbsp 60-62
5.2 RTP / RTCP simple implementation; 62-67
5.2.1 video code stream encapsulation and transmission the 62-64
5.2.2 control package of information and transmission the 64-67 5.3 rate control
realize 67-71 < br /> Chapter Summary and Outlook to References 71-73
73-77
summary for 77-80
Abstract 80-84
Acknowledgements 84-85
tutors and Author 85
Related dissertations
- The SIP Video Communication Terminal Based on Multimedia Processor
- The Study of Target Coverage and QoS Routing Algorithm in Wireless Sensor Network
- Based on Rough Set Web Service Combinatorial Optimization Research
- The Applications of Multicast and Qos Techniques in Telecommunication IP Network of Campus Network
- Research on Active Queue Management Mechanism Based on DiffServ in MPLS Networks
- Hierarchical Network Routing Implementation in Family Gateway
- Research on Key Issues of Power-Aware Core Router Design
- Research on Correctness and Optimization Technology of LFB Topology in Forces System
- A Study on IP/MLPS Networking Solutions
- Research on Dual Constraints Routing Scheme in MPLS-TE
- Design and Research on E-Government of Jinan Municipal Administration Center
- The Optimization Model of Grid Resource and Task Scheduling Strategy Based on Market Mechanisms
- Service Composition Requirement Model Based on Environment Ontology and Petri Net and Its Key Technology Reaserch
- The Research of Shared CMP Cache Management
- Research on Approach of Measurement and Prediction of Performance Interference between Virtual Machines and Its Application
- The Planning and Implementation of Video Conferencing System’s Law Enforcement and Supervision
- Research and Implementation of Downlink Scheduling in the MAC Layer of3GPP LTE System
- Downlink Logical Channel Multiplexing Design and Algorithm Research in LTE
- Research on the QoS Technology Based on the Internet of Inland Ships
- Research on the Radio Resource Management Algorithms for LTE/LTE-a System