KR100312411B1 - A conversion method of the compressed moving video on the video communication system - Google Patents

A conversion method of the compressed moving video on the video communication system Download PDF

Info

Publication number
KR100312411B1
KR100312411B1 KR1019980049424A KR19980049424A KR100312411B1 KR 100312411 B1 KR100312411 B1 KR 100312411B1 KR 1019980049424 A KR1019980049424 A KR 1019980049424A KR 19980049424 A KR19980049424 A KR 19980049424A KR 100312411 B1 KR100312411 B1 KR 100312411B1
Authority
KR
South Korea
Prior art keywords
stream
mpeg
layer
video
information
Prior art date
Application number
KR1019980049424A
Other languages
Korean (ko)
Other versions
KR20000032825A (en
Inventor
황대환
이종형
Original Assignee
오길록
한국전자통신연구원
이계철
한국전기통신공사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 오길록, 한국전자통신연구원, 이계철, 한국전기통신공사 filed Critical 오길록
Priority to KR1019980049424A priority Critical patent/KR100312411B1/en
Publication of KR20000032825A publication Critical patent/KR20000032825A/en
Application granted granted Critical
Publication of KR100312411B1 publication Critical patent/KR100312411B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/40Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/30Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 영상시스템에서의 압축동영상 변환 방법에 관한 것임.The present invention relates to a compressed video conversion method in an image system.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은, 영상시스템의 완전 압축영역인 가변장부호에서 이종 동영상간에 공통되는 압축 알고리즘에 따라 생성된 정보를 최대한 활용하고, 그외의 두 부호간의 변환에 장애가 되는 구문구조, 기타 처리에 필요한 파라메터를 변환하여 MPEG-2 표준 동영상 압축부호를 H.263의 형태에 맞는 표준 동영상 압축부호로 직접 변환하기 위한 압축동영상 변환 방법을 제공하고자 함.The present invention utilizes the information generated according to a compression algorithm common among heterogeneous videos in a variable length code, which is a fully compressed region of a video system, and provides syntax structures and other processing parameters that hinder the conversion between two other codes. To provide a compressed video conversion method for converting MPEG-2 standard video compression code directly into standard video compression code conforming to H.263.

3. 발명의 해결방법의 요지3. Summary of Solution to Invention

본 발명은, 영상시스템에 적용되는 압축동영상 변환 방법에 있어서, 엠펙-2 스트림의 헤더 정보를 해석하여 시퀀스 계층 및 영상군(GOP) 계층을 삭제하는 제 1 단계; 및 상기 엠펙-2 스트림의 나머지 영상들에 대해, 계층정보를 생성하고, 각 계층에 필요한 특정 파라메터값을 완전 압축영역인 가변장부호에서 상기 엠펙-2 스트림의 압축동영상을 H.263 스트림의 압축동영상으로 변환하는 제 2 단계를 포함한다.According to an aspect of the present invention, there is provided a method of converting a compressed video applied to an image system, comprising: a first step of analyzing header information of an MPEG-2 stream and deleting a sequence layer and a video group (GOP) layer; And generating hierarchical information on the remaining images of the MPEG-2 stream, and compressing the compressed video of the MPEG-2 stream into a H.263 stream in a variable length code, in which a specific parameter value required for each layer is a fully compressed region. The second step of converting to a video.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 영상시스템에서의 압축영상 분야 등에 이용됨.The present invention is used in the field of compressed video in an image system.

Description

영상시스템에서의 압축동영상 변환 방법{A conversion method of the compressed moving video on the video communication system}A conversion method of the compressed moving video on the video communication system}

본 발명은 영상시스템의 완전 압축영역인 가변장부호에서 엠펙-2(MPEG-2 : Moving Picture Expert Group-2)표준 동영상 압축부호를 H.263의 형태에 맞는 표준동영상 압축부호로 변환하므로써, 이종 동영상간에 쉽게 변환이 가능하도록 한 압축동영상 변환 방법에 관한 것이다.The present invention converts the MPEG-2 (MPEG-2: Moving Picture Expert Group-2) standard video compression code into a standard video compression code that conforms to the form of H.263 in a variable length code that is a completely compressed region of a video system. The present invention relates to a compressed video conversion method that enables easy conversion between videos.

일반적으로, 이종 영상부호간의 변환은 서로 다른 압축방식을 사용하여 만들어진 부호체계를 목적하는 압축구문 형태로 바꿔 상호호환이 가능하게 하는 기능으로 정의할 수 있다. 이를 트랜스코더(Transcoder)라 칭하며, 가장 보편적인 트랜스코더는 압축부호를 선형 펄스부호변조(PCM : Pulse Code Modulation) 신호로 디코딩하고 이를 다시 연동되어야 하는 압축부호로 인코딩하는 화소영역의 방법이다. 이러한 화소영역에서의 처리방법이 도 1에 도시되었다.In general, the conversion between heterogeneous image codes may be defined as a function that enables mutual compatibility by converting a code system made using different compression schemes into a desired compression syntax. This is called a transcoder, and the most common transcoder is a method of a pixel region that decodes a compressed code into a linear pulse code modulation (PCM) signal and encodes the compressed code into a compressed code that needs to be interlocked again. The processing method in such a pixel region is shown in FIG.

도 1 은 종래의 화소영역에서의 부호변환 과정도이다.1 is a diagram illustrating a code conversion process in a conventional pixel area.

화소영역의 트랜스코더는 가장 쉽게 접근할 수 있는 이종 영상의 변환 방법이나, 이것은 변환에 디코더, 인코더 쌍이 필요하여 기능이 네트워크 노드 또는 사용자 단말에 존재하는 것에 관계없이 이중의 경제적 부담이 된다. 이와 같은 손실과 구현의 복잡성 이외에 화소영역의 트랜스코더를 사용하므로 변환된 영상은 화질의 열화가 발생하고, 특히 멀티미디어 통신에서 수용할 수 없는 지연이 발생할 수 있다.The transcoder of the pixel region is the most easily accessible method of converting heterogeneous images, but this requires a decoder and encoder pair for conversion, which is a dual economic burden regardless of whether a function exists in a network node or a user terminal. In addition to the loss and complexity of implementation, the transcoder of the pixel region may be used, and thus, the deteriorated image quality of the converted image may occur, and in particular, an unacceptable delay may occur in multimedia communication.

종래의 방법으로, 그래픽 교환 포맷(GIF : Graphics Interchange Format)을 제이펙(JPEG : Joint Photographics Expert Group)으로 변환하는 방법(GIF to JPEG)이 있다.As a conventional method, there is a method (GIF to JPEG) for converting a Graphics Interchange Format (GIF) to a Joint Photographics Expert Group (JPEG).

여기서, GIF는 일반 컴퓨터를 위한 영상 및 그래픽 규격으로 고해상도의 정보를 룩-업(Look-up) 테이블인 팰리트 (Palette)를 사용하여 용도에 맞게 변환하며, 이 과정중 색(Color) 정보를 표현하는 색인(Index) 값은 "LZW(Lempel-Ziv-Welch) 알고리즘"으로 압축한다.Here, GIF is an image and graphic standard for general computers. It converts high-resolution information according to its purpose using Palette, a look-up table, and converts color information during this process. The index value to be expressed is compressed by the "Lempel-Ziv-Welch (LZW) algorithm".

