| The present paper has summarized in the broad electricity system's MPEG-2 standard main part (system part, video part and audio part) and the video compression standard summary. Elaborated the video compression principle and the MPEG video compression algorithm; Discrete cosine transformation (DCT), quantification code and traveling schedule scope code. To video class and system class grammar structure as well as video decode procedure: Might lengthen the decoding, the reverse scan, the counter-quantification, the reverse discrete cosine transformation (IDCT) and the motion compensation has carried on a more detailed analysis and the elaboration。Because MPEG-2 in design time ingenious processing, causes the majority MPEG-2 decoders also to be possible to broadcast the MPEG-1 form at the same time the data as a result of its splendid performance, could be suitable with HDTV, this causes MPEG-2 the standard to apply widely. But also had the corresponding problem from this, for instance video source material's cutting and the localization become difficult. This is also one which of questions this topic is going to propose and to solve.In order to solve this practical application problem, this topic passes to the system class document; The program class document and the transmission class document's deep research and the analysis, have realized to the MPEG-2 video document based on the GOP edition; Solved the broadcast television program to broadcast in the process the seamless edition and the broadcast; Has completed the video plan class decoding. In the re-development processes, this topic through to seals the corresponding function which Optibase playbacking card SDK provides, realized has been able to supply the dynamic link storehouse document which many kinds of programming tools (e.g. Delphi, C++Builder, VC++) used, its function used the standard DLL function form. This dynamic storehouse link storehouse provided has been able to satisfy the broadcast television program to manufacture broadcast needed many functions: If multiple file seamless broadcast function; Favors the source material pinpointing the time code read function; Condition examination and inquiry function as well as some related auxiliary functions. The television program manufacture broadcast that also needs to be able to broadcast the video frequency document to be willfully partial and in the multiple files the multistage source material seamless broadcasts continuously. But the Optibase VideoPlex series playbacking card cannot realize this function. In view of this question, this topic development based on the GOP MPEG-2 video document's edition software, has provided the following function: Most will be small the source material redundant definition willfully many source material, to be many source material merge will be new source material and so on. This topic through carries on the comparative analysis after these two kind of system class document, what main discussion is the program class document. In view of the MPEG-2 program class grammar's characteristic, this topic unifies the Windows programming the characteristic as well as the object-oriented programming method, defined several appropriate compilations to edit software's structure and the kind; Structure System_header, structure Time_Code, kind of Pack_header, kind of PES_packet. And based on this, elaborated to MPEG-2 system class file edit's realization, realizes including single document's edition with the multiple file editions realizes, as well as in the process should pay attention the question, for example the audio frequency synchronization's question, and proposed the solution, undergoes the test, proved that this plan is feasible. Through to may lengthen the decoding, the counter-quantification, the motion compensation, the space predict that decoding algorithms and so on reverse discrete cosine transformation realized have completed to the video frequency class data decoding, and transferred DirectDraw to complete after decoding the data image display.In this paper, the structure of the arrangement are as follows:Chapterâ… : Introduction. A brief introduction of the International Organization for Standardization has enacted a variety of standard and at the same time put forward based on the development of MPEG-2 compression of the non-linear editing software, the need to put in the video file on the basis of video streaming through the codec to achieve frame Editor's accuracy.Chapterâ…¡: MPEG-2 files to realize the players. Optibase through a series of VideoPlex playback card for the secondary development of the SDK package Optibase playback card to provide the corresponding function, can be achieved for a variety of programming tools.Chapterâ…¢: MPEG-2 system stream and video streaming. Introduced a system of flow structure and grammar of the compressed video stream principle, at the same time work on the principle here.Chapterâ…£: MPEG-2 decoding and the realization of the editor. This chapter was prepared to make video streaming software decoder to achieve, and ultimately video display. |