KR0181084B1 - Dts coding apparatus of mpeg - Google Patents

Dts coding apparatus of mpeg Download PDF

Info

Publication number
KR0181084B1
KR0181084B1 KR1019960025092A KR19960025092A KR0181084B1 KR 0181084 B1 KR0181084 B1 KR 0181084B1 KR 1019960025092 A KR1019960025092 A KR 1019960025092A KR 19960025092 A KR19960025092 A KR 19960025092A KR 0181084 B1 KR0181084 B1 KR 0181084B1
Authority
KR
South Korea
Prior art keywords
dts
flag
transport
time
pes
Prior art date
Application number
KR1019960025092A
Other languages
Korean (ko)
Other versions
KR980006943A (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 KR1019960025092A priority Critical patent/KR0181084B1/en
Publication of KR980006943A publication Critical patent/KR980006943A/en
Application granted granted Critical
Publication of KR0181084B1 publication Critical patent/KR0181084B1/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/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/20Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video object coding

Abstract

본 발명은 엠펙(MPEG) 시스템에서 정보데이터의 DTS를 효율적으로 부호화하여 기록할 수 있는 부호화장치에 관한 것으로, 이를 해결하기 위하여 엠펙 권고안에 근거하여 오디오/비디오신호를 인코딩하는 엘리멘트리 스트림 인코더와, 상기 인코딩된 출력을 PES 패킷화하는 PES 패킷타이저, 상기 PES 패킷을 전송 패킷화하며 상기 전송 패킷화된 스트림이 처음 전송버퍼에 기록되는 시점부터 상기 전송버퍼에 처음 수신되는 PCR이 기록되는 시점까지 누적된 데이터량을 전송율로 나누어 초기 PCR를 구하며, 상기 초기 PCR에 기초하여 상기 전송 패킷내에 디코더의 디코딩 시간의 기준 맞추기 위한 DTS를 기록하여 전송채널로 출력하는 장치에 있어서, 상기 엘리멘트리 스트림 인코더(510)의 출력이 엘리멘트리 스트림에서 오디오 및 비디오신호의 시작을 알리는 스타트코드의 검출결과에 따라 플래그를 제공하거나 디코딩 시간 지시하는 DTS가 기록되어 전송되는 시점부터 카운트를 행한 카운트 값과 기설정된 값간의 비교에 의거하여 플래그를 제공하는 플래그 발생수단과, 상기 PES패킷타이저의 출력이 PES 패킷을 전송 패킷화하며, 이 전송 패킷화된 상기 전송패킷에 상기 플래그 발생수단의 플래그를 기록하여 출력하는 전송 패킷타이저와, 상기 초기의 PCR값과 시스템 클럭에 기초하여 상기 디코더에서 디코딩될 시간인 DTS를 발생하여 출력하는 인코더 클럭 시스템과, 상기 인코더 클럭 시스템의 출력인 DTS를 기록하며, 상기 전송 패킷타이저의 전송패킷에서 플래그의 검출 결과에 답하여 상기 기록된 DTS를 독출하여 상기 전송버퍼로 출력하는 검출 및 기록수단을 구비함으로써 DTS 데이터의 최대 전송시간 제한조건을 만족하면서 복호화 시간 단축할 수 있는 효과가 있다.The present invention relates to an encoding apparatus capable of efficiently encoding and recording a DTS of information data in an MPEG system, and to solve this problem, an elementary stream encoder for encoding an audio / video signal based on an MPEG recommendation; A PES packetizer for PES packetizing the encoded output, transport packetizing the PES packet, and from the time when the transport packetized stream is first recorded in the transport buffer to the time when the first PCR is recorded in the transport buffer An apparatus for calculating an initial PCR by dividing a accumulated data amount by a transmission rate, and recording a DTS for matching a decoding time of a decoder in the transport packet based on the initial PCR and outputting the DTS to a transport channel, the elementary stream encoder ( The output of 510 indicates the start of the audio and video signal in the elementary stream. Flag generating means for providing a flag according to a detection result of the tart code or a flag generation means for providing a flag based on a comparison between a preset value and a count value counted from the time when the DTS indicating the decoding time is recorded and transmitted; and the PES packet tie A transmission packetizer for outputting a PES packet into a transmission packet, recording and outputting a flag of the flag generating means in the transmission packetized transmission packet, and the decoder based on the initial PCR value and a system clock. Record an encoder clock system for generating and outputting a DTS, which is a time to be decoded, and a DTS, which is an output of the encoder clock system, and read out the recorded DTS in response to a detection result of a flag in a transmission packet of the transport packetizer. Limiting the maximum transmission time of DTS data by including detection and recording means output to the transmission buffer There is an effect that can reduce decoding time while satisfying thing.

Description

엠펙(MPEG) 시스템의 디터에스(DTS) 부호화장치DTS Coding System of MPEG System

제1도은 MPEG-2(ISO/IEC 13818) 시스템에서 전송스트림의 인코더를 개략적으로 도시한 블록 구성도1 is a block diagram schematically illustrating an encoder of a transport stream in an MPEG-2 (ISO / IEC 13818) system.

제2도은 엘리멘트리 스트림, 패킷타이저 및 PES 패킷의 관계를 설명한 도면.2 is a diagram illustrating a relationship between an elementary stream, a packetizer, and a PES packet.

제3도은 내지 제5도는 패킷구성 및 전송스트림의 구성을 도시한 도면.3 to 5 are diagrams showing a packet configuration and a transport stream configuration.

제6도은 오디오/비디오 엘리멘트리 스트림을 구성하는 프로그램을 도시한 도면.6 shows a program constituting an audio / video elementary stream.

제7도은 본 발명에 따른 엠펙(MPEG) 시스템의 디티에스(DTS) 부호화 장치도.7 is a DTS encoding apparatus of an MPEG system according to the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

510 : 엘리멘트리 스트림 인코더 520 : PES 패킷타이저510: elementary stream encoder 520: PES packetizer

530 : 플래그 발생수단 540 : 전송패킷 타이저530: flag generation means 540: transmission packetizer

550 : 인코더 클럭 시스템 560 : 검출 및 기록수단550: encoder clock system 560: detection and recording means

570 : 전송버퍼570: transmission buffer

본 발명은 엠펙(MPEG) 시스템에 관한 것으로, 특히 정보테이터(비디오, 오디오등)의 복호화 시간정보인 DTS(Decoding Time Stamp)를 효율적으로 부호화하여 기록할 수 있도록 된 엠펙(MPEG) 시스템의 디티에스(DTS) 부호화장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an MPEG system. In particular, the DTS of the MPEG system is capable of efficiently encoding and recording a Decoding Time Stamp (DTS), which is decoding time information of an information data (video, audio, etc.). (DTS) encoding apparatus.

MPEG-2 전송스트림은 MPEG 시스템 스트림의 일종으로서 MPEG 시스템에 대한 종개의 기술로는 현재 국제 표준으로 정해진 MPEG-2 IS(Internation Standard)에서 알려진 바와 같이 MPEG-2의 공식명칭은 ITU-T Rec.H.222.01|SO/1EC 13818이다.The MPEG-2 transport stream is a type of MPEG system stream. As the final technology for the MPEG system, the official name of MPEG-2 is known as ITU-T Rec. H.222.01 | SO / 1EC 13818.

MPEG-2에는 크게 제1파트인 시스템과 제2파트인 비디오 및 제3파트인 오디오로 나누어지며, 상기 제1파트는 시스템 레이어 코딩(System Layer Coding)에 관한 전반적인 분야에 대한 권고안이다.MPEG-2 is largely divided into a first part system, a second part video, and a third part audio. The first part is a recommendation for the overall field of system layer coding.

여기서, 시스템 레이어 코딩(이하, 시스템 코딩)이란 MPEG-1나 MPEG-2의 데이터 압축방법으로 압축된 오디오/비디오 스트림뿐만 아니라 필요에 따라 사용자 데이터(user data) 등을 멀티플렉싱하여 전송 또는 저장에 적합하도록 포맷팅하는 기술에 관한 것이다.Here, system layer coding (hereinafter referred to as system coding) is suitable for transmission or storage by multiplexing not only an audio / video stream compressed by a data compression method of MPEG-1 or MPEG-2, but also user data, etc. as necessary. It relates to a technique for formatting.

이와 같이 여러 개의 비트 스트림을 입력받아 일련의 스트림으로 포맷팅하는 과정을 시스템 인코딩(System Encoder)이라 하고, 포맷팅한 것을 원래의 입력된 스트림의 형태로 풀어내는 과정을 시스템 디코딩(system decoder)이라 한다.As described above, a process of receiving a plurality of bit streams and formatting them into a series of streams is called a system encoder, and a process of unpacking the formatted stream into the original input stream is called a system decoder.

그리고 포맷팅하는 규칙을 신택스(syntax)라하며, 이 신택스를 만드는 과정에서 각 부분의 의미를 규정해 둔 것이 시맨택스(semantics)라 한다.The formatting rule is called syntax, and the semantics that define the meaning of each part in the process of creating this syntax are called semantics.

MPEG 시스템 IS에서는 포맷팅 규칙인 신택스, 시맨틱스를 규정하고 있으므로, 시스템 인코더에서의 인코딩시, 이와 같은 규칙에 따라 비트스트림을 만들어야 하며, 시스템 디코더는 이 규칙으로 만들어진 스트림을 디코더할 수 있도록 구성되어야 한다.Since MPEG system IS prescribes formatting rules such as syntax and semantics, when encoding in a system encoder, a bitstream must be created according to such a rule, and the system decoder must be configured to decode a stream produced by this rule. .

상기 시스템 인코딩은 단순히 각각의 오디오/비디오 스트림을 묶어 결합시키는 기능뿐만 아니라 스트림을 디코딩하는 과정에서 시스템 디코더 내부의 버퍼제어 및 각 디코딩된 스트림들의 동기를 맞추어 재생하기 위한 몇가지의 파라메타가 삽입되는 과정을 포함한다.The system encoding not only combines and combines each audio / video stream, but also includes a process of inserting some parameters for reproducing the buffer control and synchronizing each decoded stream in the system decoder in decoding the stream. Include.

시스템 인코딩 방법에 있어서, 전송스트림 인코딩과 프로그램 스트림 인코딩의 두가지 형태가 있는, 상기 프로그램 스트림은 주로 저장을 위해 사용된다.In the system encoding method, there are two forms of transport stream encoding and program stream encoding, which program stream is mainly used for storage.

참고적으로 도면1은 MPEG-2 시스템에서 전송스트림의 인코더를 개략적으로 도시한 도면으로, 오디오/비디오 스트림으로부터 패킷 타이저를 거쳐 전송스트림을 만드는 과정이다.For reference, FIG. 1 schematically illustrates an encoder of a transport stream in an MPEG-2 system, which is a process of creating a transport stream from an audio / video stream through a packetizer.

동도면에 도시된 바와 같이, 오디오 및 비디오 인코더 (11)(12)는 MPEG-1 또는 MPEG-2로 가정할 수도 있지만, MPEG-2 시스템 인코딩은 MPEG 계열이 아닌 다른 인코더로 인코딩된 스트림을 배제하지 않으므로 H.261 비디오 인코더나 CCITT G.721 오디오 인코더, 혹은 특정하게 제한된 사용자들만을 위해 사용하는 독특한 오디오/비디오 인코더가 될 수도 있다.As shown in the figure, audio and video encoders 11, 12 may assume MPEG-1 or MPEG-2, but MPEG-2 system encoding excludes streams encoded with encoders other than the MPEG family. Hence, it could be a H.261 video encoder, a CCITT G.721 audio encoder, or a unique audio / video encoder used only for specific limited users.

이들 비디오 및 오디오 인코더(11)(12)에서 인코딩된 데이터를 엘리멘트리 스트림이라 하는데, 이 엘리멘트리 스트림들은 일차적으로 각각의 오디오 및 비디오 패킷타이저(13)(14)를 통하여 패킷타이징된다.The data encoded by these video and audio encoders 11 and 12 are called elementary streams, which are primarily packetized through respective audio and video packetizers 13 and 14.

이 과정을 거친 데이터를 패킷화된 엘리멘트리 스트림(Packetized Elementary Stream : PES)이라 하며, 이 PES 패킷을 만드는 패킷타이저를 PES 패킷타이저라 한다.The data that has undergone this process is called a packetized elementary stream (PES), and a packetizer that makes this PES packet is called a PES packetizer.

즉, 오디오 패킷타이저(13)와 비디오 패킷타이저(14)를 거쳐 만들어진 각각의 오디오 PES 패킷, 비디오 PES 패킷은 전송스트림(또는 프로그램 스트림)은 멀티플렉서(15)에 입력되고, 이 멀티플렉서(15)에서는 프로그램 스트림, 전송스트림을 만들어 출력하게 된다.That is, each of the audio PES packet and the video PES packet, which are made through the audio packetizer 13 and the video packetizer 14, is input to the multiplexer 15 with the transport stream (or program stream). ) Creates and outputs a program stream and a transport stream.

시스템 인코딩이란 결국, 엘리멜트리 스트림을 입력받아 PES 패킷타이징, 전송스트림을 만드는 과정에 해당한다. 즉, 크게 나누어 시스템 코딩과정은 두가지의 기능을 수행한다고 볼 수 있는데 PES패킷과 TS/PS 멀티플렉싱이다.In the end, system encoding corresponds to a process of creating an PES packetizing and transport stream by receiving an elimtree stream. In other words, the system coding process can be divided into two functions: PES packet and TS / PS multiplexing.

PES 패킷타이저는 엘리멘트리 스트림들을 PES패킷으로 만들고, TS/PS 멀티플렉싱과정은 PES 패킷으로부터 TS/PS 패킷을 만드는 과정에 해당한다.The PES packetizer makes elementary streams into PES packets, and the TS / PS multiplexing process corresponds to making TS / PS packets from PES packets.

이와 같이, MPEG-2 시스템 권고안은 디코딩을 위하여 구현되는 스펙(spec)은 특별히 인코딩하는 과정을 따로 규정하지 않고 있으며, 때에 따라 발생할 수 있는 응용시스템에 대한 별도의 규정 또한, 없다.As such, the MPEG-2 system recommendation does not specifically specify the process for encoding, and there are no separate provisions for application systems that may occur from time to time.

따라서, 인코딩 시스템들에서는 출력되는 스트림이 MPEG-2 스트림 IS에서 규정한 디코더 스펙에 맞는 정확한 스트림을 제공해 주면 되는 것인데, 이러한 인코딩 과정에서 인코더를 구성하는 방법과 효율적인 디코더를 만드는 기술등은 표준화되어 있지 않다.Therefore, in encoding systems, the output stream needs to provide an accurate stream that meets the decoder specification specified by the MPEG-2 stream IS. In this encoding process, the method of configuring an encoder and the technology for making an efficient decoder are not standardized. not.

도면 2는 시스템 코딩의 권고안을 참조하여 입력되는 엘리멘트리 시트림이 PES 패킷화되는 과정을 도시한 것으로서, 시스템 인코더에서 부호화된 모든 정보는 패킷단위로 포맷팅된다. 도면 3은 PES 패킷의 구성을 도시한 것으로, PES 패킷은 헤더(Header)와 패이로드(Payload)로 이루어진다.2 illustrates a process of PES packetization of an input elementary stream with reference to a system coding recommendation, in which all information encoded in a system encoder is formatted in a packet unit. 3 shows a configuration of a PES packet, in which a PES packet includes a header and a payload.

상기 패이로드(32) 부분은 엘리멘트리 스트림을 일정한 길이로 잘라서 삽입하고, 헤터(31) 부분에 기타의 유용한 정보(예 : 시간정보,주소,꼬리표등)가 삽입하게 된다. 여기서, PES 패킷을 만드는 장치를 패킷타이저라하고, 엘리멘트리 스트림을 입력받아 패킷을 만드는 장치를 PES패킷타이저(도면 2의 참조번호 22)라 한다.The payload 32 part cuts the elementary stream into a predetermined length and inserts other useful information (eg, time information, address, tag, etc.) into the header 31 part. Here, a device for generating a PES packet is called a packetizer, and a device for receiving an elementary stream and generating a packet is called a PES packetizer (reference numeral 22 in FIG. 2).

본 시스템 인코더에서 엘리멘트리 스트림이란 패킷타이징(패킷을 만드는 과정)을 수행하기 위한 입력 스트림을 의미하고, 좀더 광범위한 의미로는 어떤 형태로는 부호화된 스트림이 시스템 인코더로 입력되는 경우의 스트림을 의미한다.In the present system encoder, an elementary stream means an input stream for performing packetizing (packet making process), and in a broader sense, a stream in which a coded stream is input to the system encoder in some form. do.

시스템 인코딩 과정은 엘리멘트리 스트림을 입력받아 PES패킷을 만들고, 다시 PES 패킷을 입력받아 전송스트림 패킷이나 프로그램 스트림 패킷을 만드는 과정으로 이해할 수 있게 된다.The system encoding process can be understood as a process of generating a PES packet by receiving an elementary stream and then generating a transport stream packet or a program stream packet by receiving a PES packet.

도면 4는 오디오 PES 스트림과 비디오 PES 스트림 및 전송헤더정보에 기초하여 전송 스트림화한 일예를 도시한 것으로, 전송패킷의 길이는 항상 188 바이트로 동일하게 짧기 때문에 멀티플렉싱, 리-멀티플렉싱, 디멀티플렉싱, 수신기 제작 등에 있어서 용이하고 셀 로스(cell loss)와 같은 전송오차시의 손실이 적다는 장점을 내포하고 있다.4 shows an example of transport streams based on audio PES streams, video PES streams, and transport header information. Since the length of a transport packet is always equally short as 188 bytes, multiplexing, re-multiplexing, demultiplexing, and receiver It is easy to manufacture and has the advantage of low loss in transmission error such as cell loss.

종합적으로 볼 때 전송패킷으로 구성되는 전송스트림은 전송오차가 많은 채널을 이용하여 프로그램을 전송하는 방송용으로 적합하다.Overall, a transport stream composed of transport packets is suitable for broadcasting that transmits a program using a channel having a large transmission error.

이와 같이 전송스트림은 고정된 길이의 짧은 패킷들로 구성되기 때문에 다른 스트림으로의 변환이 용이하고 셀로스와 같은 손실의 영향을 최소화할 수 있다.As such, since the transport stream is composed of short packets of fixed length, it is easy to convert to another stream and minimize the effects of loss such as cellulose.

도면 5는 도면 3 내지 도면 4에서 상술된 전송패킷과, PES 패킷, 압축된 비디오 및 오디오 스트림의 관계를 개략적으로 것으로, 압축된 비디오 및 오디오신호에는 스타트코드를 포함하고 있음을 알 수 있다.FIG. 5 schematically illustrates a relationship between a transport packet described above with reference to FIGS. 3 to 4, a PES packet, a compressed video and an audio stream, and it can be seen that the compressed video and audio signal includes a start code.

그리고, 도면 6은 도면 1에 도시된 인코더외에 시간개념을 도시한 것으로, 오디오/비디오 엘리멘트리 스트림으로 구성되는 프로그램을 나타낸 것이다. 오디오신호 및 비디오신호가 인코더(61)(62)에 의해서 부호화된 각 엘리멘트리 스트림은 오디오 및 비디오신호 PES 패킷 타이저(63)(64)로 입력된다.6 shows a concept of time in addition to the encoder shown in FIG. 1 and shows a program composed of an audio / video elementary stream. Each elementary stream in which audio and video signals are encoded by encoders 61 and 62 is input to audio and video signal PES packetizers 63 and 64.

시스템 클럭단(65)은 시간정보클럭(ESCR/PTS/DTS)를 발생시켜 상기 PES 패킷 타이저(63)(64)로 제공하게 되는데, 이때, PES 패킷타이저(63)(64)는 상기 입력된 시간정보클럭(ESCR/PTS/DTS)를 PES 패킷내의 헤더부분에 삽입함과 아울러 상기 엘리멘트리 스트림을 패킷타이징하여 TS/PS 패킷타이저(또는 멀티플렉서)(66)로 입력한다. 따라서 TS/PS 패킷타이저(66)는 시스템 클럭단(65)로부터의 다른 시간정보클럭(PCR/SCR)을 전송패킷의 헤더부분에 삽입함과 아울러 상기 PES 패킷을 패킷타이징하여 TS/PS 스트림으로 출력하게 된다.The system clock stage 65 generates a time information clock (ESCR / PTS / DTS) to provide the PES packetizers 63 and 64, wherein the PES packetizers 63 and 64 The time information clock (ESCR / PTS / DTS) is inserted into the header portion of the PES packet, and the elementary stream is packetized and input to the TS / PS packetizer (or multiplexer) 66. Accordingly, the TS / PS packetizer 66 inserts another time information clock (PCR / SCR) from the system clock stage 65 into the header portion of the transmission packet, and packetizes the PES packet to TS / PS. Will output to the stream.

여기에서 시스템 클럭은 시스템 인코더를 구성하는 모든 불록에 제공되는 시스템 클럭(System Clock)에 해당되며, 이 시스템 클럭의 주파수는 다음과 같은 제한 조건을 만족한다.Here, the system clock corresponds to the system clock provided to all blocks constituting the system encoder, and the frequency of the system clock satisfies the following constraints.

27 MHz-810 Hz ≤ 시스템_클럭_주파수≤ 27MHz + 810 Hz27 MHz-810 Hz ≤ system_clock_frequency ≤ 27 MHz + 810 Hz

시스템_클럭_주파수의 시간변화율≤75×10-3Hz/sec--(A)Time change rate of system clock frequency ≤75 × 10 -3 Hz / sec-(A)

상기 식(A)의 의미로 보면, 시스템 클럭 주파수는 27MHz에서 +,- 810Hz의 오차를 허용하는데, 이는 27MHz를 기준으로 -,-0.003%의 범위에 해당된다. 또한, 이 오차의 범위에서 동작을 한다할지라도 클럭의 변화가 급격하게 생기면 안되는데 이를 다음 식에서 규정하고 있다. 즉, 1 초에 0.075Hz의 변화까지를 허용하는 것으로서 1 초에 27 MHz의 클럭주파수로 동작한다면, 360M 클럭에 한 클럭이 어긋남을 의미한다. 종합적으로 정리하면 식(A)의 규정은 시스템 클럭의 동작 주파수범위와 동작 주파수의 변화율을 규정한 것이다.In the sense of Equation (A), the system clock frequency allows an error of +,-810 Hz at 27 MHz, which is in the range of-,-0.003% based on 27 MHz. In addition, even when operating in the range of this error, the clock change should not occur suddenly. In other words, if a clock frequency of 27 MHz is allowed in one second, allowing a change of 0.075 Hz in one second, it means that one clock shifts from the 360 M clock. In summary, the formula (A) defines the operating frequency range of the system clock and the rate of change of the operating frequency.

다음으로, MPEG 시스템에서 규정하는 DTS는, 엘리멘트리스트림(부호화된 오디오나 비디오 또는 기타의 부호화된 스트림을 지칭하는 용어로서 일반적으로 시스템 인코더에 입력되는 시트림을 말한다.)에 대하여 디코더가 한 프레임 데이터를 복호화할 시점을 나타내는 값으로서 시스템 클럭 주파수의 1/300 단위의 클럭으로 시간 표현한 것인데 계산방법은 식(B)와 같다.Next, the DTS defined in the MPEG system is a frame that is decoded by a decoder for an elementary stream (a term referring to encoded audio, video, or other encoded stream, which is generally input to a system encoder). This value represents the point in time at which data is to be decoded, which is expressed in time in units of 1/300 of the system clock frequency.

DTS(j) = (시스템_클럭_주파수 × tDn(j) DIV300)% 233---(B)DTS (j) = (System_Clock_Frequency × tDn (j) DIV300)% 2 33 --- (B)

(tDn(j)는 j째 프레임의 데이터가 디코딩되어야 하는 시간을 나타내며, DIV는 정수 나누기의 연산으로 나머지들 0으로 만드는 트런케이션(truncation) 연산이다. %는 모듈러(modulo) 연산으로 나머지를 취하는 연산이다.(tDn (j) represents the time when the data of the jth frame should be decoded, and DIV is a truncation operation that makes the remainders 0 by an operation of integer division.% takes a remainder by a modulo operation. Operation.

도면3를 참조하면, DTS는 PES패킷 헤더부분(참조번호 31)에 기록되어 전송되는데, 헤더부분(참조번호 31)에 있는 DTS는, 그 PES 패킷 페이로드부분(참조번호 32)에 있는 스타트, 또는 개시(시작)코드로부터 시작되는 한 프레임의 오디오 데이터나 한 프레임의 픽처 데이터를 디코더 시스템에서 복호화해야하는 시간을 알려주는 것이다.Referring to Fig. 3, the DTS is recorded and transmitted in the PES packet header portion (reference numeral 31), and the DTS in the header portion (reference numeral 31) is a start in the PES packet payload portion (reference numeral 32), Alternatively, this is to inform the decoder system of time to decode audio data of one frame or picture data of one frame starting from the start (start) code.

스타트, 또는 개시(시작)코드라 함은 오디오 데이터의 경우에는 오디오 프레임 싱크신호이고, 비디오 데이터의 경우에는 픽처 시작코드에 해당됨을 의미한다. 만일, 한 PES 패이로드(참조번호 32)에 시작코드가 여러개 있는 경우에는 처음으로 나타나는 시작코드를 대상으로 한다.The start or start (start) code means an audio frame sync signal in the case of audio data, and corresponds to a picture start code in the case of video data. If there are several start codes in one PES payload (reference number 32), the first start code appears.

상기 오디오 데이터나 픽처 데이터는 일반적으로 일정한 크기로 묶어어 인코딩함으로 (즉, 오디오는 프레임 단위, 비디오는 픽처단위)각각의 프레임이나 픽처마다 DTS의 값이 필요하기는 하지만, 모든 프레임이나 픽처마다 DTS 데이터를 전송하면, 전송 데이터 양이 많아지는 관계로 매프레임이나 픽처마다 전송하지는 않는다. 따라서, DTS의 값은 최대 0.7초 이내에 전송되는 것으로 규정하고 있다. 다음을, DTS 데이터 포맷은 다음과 같다.The audio data or picture data is generally bundled and encoded in a predetermined size (i.e., audio is frame-by-frame and video is picture-by-frame). However, DTS is required for every frame or picture, but DTS is required for every frame or picture. When data is transmitted, it is not transmitted every frame or picture because the amount of transmitted data increases. Therefore, the value of DTS is defined to be transmitted within a maximum of 0.7 seconds. Next, the DTS data format is as follows.

MPEG에서 규정된 DTS데이터는 33비트의 길이를 이루어지며, DTS는 3개의 marker_비트를 포함하는데 그 구성은 아래와 같다.The DTS data defined in MPEG has a length of 33 bits, and the DTS includes three marker_bits. The configuration is as follows.

DTS[32..30] 3 bitsDTS [32..30] 3 bits

marker_비트 1 bitmarker_bit 1 bit

DTS[29..15] 15 bitsDTS [29..15] 15 bits

marker_비트 1 bitmarker_bit 1 bit

DTS[14..0] 15 bitsDTS [14..0] 15 bits

marker_비트 1 bitmarker_bit 1 bit

상기에서 33비트의 DTS 데이터는 상위비트의 테이터로부터 전송되는데, 32번째 내지 30번째에 실제적인 DTS 데이터가 기록된다. 그리고, marker_비트는 DTS 데이터를 분리하기 위하여 의미없는 데이터를 삽입하는 것으로서 이 값은 1로서 세팅한다.In the above, 33 bits of DTS data are transmitted from upper bits of data, and actual DTS data is recorded in the 32nd to 30th bits. The marker_bit inserts meaningless data to separate DTS data, and this value is set as 1.

시스템 디코더는 marker_비트의 값은 무시되고 DTS [32..30], DTS[14..0]의 값만을 이용하게 된다.The system decoder ignores the value of the marker_bit and uses only the values of DTS [32..30] and DTS [14..0].

상술된 바를 참조하여 DTS의 전송시기를 설명한다. MPEG에서 권고한 바에 따르면 DTS는 0.7초 이내에 재전송해야 하는데, 이 재전송 시점은 0.7초이내의 임의의 시점에서 설정하면, 전체적인 스트림의 구성에 있어서, 복호화 시간이 길어지게 된다.The transmission timing of the DTS will be described with reference to the above. As recommended by MPEG, the DTS should be retransmitted within 0.7 seconds. If the retransmission time is set at any time within 0.7 seconds, the decoding time becomes long in the overall stream configuration.

이는 복호화기에서 복호화 동작을 시작과정에 있어, 디코더 시스템 클럭의 세팅(setting)를 수신되는 PCR 값을 이용하게 되며, PCR값을 이용하여 디코더 시스템의 모든 클럭을 안정화한 후 비로서 엘리멘트리 스트림을 디코딩을 수행하게 된다.In the process of starting the decoding operation in the decoder, it uses the PCR value that receives the setting of the decoder system clock, stabilizes all the clocks of the decoder system using the PCR value, and then starts the elementary stream. Decoding will be performed.

그런데, 엘리멘트리 스트림 디코더는 비록 스트림이 전송버퍼에 있다고 하더라도 DTS 값이 수신되지 않으면, 엘리멘트리 스트림을 디코딩될 수 없게 된다.However, the elementary stream decoder cannot decode the elementary stream even if the DTS value is not received even if the stream is in the transport buffer.

따라서, 본 발명은 상기한 문제점을 해결하기 위하여 안출한 것으로, 본 발명의 목적은 엘리멘트리 스트림이 시작되는 시점을 기준으로하여 엘리멘트리 스트림의 시작점 이전에 DTS를 기록하여 전송할 수 있는 엠펙(MPEG) 시스템의 디티에스(DTS) 부호화장치를 제공하는 데 있다.Accordingly, the present invention has been made to solve the above-described problem, an object of the present invention is an MPEG (MPEG) that can record and transmit the DTS before the start point of the elementary stream on the basis of the start point of the elementary stream The present invention provides a DTS encoding apparatus of a system.

상기의 목적을 달성하기 위한 본 발명에 따르면, 엠펙 권고안에 근거하여 오디오/비디오신호를 인코딩하는 엘리멘트리 스트림 인코더와, 상기 인코딩된 출력을 PES 패킷화하는 PES 패킷타이저, 상기 PES패킷을 전송 패킷화하며, 상기 전송 패킷화된 스트림이 처음 전송버퍼에 기록되는 시점부터 상기 전송 버퍼에 처음 수신되는 PCR이 기록되는 시점까지 누적된 데이터량을 전송율로 나누어 초기 PCR를 구하며, 상기 초기 PCR에 기초하여 상기 전송 패킷내에 디코더의 디코딩 시간의 기준을 맞추기 위한 DTS를 기록하여 전송채널로 출력하는 장치에 있어서, 상기 엘리멘트리 스트림 인코더(510)의 출력인 엘리멘트리 스트림에서 오디오 및 비디오신호의 시작을 알리는 스타트코드의 검출 결과에 따라 플래그를 제공하거나 디코딩 시간을 지시하는 DTS가 기록되어 전송되는 시점부터 카운트를 행한 카운트 값과 기설정된 값간의 비교에 의거하여 플래그를 제공하는 플래그 발생수단(530)과; 상기 PES 패킷타이저(520)의 출력인 PES 패킷을 전송 패킷화하며, 이 전송 패킷화된 상기 전송패킷에 상기 플래그 발생수단(530)의 플래그를 기록하여 출력하는 전송패킷타이저(540)와; 상기 초기의 PCR 값과 시스템 클럭에 기초하여 상기 디코더에서 디코딩될 시간인 DTS를 발생하여 출력하는 인코더 클럭 시스템(550)와 ; 상기 인코더 클럭 시스템(550)의 출력인 DTS를 기록하며, 상기 전송 패킷타이저(540)의 전송패킷에서 플래그의 검출결과에 응답하여 상기 기록된 DTS를 독출하여 상기 전송버퍼(570)로 출력하는 검출 및 기록수단(560)를 포함한다.According to the present invention for achieving the above object, an elementary stream encoder for encoding an audio / video signal based on an MPEG recommendation, a PES packetizer for PES packetizing the encoded output, and transmitting the PES packet And the initial PCR is obtained by dividing the accumulated data amount by the transfer rate from the time when the transport packetized stream is first recorded in the transport buffer to the time when the PCR first received in the transport buffer is recorded. A device for recording a DTS for matching a decoding time of a decoder in a transport packet and outputting the same to a transport channel, wherein the start of an audio and video signal is announced in an elementary stream which is an output of the elementary stream encoder 510. Depending on the detection result of the code, a DTS is provided to provide a flag or to indicate the decoding time. Flag generating means (530) for providing a flag based on a comparison between a count value which has been counted from the point of time of transmission and a predetermined value; A transmission packetizer 540 for converting a PES packet which is an output of the PES packetizer 520 into a transmission packet, and recording and outputting a flag of the flag generating means 530 in the transmission packetized transmission packet; ; An encoder clock system 550 for generating and outputting a DTS which is a time to be decoded in the decoder based on the initial PCR value and a system clock; Record the DTS, which is the output of the encoder clock system 550, and read the recorded DTS in response to the detection result of the flag in the transport packet of the transport packetizer 540 and output the read DTS to the transport buffer 570. Detection and recording means 560.

이하, 예시된 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the illustrated drawings.

도면 7은 본 발명에 따른 엠펙(MPEG) 시스템의 디티에스(DTS) 부호화 장치도이다.7 is a DTS encoding apparatus diagram of an MPEG system according to the present invention.

도면 7를 참조하면, 본 발명의 엠펙(MPEG) 시스템의 디티에스(DTS) 부호화장치는 엘리멘트리 스트림 인코더(510)와, PES 패킷타이저(520), 플래그 발생수단(530), 전송 패킷타이저(540), 인코더 클럭 시스템(550), 검출 및 기록수단(560), 전송버퍼(570)를 포함한다.Referring to FIG. 7, the DTS encoding apparatus of the MPEG system according to the present invention includes an elementary stream encoder 510, a PES packetizer 520, a flag generating means 530, and a transport packet tie. Low 540, encoder clock system 550, detection and recording means 560, and transmission buffer 570.

엘리멘트리 스트림 인코더(510)는 비디오 및 오디오신호가 MPEG 표준안을 근거로하여 인코딩되며, 인코딩된 신호를 엘리멘트리 스트림(Elementary Stream) 형태화하여 후술하는 PES 패킷타이저(520)와 스타트코드 검출부(531)로 제공하도록 구성된다.The elementary stream encoder 510 encodes a video and audio signal based on the MPEG standard, and forms an elementary stream into an elementary stream to describe a PES packetizer 520 and a start code detector (described below). 531).

PES 패킷타이저(520)는 엘리멘트리 스트림 인코더(510)로부터의 엘리멘트리 스트림을 PES화하여 후술하는 전송 패킷타이저(540)로 제공하도록 구성된다.The PES packetizer 520 is configured to PES the elementary stream from the elementary stream encoder 510 and provide it to the transport packetizer 540 described later.

플래그 발생수단(520)은 스타트코드 검출부(531), 시간경과 조사부(532), 플래그 처리부(533)로 구성된다.The flag generating means 520 is composed of a start code detector 531, a time-lapse irradiator 532, and a flag processor 533.

스타트코드 검출부(531)는 엘리멘트리 스트림 인코더(510)로부터 출력되는 엘리멘트리 스트림에서 스타트코드(시작코드, 개시코드)의 검출 결과에 응답하여 플래그 요구신호를 후술하는 플래그 처리부(533)로 제공되도록 구성된다.The start code detector 531 is provided to a flag processor 533 which describes a flag request signal later in response to a detection result of a start code (start code, start code) in an elementary stream output from the elementary stream encoder 510. It is composed.

시간경과 조사부(532)는 후술된 DTS가 기록되어 전송되는 시점부터 카운트되어진 값이 기설정된 값(0.7초에 해당되는 카운트값)과 일치되는 시점에 플래그 요구신호를 후술하는 플래그 처리부(533)로 제공되도록 구성된다.The time-lapse irradiation unit 532 is a flag processing unit 533 which describes the flag request signal at a time point when the value counted from the time point at which the DTS described below is recorded and transmitted coincides with the preset value (count value corresponding to 0.7 second). It is configured to be provided.

플래그 처리부(533)는 스타트코드 검출부(531)의 플래그 요구신호에 응답하는 플래그를 후술하는 전송 패킷타이저(540)로 제공하며, 또한, 시간경과 조사부(532)의 플래그 요구신호에 응답하는 플래그를 후술하는 전송 패킷타이저(540)로 제공하도록 구성된다.The flag processor 533 provides a flag in response to the flag request signal from the start code detector 531 to the transport packetizer 540 described later, and also a flag in response to the flag request signal from the time-lapse irradiation unit 532. It is configured to provide to the transport packetizer 540 to be described later.

전송 패킷타이저(540)는 PES 패킷타이저(520)로부터 출력되는 PES 패킷의 헤더부분에 상기 플래그 처리부(533)의 플래그가 기록된 PES을 전송 스트림화하여 후술하는 검출 및 기록수단(560)과 전송버퍼(570)를 제공되도록 구성된다.The transport packetizer 540 transports the PES recorded with the flag of the flag processing unit 533 in the header portion of the PES packet output from the PES packetizer 520 to detect and record the means 560 which will be described later. And a transmission buffer 570.

인코더 클럭 시스템(550)은 초기 PCR 검출부(551)와, 시스템 클럭부(552), 제1카운터(553), 비교기(554), 제2카운터(555), 조합 처리부(556)로 구성된다.The encoder clock system 550 includes an initial PCR detector 551, a system clock 552, a first counter 553, a comparator 554, a second counter 555, and a combination processor 556.

초기 PCR 검출부(551)는 전송 패킷타이저(540)로부터 출력되는 전송패킷 스트림이 처음 전송 버퍼(570)에 기록되는 시점부터 상기 전송 버퍼(570)에 처음 수신되는 PCR이 기록하는 시점까지 상기 누적된 데이터량을 전송율로 나누어 얻어지는 초기의 PCR값을 검출하고, 이 초기 PCR을 후술하는 제 1, 2 카운터(553)(555)로 제공하도록 구성된다.The initial PCR detection unit 551 accumulates the transport packet stream output from the transport packetizer 540 from the time when the transport packet stream is first recorded in the transport buffer 570 to the time when the PCR first received in the transport buffer 570 is recorded. The initial PCR value obtained by dividing the amount of data obtained by the transfer rate is detected, and the initial PCR value is provided to the first and second counters 553 and 555 described later.

시스템 클럭부(552)는 시스템 클럭을 발생시켜 후술하는 제1카운터(553)등으로 제공하도록 구성되며, 상기 클럭은 27 MHz-810 Hz ≤ 시스템_클럭_주파수 ≤ 27MHz + 810 Hz ; 시스템_클럭_주파수의 시간변화율 ≤ 75×10-3Hz/sec조건을 만족하고 있다. 참고적으로, 내부구성은 전압제어 오실레이터의 출력을 피드백시켜 클럭 제어 시스템에서 적절한 전압출력으로 만들어 다시 전압 제어 오실레이터에 입력하여 PLL(Phase Locked Loop)방법을 이용한다.The system clock unit 552 is configured to generate a system clock and provide it to a first counter 553, etc., which will be described later, wherein the clock is 27 MHz-810 Hz ≤ system_clock_frequency ≤ 27 MHz + 810 Hz; The rate of time-varying ≤ 75 x 10 -3 Hz / sec of the system clock frequency is satisfied. For reference, the internal configuration feeds back the output of the voltage controlled oscillator to the appropriate voltage output in the clock control system and inputs it to the voltage controlled oscillator again to use a phase locked loop (PLL) method.

제1카운터(553)는 초기 PCR 검출부(551)에 의해서 검출되는 초기 PCR에 기초하여 초기값을 0으로 리셋시킬 수도 있고, 또한, 0이 아닌 다른 기준치를 제공받을 수 있도록 구성되며, 상기 제1카운터(553)는 시스템 클럭부(552)의 한 클럭마다 9 비트 카운터가 1씩 증가되고, 이 값은 시스템 클럭마다 비교기(554)로 제공되며, 상기 제1카운터(553)은 모듈 300 9 비트 카운터로 이루어진다. 여기서, 모듈 300 9 비트 카운터란 0에서 299 값이 되면, 다음 클럭에 다시 0으로 세트하여 주기가 300임을 의미한다.The first counter 553 may reset the initial value to 0 based on the initial PCR detected by the initial PCR detection unit 551, and may be configured to receive a reference value other than 0, and the first counter 553 may be provided. The counter 553 is incremented by one 9-bit counter for each clock of the system clock unit 552, and this value is provided to the comparator 554 for each system clock, and the first counter 553 is a module 300 9-bit. It consists of a counter. Herein, when the module 300 9-bit counter reaches a value of 0 to 299, it means that the period is 300 by setting it back to 0 at the next clock.

비교기(554)는 제1카운터(553)에 의해서 카운트된 값과 기준값(299의 9비트 2진수값)과의 비교 결과, 일치되는 시점에 캐리를 발생시켜 후술하는 제2카운터(555)로 출력되도록 구성된다.The comparator 554 compares the value counted by the first counter 553 with the reference value (9-bit binary value of 299), generates a carry at the matching time point, and outputs it to the second counter 555 described later. It is configured to be.

제2카운터(555)는 비교기(554)로부터 제공되는 캐리를 카운트하고, 이 카운트된 값을 후술하는 조합 처리부(556)로 제공되도록 구성되며, 상기 제2카운트(555)는 33비트 카운터로 이루어진다. 여기에서, 33비트 카운터는 시스템 클럭의 매 300마다 한 번씩 증가하게 연산된다.The second counter 555 is configured to count the carry provided from the comparator 554, and to be provided to the combination processing unit 556 which describes the counted value, and the second count 555 is composed of a 33-bit counter. . Here, the 33 bit counter is calculated to increment once every 300 of the system clock.

조합 처리부(556)는 3비트단위의 추가비트를 구비하며, 상기 제2카운터(555)로부터 제공되는 카운트된 값(33 비트로 표현된 DTS)와 상기 추가비트 (reserved bits, 3 비트로 표현된 값) 조합하여 DTS를 후술하는 검출 및 기록수단(560)로 제공되도록 구성된다.The combination processing unit 556 includes additional bits in units of 3 bits, and includes a counted value (DTS represented by 33 bits) and the additional bits (reserved bits) provided from the second counter 555. In combination with the detection and recording means 560 described below.

검출 및 기록수단(560)은 플래그 검출부(561)와, DTS 메모리(562)로 구성된다.The detection and recording means 560 is composed of a flag detector 561 and a DTS memory 562.

플래그 검출부(561)는 전송 패킷타이저(540)로부터 출력되는 전송스트림에서 플래그의 존재 여부를 검출하여 그에 따른 독출신호를 제공하는 후술하는 DTS 메모리(562)로 제공하도록 구성된다.The flag detector 561 is configured to detect whether a flag exists in a transport stream output from the transport packetizer 540 and provide the same to a DTS memory 562 which will be described later.

DTS 메모리(562)는 후술되는 인코더 클럭 시스템(550)로부터 제공되는 DTS를 저장하고 있다가 상기 플래그 검출부(561)의 플래그 검출에 응답하여 상기 저장되어 있던 DTS를 독출하여 전송버퍼(570)로 출력하도록 구성되며, 상기 DTS가 기록되어 전송됨을 알려는 신호를 상기 시간경과 조사부(532)로 제공되도록 구성된다.The DTS memory 562 stores the DTS provided from the encoder clock system 550 to be described later, and reads the stored DTS in response to the flag detection of the flag detector 561 and outputs the stored DTS to the transmission buffer 570. And a signal indicating that the DTS is recorded and transmitted is provided to the time-lapse irradiation unit 532.

전송버퍼(570)는 검출 및 기록수단(560)로부터 독출되는 DTS를 전송 패킷타이저(540)의 출력이 전송패킷 스트림내에 기록하여 전송채널로 출력하도록 구성된다.The transport buffer 570 is configured such that the output of the transport packetizer 540 records the DTS read out from the detection and recording means 560 in the transport packet stream and outputs it to the transport channel.

특히, 전송버퍼(570)은 상기 전송 패킷화된 스트림이 처음 전송버퍼에 기록되는 시점부터 상기 전송버퍼에 처음 수신되는 PCR가 기록되는 시점까지 누적된 데이량을 전송율로 나누어 초기 PCR를 구하고, 이를 전송패킷과 함께 전송채널로 출력하게 된다.In particular, the transmission buffer 570 obtains an initial PCR by dividing the amount of data accumulated by the transmission rate from the time when the transport packetized stream is first recorded in the transport buffer to the time when the PCR first received in the transport buffer is recorded. The transmission packet is output along with the transmission packet.

상기와 같이, 구성된 본 발명을 바람직한 실시예를 들어 상세히 설명한다.As described above, the present invention configured will be described in detail with reference to preferred embodiments.

우선, MPEG 권고안에 제시된 DTS 데이터 구성을 보면, PES 패킷 헤더에 있는 DTS는, PES 패이로드에서 처음으로 나타난다. 그리고, 엘리멘트리 스트림의 스타트코드(비디오신호의 경우에는 픽처 시작코드에 해당하며, 오디오신호의 경우에는 프레임 싱크코드에 해당함)는 첫번째 바이트(j-th)를 시작으로 해당하는 프레임 데이터를 엘리멘트리 스트림 디코더에서 복호화해야 하는 시점을 의미한다.First, looking at the DTS data structure presented in the MPEG Recommendation, the DTS in the PES packet header appears first in the PES payload. The start code of the elementary stream (in the case of a video signal, corresponds to a picture start code, and in the case of an audio signal, corresponds to a frame sync code), starts with the first byte (j-th). Means the time to be decoded by the stream decoder.

상기 DTS를 이용하여 디코더에서 엘리멜트리 스트림을 디코딩하는 시작(개신)신호를 만들게 된다. 식(2)에서 DTS(j)는 엘리멘트리 스트림을 디코딩해야 할 시간인 tdn(j)를 시스템_클럭_주파수/300의 주파수로 나타낸 것인데, 이는 300/시스템_클럭_주파수의 시간 간격을 갖으며, 33비트의 이진숫자(binary number)로 표현한 것이다. 따라서, 시스템 디코더에서 DTS(j)의 값을 시스템_클럭_주파수/300으로 나누면, 디코딩해야 하는 시간을 알 수 있다.The DTS is used to generate a start (initiation) signal for decoding the elimtree stream at the decoder. In Equation (2), DTS (j) represents tdn (j), which is the time to decode the elementary stream, at a frequency of system clock_frequency / 300, which has a time interval of 300 / system clock frequency. It is expressed as a binary number of 33 bits. Therefore, when the system decoder divides the value of DTS (j) by the system_clock_frequency / 300, it is possible to know the time to decode.

여기서 의미하는 시간인 DTS를 기준으로 표현된 상대적인 시간으로서 DTS(j) 값은 DTS을 기준으로 해석해야 하는 것이다.DTS (j) value is a relative time expressed based on DTS, which is a time here, and should be interpreted based on DTS.

MPEG에서 규정하는 DTS 값의 정의에 따르면, DTS은 곧 시스템 클럭으로 구동되는 카운터의 값인데, 이 값중 DTS_base인 하위 33 비트에 해당하는 것이 DTS에서와 같이 클럭주파수를 갖는다. DTS의 갓은 각각의 엘리멘트리 시스템마다 전송되는 데 이 전송되는 값은 최대 0.7초 이내이다.According to the definition of the DTS value defined in MPEG, the DTS is a value of a counter driven by a system clock, and one of the lower 33 bits, which is DTS_base, has a clock frequency as in the DTS. The head of the DTS is sent for each elementary system, with a maximum of 0.7 seconds.

이와 같이 DTS 데이터는 상술된 바와 같이 인코더 시스템 클럭을 이용하여 만들게되고 이 데이터를 적절한 포맷팅 과정으로 데이터를 구성한 후 전송 스트림 헤더부분에 기록하여 전송을 하게 된다.As described above, the DTS data is generated by using the encoder system clock as described above, and the data is composed by the appropriate formatting process and then recorded in the transport stream header to be transmitted.

이 과정에서 DTS 데이터값이 갖는 의미는 DTS 데이터가 시스템 타컷 디코더(시스템 타컷 디코더는 이상적인 디코더 모델로서 실제의 디코더와는 다르다. 이 디코더는 MPEG에서 기준이 되는 모델을 설정함으로서 이를 기준으로 표준안을 만들기 위한 것이다.In this process, the meaning of the DTS data value is that the DTS data is a system target decoder (the system target decoder is an ideal decoder model, which is different from the actual decoder. This decoder sets up a standard that is based on the MPEG standard. It is for.

따라서, 이와 같은 디코더는 실제의 디코더 시스템에서는 존재할 수 없다. 그러므로 시스템 설계자는 자기가 설계하고자 하는 시스템과 시스템 타컷 디코더의 차이를 분명히 인식하고 MPEG에서 규정하는 값을 보정하여야 한다)에 입력되어 엘리멘트리 스트림 디코더로 디코딩된 후 이 데이터를 디코딩하는 시점을 의미함으로, 부호화기에서는 이와 같은 의미하는 바를 맞추어 DTS 데이터를 만들어어야 한다.Thus, such a decoder cannot exist in an actual decoder system. Therefore, the system designer should clearly recognize the difference between the system and the system target decoder that he or she wants to design, and correct the value prescribed by MPEG), which is the point of time when the data is decoded after being decoded by the elementary stream decoder. In this case, the encoder should make DTS data according to this meaning.

또한, 초기 PCR에 의해서 제 1,2 카운터(553)(555)를 초기화 및 기준값을 설정하는 동작을 수행한다.In addition, the first and second counters 553 and 555 are initialized and the reference value is set by initial PCR.

도면 7를 참조하면, 엘리멘트리 스트림 인코더(510)는 비디오 및 오디오신호 등을 MPEG 권고안에 근거하여 인코딩하여 엘리멘트리 스트림 형태로 변환하고, 이를 스타트코드 검출부(531)와 PES 패킷타이저(520)로 제공하게 된다.Referring to FIG. 7, the elementary stream encoder 510 encodes a video and audio signal based on an MPEG recommendation and converts the video and audio signals into an elementary stream. The start code detector 531 and the PES packetizer 520 convert the video and audio signals. To be provided.

PES 패킷타이저(520)는 엘리멘트리 스트림 인코더(510)로부터 제공되는 엘리멘트리 스트림을 PES(도면 3 참조)한 후 전송패킷 타이저(540)로 제공하게 된다.The PES packetizer 520 PESs the elementary stream provided from the elementary stream encoder 510 and then provides the PES packet to the transport packetizer 540.

전송 패킷타이저(540)는 PES 패킷타이저(520)로부터 출력되는 PES를 전송 스트림화(도면 4 참조)한 후 전송버퍼(570)를 거쳐 채널로 전송하게 된다.The transport packetizer 540 transmits the PES output from the PES packetizer 520 to the channel through the transport buffer 570 after transport streamization (see FIG. 4).

참고적으로, DTS 데이터를 기록하는 데 있어서, 전송 패킷구조는 다음과 같다.For reference, in recording DTS data, the transport packet structure is as follows.

전송_패킷(Transport_Packet) {전송패킷 헤더(), 전송패킷패이로드()}Transport_Packet {Transport Packet Header (), Transport Packet Payload ()}

상기에서 전송패킷 헤더에는 전송패킷 싱크 데이터와 기타의 시스템에서 필요한 정보를 기록한다. 전송패킷 패이로드에는 PES패킷데이터가 기록되며, 전송패킷 패이로드의 구성은 아래와 같다. 전송패킷 패이로드(Transport Packet Payload) {PES 패킷 헤더()PES 패킷 패이로드()}In the transport packet header, transport packet sync data and other information required by the system are recorded. PES packet data is recorded in the transport packet payload, and the configuration of the transport packet payload is as follows. Transport Packet Payload {PES Packet Header () PES Packet Payload ()}

상기 PES 패킷은, PES 패킷 헤더와 PES 패킷 패이로드 부분으로 구성되는데, DTS는 PES패킷 헤더에 기록된다. 이 과정은 몇 단계의 과정을 더 거쳐서 기록되는데 이 과정을 기술하면 다음과 같다.The PES packet consists of a PES packet header and a PES packet payload portion, and the DTS is recorded in the PES packet header. This process is recorded as going through several more steps.

PES 패킷 헤더() {PTS_DTS_플래그 2 비트PES packet header () { PTS_DTS_flag 2 bit

if ( PTS_DTS_플래그 = 11) { if (PTS_DTS_flag = 11) {

PTS 데이터 33비트33 bits of PTS data

DTS 데이터 33비트33 bits of DTS data

상기에서 PES 패킷 헤더부분에 있는 PTS_DTS_플래그의 값이 11이면, 현재의 PES 헤더부분에 PTS 데이터와 DTS 데이터가 있음을 의미하며, DTS 데이터 포맷은 상술한 바와 같다.If the value of the PTS_DTS_ flag in the PES packet header is 11, it means that there is PTS data and DTS data in the current PES header, and the DTS data format is as described above.

즉, PES 패킷 헤더부분에서 DTS의 존재 유무를 알려준다.That is, it indicates whether DTS exists in the header of the PES packet.

이는 디코더에서 플래그 데이터만을 이용하게 현재 수신되고 있는 데이터에서 DTS가 있는 지를 알려주는 것이다.This tells the decoder whether there is a DTS in the data that is currently being received using only the flag data.

현재의 PES 패킷 헤더에서 DTS를 기록하는 경우에는 DTS_플래그 데이터를 11로 세팅하고, 설제의 DTS의 기록은 전송버퍼(570)상에 기록하게 된다.When the DTS is recorded in the current PES packet header, the DTS_flag data is set to 11, and the record of the DTS is written on the transmission buffer 570.

예컨대, 스타트코드 검출부(531)는 엘리멘트리 스트림 인코더(510)의 엘리멘트리 스트림에서 스타트코드가 검출되면, 플래그 요구신호를 플래그 처리부(533)로 제공하게 된다.For example, when the start code is detected in the elementary stream of the elementary stream encoder 510, the start code detector 531 provides a flag request signal to the flag processor 533.

따라서, 플래그 처리부(533)는 플래그를 전송 패킷타이저(540)로 제공함과 더불어 전송 패킷타이저(540)는 PES 패킷타이저(520)로부터 출력되는 PES의 헤더에 상기 플래그 처리부(533)로부터 제공되는 플래그를 기록한다.Accordingly, the flag processing unit 533 provides the flag to the transport packetizer 540, and the transport packetizer 540 outputs the flag from the flag processor 533 to the header of the PES output from the PES packetizer 520. Record the flag provided.

보다 상세히 설명하면, 플래그는 다음과 같이 기록된다.In more detail, the flag is written as follows.

전송-패킷() {Send-packet () {

기록하는 정보 기록하는 값Information to record Value to record

전송패킷 헤더() Transport packet header () ...

전송패킷 패이로드() {Send packet payload () {

PTS DTS 플래그 10PTS DTS Flag 10

PTS 데이터 0000PTS data 000 ... 0

PES 패킷 패이로드() }}PES Packet Payload ()}}

상기 전송 패킷타이저(540)는 MPEG 표준안을 근거로하여 상기 PES 스트림을 전송패킷으로 변환시킨 다음 이 전송 패킷을 전송버퍼(570)와 플래그 검출부(561)로 제공한다.The transport packetizer 540 converts the PES stream into a transport packet based on the MPEG standard, and then provides the transport packet to the transport buffer 570 and the flag detector 561.

이에 앞서, DTS 메모리(562)는 인코더 클럭 시스템(550)로부터 제공되는 DTS를 저장되어 있다.Prior to this, the DTS memory 562 stores the DTS provided from the encoder clock system 550.

따라서, 플래그 검출부(551)는 전송 패킷타이저(540)로부터 제공되는 전송패킷의 PES 헤더내에 플래그(PTS_DTS_플래그 데이터 10또는 11)가 존재하는 것으로 판정되면, 이에 따른 독출신호를 DTS가 저장되어 있는 DTS 메모리(562)로 제공하게 된다.Therefore, if it is determined that the flag PTS_DTS_flag data 10 or 11 is present in the PES header of the transport packet provided from the transport packetizer 540, the flag detection unit 551 stores the read signal accordingly. The DTS memory 562.

예를 들면, 전송_패킷() {For example, send_packet () {

기록하는 정보 기록하는 값Information to record Value to record

전송패킷 헤더() Transport packet header () ...

전송패킷 패이로드() {Send packet payload () {

PTS_DTS_플래그 10PTS_DTS_Flag 10

PTS 데이터PTS data

PTSS데이터 101010011PTSS data 1010 ... 10011

PES 패킷 패이로드() }}PES Packet Payload ()}}

즉, 상기 밑줄친 부분이 실제의 DTS를 만드는 부분에 데이터를 받아 기록하는 것이다. 플래그가 기록된 PES를 전송스트림화한다.In other words, the underlined part receives and records data in the part making the actual DTS. Transport stream the flagged PES.

이는 전송패킷 헤더부분과 전송패킷 패이로드 부분으로 구성된 전송스트림의 전송패킷 패이로드부분에 플리그가 기록되는 것을 의미한다.This means that a flag is recorded in a transport packet payload portion of a transport stream including a transport packet header portion and a transport packet payload portion.

이는 플래그만을 기록할뿐 복호화 시간정보인 DTS가 기록되지 않고, 이후에 기록될 자리만을 확보한다는 것을 말한다.This means that only the flag is recorded but the DTS, which is the decoding time information, is not recorded, and only a place to be recorded later is secured.

이와 같이 플래그가 기록되고 전송패킷화된 전송스트림은 전송버퍼(570)와 플래그 검출부(561)로 제공된다.The flagged and transport packetized transport stream is provided to the transport buffer 570 and the flag detector 561.

플래그 검출부(561)는 전송패킷 타이저(540)의 전송스트림에서 플래그가 기록되었는지를 검사하게 된다. 검사 결과 플래그가 검출되면, DTS 메모리(562)에 기록되어 있던 DTS를 독출하고, 이 독출된 DTS를 전송버퍼(570)로 게공하게 된다.The flag detector 561 checks whether a flag has been recorded in the transport stream of the transport packetizer 540. When the flag is detected, the DTS recorded in the DTS memory 562 is read, and the read DTS is stored in the transfer buffer 570.

따라서, 전송버퍼(570)는 전송패킷 타이저(540)의 전송패킷 패이로드부분에 DTS를 기록한 다음 이를 전송채널로 출력하게 된다.Therefore, the transmission buffer 570 records the DTS in the transmission packet payload portion of the transmission packetizer 540 and then outputs it to the transmission channel.

이와 동시에, 시간경과 조사부(532)는 DTS가 기록되어 전송되는 시점에 초기화한 후, 이로부터 카운트를 행하게 된다. 그리고 기설정된 카운트값(예:0.7초)과 카운트되어지는 값을 비교하여 일치되는 시점에 플래그 요구신호를 플래그 처리부(533)로 제공하게 된다.At the same time, the time-lapse irradiation unit 532 initializes at the time when the DTS is recorded and transmitted, and then counts from this. The flag request signal is supplied to the flag processor 533 at a time point when the count value (for example, 0.7 second) is compared with the counted value.

따라서, 플래그 처리부(533)는 플래그를 전송 패킷타이저(540)로 제공함과 더불어 PES 패킷타이저(520)의 출력인 PES 패킷의 헤더에 플래그를 기록하여 상술된 바와 같이 전송 패킷타이저(540) 및 전송버퍼(570)를 통해 출력한다.Accordingly, the flag processor 533 provides the flag to the transport packetizer 540 and records the flag in the header of the PES packet, which is the output of the PES packetizer 520, to transmit the packetizer 540 as described above. And through the transmission buffer 570.

이후에는, DTS 메모리(562)에 저장되어 있던 DTS은 다음과 같이 구해진다.Thereafter, the DTS stored in the DTS memory 562 is obtained as follows.

초기 PCR 검출부(551)는 전송 패킷타이저(540)로부터 출력되는 전송패킷 스트림이 처음 전송 버퍼(570)에 기록되는 시점부터 전송버퍼(570)에 처음 수신되는 PCR이 기록하는 시점까지 상기 누적된 데이터량을 전송율로 나누어 얻어지는 초기 PCR를, 제 1,2 카운터(553)(555)로 로딩한후 이 값을 시스템 인코더 클럭부(552)의 동작에 따라 카운트 값이 증가된다.The initial PCR detection unit 551 accumulates from the time when the transport packet stream output from the transport packetizer 540 is first recorded in the transport buffer 570 to the time when the PCR first received in the transport buffer 570 is recorded. After the initial PCR obtained by dividing the data amount by the transfer rate is loaded into the first and second counters 553 and 555, this value is increased according to the operation of the system encoder clock unit 552.

시스템 클럭부(552)은 상술된 바 있는 27 MHz-810 Hz ≤ 시스템_클럭_주파수≤ 27MHz + 810 Hz, 시스템_클럭_주파수의 시간변화율≤ 75×10-3Hz/sec 조건을 만족하는 클럭을 발생한다.The system clock unit 552 is a clock that satisfies the above-described 27 MHz-810 Hz ≤ system_clock_frequency ≤ 27 MHz + 810 Hz, and the time change rate of the system_clock_frequency ≤ 75 x 10 -3 Hz / sec. Occurs.

따라서, 제1카운터(553)와 제2카운터(555)는 초기와 동작을 수행하고, 상기 시스템 클럭부(552)는 상술된 바 있는 조건의 범위내에서 안정된 클럭(27MHz)을 발생시켜 제1카운터(553)로 제공한다.Accordingly, the first counter 553 and the second counter 555 perform initial and operation, and the system clock unit 552 generates a stable clock (27 MHz) within the range of the above-described conditions, thereby generating the first counter. It provides a counter 553.

제1카운터(553)는 시스템 클럭부(552)의 한 클럭마다 9 비트 카운터가 1 씩 증가되고, 이 값은 매 시스템 클럭마다 비교기(554)로 제공된다.The first counter 553 has a 9-bit counter incremented by one for each clock of the system clock unit 552, and this value is provided to the comparator 554 for every system clock.

따라서, 비교기(554)는 제1카운터(553)로부터 제공되는 카운트된 값과 기준값(299)을 비교한 결과, 일치되는 시점에 캐리를 발생시켜 제2카운티(555)로 제공된다.Accordingly, the comparator 554 compares the counted value provided from the first counter 553 with the reference value 299, and generates a carry at the matching time point and is provided to the second count 555.

또한, 제2카운터(555)는 비교기(554)의 캐리를 카운트하고, 이 카운트된 값을 조합 쳐리부(556)로 제공하게 된다.In addition, the second counter 555 counts the carry of the comparator 554, and provides the counted value to the combination processor 556.

즉, 비교기(554)는 100101011과 (299의 9비트 이진 값) 9 비트 카운터의 출력과 비교하여 같아지는 시점에서 케리를 발생시켜서 조합처리부(556)로 출력하게 된다.That is, the comparator 554 generates a Kerry at the same time point as compared with the output of the 100101011 and the 9-bit counter (9-bit binary value of 299) and outputs the result to the combination processing unit 556.

조합 처리부(556)는 3비트단위의 추가비트와 제2카운터(555)의 카운트 값을 36 비트단위로 조합된 DTS을 상기 DTS 메모리(562)로 제공하게 된다.The combination processor 556 provides the DTS memory 562 with a DTS that combines an additional bit of 3 bits unit and the count value of the second counter 555 in 36 bit units.

플래그 검출부(561)의 플래그 검출신호에 의해서 상기 DTS 메모리(562)에 기록되어 있던 DTS가 독출되어 전송버퍼(570)로 제공되도록 한다.The DTS recorded in the DTS memory 562 is read by the flag detection signal of the flag detection unit 561 to be provided to the transmission buffer 570.

결국, 전송버퍼(570)는 전송로서 패킷타이저(540)로부터 출력되는 PES 패킷의 헤더에 상기 DTS를 기록한 후 전송채널로 출력된다.As a result, the transmission buffer 570 records the DTS in the header of the PES packet output from the packetizer 540 as a transmission, and then outputs the transmission channel.

따라서, 시스템 디코더는 전송패킷내의 엘리멘트리 스트림(오디오/비디오신호)보다 먼저 입력되는 DTS를 근거로하여 PES 패킷을 복호화할 수 있게 된다.Therefore, the system decoder can decode the PES packet based on the DTS input before the elementary stream (audio / video signal) in the transport packet.

이상에서 설명한 바와 같이 본 발명은 시스템 초기 동작시의 PES 스트림에 대한 DTS와 엘리멘트리 스트림의 입력과 어울려 동작됨으로, 복호화시 PES보다 먼저 수신된 DTS에 근거하여 안정화된 복호화 동작을 수행할 수 있다.As described above, the present invention operates in conjunction with the input of the DTS and the elementary stream for the PES stream during the initial operation of the system, so that the decoding can be stabilized based on the DTS received before the PES during decoding.

또한, MPEG 시스템에서 규정하는 DTS의 최대 전송시간 제한조건을 만족하면서 복호화 시간을 단축할 수 있는 효과가 있다.In addition, the decoding time can be shortened while satisfying the maximum transmission time constraint of the DTS specified in the MPEG system.

Claims (5)

엠펙 권고안에 근거하여 오디오/비디오신호를 인코딩하는 엘리멘트리 스트림 인코더와, 상기 인코딩된 출력을 PES 패킷화하는 PES 패킷타이저, 상기 PES 패킷을 전송패킷화하며, 상기 전송 패킷화된 스트림이 처음 전송버퍼에 기록되는 시점부터 상기 전송버퍼에 처음 수신되는 PCR이 기록되는 시점까지 누적된 데이터량을 전송율로 나누어 초기 PCR를 구하며, 상기 초기 PCR에 기초하여 상기 전송 패킷내에 디코더의 디코딩 시간의 기준 맞추기 위한 DTS를 기록하여 전송채널로 출력하는 장치에 있어서, 상기 엘리멘트리 스트림 인코더(510)의 출력인 엘리멘트리 스트림에서 오디오 및 비디오신호의 시작을 알리는 스타트코드의 검출 결과에 따라 플래그를 제공하거나 디코딩 시간 지시하는 DTS가 기록되어 전동되는 시점부터 카운트를 행한 카운트 값과 기설정된 값간의 비교에 의거하여 플래그를 제공하는 플래그 발생수단(530)과; 상기 PES 패킷타이저(520)의 출력인 PES 패킷을 전송 패킷화하며, 이 전송 패킷화된 상기 전송패킷에 상기 플래그 발생수단(530)의 플래그를 기록하여 출력하는 전송 패킷타이저(540)와 ; 상기 초기의 PCR 값과 시스템 클럭에 기초하여 상기 디코더에서 디코딩될 시간인 DTS를 발생하여 출력하는 인코더 클럭 시스템(550)과; 상기 인코더 클럭 시스템(550)의 출력인 DTS기록하여, 상기 전송 패킷타이저(540)의 전송패킷에서 플래그의 검출 결과에 응답하여 상기 기록된 DTS를 독출하여 상기 전송버퍼(570)로 출력하는 검출 및 기록수단(560)를 포함함을 특징으로 하는 엠펙(MPEG) 시스템의 디티에스(DTS) 부호화장치.An elementary stream encoder that encodes an audio / video signal based on an MPEG recommendation, a PES packetizer that PES packetizes the encoded output, transmit packetizes the PES packet, and the transport packetized stream first transmits The initial PCR is obtained by dividing the accumulated data amount by the transfer rate from the time when the data is written to the buffer to the time when the first PCR is received in the transmission buffer. A device for recording and outputting a DTS to a transmission channel, wherein a flag is provided or a decoding time indication is indicated according to a detection result of a start code indicating an start of an audio and video signal in an elementary stream which is an output of the elementary stream encoder 510 The count value and count that counted from the time when the DTS Flag generating means for providing a flag on the basis of the comparison between the measured value (530) and; A transmission packetizer 540 for converting the packetized PES packet, which is the output of the PES packetizer 520, and recording and outputting a flag of the flag generating means 530 in the transmission packetized transmission packet; ; An encoder clock system (550) for generating and outputting a DTS which is a time to be decoded in the decoder based on the initial PCR value and a system clock; A DTS that is an output of the encoder clock system 550, and a detection of reading the recorded DTS in response to a detection result of a flag in a transport packet of the transport packetizer 540 and outputting the recorded DTS to the transport buffer 570 And a recording means (560). A DTS encoding apparatus of an MPEG system. 제1항에 있어서, 상기 플래그 발생수단(530)은, 상기 엘리멘트리 스트림 인코더(510)의 엘리멘트리 스트림에서 스타트코드의 검출결과에 응답하여 플래그 요구신호를 제공하는 스타트코드 검출부(531)와 ; 상기 DTS가 기록되어 전송되어 시점부터 카운트되어진 값과 기설정된 카운트 값간의 비교 결과에 의거하여 플래그 요구신호를 제공하는 시간경과 조사부(532)와 ; 상기 스타트코드 검출부(531)의 플래그 요구신호에 응답하여 플래그를 상기 전송 패킷타이저(540)로 제공하거나, 상기 시간경과 조사부(532)의 플래그 요구신호에 응답하여 플래그를 상기 전송 패킷타이저(540)제공하는 플래그 처리부(533)를 구비함을 특징으로 하는 엠펙(MPEG) 시스템의 디티에스(DTS) 부호화장치.2. The flag generating apparatus according to claim 1, wherein the flag generating means (530) comprises: a start code detector (531) for providing a flag request signal in response to a detection result of a start code in the elementary stream of the elementary stream encoder (510); A time-lapse irradiation unit 532 for providing a flag request signal based on a result of comparison between a value counted from a time point and a preset count value recorded and transmitted by the DTS; The flag is provided to the transport packetizer 540 in response to the flag request signal of the start code detector 531 or the flag is transmitted to the transport packetizer in response to the flag request signal of the time-lapse search unit 532. 540) A DTS encoding apparatus of an MPEG system, comprising: a flag processing unit 533 provided. 제1항에 있어서, 상기 검출 및 기록수단(560)은 , 상기 전송 패킷타이저(540)로부터 출력되는 전송스트림에서 플래그의 존재 여부를 검출하여 그에 따른 독출 신호를 제공하는 플래그 검출부(561)와; 상기 인코더 클럭 시스템(550)로부터 제공되는 DTS를 저장하고 있다가 상기 플래그 검출부(561)의 플래그 검출에 응답하여 상기 저장되어 있던 DTS를 독출하여 상기 전송버퍼(579)로 출력하는 DTS 메모리(562)로 구성됨 특징으로 하는 엠펙(MPEG) 시스템의 디티에스(DTS) 부호화장치.The apparatus of claim 1, wherein the detection and recording unit 560 comprises: a flag detection unit 561 which detects whether a flag exists in a transport stream output from the transport packetizer 540 and provides a read signal accordingly; ; The DTS memory 562 which stores the DTS provided from the encoder clock system 550 and reads out the stored DTS in response to the flag detection of the flag detector 561 and outputs the stored DTS to the transmission buffer 579. DTS encoding apparatus of the MPEG system characterized by consisting of. 제3항에 있어서, 상기 플래그는 PES 애킷의 헤더 부분에 기록됨을 특징으로 하는 엠펙(MPEG) 시스템의 디티에스(DTS) 부호화장치.4. The apparatus of claim 3, wherein the flag is recorded in a header portion of a PES packet. 제1항 내지 제4항중 어느 한 항에 있어서, 상기 인코더 클럭 시스템(550), 상기 전송 버퍼(570)로부터의 초기 PCR를 검출하며, 이 검출 결과로서, 리셋신호 또는 기설정 기준값을 출력하는 초기 PCR 검출부(551)와; 시스템 인코더의 온 동작에 따라서 초기화되며,『27 MHz-810 Hz ≤ 시스템_클럭_주파수≤27MHz + 810 Hz, 시스템_클럭_주파수의 시간변화율≤75×10-3Hz/sec』 조건을 만족하는 시스템 클럭을 출력하는 시스템 클럭부(552)와; 상기 초기 PCR 검출부(551)리셋신호 또는 기준값에 의거하여 초기화되며, 상기 시스템 클럭부(552)의 한 클럭마다 9비트 카운트가 1 씩 증가되면서 카운트된 값을 출력하는 제1카운터(553)와; 상기 제1카운터(553)에 의해서 카운트된 값과 기설정된 기준값과의 비교 결과, 일치되는 시점에 캐리를 발생하는 비교기(554)와; 상기 초기 PCR 검출부(551)의 리셋 신호 또는 기준값에 의거하여 초기화되며, 상기 비교기(554)의 캐리를 카운트하여 출력하는 제2카운더(555)와; 상기 제2카운터(555)로부터 출력되는 카운트된 값과 추가 비트(6비트)를 논리조합하여 발생되는 33비트단위의 DTS를 상기 DTS메모리(562)로 하는 조합 처리부(556)를 구비함을 특징으로 하는 엠펙(MPEG) 시스템의 디티에스(DTS) 부호화장치.5. An initial PCR according to any one of claims 1 to 4, wherein an initial PCR from the encoder clock system 550 and the transmission buffer 570 is detected, and as a result of the detection, an initial signal for outputting a reset signal or a preset reference value. A PCR detector 551; It is initialized according to the ON operation of the system encoder and satisfies the conditions of 27 MHz-810 Hz ≤ system_clock_frequency ≤ 27 MHz + 810 Hz, and the time-varying rate of system_clock_frequency ≤ 75 × 10 -3 Hz / sec. A system clock unit 552 for outputting a system clock; A first counter 553 that is initialized based on a reset signal or a reference value of the initial PCR detection unit 551, and outputs a counted value by increasing a 9-bit count by 1 for each clock of the system clock unit 552; A comparator 554 for generating a carry at a matching time point as a result of the comparison between the value counted by the first counter 553 and a predetermined reference value; A second counter 555 which is initialized based on a reset signal or a reference value of the initial PCR detection unit 551 and counts and outputs a carry of the comparator 554; And a combination processing unit 556 which uses the DTS memory 562 as a DTS in 33-bit units generated by logically combining the counted value output from the second counter 555 with an additional bit (6 bits). A DTS encoding apparatus of an MPEG system.
KR1019960025092A 1996-06-28 1996-06-28 Dts coding apparatus of mpeg KR0181084B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960025092A KR0181084B1 (en) 1996-06-28 1996-06-28 Dts coding apparatus of mpeg

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960025092A KR0181084B1 (en) 1996-06-28 1996-06-28 Dts coding apparatus of mpeg

Publications (2)

Publication Number Publication Date
KR980006943A KR980006943A (en) 1998-03-30
KR0181084B1 true KR0181084B1 (en) 1999-04-01

Family

ID=19464275

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960025092A KR0181084B1 (en) 1996-06-28 1996-06-28 Dts coding apparatus of mpeg

Country Status (1)

Country Link
KR (1) KR0181084B1 (en)

Also Published As

Publication number Publication date
KR980006943A (en) 1998-03-30

Similar Documents

Publication Publication Date Title
CN1976448B (en) Method and system for audio and video transport
US5982830A (en) Hysteretic synchronization system for MPEG audio frame decoder
RU2273111C2 (en) Method for transformation of packet stream of information signals to stream of information signals with time stamps and vice versa
US7610605B2 (en) Method and apparatus for conversion and distribution of data utilizing trick-play requests and meta-data information
JP4481444B2 (en) Image encoding device
US6940873B2 (en) Data stream control system for associating counter values with stored selected data packets from an incoming data transport stream to preserve interpacket time interval information
US6493362B1 (en) Data recording method and data recording system
US20050175098A1 (en) Method, protocol, and apparatus for transporting advanced video coding content
JP4812171B2 (en) Data receiving method and data receiving apparatus
JP2000174819A (en) Signal format, encoder, decoder and signal transmission device
US6731658B1 (en) Data recording method and data recording apparatus
JP4339524B2 (en) DATA TRANSMISSION METHOD, DATA TRANSMISSION DEVICE, DATA RECEPTION METHOD, DATA RECEPTION DEVICE, DATA RECORDING METHOD, AND DATA RECORDING DEVICE
US7346054B2 (en) Method and system for co-relating transport packets on different channels using a cyclic redundancy check (CRC)
CN100416689C (en) Reproducing apparatus and method, and recording medium
WO2000064160A1 (en) Data transmitting method and data transmitter
US7012964B1 (en) Method and device for data transmission
KR0181082B1 (en) Pts coder of mpeg system
JP3990813B2 (en) Encoding apparatus, encoding method, digital transmission apparatus, and digital transmission system
US8155506B2 (en) System and method for transport PID version check
KR0181084B1 (en) Dts coding apparatus of mpeg
JP2005151463A (en) Device and method for receiving stream data
KR0181083B1 (en) Pcr coding apparatus of mpeg
KR0177314B1 (en) Apparatus for protecting transport packet in mpeg system
US20080123732A1 (en) Method and system for configuring decoding based on detecting transport stream input rate
KR0181080B1 (en) Apparatus coding escr information in mpeg

Legal Events

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

Payment date: 20121203

Year of fee payment: 15

LAPS Lapse due to unpaid annual fee