반면에, JPEG은 사진과 같은 자연영상(Continuous-tone still Image)의 압축을 목적으로 한 규격이다. 이러한 알고리즘은 현재 인터넷의 "WWW(World Wide Web)"에 영상 및 그래픽 정보를 나타내는데 많이 사용되는 GIF를 JPEG으로 변환하는데 목적이 있으며, 이 결과 10~50% 까지 파일의 크기가 감소되는 효율을 얻었다.On the other hand, JPEG is a standard for compressing continuous-tone still images such as photographs. This algorithm aims to convert GIF, which is widely used for displaying image and graphic information, to JPEG on the World Wide Web (WWW) of the Internet, and to reduce the file size by 10-50%. .

한편, "MJPEG(Motion JPEG to MPEG-1" 변환에 관한 연구는 독립된 인트라(I : Intra) 프레임으로 구성된 엠제이펙(MJPEG) 동영상을 MPEG-1 디코더가 처리할 수 있는 형태로 압축코드를 변경한 것으로, MPEG-1이 갖고 있는 I, P(Predictive coded picture), B(Bidirectionally predictive coded picture) 프레임, 움직임 벡터를 생성하지 않고, 시퀀스, 영상군(Group Of Picture) 헤더 등, 구문상의 변화와 일부 파라메터를 변경하는 단순한 구조이다. 이는 완전한 MPEG-1 압축부호로 변환하기 보다는 JPEG에서와 같이 MPEG-1에도 영상 편집기능을 가능하도록 하는 것이 연구의 주안점이다.On the other hand, the research on "Motion JPEG to MPEG-1" conversion is performed by changing the compression code into a form that an MPEG-1 decoder can process an MJPEG video composed of independent Intra frames. Syntax changes and parts of MPEG-1, such as I, P (Predictive coded picture), B (Bidirectionally predictive coded picture) frames, and motion vectors, without generating a motion vector, such as sequences and group of picture headers. It is a simple structure for changing parameters, which is the main focus of research on enabling image editing in MPEG-1 as in JPEG, rather than converting to full MPEG-1 compression.

그 외, MPEG-1/2 동영상을 MJPEG으로 압축 영역에서 변환하는 연구가 있으나, 이 역시 영상 편집이 주 응용인 방법이다.Besides, there is a study of converting MPEG-1 / 2 video into MJPEG in the compressed region, but this is also a method in which image editing is a main application.

이와 같이, 동영상 압축방식은 대화형통신에는 "ITU-T"의 H.261을 사용하고 저장형 및 분배형통신에 대해서는 "ISO/IEC"의 MPEG-1을 이용하는 분명한 응용 대상의 구분이 있었으나, 추후 연구 표준화된 H.263 및 MPEG-2는 응용분야가 확장되어 모든 멀티미디어 통신서비스를 대상으로 하고 있다. 이는 같은 목적에 두 압축방식을 사용할 수 있다는 것을 의미하며, 이들 두 국제표준기구(ITU-T, ISO/IEC)의 압축동영상 알고리즘은 서로의 기능을 보완하는 상호 의존적인 관계에서 압축방식의 성능에 따라 우월한 것이 선택되는 경쟁관계로 변화되었다.As such, the video compression method has clearly distinguished applications using H.261 of "ITU-T" for interactive communication and MPEG-1 of "ISO / IEC" for storage and distributed communication. Further research Standardized H.263 and MPEG-2 have expanded their application areas to cover all multimedia communication services. This means that two compression methods can be used for the same purpose, and the compressed video algorithms of these two international standards organizations (ITU-T, ISO / IEC) are dependent on the performance of the compression method in interdependent relationships that complement each other's functions. The superiority was thus transformed into the competition of choice.

국제표준 기구에서 권고하고 있는 H.263, MPEG-2는 동일한 동영상을 대상으로 하는 압축방식이나, 상호연동이 불가능하다. 즉, H.263으로 인코딩된 스트림을 MPEG-2 디코더에서 처리할 수 없으며, MPEG-2 스트림 역시 H.263에서 디코딩할 수 없다. 이는 영상전화, 영상회의 그리고 저장용으로 주 용도가 달랐던 H.261, MPEG-1에서는 큰 문제를 야기하지 않았으나, 실시간 대화형통신, 방송, 교신형 분배서비스 그리고 저장용 통신응용으로까지 그 범위가 확장된 H.263, MPEG-2는 필연적으로 동일한 용도에 이들 압축방식을 사용할 수 있고, 이때 이들간의 상호연동이 불가능한 것은 사용자 측면에서 경제적 손실과, 응용측면에서 이질성의 문제를 야기한다.H.263 and MPEG-2, which are recommended by the International Organization for Standardization, are compression methods that target the same video, but cannot interoperate. That is, H.263 encoded streams cannot be processed by the MPEG-2 decoder, and MPEG-2 streams cannot be decoded by H.263. This did not cause major problems in H.261 and MPEG-1, which were primarily used for video telephony, video conferencing, and storage, but extended to real-time interactive communications, broadcast, communication services, and storage communications. H.263 and MPEG-2 inevitably use these compression schemes for the same purpose, and the inability to interoperate between them causes economic loss on the user side and heterogeneity on the application side.

이러한 응용측면의 이질성은 해당되는 압축방식의 디코더, 인코더를 다단으로 연결하는 일반적인 화소영역에서의 트랜스코더를 사용하여 해결할 수 있으나, 이 역시 트랜스코더의 위치(네트워크 또는 사용자 단말)에 관계없이 이중의 경제적인 부담을 주게 된다. 또한, 다단의 코덱인 트랜스코더를 사용하므로써 화질열화, 특히 과도한 처리지연이 발생하여 실시간 통신에 제한을 받게 된다.This heterogeneity of the application side can be solved by using a corresponding decoder and a transcoder in a general pixel area connecting the encoder in multiple stages, but this also can be duplicated regardless of the position of the transcoder (network or user terminal). It is an economic burden. In addition, the use of a transcoder, which is a multi-stage codec, causes deterioration in image quality, particularly excessive processing delay, thereby limiting real-time communication.

그러므로, 네트워크의 구축, 멀티미디어 시장의 미성숙으로 보편화된 통신서비스의 확산에 실패하였던, H.261, MPEG-1과는 달리, 공중교환전화망(PSTN : Public Switched Telephone Network), 근거리통신망(LAN : Local Area Network), 비동기전달모드(ATM : Asynchronous Trasfer Mode), 케이블 텔레비젼(CATV : CableTelevision) 그리고 디지털 공중파 등의 네트워크 기반이 대부분 완료된 현 상황과 멀티미디어에 대한 일반인의 친숙도를 고려할 때, H.263과 MPEG-2를 이용한 다양한 멀티미디어 통신서비스가 급속히 확산될 것이다.Therefore, unlike H.261 and MPEG-1, which failed to establish the network and spread the generalized communication service due to immaturity of the multimedia market, public switched telephone network (PSTN) and local area network (LAN) Considering the current situation where the network infrastructure such as Area Network (ATM), Asynchronous Trasfer Mode (ATM), Cable Television (CATV), and digital airwaves is mostly completed, and the public's familiarity with multimedia, Various multimedia communication services using MPEG-2 will spread rapidly.

