Recently, there are many breakthroughs in the research of DTV (Digital Television) worldwide. Audiovisual technology is now under revolutionary change. The 21st century is a digital information epoch. Digital Television and HDTV (High Definition Television) become the focus of attention. When HDTV is popular to people and the digital video broadcasting (DVB) system is equipped, people can enjoy not only high definition pictures but also the transmission of bidirectional interactive information, which includes some new functions, such as ordering program, browsing in Internet, sending e-mails, doing e-shopping and calling on e-bank.The key technology of DTV is MPEG-2 coding and decoding. As an International standard, MPEG-2 is applying widely to digital television, HDTV, multimedia technology and DVB.First, this paper simply introduces DTV and MPEG-2 coding / decoding principles. Then, it carefully analyzes the structure, the grammar, the semantic meaning of MPEG-2 transport stream system layer and the decoder clock system. In Chapter three, it provides software algorithms to decode the system layer. By analyzing the PSI information, the composition and structure of programs in a MPEG-2 TS stream can be very clear. Basing on PSI information, PES packets are decoded to get the video/audio ES data of a needed program, which are then sent to video/audio decoder. With the information in the packet header, local clock system can be established and decoding/presentation time stamps are stored, which are important to synchronize video audio decoding/presentation. In Chapter four, this paper presents C programming simulation, the system frame and the debugging content. The programme is written by using Model C language with hardware consideration. Some notices are pointed out. After discussing the function partition of software hardware, it describes the hardware implementation by Verilog HDL and modification of software to running on S3C2410 (ARM920T core) board. |