이에 따라, 현재 불가능한 이들 이종 압축부호간의 상호연동은 반드시 해결해야 하는 과제가 되고 있다.Accordingly, mutual interworking between these heterogeneous compression codes, which is currently impossible, has become a problem that must be solved.

응용서비스 관점에서의 이질성 해결과, 경제적인 이점을 제공하기 위한 이종 압축부호간의 상호연동은 적정한 가격으로 구현할 수 있는 효율성과 멀티미디어 통신에서 요구되는 실시간 처리를 필히 보장하여 제공되어야 한다.Resolving heterogeneity from the perspective of application services and interworking of heterogeneous compression codes to provide economic advantages must be provided to ensure the efficiency that can be realized at an affordable price and the real time processing required for multimedia communication.

이상에서와 같이, 동영상 압축부호의 응용분야를 명확히 구분하여 권고하였던 기존 표준과는 달리 현재 주로 사용하고 있으며 새로 연구가 진행되는 압축부호 알고리즘은 같은 응용을 대상으로 하고 있다. 즉, 동일한 멀티미디어 통신에 이들 이종 동영상 압축방식이 사용된다면, 종단점간의 응용서비스는 상호 연동이 불가능하게 된다.As mentioned above, unlike the existing standard, which clearly distinguished and recommended the field of application of video compression code, it is mainly used now and the compression code algorithm newly researched is targeted for the same application. That is, if these heterogeneous video compression schemes are used for the same multimedia communication, application services between endpoints cannot be interworked.

동영상 압축방식의 차이로 인한 이질성의 문제를 해결하기 위한 시도로 ITU-T와 ISO/IEC의 연구가 있었으나, 이것 역시 H.263의 기본적인 압축부호를 MPEG-4에서 수용하는 단 방향의 연동에 국한될 뿐, 현재까지 MPEG-4에서 H.263으로의 연동은 해결되지 못한 상태이다.In an attempt to solve the problem of heterogeneity due to the difference of video compression methods, there have been studies of ITU-T and ISO / IEC, but this is also limited to unidirectional interworking that accepts the basic compression code of H.263 in MPEG-4. So far, the interworking from MPEG-4 to H.263 has not been resolved.

특히, 대표적인 동영상 압축 알고리즘으로 등장한 MPEG-2와 H.263간의 상호 연동이 불가능하여 이러한 이종 압축부호가 대화형, 교신형 그리고 방송 등을 포함하는 멀티미디어 응용서비스에 사용될 때, 통신이 불가능하다는 연동의 문제 이외에 특정 동영상 응용서비스를 제공받기 위해서는 해당 서비스마다 별도의 동영상 압축처리부를 사용해야 하는 사용자 측면의 경제적인 손실을 가져오는 문제점이 있었다.In particular, it is impossible to interoperate between MPEG-2 and H.263, which has emerged as a representative video compression algorithm, and when such heterogeneous compression codes are used for multimedia application services including interactive, communication, and broadcasting, communication is impossible. In addition to the problem, in order to receive a specific video application service, there is a problem of economic loss of the user side that requires a separate video compression processing unit for each service.

상기한 바와 같은 문제점을 해결하기 위하여 안출된 본 발명은, 영상시스템의 완전 압축영역인 가변장부호에서 이종 동영상간에 공통되는 압축 알고리즘에 따라 생성된 정보를 최대한 활용하고, 그외의 두 부호간의 변환에 장애가 되는 구문구조, 기타 처리에 필요한 파라메터를 변환하여 MPEG-2 표준 동영상 압축부호를 H.263의 형태에 맞는 표준 동영상 압축부호로 직접 변환하기 위한 압축동영상 변환 방법 및 그를 실현하기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.In order to solve the above problems, the present invention utilizes the information generated according to a compression algorithm common among heterogeneous videos in a variable length code, which is a completely compressed region of an image system, and converts two other codes. A computer recording a compressed video conversion method for directly converting MPEG-2 standard video compression codes into standard video compression codes conforming to H.263 by converting necessary syntax structures and other processing parameters and a program for realizing the same. The purpose is to provide a recording medium that can be read by.

도 1 은 종래의 화소영역에서의 부호변화 과정도.1 is a code change process diagram of a conventional pixel region.

도 2 는 본 발명에 따른 압축동영상 변환 방법에 대한 일실시예 흐름도.2 is a flowchart illustrating an embodiment of a method for converting a compressed video according to the present invention.

도 3 은 본 발명에 이용되는 MPEG-2 스트림과 H.263 스트림의 계층별 변환 관계를 나타낸 설명도.3 is an explanatory diagram showing the conversion relationship between layers of an MPEG-2 stream and an H.263 stream used in the present invention;

도 4 는 본 발명에 이용되는 MPEG-2 스트림과 H.263 스트림의 매크로블럭 계층의 변환 관계를 나타낸 설명도.4 is an explanatory diagram showing a conversion relationship between a macroblock layer of an MPEG-2 stream and an H.263 stream used in the present invention;

도 5a 및 5b 는 본 발명에 이용되는 MPEG-2 스트림에서 블록계층에 대한 H.263 스트림으로의 DC 계수 부호화 과정에 대한 설명도.5A and 5B are explanatory diagrams of a DC coefficient encoding process from an MPEG-2 stream to an H.263 stream for a block layer used in the present invention.

상기 목적을 달성하기 위한 본 발명은, 영상시스템에 적용되는 압축동영상 변환 방법에 있어서, 엠펙-2 스트림의 헤더 정보를 해석하여 시퀀스 계층 및 영상군(GOP) 계층을 삭제하는 제 1 단계; 및 상기 엠펙-2 스트림의 나머지 영상들에 대해, 계층정보를 생성하고, 각 계층에 필요한 특정 파라메터값을 완전 압축영역인 가변장부호에서 상기 엠펙-2 스트림의 압축동영상을 H.263 스트림의 압축동영상으로 변환하는 제 2 단계를 포함한다.In accordance with another aspect of the present invention, there is provided a compressed video conversion method applied to a video system, comprising: a first step of analyzing header information of an MPEG-2 stream and deleting a sequence layer and a video group (GOP) layer; And generating hierarchical information on the remaining images of the MPEG-2 stream, and compressing the compressed video of the MPEG-2 stream into a H.263 stream in a variable length code, in which a specific parameter value required for each layer is a fully compressed region. The second step of converting to a video.

또한, 본 발명은, 프로세서를 구비한 영상시스템에, 엠펙-2 스트림의 헤더 정보를 해석하여 시퀀스 계층 및 영상군(GOP) 계층을 삭제하는 제 1 기능; 및 상기 엠펙-2 스트림의 나머지 영상들에 대해, 계층정보를 생성하고, 각 계층에 필요한 특정 파라메터값을 완전 압축영역인 가변장부호에서 상기 엠펙-2 스트림의 압축동영상을 H.263 스트림의 압축동영상으로 변환하는 제 2 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.The present invention also provides a video system having a processor, comprising: a first function of interpreting header information of an MPEG-2 stream to delete a sequence layer and a video group (GOP) layer; And generating hierarchical information on the remaining images of the MPEG-2 stream, and compressing the compressed video of the MPEG-2 stream into a H.263 stream in a variable length code, in which a specific parameter value required for each layer is a fully compressed region. A computer readable recording medium having recorded thereon a program for realizing a second function of converting to a moving picture is provided.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2 는 본 발명에 따른 압축동영상 변환 방법에 대한 일실시예 흐름도로서, MPEG-2 압축동영상을 H.263 압축동영상으로 변환하는 절차를 나타낸다.2 is a flowchart illustrating a method of converting a compressed video into an H.263 compressed video according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 본 발명에 따른 MPEG-2 압축동영상을 H.263 압축동영상으로 변환하는 압축동영상 변환방법은, 먼저 MPEG-2 스트림의 헤더 정보를 해석하여 시퀀스 계층 및 영상군(GOP : Group Of Picture) 계층을 삭제한다(201).As shown in FIG. 2, the compressed video converting method of converting MPEG-2 compressed video into H.263 compressed video according to the present invention first analyzes header information of an MPEG-2 stream to obtain a sequence layer and a video group (GOP). Delete the group (Group Of Picture) layer (201).

이후, 스트림의 나머지 영상들에 대해(206), MPEG-2 스트림과 H.263 스트림의 프레임을 정합하여 H.263 스트림의 영상 계층을 생성하고(202), MPEG-2 스트림의 해상도 및 매크로블록의 정보를 분석하여 H.263 스트림의 블록군(GOB : Group Of Block) 계층을 생성한다(203).Then, for the remaining pictures of the stream (206), the frames of the MPEG-2 stream and the H.263 stream are matched to generate a video layer of the H.263 stream (202), and the resolution and macroblock of the MPEG-2 stream. In step 203, a block group (GOB) layer of the H.263 stream is generated by analyzing the information of the H.263 stream.

다음으로, 스트림의 나머지 영상들에 대해(206), MPEG-2 스트림내의 매크로블록의 정보를 분석하여 H.263 매크로블록 계층으로 변환하고(204), MPEG-2 스트림의 블록 계층의 정보를 분석하여 H.263 스트림의 블록 계층으로 변환한다(205).Next, for the remaining pictures of the stream (206), the information of the macroblock in the MPEG-2 stream is analyzed and converted into an H.263 macroblock layer (204), and the information of the block layer of the MPEG-2 stream is analyzed. To a block layer of the H.263 stream (205).

상기한 바와 같은 본 발명에 따른 MPEG-2 압축동영상을 H.263 압축동영상으로 변환하는 압축동영상 변환 방법은 트랜스코더의 요구조건을 만족하는 새로운 방식로서, H.263, MPEG-2 두방식 공히 차등펄스부호변조(DPCM : Differential Pulse Code Moculation)에 따르는 움직임 추정, 보상, 이산여현변환(DCT : Discrete Cosine Transform) 그리고 엔트로피 코딩을 기본으로 하고 있다는 점에 착안하여, 공통되는 압축 알고리즘에 따라 생성된 정보는 최대한 활용하고, 그 외 두 부호간의 변환에 장애가 되는 구문구조, 기타 처리에 필요한 파라메터를 변환하는 것이다.The compressed video converting method for converting MPEG-2 compressed video into H.263 compressed video according to the present invention is a new method that satisfies the requirements of transcoder, and it is differentiated both H.263 and MPEG-2. Based on the motion estimation, compensation, Discrete Cosine Transform (DCT) and entropy coding according to Pulse Code Modulation (DPCM), information generated according to a common compression algorithm Is to make the most of it, and converts the syntax and other parameters necessary for processing other obstacles.

따라서, 본 발명은 MPEG-2의 압축부호를 H.263의 형태에 맞는 동영상 부호로 변환하며, 완전 압축 구문상에서 처리를 수행하므로써 화질 개선의 이점과 실시간 변환에 장점을 갖고 특히 간단한 처리로 용이하게 구현할 수 있는 효율적인 방법이다.Accordingly, the present invention converts the MPEG-2 compression code into a video code conforming to the H.263 format, and performs the processing on the fully compressed syntax, which has the advantages of image quality improvement and real-time conversion, and is particularly easy with simple processing. It is an efficient way to implement it.

상기한 바와 같은 본 발명에 따른 MPEG-2 압축동영상을 H.263 압축동영상으로 변환하는 압축동영상 변환 방법에 대해 도 3 내지 도 5를 참조하여 보다 상세히 설명한다.A compressed video conversion method for converting an MPEG-2 compressed video according to the present invention as described above into an H.263 compressed video will be described in more detail with reference to FIGS. 3 to 5.

도 3 은 본 발명에 이용되는 MPEG-2 스트림과 H.263 스트림의 계층별 변환 관계를 나타낸 설명도이다.3 is an explanatory diagram showing the conversion relationship between layers of an MPEG-2 stream and an H.263 stream used in the present invention.

본 실시예에서는 완전 압축부화상에서 필요한 계층정보를 생성 및 제거하고, 각 계층에 필요한 특정 파라메터 값을 변경하는 간단한 절차로 이종 동영상 부호간의 변환이 가능하다.In the present embodiment, it is possible to convert heterogeneous video codes by a simple procedure of generating and removing hierarchical information necessary for a fully compressed sub picture and changing specific parameter values required for each layer.

도 3에 도시된 바와 같이, MPEG-2 스트림(3a)에서 H.263 스트림(3b)으로의 압축 동영상 변환은 MPEG-2 스트림(3a)이 항등비트율(CBR : Constant Bit Rate)로 부호화 되었을 때, 특정 매크로블럭을 재 양자화하는 과정이 필요하다. 이는 매크로블럭 단위로 적용되는 H.263 스트림(3b)의 양자화 파라메터의 변동폭이 제한됨에 따라, 임의의 값을 갖을 수 있는 MPEG-2 스트림(3a)의 양자화 파라메터를 수용할 수 없기 때문이다.As shown in FIG. 3, the compressed video conversion from the MPEG-2 stream 3a to the H.263 stream 3b is performed when the MPEG-2 stream 3a is encoded at a constant bit rate (CBR). In this case, a process of requantizing a specific macroblock is required. This is because the quantization parameter of the quantization parameter of the H.263 stream 3b applied in units of macroblocks is limited, and thus cannot accommodate the quantization parameter of the MPEG-2 stream 3a, which may have an arbitrary value.

따라서, 이전 매크로블럭의 갖는 양자화 파라메터 값보다 ±1~±2 이상의 차이를 갖는 것은 역양자화하고, 다시 양자화 파라메터 값을 ±1~±2의 범위내의 값으로 설정하여 재양자화하여야 정상적인 변환이 가능하다. 이 부분은 매크로블럭 계층의 변환에 대한 내용이나, MPEG-2 스트림(3a)이 CBR 또는 가변비트율(VBR : Variable Bit Rate)로 인코딩되는 것에 의해 결정되는 부분이므로 여기서는 간략하게 설명하였다.Therefore, if the difference between the quantization parameter value of the previous macroblock is ± 1 ~ ± 2 or more, inverse quantization is required, and then the quantization parameter value is set to a value within the range of ± 1 ~ ± 2 to requantize the normal conversion. . This part is about the conversion of the macroblock layer, but since the MPEG-2 stream 3a is determined by encoding CBR or Variable Bit Rate (VBR), the description will be briefly described.

그 외, MPEG-2 스트림(3a)에서 H.263 스트림(3b)으로 동영상 압축부호를 변경하는 경우에, 사용되는 알고리즘 및 세부적인 내용은 각 계층별로 상세하게 설명한다.In addition, in the case of changing the video compression code from the MPEG-2 stream 3a to the H.263 stream 3b, the algorithm and details used will be described in detail for each layer.

MPEG-2 스트림(3a)의 시퀀스 계층, GOP 계층은 H.263에 대응되는 계층이 없으므로 필요한 파라메터를 분석한 후에, 제거한다. 즉, 처리해야 하는 MPEG-2 스트림(3a)을 해석하여 현재 입력되는 계층의 유형이 시퀀스 또는 GOP 계층일 경우에, 해상도, 양자화 매트릭스, 프레임의 구조정보 등을 해석하여 압축구문의 변환을 위한 기본 정보로 사용한다. 이중 양자화 매트릭스는 H.263 스트림(3b)과 MPEG-2 스트림(3a)의 양자화 절차에서 차이점이 되는 요소이다. 여기서, MPEG-2 스트림(3a)의 양자화는 이 매트릭스를 이산여현변환(DCT : Discrete Cosine Trasform) 블럭에 대한 가중치 정보로 사용하므로 시퀀스 계층에 포함된 양자화 매트릭스의 정확한 값을 분석하여야 DCT 계수의 손실없이 H.263 스트림(3b)의 영상부호로의 변환이 가능하다.Since the sequence layer and the GOP layer of the MPEG-2 stream 3a have no layer corresponding to H.263, the necessary parameters are analyzed and then removed. That is, when the type of the current input layer is a sequence or a GOP layer by analyzing the MPEG-2 stream 3a to be processed, the resolution, the quantization matrix, the structural information of the frame, etc. are analyzed to convert the compressed syntax. Use as information. The dual quantization matrix is a different element in the quantization procedure of the H.263 stream 3b and the MPEG-2 stream 3a. In this case, since the quantization of the MPEG-2 stream 3a uses the matrix as weighting information for the Discrete Cosine Trasform (DCT) block, it is necessary to analyze the exact value of the quantization matrix included in the sequence layer. It is possible to convert the H.263 stream 3b to the video code without using the code.

영상 계층의 변환은 입력되는 MPEG-2 스트림(3a)의 프레임 유형 분석을 통해 I, P, B 프레임을 H.263 스트림(3b)의 대응되는 프레임 형태인 I, PB로 각각 변경하여 준다.The conversion of the video layer converts I, P, and B frames into I, PB, which are corresponding frame types of the H.263 stream 3b, through frame type analysis of the input MPEG-2 stream 3a.

슬라이스 계층(301)과 매크로블럭 계층(302)에 양자화 파라메터 값이 있는 MPEG-2 스트림(3a)과는 달리, H.263 스트림(3b)은 픽쳐 계층에 양자화 파라메터가 존재한다. 그러나, 이것 역시, MPEG-2 스트림(3a)의 슬라이스 계층에 있는 양자화 파라메터와 같이 큰 의미를 갖지 않는다. 즉, H.263 스트림(3b), MPEG-2 스트림(3a)의 픽쳐 계층과 슬라이스 계층(301)에 존재하는 해당 파라메터는 매크로블럭의 양자화 파라메터에 의해 갱신되므로 MPEG-2 스트림(3a)의 최초의 슬라이스 계층(301)에 있는 양자화 파라메터 값을 H.263 스트림(3b)의 픽쳐 계층에 변경없이 사용한다.Unlike the MPEG-2 stream 3a in which the slice layer 301 and the macroblock layer 302 have quantization parameter values, the H.263 stream 3b has a quantization parameter in the picture layer. However, this too does not mean as much as the quantization parameter in the slice layer of the MPEG-2 stream 3a. That is, corresponding parameters present in the picture layer and slice layer 301 of the H.263 stream 3b and the MPEG-2 stream 3a are updated by the quantization parameter of the macroblock, so The quantization parameter value in the slice layer 301 of the H.263 stream 3b is used without change in the picture layer of the H.263 stream 3b.

MPEG-2 스트림(3a)의 슬라이스 계층(301)이 분명한 용도를 갖는 것에 반하여, H.263 스트림(3b)의 GOB 계층(311)은 명칭은 H.261 스트림에서, 구조는 MPEG-2 스트림(3a)에서 도입되었으나, 전체 H.263 압축영상의 구문 계층중 가장 그 성격이 불분명하다. 즉, H.263 스트림(3b)에서는 이 GOB 계층(311)을 슬라이스 계층(301)으로 대체할 수 있는 선택사항을 갖고 있는 것과 같이 H.261 스트림의 구문 구조만을 계승한 잉여 계층으로 볼 수 있다.While the slice layer 301 of the MPEG-2 stream 3a has a clear purpose, the GOB layer 311 of the H.263 stream 3b is named H.261 and the structure of the MPEG-2 stream ( Introduced in 3a), the nature of the syntax hierarchy of the entire H.263 compressed image is unclear. That is, in the H.263 stream 3b, the GOB layer 311 can be regarded as a surplus layer that inherits only the syntax structure of the H.261 stream, as has the option of replacing the GOB layer 311 with the slice layer 301. .

따라서, MPEG-2 스트림(3a)의 슬라이스 계층(301)을 변경할 때, H.263 스트림(3b)이 GOB 계층(311)을 포함하지 않는 것을 기본으로 하여, 전술한 바와 같이 GOB 계층(311)의 확실한 용도가 없으므로 GOB를 생성하지 않는다. 다만, 데이터의 부호 유형에 따라 생략될 수 있는 MPEG-2 스트림(3a)의 매크로블럭의 특성을 그대로 보존하기 위해 H.263 스트림(3b)으로 변환되는 모든 매크로블럭에 대해 COD(Coded macroblock indication)를 부가하여 준다.Therefore, when changing the slice layer 301 of the MPEG-2 stream 3a, the GOB layer 311 as described above is based on the fact that the H.263 stream 3b does not include the GOB layer 311. There is no obvious use of it, so don't create a GOB. Coded macroblock indication (COD) for all macroblocks converted to H.263 stream 3b to preserve the characteristics of the macroblock of MPEG-2 stream 3a, which may be omitted depending on the code type of the data. Add to

MPEG-2 스트림(3a)의 매크로블럭에서 H.263 스트림(3b)의 매크로블럭으로 변환하기 위해서는, MPEG-2 스트림(3a)의 해당 계층에 대한 정보의 해석이 필요하다. 여기서, 분석되어야 하는 정보는 매크로블럭의 부호화 형태, 유형, 코드화된 블록 패턴(CBP : Coded Block Pattern) 그리고 움직임 벡터 등이다.In order to convert from the macroblock of the MPEG-2 stream 3a to the macroblock of the H.263 stream 3b, it is necessary to interpret the information on the corresponding layer of the MPEG-2 stream 3a. Here, the information to be analyzed is the coding type, type, coded block pattern (CBP) and motion vector of the macroblock.

H.263 스트림(3b)은 MPEG-2 스트림(3a)의 매크로블록 주소 증가(MBAI : MacroBlock Address Increment)와 같은 매크로블록의 위치를 나타내는 정보를 사용하지 않기 때문에, 매크로블럭의 위치는 H.263 스트림(3b)의 COD를 해석하여 알 수 있다. 이는 매크로블럭의 부호화 유무를 나타내므로 COD는 MPEG-2 스트림(3a)의 MBAI와 대응되는 것으로 볼 수 있다.Since the H.263 stream 3b does not use information indicating the location of the macroblock, such as the macroblock address increment (MBAI) of the MPEG-2 stream 3a, the location of the macroblock is H.263. This can be found by analyzing the COD of stream 3b. Since this indicates the presence or absence of encoding of the macroblock, the COD may be regarded as corresponding to the MBAI of the MPEG-2 stream 3a.

그러나, H.263 스트림(3b)의 처음 인트라 프레임에는, 모든 매크로블럭이 인트라이고 이에 따라 생략될 수 없으므로, 압축효율을 높이기 위해 COD를 사용하지 않는다.However, in the first intra frame of the H.263 stream 3b, since all macroblocks are intra and cannot be omitted accordingly, no COD is used to increase the compression efficiency.

H.263 스트림(3b)은 인트라 프레임이 특별하게 인코딩되지 않는다면, 최초의 한 프레임만 존재하여, COD 삭제에 따르는 압축효율이 크지 않으나, GOP 계층마다 주기적으로 반복되는 MPEG-2 스트림(3a)의 I프레임을 H.263 스트림(3b)으로 변경할 때는 이 COD의 유무가 변환된 스트림의 비트율에 상당한 영향을 준다. 따라서, 스트림의 비트 효율을 위해 MPEG-2 스트림(3a)의 I프레임을 H.263 스트림(3b)의 인트라 프레임으로 변환할 때, COD를 생성하지 않도록 한다.H.263 stream 3b has only the first one frame unless the intra frame is specially encoded, so that the compression efficiency of COD erasure is not high. However, the H.263 stream 3b of the MPEG-2 stream 3a is periodically repeated for each GOP layer. When changing an I frame to an H.263 stream (3b), the presence or absence of this COD has a significant impact on the bit rate of the converted stream. Therefore, when converting an I frame of the MPEG-2 stream 3a into an intra frame of the H.263 stream 3b for the bit efficiency of the stream, no COD is generated.

MPEG-2 스트림(3a)의 매크로블럭의 유형을 H.263 스트림(3b)에 합당하게 변환하기 위해서는, MPEG-2 스트림(3a)의 해당 계층정보를 분석하고, 이것을 H.263 스트림(3b)의 구문형태로 맞추어 주는 과정이 필요하다. 즉, H.263 스트림(3b)에서 매크로블럭의 유형을 나타내는 것은 MCBPC(Macroblock type & coded block pattern for chrominance)로 이것을 합당하게 생성하기 위해서는 MPEG-2 스트림(3a)의 매크로블럭에 포함된 양자화 파라메터, 색차신호의 부호화 형태 그리고 움직임 벡터 등이 필요하고, 이것을 기준으로 H.263 스트림(3b)의 매크로블럭 유형이 결정된다.In order to appropriately convert the macroblock type of the MPEG-2 stream 3a into the H.263 stream 3b, the corresponding hierarchical information of the MPEG-2 stream 3a is analyzed and the H.263 stream 3b is analyzed. You need to adapt the syntax to That is, the macroblock type & coded block pattern for chrominance (MCBPC) representing the type of the macroblock in the H.263 stream 3b is a quantization parameter included in the macroblock of the MPEG-2 stream 3a in order to generate this reasonably. , A coding form of a color difference signal, a motion vector, and the like are required, and the macroblock type of the H.263 stream 3b is determined based on this.

도 4 는 본 발명에 이용되는 MPEG-2 스트림과 H.263 스트림의 매크로블럭 계층의 변환 관계를 나타낸 설명도이다.4 is an explanatory diagram showing a conversion relationship between a macroblock layer of an MPEG-2 stream and an H.263 stream used in the present invention.

MPEG-2 스트림(4a)의 매크로블럭 유형은 분명히 구분되는 반면, H.263 스트림(4b)은 여러 정보를 조합하여야 정확한 매트로블럭의 특성을 알 수 있다.The macroblock types of the MPEG-2 stream 4a are clearly distinguished, while the H.263 stream 4b needs to combine several pieces of information in order to know the exact macroblock characteristics.

따라서, 도 4에 도시된 바와 같이 매크로블럭의 유형 정합은 MPEG-2 스트림(4a)의 CBP 정보를 분석한 후에, 이것을 기준으로 H.263 스트림(4b)의 부호유형을 생성하기 위해 준비된 룩-업(Look-up) 테이블을 이용하여 처리한다.Therefore, as shown in Fig. 4, the type matching of the macroblock is performed after analyzing the CBP information of the MPEG-2 stream 4a and preparing the code type of the H.263 stream 4b based on this. Process by using look-up table.

MPEG-2 스트림(4a)과 H.263 스트림(4b)은 움직임 추정 및 보상에 유사한 알고리즘을 사용하나, 이 결과 생성된 움직임 벡터를 부호화하는 방법은 상이하다. 여기서, 움직임 벡터의 변환은 두 이종 압축 부호간의 움직임 벡터에 대한 부호화 방법의 차이를 해결하는 것으로, 차분값으로 표현되는 MPEG-2 스트림(4a)의 움직임 벡터에서 원래의 절대 움직임 추정치를 복원하고, 이를 다시 H.263 스트림(4b)에서 사용하는 움직임 벡터 부호화를 거쳐 매크로블럭에 대한 움직임 벡터 변환을 완료한다.The MPEG-2 stream 4a and the H.263 stream 4b use similar algorithms for motion estimation and compensation, but the methods for encoding the resulting motion vectors are different. Here, the transformation of the motion vector solves the difference in the encoding method for the motion vector between two heterogeneous compressed codes, and restores the original absolute motion estimate from the motion vector of the MPEG-2 stream 4a represented by the difference value. This is again performed through motion vector encoding used in the H.263 stream 4b to complete the motion vector conversion for the macroblock.

만약, 이전 프레임과의 비교를 통해 움직임이 없으면, 움직임 벡터가 없는 것으로 표현하는 MPEG-2 스트림(4a)과는 달리, H.263 스트림(4b)에서는 모든 인터 메크로블럭에 대해서 움직임 벡터를 표시하도록 하고 있다. 즉, 움직임이 없을 때는 해당되는 벡터 값을 0으로 설정한다.If there is no motion through the comparison with the previous frame, unlike the MPEG-2 stream 4a which expresses no motion vector, the H.263 stream 4b is configured to display the motion vector for all inter macroblocks. Doing. That is, when there is no motion, the corresponding vector value is set to 0.

따라서, 이 두 압축부호의 차이점을 해결하기 위해, 움직임 벡터가 없는 MPEG-2 스트림(4a)의 매크로블럭에 대해서 H.263 스트림(4b)과 같이 해당 벡터 값을 0으로 설정한다. 그러나, 절대치의 의미를 갖는 H.263 스트림(4b)의 움직임 벡터와는 달리, MPEG-2 스트림(4a)의 움직임 벡터는 차분값으로 부호화되고, 이전 매크로블럭의 상태, 해당 블럭의 위치에 따라 그 의미가 달라지므로, 이것을 정확히 계산하여 실제 움직임 추정에 따르는 벡터를 구한 후에, H.263 스트림(4b)에서 사용하는 방법에 따라 움직임 벡터를 부호화한다.Therefore, in order to solve the difference between the two compression codes, the vector value of the macroblock of the MPEG-2 stream 4a without the motion vector is set to 0 like the H.263 stream 4b. However, unlike the motion vector of the H.263 stream 4b, which has an absolute value, the motion vector of the MPEG-2 stream 4a is encoded with a differential value, and according to the state of the previous macroblock and the position of the block. Since the meanings are different, the exact calculation is performed to obtain a vector according to the actual motion estimation, and then the motion vector is encoded according to the method used in the H.263 stream 4b.

이와 같이, VBR 스트림에 적용되는 매크로블럭 단위의 변환은 전술한 바와 같이 CBR로 인코딩된 MPEG-2 스트림(4a)에 대해서 임의의 값으로 가변되는 양자화파라메터를 H.263 스트림(4b)의 양자화 파라메터 부호화 조건에 부합되도록 처리하여야 화질의 손실이 없는 이종 동영상 부호변환이 이루어진다. 즉, MPEG-2 스트림(4a)에서는 매크로블럭이 갖는 양자화 파라메터의 변동폭이 1~31까지의 모든 값이 허용되는 반면에, H.263 스트림(4b)은 이전 매크로블럭을 기준으로 최대 2까지의 변동만이 허용된다. 따라서, MPEG-2 스트림(4a)의 양자화 파라메터 값을 변경없이 사용하는 것은 불가능하다.As described above, the conversion of the macroblock unit applied to the VBR stream is performed by converting the quantization parameter of the H.263 stream 4b into a quantization parameter that is varied to an arbitrary value with respect to the CBR-encoded MPEG-2 stream 4a as described above. Heterogeneous video code conversion without loss of picture quality should be processed to meet the encoding conditions. In other words, in the MPEG-2 stream 4a, all values of the quantization parameter of the macroblock are allowed to be in the range of 1 to 31, whereas the H.263 stream 4b can be up to 2 based on the previous macroblock. Only variation is allowed. Therefore, it is impossible to use the quantization parameter value of the MPEG-2 stream 4a without change.

CBR 스트림의 양자화 파라메터 변환은, MEG-2 스트림(4a)의 매크로블럭이 갖는 파라메터 값의 차분이 2이내일 때는 변경없이 사용하고, 이것을 넘을 때는 재양자화를 통해 허용 범위내로 그 값을 맞추어 준다. 즉, 매크로블록의 파라메터가 +2 이상의 값을 가지면 재양자화하는 파라메터의 값은 이전 매크로블럭의 양자화 파라메터와 동일하게 설정하고, -2 이하의 값을 가지면 허용되는 최대값으로 설정한다. 이는 발생하는 화질저하를 최소화하기 위한 것이며, 이 결과 변환된 영상은 원래의 스트림보다 높은 비트율 특성을 갖고, 양자화 오류만큼의 화질저하가 발생한다.The quantization parameter conversion of the CBR stream is used unchanged when the difference between parameter values of the macroblock of the MEG-2 stream 4a is within 2, and when exceeded, the value is adjusted within the allowable range through requantization. That is, if the parameter of the macroblock has a value of +2 or more, the value of the quantized parameter is set to be the same as the quantization parameter of the previous macroblock. This is to minimize the deterioration in image quality. As a result, the converted image has a higher bit rate characteristic than the original stream, and the deterioration in image quality by the quantization error occurs.

CBR로 인코딩된 MPEG-2 스트림(4a)을 H.263 스트림(4b)으로 변환시에, 일어나는 비트율 증가와 화질저하는 프레임을 구성하는 매크로블럭의 양자화 파라메터의 분포와 변이에 종속되는 특성을 갖는다.In converting the CBR-encoded MPEG-2 stream 4a to the H.263 stream 4b, the bit rate increase and the image quality deterioration occurring are dependent on the distribution and variation of the quantization parameters of the macroblock constituting the frame.

한편, 블럭계층 처리는 인트라 DCT 블럭의 디씨(DC : Direct Current) 계수와 그 외 인터 DC, 에이씨(AC ; Alternative Current) 계수의 변환이 필요하다. 이러한 MPEG-2 스트림(4a)에서 블록계층에 대한 H.263 스트림(4b)으로의 DC 계수 부호화 과정이 도 5a 및 5b에 도시되었다.On the other hand, block layer processing requires conversion of DC (Direct Current) coefficients of the intra DCT block and other DC and AC (Alternative Current) coefficients. The DC coefficient encoding process from the MPEG-2 stream 4a to the H.263 stream 4b for the block layer is illustrated in FIGS. 5A and 5B.

MPEG-2 스트림(4a)에서 DCT 블럭은 DC 성분을 이전 블럭과의 차분값으로 표현하고, 그 외 부분인 AC 계수와 인터 블럭의 DC, AC는 런렌스코드(RLC : Run-Length Code)를 거쳐, 2차원 가변장부호(VLC : Variable Length Code)로 부호화된다. 이를 H.263 스트림(4b)의 블럭을 표현하는 형태로 변경하기 위해서는, MPEG-2 스트림(4a)의 블럭을 가변장 역부호화(VLD : Variable Length Decoding)하고, 차분값으로 표현된 DC 계수를 H.263 스트림(4b)에서 사용하는 8비트 고정장부호(FLC : Fixed Length Code)로 변환해야 하며, 나머지 계수는 런(RUN), 레벨(LEVEL) 그리고 라스트(LAST)로 표현되는 3차원 VLC 처리를 수행하여 블럭간의 변환을 완료한다.In the MPEG-2 stream 4a, the DCT block expresses the DC component as a difference value from the previous block, and the other parts of the AC coefficient and the DC and AC of the inter block represent a run-length code (RLC). After that, it is encoded by a two-dimensional variable length code (VLC). In order to change this to a form representing a block of the H.263 stream 4b, the block of the MPEG-2 stream 4a is variable length decoded (VLD), and a DC coefficient expressed as a difference value is obtained. Convert to 8-bit fixed length code (FLC) used in H.263 stream (4b), and the remaining coefficients are three-dimensional VLC expressed in RUN, LEVEL, and LAST. Processing is performed to complete the conversion between blocks.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the spirit of the present invention for those skilled in the art to which the present invention pertains, and the above-described embodiments and accompanying It is not limited to the drawing.

상기한 바와 같은 본 발명은, MPEG-2 동영상 압축부호를 H.263 압축부호로 변환하는데 있어서, 움직임 추정 및 보상, 그리고 이산여현변환(DCT) 관련 처리를 수행하지 않으므로 부호변환에 소요되는 장치의 구성을 용이하게 구현할 수 있고, 화질개선 및 멀티미디어 통신에 반드시 필요한 요구조건인 실시간 처리가 가능하며, 영상회의 또는 주문형 비디오 등에 이들 이종 압축부호를 사용하는 경우에 별도의 장치를 구입하지 않고도 다양한 멀티미디어 통신서비스를 제공할 수 있는 효과가 있다.As described above, the present invention does not perform motion estimation, compensation, and discrete cosine transform (DCT) related processing in converting MPEG-2 video compression codes to H.263 compression codes. It is easy to implement the configuration, real-time processing, which is a necessary requirement for image quality improvement and multimedia communication, and various multimedia communication without purchasing a separate device when using these heterogeneous compression codes for video conferencing or video on demand. There is an effect that can provide a service.

Claims (5)

영상시스템에 적용되는 압축동영상 변환 방법에 있어서,In the compressed video conversion method applied to the imaging system, 엠펙-2 스트림의 헤더 정보를 해석하여 시퀀스 계층 및 영상군(GOP) 계층을 삭제하는 제 1 단계; 및Parsing the header information of the MPEG-2 stream to delete the sequence layer and the video group (GOP) layer; And 상기 엠펙-2 스트림의 나머지 영상들에 대해, 계층정보를 생성하고, 각 계층에 필요한 특정 파라메터값을 완전 압축영역인 가변장부호에서 상기 엠펙-2 스트림의 압축동영상을 H.263 스트림의 압축동영상으로 변환하는 제 2 단계For the remaining images of the MPEG-2 stream, hierarchical information is generated, and the compressed video of the MPEG-2 stream is compressed video of the H.263 stream in a variable length code indicating a specific parameter value required for each layer. Second step to convert 를 포함하는 압축동영상 변환 방법.Compressed video conversion method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 1 단계는,The first step is, 상기 엠펙-2(MPEG-2) 스트림의 헤더 정보를 해석하여 현재 입력되는 계층의 유형이 시퀀스 계층 또는 영상군 계층중 어느 하나인 경우에, 상기 H.263 스트림에 대응되는 계층이 없으므로, 해상도, 양자화 매트릭스, 프레임의 구조정보를 해석하여 압축구문의 변환을 위한 기본 정보로 사용한 후에, 제거하는 것을 특징으로 하는 압축동영상 변환 방법.When the header information of the MPEG-2 stream is interpreted and the type of the currently input layer is either a sequence layer or an image group layer, since there is no layer corresponding to the H.263 stream, the resolution, A method of converting a compressed video, characterized by removing the quantization matrix and frame information after analyzing the structural information and using the information as basic information for transforming a compressed syntax. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계는,The second step, 상기 엠펙-2 스트림의 나머지 영상들에 대해, 상기 엠펙-2 스트림과 상기 H.263 스트림의 프레임을 정합하여 상기 H.263 스트림의 영상 계층을 생성하는 제 3 단계;Generating a video layer of the H.263 stream by matching frames of the MPEG-2 stream and the H.263 stream with respect to the remaining images of the MPEG-2 stream; 상기 엠펙-2 스트림의 해상도 및 매크로블록의 정보를 분석하여 상기 H.263 스트림의 블록군(GOB) 계층을 생성하는 제 4 단계;A fourth step of generating a block group (GOB) layer of the H.263 stream by analyzing the resolution and macroblock information of the MPEG-2 stream; 상기 엠펙-2 스트림내의 매크로블록의 정보를 분석하여 상기 H.263 스트림의 매크로블록 계층으로 변환하는 제 5 단계; 및A fifth step of analyzing information of the macroblock in the MPEG-2 stream and converting the macroblock into a macroblock layer of the H.263 stream; And 상기 엠펙-2 스트림의 블록 계층의 정보를 분석하여 상기 H.263 스트림의 블록 계층으로 변환하는 제 6 단계A sixth step of analyzing information of the block layer of the MPEG-2 stream and converting the information into a block layer of the H.263 stream; 를 포함하는 압축동영상 변환 방법.Compressed video conversion method comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 5 단계는,The fifth step, 상기 엠펙-2 스트림내의 매크로블록의 매크로블록의 부호화 형태, 유형, 코드화된 블록 패턴(CBP) 및 움직임 벡터 정보를 상기 H.263 스트림의 매크로블록 계층으로 변환하는 것을 특징으로 하는 압축동영상 변환 방법.And converting the coding type, type, coded block pattern (CBP), and motion vector information of the macroblock of the macroblock in the MPEG-2 stream into the macroblock layer of the H.263 stream. 프로세서를 구비한 영상시스템에,In an imaging system with a processor, 엠펙-2 스트림의 헤더 정보를 해석하여 시퀀스 계층 및 영상군(GOP) 계층을 삭제하는 제 1 기능; 및A first function of interpreting header information of the MPEG-2 stream to delete a sequence layer and a video group (GOP) layer; And 상기 엠펙-2 스트림의 나머지 영상들에 대해, 계층정보를 생성하고, 각 계층에 필요한 특정 파라메터값을 완전 압축영역인 가변장부호에서 상기 엠펙-2 스트림의 압축동영상을 H.263 스트림의 압축동영상으로 변환하는 제 2 기능For the remaining images of the MPEG-2 stream, hierarchical information is generated, and the compressed video of the MPEG-2 stream is compressed video of the H.263 stream in a variable length code indicating a specific parameter value required for each layer. Function to convert to 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR1019980049424A 1998-11-18 1998-11-18 A conversion method of the compressed moving video on the video communication system KR100312411B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980049424A KR100312411B1 (en) 1998-11-18 1998-11-18 A conversion method of the compressed moving video on the video communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980049424A KR100312411B1 (en) 1998-11-18 1998-11-18 A conversion method of the compressed moving video on the video communication system

Publications (2)

Publication Number Publication Date
KR20000032825A KR20000032825A (en) 2000-06-15
KR100312411B1 true KR100312411B1 (en) 2001-12-20

Family

ID=19558760

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980049424A KR100312411B1 (en) 1998-11-18 1998-11-18 A conversion method of the compressed moving video on the video communication system

Country Status (1)

Country Link
KR (1) KR100312411B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040036224A (en) * 2002-10-24 2004-04-30 주식회사 이지미디어 A format transcoding method using frame feature

Also Published As

Publication number Publication date
KR20000032825A (en) 2000-06-15

Similar Documents

Publication Publication Date Title
JP4092734B2 (en) Digital signal conversion method and digital signal conversion apparatus
US8175148B2 (en) Method and device for indicating quantizer parameters in a video coding system
Le Gall The MPEG video compression algorithm
KR100303685B1 (en) Image prediction encoding device and method thereof
KR100620270B1 (en) Method and apparatus for transcoding compressed video bitstreams
JP4617644B2 (en) Encoding apparatus and method
Tamhankar et al. An overview of H. 264/MPEG-4 Part 10
KR100253931B1 (en) Approximate mpeg decoder with compressed reference frames
JP2002199402A (en) System for transcoding discrete cosine transform coded signals, and method related thereto
WO2008140949A1 (en) Methods and systems for rate-distortion optimized quantization of transform blocks in video encoding
KR20070007295A (en) Video encoding method and apparatus
KR20050062836A (en) Transcoding method and apparatus
KR100312421B1 (en) A conversion method of the compressed moving video on the video communication system
Okubo Reference model methodology-a tool for the collaborative creation of video coding standards
KR100312411B1 (en) A conversion method of the compressed moving video on the video communication system
KR100327102B1 (en) A conversion method of compressed moving video on the video communication system
JP2008109700A (en) Method and device for converting digital signal
JP4605212B2 (en) Digital signal conversion method and digital signal conversion apparatus
JP4513856B2 (en) Digital signal conversion method and digital signal conversion apparatus
JPH03124182A (en) Cell abort compensation picture decoding system
Cieplinski A review of image and video coding standards
Jeffay COMP 249 Advanced Distributed Systems
Ng et al. An adaptive multiresolution modification of the H. 263 video coding algorithm
JP2008109701A (en) Method and device for converting digital signal
Lee Standard coding for mpeg-1, mpeg-2 and advanced coding for mpeg-4

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121109

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20131008

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee