KR100268489B1 - Method and apparatus of recording and playing video data and digital video cassette recorder - Google Patents

Method and apparatus of recording and playing video data and digital video cassette recorder Download PDF

Info

Publication number
KR100268489B1
KR100268489B1 KR1019970070427A KR19970070427A KR100268489B1 KR 100268489 B1 KR100268489 B1 KR 100268489B1 KR 1019970070427 A KR1019970070427 A KR 1019970070427A KR 19970070427 A KR19970070427 A KR 19970070427A KR 100268489 B1 KR100268489 B1 KR 100268489B1
Authority
KR
South Korea
Prior art keywords
output
unit
transport stream
frame
decoder
Prior art date
Application number
KR1019970070427A
Other languages
Korean (ko)
Other versions
KR19990051152A (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 KR1019970070427A priority Critical patent/KR100268489B1/en
Publication of KR19990051152A publication Critical patent/KR19990051152A/en
Application granted granted Critical
Publication of KR100268489B1 publication Critical patent/KR100268489B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00007Time or data compression or expansion
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/032Electronic editing of digitised analogue information signals, e.g. audio or video signals on tapes
    • 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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • 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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • 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/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/625Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00007Time or data compression or expansion
    • G11B2020/00072Time or data compression or expansion the compressed signal including a video signal
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/90Tape-like record carriers

Abstract

PURPOSE: Recording and reproducing method and device for video information, and a DVCR(Digital Video Cassette Recorder) thereof are provided to record the video information according to an MPEG(Moving Picture Experts Group)-2 coding method and to edit recorded video information by frame unit. CONSTITUTION: A pre-process unit(102) outputs Y:Cb:Cr of 4:2:0 format to a complexity degree calculate unit(108) and a DCT(Discrete Cosine Transform) unit(104). The DCT unit performs DCT by macro block unit. The calculate unit calculates complexity degree for inputting to a macro block quantization step decide unit(112). A quantization unit(106) quantizes an output of the DCT unit by a slice unit for a variable length coding unit(114) by variably length coding the output of the quantization unit. Thus, the coding unit outputs a video stream to a trick play data sampling unit(116), a transport stream packet encoder(118), and a quantization step adjusting unit(110). The encoder forms a transport stream for a track arrange unit(120) to arranges the transport stream by synchronizing block unit. Output of the track arrange unit is inputted to an error correcting encoder(122) for adding an error correcting code. Output of the encoder is inputted to a 24/25 modulator(124) for being channel coded and recorded on a tape.

Description

비디오 정보 기록 및 재생방법과 장치와 그에 따른 디지탈 비디오 카세트 레코더{METHOD AND APPARATUS OF RECORDING AND PLAYING VIDEO DATA AND DIGITAL VIDEO CASSETTE RECORDER}METHOD AND APPARATUS OF RECORDING AND PLAYING VIDEO DATA AND DIGITAL VIDEO CASSETTE RECORDER}

본 발명은 비디오 기록장치에 관한 것으로, 특히 비디오 정보를 앰펙(MPEG; Motion Picture Expert Group)-2 부호화방식으로 압축부호화하여 기록하는 방법과 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video recording apparatus, and more particularly, to a method and apparatus for compressing and encoding video information using an MPEG (Motion Picture Expert Group) -2 encoding method.

종래 DVC(Digital Video Cassette) 레코더 내지 ATV(Advanced Television) 비디오 카세트 레코더 등은 비디오 정보를 앰펙-2 부호화방식에 따라 압축부호화한 후에 기록매체에 기록한다.Conventional Digital Video Cassette (DVC) recorders, Advanced Television (ATV) video cassette recorders, etc., record video information on a recording medium after compressing and encoding the video information according to the Amppe-2 coding method.

상기 앰펙-2 부호화방식은 인트라 프레임(Intra Frame) 부호화 방식과 인터 프레임(Inter Frame) 부호화 방식을 채용한다. 상기 인트라 프레임 부호화방식은 해당 프레임을 DCT(Discrete Cosine Transform)한 후에 양자화하고, 그 결과를 가변장 부호화하는 일련의 과정으로 구성되며, 상기 인트라 프레임 부호화방식으로 압축부호화된 프레임을 I 프레임이라 칭한다. 그리고, 상기 인터 프레임 부호화방식은 두 가지로 나뉘는 데, 그 중 하나인 P 프레임 부호화방식은 해당 프레임을 상기 I 프레임을 근간으로 하여 예측 부호화하는 것이며, 상기 P 프레임 부호화방식에 따라 압축부호화된 프레임을 P 프레임이라 칭한다. 그리고 상기 인터 프레임 부호화방식의 다른 하나인 B 프레임 부호화 방식은 상기 I 프레임과 상기 P 프레임을 근간으로 하여 예측 부호화하는 것으로, 상기 B 프레임 부호화방식에 따라 압축부호화된 프레임을 B 프레임이라 칭한다. 여기서, 상기 예측 부호화는 프레임간 움직임(Activity)을 검출하여 움직임 벡터를 검출하고, 그 움직임 벡터를 부호화하는 일련의 과정들을 포함하며, 버퍼 콘트롤(Buffer Control)에 의하여 양자화 스케일 팩터(Scale Factor)가 조정되는 피드백 루프(Feed Back Loop)를 구성한다. 이와 같은 예측 부호화과정은 하드웨어의 복잡성을 증가시킨다. 이는 상기 DVC 레코더 내지 ATV 비디오 카세트 레코더의 원가를 상승시키는 요인이 되었다.The Ampl-2 encoding method uses an intra frame encoding method and an inter frame encoding method. The intra frame coding method consists of a series of processes of quantizing the frame after DCT (Discrete Cosine Transform) and variable length coding the result, and a frame encoded with the intra frame coding method is called an I frame. The inter-frame coding method is divided into two types, one of which is a P-frame coding method, which predictively encodes a frame based on the I frame, and compresses a frame encoded according to the P frame coding method. This is called a P frame. The B frame coding method, which is another of the inter frame coding methods, performs predictive coding based on the I frame and the P frame. A frame encoded according to the B frame coding method is called a B frame. Here, the prediction encoding includes a series of processes for detecting a motion vector by detecting interframe activity and encoding the motion vector, and a quantization scale factor is determined by a buffer control. Configure the feedback loop to be adjusted. This predictive encoding process increases the complexity of hardware. This caused the cost of the DVC recorder to the ATV video cassette recorder to increase.

그리고, 상기와 같이 앰펙-2 부호화 방식이 인터 프레임 부호화방식을 채용하기 때문에 상기 앰펙-2 부호화방식으로 압축부호화된 비디오 정보를 프레임 단위로 편집하는 것은 불가능하다. 이에따라 상기 DVC 레코더 내지 ATV 비디오 카세트 레코더를 통하여 기록된 비디오 정보를 편집함에 있어서 프레임 단위로 편집할 수 없었다.Since the Ampec-2 coding method employs the inter frame coding method as described above, video information compressed with the Amppe-2 coding method cannot be edited in units of frames. Accordingly, in editing the video information recorded through the DVC recorder or the ATV video cassette recorder, it cannot be edited frame by frame.

또한 종래에는 앰펙-2 부호화방식으로 비디오 데이타를 부호화하여 기록하는 상기 DVC 레코더와 ATV 비디오 카세트 레코더간에는 호환성이 요구되었다.In addition, compatibility between the DVC recorder and the ATV video cassette recorder, which encodes and records video data in the MPEG-2 encoding method, has been required in the related art.

상술한 바와 같이 종래 DVC 레코더 내지 ATV 비디오 카세트 레코더는 비디오 정보를 인터프레임 코딩방식을 포함하는 앰펙-2 부호화방식으로 압축부호화하여 기록하였다. 이는 DVC 레코더 내지 ATV 비디오 카세트 레코더의 원가상승의 요인이 되었으며, 상기 DVC 레코더 내지 ATV 비디오 카세트 레코더를 통하여 기록된 비디오 정보를 프레임 단위로 편집할 수 없는 원인이 되었다.As described above, the conventional DVC recorder or the ATV video cassette recorder compresses and records video information using the Amppe-2 coding method including the interframe coding method. This caused a cost increase of the DVC recorder to the ATV video cassette recorder and caused the video information recorded through the DVC recorder to the ATV video cassette recorder not to be edited frame by frame.

또한 상기 DVC 레코더와 상기 ATV 비디오 카세트 레코더간의 호환성이 요구되었다.There was also a need for compatibility between the DVC recorder and the ATV video cassette recorder.

따라서 본 발명의 목적은 앰펙-2 부호화방식에 따라 비디오 정보를 압축부호화하여 기록하는 장치에서, 그 기록된 비디오 정보를 프레임 단위로 편집할 수 있도록 하며, 그 원가도 절감하는 비디오 정보 기록 및 재생방법과 장치를 제공함에 있다.Accordingly, an object of the present invention is to provide a method for compressing and recording video information according to the Amppe-2 coding method, so that the recorded video information can be edited frame by frame, and the video information recording and reproducing method can reduce the cost. And in providing a device.

그리고 본 발명의 다른 목적은 앰펙-2 부호화방식에 따라 비디오 정보를 압축부호화하여 기록하는 장치 중 DVC 레코더와 ATV 비디오 카세트 레코더 간의 호환성을 제공하는 DVC 레코더를 제공함에 있다.Another object of the present invention is to provide a DVC recorder that provides compatibility between a DVC recorder and an ATV video cassette recorder among apparatuses for compressing and recording video information according to the Amppe-2 coding scheme.

도 1은 본 발명에 바람직한 실시예에 따른 디지탈 비디오 카세트 레코더의 비디오 정보 기록부의 블럭구성도,1 is a block diagram of a video information recording unit of a digital video cassette recorder according to a preferred embodiment of the present invention;

도 2는 4:2:2 비디오 정보의 구성도,2 is a configuration diagram of 4: 2: 2 video information;

도 3은 4:2:0 비디오 정보의 구성도,3 is a configuration diagram of 4: 2: 0 video information;

도 4는 비디오 정보를 슬라이스로 구분한 예를 도시한 도면,4 is a diagram illustrating an example of dividing video information into slices;

도 5는 비디오 정보의 매크로 블럭을 도시한 도면,5 illustrates a macroblock of video information;

도 6은 트랜스포트 스트림을 구성하는 과정을 도시한 도면,6 is a diagram illustrating a process of constructing a transport stream;

도 7은 트랜스포트 스트림 패킷의 구성도,7 is a configuration diagram of a transport stream packet;

도 8은 5개의 싱크블럭에 2개의 트랜스포트 스트림 패킷을 배치한 예를 도시한 도면,8 is a diagram illustrating an example of arranging two transport stream packets in five sync blocks;

도 9는 종래 ATV 비디오 테이프 레코더에서 테이프의 트랙배치도,9 is a track arrangement diagram of a tape in a conventional ATV video tape recorder.

도 10은 본 발명의 바람직한 실시예에 따른 테이프의 트랙배치도,10 is a track arrangement diagram of a tape according to a preferred embodiment of the present invention;

도 11은 본 발명의 바람직한 실시예에 따른 디지탈 비디오 카세트 레코더의 비디오 정보 재생부의 블럭구성도.Fig. 11 is a block diagram of a video information reproducing unit of a digital video cassette recorder in accordance with a preferred embodiment of the present invention.

상술한 목적을 달성하기 위한 본 발명의 기록 방법은 비디오 정보를 입력받아 인트라 프레임 부호화하는 과정과, 상기 인트라 프레임 부호화된 비디오 정보를 트랜스포트 스트림 인코딩하여 트랜스포트 스트림으로 변환하는 과정과, 상기 트랜스포트 스트림을 기록매체에 기록하는 과정으로 이루어짐을 특징으로 한다.According to an aspect of the present invention, there is provided a recording method comprising: receiving an intra frame encoding video information, transforming the intra frame encoded video information into a transport stream, and transforming the transport stream into a transport stream; The process of recording the stream on the recording medium.

상술한 목적을 달성하기 위한 본 발명의 재생 방법은 인트라 프레임 부호화된 비디오 정보에 대한 트랜스포트 스트림이 기록되어 있는 기록매체에서 그 비디오 정보를 독출하는 과정과, 상기 독출한 비디오 정보를 트랜스포트 스트림 디코딩하여 인트라 프레임 부호화된 비디오 정보로서 변환하는 과정과, 상기 인트라 프레임 부호화된 비디오 정보를 인트라 프레임 복호화하여 재생하는 과정으로 이루어짐을 특징으로 한다.A reproduction method of the present invention for achieving the above object is a process of reading the video information from a recording medium on which a transport stream for intra frame encoded video information is recorded, and transporting the read video information to a transport stream. Decoding and converting the intra frame encoded video information into intra frame encoded video information; and performing intra frame decoding on the intra frame encoded video information.

이하 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명 및 첨부도면에서 많은 특정 상세들이 본 발명의 보다 전반적인 이해를 제공하기 위해 나타나 있다. 이들 특정 상세들 없이 본 발명이 실시될 수 있다는 것은 이 기술분야에서 통상의 지식을 가진자에게 자명할 것이다. 그리고 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description and the annexed drawings, numerous specific details are set forth in order to provide a more thorough understanding of the present invention. It will be apparent to those skilled in the art that the present invention may be practiced without these specific details. And a detailed description of known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

본 발명은 앰펙-2 부호화방식으로 비디오 정보를 압축부호화한 후에 기록매체에 기록하는 장치에 있어서, 상기 비디오 정보를 인트라 프레임 부호화방식으로만 압축부호화하도록 한다. 즉, 프레임간 예측부호화하는 인터 프레임 부호화방식을 사용하지 않는다. 이에따라 상기 장치에 의하여 기록된 비디오 정보는 프레임 단위로 편집 가능하게 되며, 하드웨어가 단순하게 된다.According to the present invention, an apparatus for compressing and encoding video information using an MPEG-2 coding method and then recording the video information onto a recording medium, wherein the video information is compressed and encoded only using the intra frame coding method. In other words, the inter frame encoding method for inter-frame prediction encoding is not used. Accordingly, the video information recorded by the device can be edited frame by frame, and the hardware is simplified.

이와같은 본 발명을 DVC 레코더에 적용한 예를 들어 설명한다. 특히, 상기 DVC 레코더는 ATV 비디오 카세트 레코더와의 호환을 위하여 상기 ATV 비디오 레코더에서 채용하는 테이프 포맷에 따라 비디오 정보를 테이프에 기록한다.An example in which the present invention is applied to a DVC recorder will be described. In particular, the DVC recorder records video information on a tape according to the tape format employed by the ATV video recorder for compatibility with the ATV video cassette recorder.

상기 DVC 레코더는 크게 NTSC(National Television System Committee)에 따른 비디오 정보를 입력받아 인트라 프레임 부호화방식으로 부호화한 후에 테이프에 기록하는 비디오 정보 기록부와, 상기 기록되어진 정보를 재생하여 인트라 프레임 복호화방식으로 복호화한 후에 다시 NTSC에 따른 비디오 정보로서 출력하는 비디오 정보 재생부로 구성된다.The DVC recorder receives a video information according to a National Television System Committee (NTSC), and encodes the data using an intra frame encoding method, and records the data on a tape, and decodes the recorded information by intra frame decoding. And a video information reproducing unit which outputs the video information according to NTSC later.

상기 비디오 정보 기록부(100)의 블럭구성도를 도시한 도 1을 참조하면, 전처리부(102)는 NTSC에 따른 비디오 신호 즉, 4:2:2 포맷의 휘도신호 Y: 적색 마이너스 휘도 색차신호 Cb: 청색 마이너스 휘도 색차신호 Cr를 입력받아 상기 색차신호 Cb,Cr에 대하여 수직방향으로 1/2 다운샘플링(Down Sampling)하여 4:2:0 포맷으로 출력한다.Referring to FIG. 1, which shows a block diagram of the video information recording unit 100, the preprocessing unit 102 is a video signal according to NTSC, that is, a luminance signal of 4: 2: 2 format Y: red minus luminance chrominance signal Cb : Blue negative luminance color difference signal Cr is input, and is downsampled 1/2 in the vertical direction with respect to the color difference signals Cb and Cr, and output in 4: 2: 0 format.

여기서, 상기 NTSC에 따른 비디오 신호의 포맷에 대하여 설명한다. 우선 4:2:2 포맷을 도시한 도 2를 참조하면, 휘도 Y는 720[픽셀]×480[픽셀]이고, 색차신호 Cb,Cr은 각각 360[픽셀]×480[픽셀]이다. 이와같은 4:2:2 포맷의 비디오 신호는 전처리부(102)에 의하여 4:2:0 포맷으로 변환되는데, 4:2:0 포맷을 도시한 도 3을 참조하면, 휘도 Y는 720[픽셀]×480[픽셀]이고, 색차신호Cb,Cr은 각각 수직방향으로 다운샘플링됨에 따라 360[픽셀]×240[픽셀]으로 변환된다. 이와같은 4:2:0 포맷은 도 4에 도시한 바와 같이 제1슬라이스∼제N슬라이스로 구분된다. 상기 슬라이스는 양자화할 때의 그 단위가 된다. 상기 슬라이스는 다시 다수의 매크로 블럭으로 구분되는데, 그 매크로 블럭은 각각 8[픽셀]×8[픽셀]로 구성되는 4개의 휘도신호 Y 블럭들과 1개의 색차신호 Cb와 1개의 색차신호 Cr로 구성된다. 상기 매크로 블럭을 도시한 도 5를 참조하면 상기 매크로 블럭은 휘도신호 Y에 대한 4개의 블럭 Y1,Y2,Y3,Y4와 색차신호 Cb에 대한 1개의 블럭 Cb와 색차신호 Cr에 대한 1개의 블럭 Cr로 구성된다. 상기 매크로 블럭은 DCT할 때의 그 단위가 된다.Here, the format of the video signal according to the NTSC will be described. First, referring to Fig. 2 showing the 4: 2: 2 format, the luminance Y is 720 [pixel] x 480 [pixel], and the color difference signals Cb and Cr are 360 [pixel] x 480 [pixel], respectively. This 4: 2: 2 format video signal is converted into 4: 2: 0 format by the preprocessor 102. Referring to FIG. 3, which shows the 4: 2: 0 format, the luminance Y is 720 [pixels]. ] 480 [pixels], and the color difference signals Cb and Cr are downsampled in the vertical direction, respectively, to 360 [pixels] x 240 [pixels]. The 4: 2: 0 format is divided into first slice to Nth slice as shown in FIG. The slice becomes its unit when quantized. The slice is divided into a plurality of macroblocks, which are composed of four luminance signal Y blocks each consisting of 8 [pixels] × 8 [pixels], one color difference signal Cb, and one color difference signal Cr. do. Referring to FIG. 5 showing the macroblock, the macroblock includes four blocks Y1, Y2, Y3, Y4 for the luminance signal Y, one block Cb for the color difference signal Cb, and one block Cr for the color difference signal Cr. It consists of. The macro block becomes its unit at the time of DCT.

상기 전처리부(102)의 출력 즉, 4:2:0 포맷의 Y:Cb:Cr은 복잡도 계산부(108)와 DCT부(104)에 입력된다. 상기 DCT부(104)는 상기 4:2:0 포맷의 Y:Cb:Cr를 입력받아 매크로 블럭 단위로 DCT를 수행한다. 특히, 상기 DCT부(104)는 앰펙 2에서 제안하는 DCT를 채용한다. 상기 매크로 블럭단위로 DCT된 Y:Cb:Cr은 양자화부(106)에 입력된다.The output of the preprocessor 102, that is, Y: Cb: Cr in 4: 2: 0 format, is input to the complexity calculator 108 and the DCT unit 104. The DCT unit 104 receives the Y: Cb: Cr in the 4: 2: 0 format and performs DCT in macroblock units. In particular, the DCT unit 104 employs the DCT proposed in the amplifier 2. Y: Cb: Cr DCT DCT in macroblock units is input to the quantization unit 106.

그리고, 상기 복잡도 계산부(108)는 상기 전처리부(102)의 출력 즉, 4:2:0 포맷의 Y:Cb:Cr를 입력받아 복잡도를 계산하며, 그 계산된 복잡도를 정규화한다. 상기 정규화된 복잡도는 매크로 블럭 양자화 스텝 결정부(112)에 입력된다. 상기 매크로 블럭 양자화 스텝 결정부(112)는 상기 정규화된 복잡도로 하여 해당 프레임 전체에 대한 초기 양자화 스텝을 결정한다. 여기서, 상기 4:2:2 포맷의 Y:Cb:Cr은 1 프레임 단위로 고정장 부호화되어야 한다. 이에따라 매크로 블럭의 복잡도에 따라서 그 매크로 블럭이 압축부호화되야 하는 목표비트가 할당된다. 상기와 같이 할당된 목표비트와 실제로 발생한 비트량간의 차이에 따라 양자화 스텝을 조정하도록 하는 것이 양자화 스텝 조정부(110)로서, 상기 양자화 스텝 조정부(110)는 가변장 부호화부(114)의 출력비트와 목표비트의 차이에 따라 상기 매크로 블럭 양자화 스텝 결정부(112)를 제어한다. 상기 매크로 블럭 양자화 스텝 결정부(112)는 상기 복잡도 계산부(108)가 제공하는 정규화된 복잡도에 따라 초기 양자화 스텝을 결정하고, 양자화 스텝 조정부(110)의 제어에 따라 상기 양자화스텝을 조절한다.The complexity calculator 108 receives the output of the preprocessor 102, that is, Y: Cb: Cr in 4: 2: 0 format, calculates the complexity, and normalizes the calculated complexity. The normalized complexity is input to the macroblock quantization step determiner 112. The macroblock quantization step determination unit 112 determines the initial quantization step for the entire frame based on the normalized complexity. Herein, the Y: Cb: Cr of the 4: 2: 2 format should be fixed-length coded in units of one frame. Accordingly, according to the complexity of the macro block, a target bit to which the macro block should be compressed and allocated is allocated. As described above, the quantization step adjusting unit 110 adjusts the quantization step according to the difference between the allocated target bit and the amount of bits actually generated, and the quantization step adjusting unit 110 is the output bit of the variable length encoder 114. The macroblock quantization step determination unit 112 is controlled according to the difference of the target bit. The macroblock quantization step determiner 112 determines the initial quantization step according to the normalized complexity provided by the complexity calculator 108, and adjusts the quantization step according to the control of the quantization step adjuster 110.

양자화부(106)는 상기 양자화 스텝 조정부(110)가 제공하는 양자화 스텝에 따라 상기 DCT부(104)의 출력을 슬라이스 단위로 양자화하며, 이 양자화방식은 앰펙 2에서 제안하는 양자화방법을 채용한다. 특히, 상기 양자화부(106)는 2개의 슬라이스는 따로 처리하며 그 2개의 슬라이스의 발생비트는 1.848[Mbps]가 넘지 않도록 한다. 가변장 부호화부(114)는 양자화부(106)의 출력을 가변장 부호화하며, 상기 가변장 부호화시에 사용되는 테이블은 앰펙에서 제안한 테이블을 사용한다. 상기 가변장 부호화부(114)의 출력을 비디오 스트림이라 하며, 상기 비디오 스트림은 연속되는 I프레임으로 구성된다. 이는 프레임을 I프레임 부호화방식에 따라 DCT, 양자화, 가변장부호화하였기 때문이다. 상기 비디오 스트림은 트릭플레이 데이타 추출부(116)와 트랜스포트 스트림 패킷 인코더(118)와 양자화 스텝 조정부(110)에 입력된다.The quantization unit 106 quantizes the output of the DCT unit 104 in units of slices according to the quantization step provided by the quantization step adjustment unit 110. The quantization method adopts the quantization method proposed by the amplifier 2. In particular, the quantization unit 106 processes the two slices separately, and the generation bits of the two slices do not exceed 1.848 [Mbps]. The variable length encoder 114 performs variable length encoding on the output of the quantization unit 106. The table used in the variable length encoding uses a table proposed by the amplifier. The output of the variable length encoder 114 is called a video stream, and the video stream is composed of consecutive I frames. This is because the frames are DCT, quantized, and variable length coded according to the I frame coding scheme. The video stream is input to the trick play data extractor 116, the transport stream packet encoder 118, and the quantization step adjuster 110.

상기 트릭 플레이 데이타 추출부(116)는 상기 가변장 부호화부(114)가 출력하는 I프레임에서 트릭 플레이를 위한 프레임에 따른 I프레임만을 추출한다. 여기서, 상기 트릭 플레이는 크게 TPH(Trick Play High Speed)와 TPL(Trick Play Low Speed)로 구분되어진다. 상기 TPH는 -8.5∼8.5 또는 -17.5∼17.5배속 재생하는 것으로, 이를 위해서는 한 I프레임을 18회 또는 36회 반복하여 기록한다. 그리고 상기 TPL은 4배속 재생하는 것으로, 이를 위해서는 한 I프레임을 2회 반복하여 기록한다. 상기 트릭 플레이 데이타 추출부(116)는 상기와 같은 TPH 또는 TPL를 위한 I프레임을 추출하여 비디오 스트림 형태로서 트랜스포트 패킷 인코더(118)에 제공한다.The trick play data extractor 116 extracts only an I frame corresponding to a frame for trick play from an I frame output by the variable length encoder 114. Here, the trick play is largely divided into TPH (Trick Play High Speed) and TPL (Trick Play Low Speed). The TPH is reproduced at -8.5 to 8.5 or -17.5 to 17.5 times. For this purpose, one I frame is repeatedly recorded 18 or 36 times. The TPL is reproduced at 4 times speed, and for this purpose, one I frame is repeatedly recorded twice. The trick play data extractor 116 extracts the I frames for the TPH or TPL and provides them to the transport packet encoder 118 as a video stream.

상기 트랜스포트 패킷 인코더(118)는 트릭 플레이 데이타 추출부(116)가 제공하는 TPH 또는 TPL를 위한 I 프레임으로 구성되는 비디오 스트림 또는 가변장 부호화부(114)가 제공하는 정상플레이시의 I 프레임으로 구성되는 비디오 스트림과 오디오 데이타를 먹싱하여 트랜스포트 스트림을 구성하며, 상기 트랜스포트 스트림의 헤더 등은 앰펙 2의 신텍스에 따라 구성한다. 상기 트랜스포트 스트림 패킷 인코더(118)의 트랜스포트 스트림의 구성과정을 도시한 도 6과 그 트랜스포트 스트림의 패킷구성도를 도시한 도 7을 참조하면, 우선 도 6의 비디오 스트림의 I프레임은 TPH 또는 TPL 또는 정상플레이시의 I프레임일 수 있다. 그리고 오디오 스트림은 프레임 단위로 구성된다. 상기 I프레임들은 오디오 프레임들과 조합되어 트랜스포트 스트림으로 구성된다. 상기 트랜스포트 스트림의 한 트랜스포트 스트림 패킷은 도 7에 도시한 바와 같이 4 바이트의 헤더와 N 바이트의 옵션(Option)부분과 184-N 바이트의 페이로드(Payload)로서 188바이트로 구성된다. 이와같은 트랜스포트 스트림 패킷의 구성은 TPH,TPL,정상플레이에 관계없이 동일하다. 상기와 같은 트랜스포트 스트림은 종래의 ATV를 통하여 재생가능하다.The transport packet encoder 118 is a video stream composed of I frames for TPH or TPL provided by the trick play data extractor 116 or an I frame during normal play provided by the variable length encoder 114. The video stream and the audio data are muxed to form a transport stream, and the header of the transport stream is configured according to the syntax of the amplifier 2. Referring to FIG. 6 showing the construction of the transport stream of the transport stream packet encoder 118 and FIG. 7 showing the packet construction of the transport stream, first, the I frame of the video stream of FIG. Or I frame in normal play or TPL. The audio stream is configured in units of frames. The I frames are composed of transport streams in combination with audio frames. One transport stream packet of the transport stream is composed of 188 bytes as a header of 4 bytes, an option portion of N bytes, and a payload of 184-N bytes as shown in FIG. The configuration of the transport stream packet is the same regardless of TPH, TPL, and normal play. Such a transport stream can be reproduced through a conventional ATV.

트랙배치부(120)는 상기 트랜스포트 스트림을 제공받아 싱크블럭단위로 배치하는데, 이때의 싱크블럭은 SD(Standard Density) 포맷을 따른다. 즉, 상기 트랙배치부(120)는 2개의 트랜스포트 스트림 패킷을 5개의 싱크블럭에 위치한다. 제1∼제5싱크블럭(SB1∼SB5)에 제1,제2트랜스포트 스트림 패킷이 배치된 것을 도시한 도 8을 참조하면, 각 싱크블럭은 90바이트이며, 그 중 2바이트는 싱크이고, 3바이트는 ID이고, 1바이트는 싱크블럭 익스트라 헤더이며, 그 외 부분안에 트랜스포트 스트림 패킷이 위치한다. 도 7에서 제1트랜스포트 스트림 패킷은 트랜스포트 스트림 패킷 익스트라 헤더를 포함하여 제1 내지 제3싱크블럭(SB1∼SB3)에 위치하고, 제2트랜스포트 스트림 패킷은 트랜스포트 스트림 패킷 익스트라 헤더를 포함하여 제3 내지 제5싱크블럭(SB3∼SB5)에 위치한다.The track arrangement unit 120 receives the transport stream and arranges it in sync blocks, wherein the sync blocks follow the SD format. That is, the track arrangement unit 120 locates two transport stream packets in five sync blocks. Referring to FIG. 8, in which the first and second transport stream packets are disposed in the first to fifth sink blocks SB1 to SB5, each sink block is 90 bytes, of which 2 bytes are sinks. 3 bytes is an ID, 1 byte is a sync block extra header, and a transport stream packet is located in the other part. In FIG. 7, the first transport stream packet is located in the first to third sink blocks SB1 to SB3 including the transport stream packet extra header, and the second transport stream packet includes the transport stream packet extra header. Located in the third to fifth sink blocks SB3 to SB5.

상기 트랙배치부(120)는 상기 싱크블럭 익스트라 헤더에는 그 싱크블럭에 포함되어 있는 정보를 나타내는데, 본 발명의 바람직한 실시예에 따른 싱크블럭 익스트라 헤더를 구성하는 예를 표시한 것이 표 1이다.The track arrangement unit 120 indicates information included in the sync block in the sync block extra header. Table 1 shows an example of configuring the sync block extra header according to the preferred embodiment of the present invention.

비트beat 싱크블럭 31∼싱크블럭 155Sync Block 31 ~ Sync Block 155 싱크블럭 21∼ 싱크블럭 30Sync Block 21 ~ Sync Block 30 제7비트7th bit 정상플레이'0'Normal play '0' TPH,TPL '1'TPH, TPL '1' ECC3영역'0'ECC3 area '0' 그외 '1'Else '1' 제6비트6th bit 데이타/스터핑'0'Data / stuffing '0' 프레임 토글'1'Toggle Frame '1' 예비영역Reserved area 예비영역Reserved area 제5비트5th bit 예비영역Reserved area 싱크블럭순서Sync Block Order 제4비트4th bit 제3비트Third bit 제2비트2nd bit 제1비트1st bit 예비영역Reserved area 제0비트0th bit

상기 표 1에 나타낸 바와 같이 싱크블럭 31에서 싱크블럭 155에 대한 싱크블럭 익스트라 헤더의 제7비트는 해당 싱크블럭의 비디오 트랜스포트 스트림이 TPH,TPL에 대한 것인지 정상 플레이에 대한 것인지를 나타낸다. 즉, 상기 트랙배치부(120)는 싱크블럭 31에서 싱크블럭 155에 대하여 해당 싱크블럭의 비디오 트랜스포트 스트림이 TPH,TPL에 대한 것이고, 그 싱크블럭이 싱크블럭 31∼싱크블럭 155이면 상기 싱크블럭 익스트라 헤더의 제7비트를 1로 세트하고, 정상플레이에 대한 것이면 상기 싱크블럭 익스트라 헤더의 제7비트를 0으로 리세트한다. 그리고 상기 싱크블럭 31에서 싱크블럭 155에 대한 싱크블럭 익스트라 헤더의 제6비트는 그 싱크블럭내에 데이타 또는 스터핑(Stuffing)이 위치하는지 아니면, 새로운 프레임이 시작되어 토글(Toggle)되는지를 나타낸다. 그리고 싱크블럭 31에서 싱크블럭 155에 대한 싱크블럭 익스트라 헤더의 제2 내지 제5비트는 5개의 싱크블럭의 순서를 나타낸다. 그리고, 싱크블럭 21에서 싱크블럭 30에 대한 싱크블럭 익스트라 헤더의 제7비트는 그 싱크블럭 21에서 싱크블럭 30에 ECC3를 위한 데이타가 기록되었는지 아니면 그 외의 데이타가 기록되었는지를 나타낸다. 특히, 본 발명의 바람직한 실시예에서는 싱크블럭 21에서 싱크블럭 30에 비디오 스트림을 기록하므로, 상기 싱크블럭 21에서 싱크블럭 30에 대한 싱크블럭 익스트라 헤더의 최상위 비트는 '1'로 표시하여 상기 싱크블럭 21에서 싱크블럭 30에 ECC3을 위한 데이타가 들어있지 않음 나타내도록 한다. 여기서, 상기 싱크블럭 21에서 싱크블럭 30에 대한 비트레이트 1.848[Mbps]이다. 따라서 상기 싱크블럭 21에서 싱크블럭 30에는 정상플레이의 I프레임 중 두 개의 슬라이스에 대한 비디오 스트림이 저장가능하다.As shown in Table 1, the seventh bit of the sync block extra header for sync block 155 in sync block 31 indicates whether the video transport stream of the sync block is for TPH, TPL or normal play. That is, the track arrangement unit 120 corresponds to the sync block 155 in the sync block 31 and the video transport stream of the sync block is TPH and TPL, and the sync block 31 corresponds to the sync block 31 to the sync block 155. The seventh bit of the extra header is set to 1, and the seventh bit of the sync block extra header is reset to 0 if it is for normal play. The sixth bit of the sync block extra header for the sync block 155 in the sync block 31 indicates whether data or stuffing is located in the sync block or whether a new frame is started and toggled. The second to fifth bits of the sync block extra header for the sync block 155 in the sync block 31 indicate the order of five sync blocks. The seventh bit of the sync block extra header for sync block 30 in sync block 21 indicates whether data for ECC3 or other data is recorded in sync block 30 in sync block 21. In particular, in the preferred embodiment of the present invention, since the video stream is recorded in the sync block 30 in the sync block 21, the most significant bit of the sync block extra header for the sync block 30 in the sync block 21 is represented by '1' to indicate the sync block. In 21, it indicates that the sync block 30 contains no data for ECC3. Here, the bit rate of the sync block 21 to the sync block 30 is 1.848 [Mbps]. Therefore, in the sync block 21, the sync block 30 may store video streams for two slices of the I frames of the normal play.

상기와 같이 두 개의 트랜스포트 스트림을 5개의 싱크블럭에 위치시킨 후에 상기 트랙 배치부(120)는 테이프 포맷에 따라 상기 트랜스포트 스트림을 배치한다. 여기서, 종래의 ATV 비디오 카세트 레코더의 테이프 포맷을 도시한 도 9와 본 발명의 바람직한 실시예에 따른 테이프 포맷을 도시한 도 10을 참조하면, 종래의 ATV 비디오 카세트 레코더의 테이프 포맷은 F0,F1,F2의 포맷으로 구분되며, F0,F1,F0,F2,F0,F1,F0,F2,F0의 순서를 가진다. 상기 F0,F1,F2는 11[싱크블럭]의 ECC2영역과, 1[싱크블럭]의 VAUX영역과, 135[싱크블럭]의 비디오 트랜스포트 스트림 패킷영역과, 10[싱크블럭]의 ECC3영역과, 2[싱크블럭]의 VAUX영역과, 5[싱크블럭]의 ECC2영역과, 8[싱크블럭]의 오디오 트랜스포트 스트림 패킷 영역과, ITI영역 등으로 구성된다. 상기 F0의 비디오 트랜스포트 스트림 패킷영역에는 정상플레이 데이타에 대한 트랜스포트 스트림 패킷이 위치하는 싱크블럭들 사이에 TPH에 따른 트랜스포트 스트림 패킷들이 위치하는 5개의 싱크블럭으로 구성되는 TPL 비디오 트랜스포트 스트림 패킷 영역이 6개가 산재하여 위치한다. 그리고, F1의 비디오 트랜스포트스트림 패킷영역에는 정상플레이에 대한 트랜스포트 스트림 패킷이 위치하는 싱크블럭들 사이에 TPL에 따른 트랜스포트 스트림 패킷들이 위치하는 25개의 싱크블럭으로 구성되는 TLH 비디오 트랜스포트 스트림 패킷영역이 위치한다. 그리고 상기 F2의 비디오 트랜스포트 스트림 패킷 영역에는 정상플레이에 따른 트랜스포트 스트림 패킷이 위치하는 싱크블럭만으로 구성된다.After the two transport streams are positioned in five sync blocks as described above, the track arrangement unit 120 arranges the transport streams according to a tape format. Here, referring to FIG. 9 showing a tape format of a conventional ATV video cassette recorder and FIG. 10 showing a tape format according to a preferred embodiment of the present invention, the tape formats of the conventional ATV video cassette recorder are F0, F1, It is classified into the format of F2 and has the order of F0, F1, F0, F2, F0, F1, F0, F2, and F0. F0, F1, and F2 represent an ECC2 region of 11 [sink block], a VAUX region of 1 [sink block], a video transport stream packet region of 135 [sink block], and an ECC3 region of 10 [sink block]. And a VAUX area of 2 [sink block], an ECC2 area of 5 [sink block], an audio transport stream packet area of 8 [sink block], an ITI area and the like. In the video transport stream packet region of F0, a TPL video transport stream packet including five sync blocks in which transport stream packets according to TPH are located between sync blocks in which transport stream packets for normal play data are located. Six areas are interspersed. In the video transport stream packet region of F1, a TLH video transport stream packet including 25 sync blocks in which transport stream packets according to TPL are located between sync blocks in which transport stream packets for normal play are located. The area is located. The video transport stream packet region of the F2 includes only a sync block in which a transport stream packet according to normal play is located.

여기서 상기 F0에 기록되는 TPH의 트랜스포트 스트림 패킷의 기록레이트는 1.122[Mbps]인 데, 이는 수학식 1-A에 근거한다. 그리고 F1에 기록되는 TPL의 트랜스포트 스트림 패킷의 기록 레이트는 2.6928[Mbps]인 데, 이는 수학식 1-B에 근거한다.Here, the recording rate of the transport stream packet of the TPH recorded in F0 is 1.122 [Mbps], which is based on Equation 1-A. The recording rate of the transport stream packet of the TPL recorded in F1 is 2.6928 [Mbps], which is based on Equation 1-B.

Figure pat00001
Figure pat00001

Figure pat00002
...(1-A)
Figure pat00002
... (1-A)

Figure pat00003
Figure pat00003

Figure pat00004
...(1-B)
Figure pat00004
... (1-B)

그리고 상기 비디오 트랜스포트 스트림 패킷영역에 기록되는 최대 트랜스포트 스트림 패킷의 기록레이트는 24.948[Mbps]인 데, 이는 수학식 2에 근거한다.The recording rate of the maximum transport stream packet recorded in the video transport stream packet region is 24.948 [Mbps], which is based on Equation (2).

Figure pat00005
Figure pat00005

Figure pat00006
Figure pat00006

이와같이 상기 비디오 트랜스포트 스트림 패킷영역의 최대 기록 레이트 24.948[Mbps]에서 상기 TPH,TPL의 트랜스포트 스트림 패킷 기록레이트를 감산한 것이 21.13[Mbps]로서 이것이 정상 플레이 데이타에 대한 기록레이트가 된다.In this way, the transport stream packet recording rate of the TPH and TPL is subtracted from the maximum recording rate of 24.948 [Mbps] in the video transport stream packet area to 21.13 [Mbps], which is the recording rate for normal play data.

본 발명의 바람직한 실시예에 따른 테이프 포맷을 도시한 도 10을 참조하면, 상기 도 9의 ECC3영역을 정상플레이의 비디오 스트림을 저장하기 위한 비디오 스트림 영역으로 대치한다. 이는 정상플레이 데이타에 대한 기록레이트를 향상시켜 정상플레이시에 화질을 개선하기 위해서이다. 상기 비디오 스트림 영역은 10[싱크블럭]으로서 두 개의 슬라이스에 대한 비디오 스트림을 기록할 수 있다. 여기서, 상기 비디오 스트림은 가변장 부호화부(114)의 출력이다.Referring to FIG. 10 showing a tape format according to a preferred embodiment of the present invention, the ECC3 region of FIG. 9 is replaced with a video stream region for storing a video stream of a normal play. This is to improve the recording rate for the normal play data and to improve the image quality in the normal play. The video stream area may record video streams for two slices as 10 (sink block). Here, the video stream is an output of the variable length encoder 114.

본 발명에서는 480[픽셀]×720[픽셀]로 구성되는 한 프레임에 대한 비디오 데이타중 448[픽셀]×720[픽셀]에 해당하는 비디오 스트림은 트랜스포트 스트림 패킷으로 인코딩하여 상기 F0,F1,F2의 비디오 트랜스포트 스트림 패킷영역에 기록한다. 그리고, 나머지 32[픽셀]×720[픽셀]에 해당하는 비디오 스트림은 트랜스포트 스트림 패킷으로 인코딩하지 않은 채 비디오 스트림영역에 기록한다. 이와같이 기록된 테이프를 ATV에서 재생할 경우에는 480[픽셀]×720[픽셀]로 구성되는 프레임에서 448[픽셀]×720[픽셀]에 해당하는 부분만이 재생된다. 그리고 본 발명의 바람직한 실시예에 따른 DVC 레코더에서 재생할 경우에는 480[픽셀]×720[픽셀]로 구성되는 한 프레임이 완전히 재생된다.In the present invention, a video stream corresponding to 448 [pixel] × 720 [pixel] among video data of one frame composed of 480 [pixel] × 720 [pixel] is encoded into a transport stream packet to be encoded as F0, F1, F2. To the video transport stream packet area. The remaining video stream corresponding to 32 [pixels] × 720 [pixels] is recorded in the video stream area without encoding the transport stream packet. When the tape thus recorded is reproduced on an ATV, only a portion corresponding to 448 [pixel] × 720 [pixel] is reproduced in a frame composed of 480 [pixel] × 720 [pixel]. In the case of playback in the DVC recorder according to the preferred embodiment of the present invention, one frame composed of 480 [pixels] × 720 [pixels] is completely played back.

상기 트랙배치부(120)의 출력은 에러정정 인코더(122)에 입력된다. 상기 에러정정 인코더(112)는 상기 트랙배치부(120)의 출력에 SD에서 제시하는 에러정정코드를 부가한다. 상기 에러정정 인코더(112)의 출력은 24/25변조기(124)에 입력되어 SD에서 제시하는 채널 코딩된다. 상기 채널 코딩된 데이타는 테이프 기록장치(도시하지 않았음)을 통하여 테이프에 기록된다.The output of the track arrangement unit 120 is input to the error correction encoder 122. The error correction encoder 112 adds an error correction code presented by the SD to the output of the track arrangement 120. The output of the error correction encoder 112 is input to the 24/25 modulator 124 and channel coded by the SD. The channel coded data is recorded on the tape through a tape recorder (not shown).

상기 테이프로부터 독출된 정보를 인트라 프레임 복호화하여 재생하여 출력하는 비디오 정보 재생부(200)의 블럭구성도를 도시한 도 11을 참조하면, 테이프 재생장치(도시하지 않았음)으로부터 제공되는 재생신호는 24/25복조기(202)에 입력되어 채널디코딩된다. 상기 24/25복조기(202)의 출력은 에러정정 디코더(204)에 입력된다. 상기 에러정정 디코더(204)는 상기 24/25복조기(202)의 출력을 에러정정 디코딩하며, 그 에러정정 인코드시에 부가하였던 에러정정 정보를 제거하여 출력한다. 상기 에러정정 디코더(204)의 출력은 트랙데이타 추출부(206)에 제공되며, 상기 트랙데이타 추출부(206)는 정상플레이시에는 비디오 스트림영역에 기록되었던 정보를 추출하여 멀티플랙서(210)에 제공하고, 비디오 트랜스포트 스트림 패킷영역에서 정상플레이에 대한 트랜스포트 스트림 패킷이 기록되었던 정보를 추출하여 트랜스포트 패킷 디코더(208)에 제공한다. 그리고 상기 트랙데이타 추출부(206)는 TPH시에는 TPH 트랜스포트 스트림 패킷영역에 기록되었던 정보를 트랜스포트 패킷 디코더(208)에 제공하고, TPL시에는 TPL 트랜스포트 스트림 패킷영역에 기록되었던 정보를 트랜스포트 패킷 디코더(208)에 제공한다. 그리고 상기와 같은 데이타는 외부 출력을 위하여 외부로도 출력한다.Referring to FIG. 11, which shows a block diagram of a video information reproducing unit 200 for intraframe decoding, reproducing and outputting information read from the tape, a reproduction signal provided from a tape reproducing apparatus (not shown) Input to the 24/25 demodulator 202 is channel decoded. The output of the 24/25 demodulator 202 is input to an error correction decoder 204. The error correction decoder 204 error corrects and decodes the output of the 24/25 demodulator 202, and removes and outputs error correction information added during the error correction encoding. The output of the error correction decoder 204 is provided to the track data extracting unit 206. The track data extracting unit 206 extracts the information recorded in the video stream area during normal play and multiplexer 210. Information in which the transport stream packet for normal play is recorded in the video transport stream packet region is extracted and provided to the transport packet decoder 208. The track data extracting unit 206 transmits the information recorded in the TPH transport stream packet region to the transport packet decoder 208 at the time of TPH, and transmits the information recorded in the TPL transport stream packet region to the TPL. To the port packet decoder 208. And such data is also output to the outside for external output.

상기 트랜스포트 패킷 디코더(208)는 입력되는 정보를 트랜스포트 패킷 디코딩하여 멀티플랙서(210)에 제공한다. 상기 멀티플랙서(210)는 정상플레이시에는 상기 트랜스포트 패킷 디코더(208)의 출력과 트랙데이타 추출부(206)가 제공하는 데이타를 먹싱하여 가변장 복호화부(21)에 제공하고, TPH 또는 TPL시에는 트랜스포트 스트림 디코더(208)의 출력을 그대로 가변장 복호화부(212)에 제공한다. 상기 가변장 복호화부(212)는 도 1의 가변장 부호화부(114)가 사용하였던 테이블을 사용하여 가변장 복호화한다. 상기 가변장 복호화부(212)의 출력은 역양자화부(214)에 제공된다. 역양자화부(214)는 상기 가변장 복호화부(212)의 출력을 역양자화한 후에 역 DCT부(216)에 제공한다. 상기 역DCT부(216)는 상기 역양자화부(214)의 출력에 대하여 역DCT를 취하여 4:2:0 포맷의 Y:Cb:Cr를 출력한다. 상기 4:2:0 포맷의 Y:Cb:Cr은 후처리부(218)에 입력되어 4:2:2 포맷의 Y:Cb,Cr로 출력된다.The transport packet decoder 208 transmits the received information to the multiplexer 210 by decoding the transport packet. In the normal play, the multiplexer 210 muxes the output of the transport packet decoder 208 and the data provided by the track data extractor 206 and provides it to the variable length decoder 21, and the TPH or In TPL, the output of the transport stream decoder 208 is directly provided to the variable length decoder 212. The variable length decoder 212 performs variable length decoding using a table used by the variable length encoder 114 of FIG. 1. The output of the variable length decoder 212 is provided to the inverse quantizer 214. The inverse quantization unit 214 inversely quantizes the output of the variable length decoder 212 and provides the inverse DCT unit 216. The inverse DCT unit 216 takes inverse DCT with respect to the output of the inverse quantization unit 214 and outputs Y: Cb: Cr in 4: 2: 0 format. The 4: 2: 0 format Y: Cb: Cr is input to the post processor 218 and output as Y: Cb, Cr in 4: 2: 2 format.

상술한 바와 같이 본 발명은 앰펙 2 부호화방식으로 비디오 정보를 압축부호화하여 기록하는 장치에 있어서, 상기 비디오 정보를 인트라 프레임 부호화방식으로만 압축부호화하도록 한다. 따라서 인터 프레임 부호화방식을 사용하지 않게 되고, 이에따라 하드웨어를 단순하게 할 수 있으며, 프레임 단위의 편집이 가능하게 된다. 또한 상기 비디오 정보를 기록함에 있어서 종래의 ATV에 재생가능하도록 하기 위하여 ATV 테이프 포맷에 따라 기록한다.As described above, according to the present invention, in the apparatus for compressing and recording video information using the MPEG-2 encoding method, the video information is compressed and encoded only using the intra frame encoding method. Therefore, the interframe coding method is not used, and thus hardware can be simplified and frame-by-frame editing can be performed. Further, in recording the video information, recording is made according to the ATV tape format in order to be reproducible to a conventional ATV.

상술한 바와 같이 본 발명은 앰펙-2 부호화방식에 따라 비디오 정보를 압축부호화하여 기록하여도 프레임단위로 편집가능하도록 하는 이점이 있다. 또한 인터 프레임 부호화를 생략하여 제품의 원가를 절감시키는 이점이 있다. 또한 본 발명의 DVC 레코더가 기록한 비디오 정보가 ATV 비디오 카세트 레코더에서 재생가능하도록 하는 이점이 있다.As described above, the present invention has the advantage that the video information can be edited frame by frame even if the video information is compressed and recorded according to the Amppe-2 coding method. In addition, there is an advantage of reducing the cost of the product by omitting inter-frame coding. In addition, there is an advantage that video information recorded by the DVC recorder of the present invention can be reproduced in an ATV video cassette recorder.

Claims (8)

비디오 정보 기록방법에 있어서,In the video information recording method, 비디오 정보를 입력받아 인트라 프레임 부호화하는 과정과,Receiving the video information and performing intra frame encoding; 상기 인트라 프레임 부호화된 비디오 정보를 트랜스포트 스트림 인코딩하여 트랜스포트 스트림으로 변환하는 과정과,Converting the intra frame encoded video information into a transport stream by transport stream encoding; 상기 트랜스포트 스트림을 기록매체에 기록하는 과정으로 이루어짐을 특징으로 하는 비디오 정보 기록방법.And recording the transport stream on a recording medium. 비디오 정보 재생방법에 있어서,In the video information playback method, 인트라 프레임 부호화된 비디오 정보에 대한 트랜스포트 스트림이 기록되어 있는 기록매체에서 그 비디오 정보를 독출하는 과정과,Reading the video information from a recording medium on which a transport stream for the intra frame encoded video information is recorded; 상기 독출한 비디오 정보를 트랜스포트 스트림 디코딩하여 인트라 프레임 부호화된 비디오 정보로서 변환하는 과정과,Transport-stream decoding the read video information and converting the read video information into intra-frame coded video information; 상기 인트라 프레임 부호화된 비디오 정보를 인트라 프레임 복호화하여 재생하는 과정으로 이루어짐을 특징으로 하는 비디오 정보 기록방법.And performing intra frame decoding on the intra frame encoded video information to reproduce the intra frame encoded video information. 비디오 정보 기록 및 재생장치에 있어서,In the video information recording and playback apparatus, 입력되는 비디오 정보를 인트라 프레임 부호화하여 비디오 스트림으로서 출력하는 인트라 프레임 부호화부와,An intra frame encoder for intra frame encoding the input video information and outputting the same as a video stream; 상기 인트라 프레임 부호화부의 출력을 입력받아 트랜스포트 스트림으로 인코딩하는 트랜스포트 스트림 인코더와,A transport stream encoder for receiving an output of the intra frame encoder and encoding the output stream into a transport stream; 상기 트랜스포트 스트림 인코더의 출력을 기록매체에 기록하거나, 상기 기록매체에 기록되어 있는 정보를 독출하여 출력하는 기록 및 독출장치와,A recording and reading device for recording the output of the transport stream encoder on a recording medium or reading and outputting information recorded on the recording medium; 상기 기록 및 독출장치가 상기 기록매체에서 독출한 정보를 제공받아 트랜스포트 스트림 디코딩하는 트랜스포트 스트림 디코더와,A transport stream decoder configured to receive information read from the recording medium by the recording and reading device and to decode the transport stream; 상기 트랜스포트 스트림 디코더의 출력을 인트라 프레임 복호화하여 재생하는 트랜스포트 스트림 디코더로 구성됨을 특징으로 하는 비디오 정보 기록 및 재생장치.And a transport stream decoder configured to intraframe decode and output the output of the transport stream decoder. 디지탈 비디오 카세트 레코더에 있어서,In a digital video cassette recorder, 휘도정보와 색차정보들로 구성되는 비디오 정보를 입력받아 색차정보에 대해 수직다운샘플링하는 전처리부와,A preprocessing unit which receives video information including luminance information and color difference information and vertically downsamples the color difference information; 상기 전처리부의 출력을 입력받아 인트라 프레임 부호화하는 인트라 프레임 부호화부와,An intra frame encoder for receiving an output of the preprocessor and performing intra frame encoding; 상기 인트라 프레임 부호화부의 출력과 오디오 데이타를 입력받아 트랜스포트 스트림 인코딩하는 트랜스포트 스트림 인코더와,A transport stream encoder for receiving an output of the intra frame encoder and audio data and encoding the transport stream; 상기 트랜스포트 스트림 인코더의 출력을 테이프의 트랙에 기록하기 위하여 그 포맷에 맞추어 배치하는 트랙배치부와,A track arrangement unit arranged in accordance with the format for recording the output of the transport stream encoder on a track of a tape; 상기 트랙배치부의 출력을 에러정정하는 에러정정 디코더와,An error correction decoder for error correcting the output of the track arrangement; 상기 에러정정 디코더의 출력을 채널코딩하는 채널코딩부와,A channel coding unit for channel coding the output of the error correction decoder; 상기 채널코딩부로부터의 출력을 테이프에 기록하고, 테이프에 기록되어 있는 정보를 독출하는 기록 및 독출장치와,A recording and reading apparatus for recording the output from the channel coding section onto a tape and reading out information recorded on the tape; 상기 기록 및 독출장치의 출력을 채널디코딩하는 채널디코딩부와,A channel decoder for channel decoding the output of the recording and reading device; 상기 채널디코딩부의 출력을 에러정정 디코딩하는 에러정정 디코더와,An error correction decoder for error correction decoding the output of the channel decoding unit; 상기 에러정정 디코더의 출력에서 비디오 정보에 대한 것만을 추출하는 트랙데이타 추출부와,A track data extraction unit for extracting only video information from an output of the error correction decoder; 상기 트랙데이타 추출부의 출력을 입력받아 트랜스포트 스트림 디코딩하는 트랜스포트 스트림 디코더와,A transport stream decoder for receiving the output of the track data extracting unit and decoding the transport stream; 상기 트랜스포트 스트림 디코더의 출력을 입력받아 인트라 프레임 복호화하는 인트라 프레임 복호화부와,An intra frame decoder for receiving an output of the transport stream decoder and performing intra frame decoding; 상기 인트라 프레임 복호화부의 출력을 입력받아 후처리하여 출력하는 후처리부로 구성됨을 특징으로 하는 디지탈 비디오 카세트 레코더.And a post-processing unit which receives the output of the intra frame decoder and post-processes and outputs the post-processing unit. 제4항에 있어서, 상기 인트라 프레임 부호화부는;The apparatus of claim 4, wherein the intra frame encoder; 상기 전처리부의 출력을 매크로 블럭단위로 이산여현변환하는 이산여현변환부와,A discrete cosine transforming unit for converting the output of the preprocessing unit in macroblock units; 상기 전처리부의 출력을 입력받아 복잡도를 계산하는 복잡도 계산부와,A complexity calculator for calculating the complexity by receiving the output of the preprocessor; 상기 복잡도 계산부의 출력으로 양자화 스텝을 결정하는 매크로 블럭 양자화 스텝결정부와,A macroblock quantization step determination unit for determining a quantization step as an output of the complexity calculator; 상기 이산여현변환부의 출력을 매크로 블럭 양자화 스텝결정부가 결정한 양자화 스텝에 따라 양자화하는 양자화부와,A quantization unit for quantizing the output of the discrete cosine transform unit according to the quantization step determined by the macroblock quantization step determination unit; 상기 양자화부의 출력을 가변자 부호화부의 출력을 가변장 부호화하는 가변장 부호화부와,A variable length encoder for variable length encoding the output of the quantizer, 상기 가변자 부호화부의 출력을 입력받아 상기 양자화 스텝을 결정하도록 상기 매크로 블럭 양자화 스텝 결정부를 제어하는 양자화 스텝 조정부로 구성됨을 특징으로 하는 디지탈 비디오 카세트 레코더.And a quantization step adjuster which controls the macroblock quantization step determiner to receive the output of the variable coder and determine the quantization step. 제4항에 있어서, 상기 인트라 프레임 복호화부는;The apparatus of claim 4, wherein the intra frame decoder comprises: an intra frame decoder; 상기 트랜스포트 스트림 디코더의 출력을 입력받아 가변장 복호화하는 가변장 복호화부와,A variable length decoder for variable length decoding receiving the output of the transport stream decoder; 상기 가변장 복호화부의 출력을 입력받아 역양자화하는 역양자화부와,An inverse quantizer for receiving the output of the variable length decoder and inverse quantization; 상기 역양자화부의 출력을 입력받아 역 이산여현변환하는 역 이산여현변환부로 구성됨을 특징으로 하는 디지탈 비디오 카세트 레코더.And an inverse discrete cosine converting unit configured to receive an output of the inverse quantization unit and perform inverse discrete cosine transform. 제4항에 있어서, 상기 포맷은;The method of claim 4, wherein the format is; 어드밴스드 텔레비젼 비디오 카세트 레코더의 테이프 기록 포맷임을 특징으로 하는 디지탈 비디오 카세트 레코더.A digital video cassette recorder characterized by being a tape recording format of an advanced television video cassette recorder. 디지탈 비디오 카세트 레코더에 있어서,In a digital video cassette recorder, 휘도정보와 색차정보들로 구성되는 비디오 정보를 입력받아 색차정보에 대해 수직다운샘플링하는 전처리부와,A preprocessing unit which receives video information including luminance information and color difference information and vertically downsamples the color difference information; 상기 전처리부의 출력을 입력받아 인트라 프레임 부호화하여 정상플레이 I프레임과 트릭플레이 I프레임으로 구성되는 I 프레임을 출력하는 인트라 프레임 부호화부와,An intra frame encoder which receives an output of the preprocessor and outputs an I frame consisting of a normal play I frame and a trick play I frame by performing intra frame encoding; 상기 I 프레임에서 트릭플레이 I 프레임을 추출하는 트릭플레이 데이타 추출부와,A trick play data extraction unit for extracting a trick play I frame from the I frame; 상기 정상플레이 I프레임중 미리 정한 부분에 대한 비디오 스트림과 트릭플레이 I 프레임을 트랜스포트 스트림으로 인코딩하는 트랜스포트 스트림 인코더와,A transport stream encoder for encoding a video stream and a trick play I frame for a predetermined portion of the normal play I frame into a transport stream; 상기 정상플레이 I프레임에 대한 트랜스포트 스트림과 트릭플레이 I프레임에 대한 트랜스포트 스트림을 테이프의 트랙에 기록하기 위하여 배치하는 트랙배치부와,A track arrangement unit arranged to record the transport stream for the normal play I frame and the transport stream for the trick play I frame on a track of a tape; 상기 트랙배치부의 출력을 에러정정하는 에러정정 디코더와,An error correction decoder for error correcting the output of the track arrangement; 상기 에러정정 디코더의 출력을 채널코딩하는 채널코딩부와,A channel coding unit for channel coding the output of the error correction decoder; 상기 채널코딩부로부터의 출력을 테이프에 기록하고, 테이프에 기록되어 있는 정보를 독출하는 기록 및 독출장치와,A recording and reading apparatus for recording the output from the channel coding section onto a tape and reading out information recorded on the tape; 상기 기록 및 독출장치의 출력을 채널디코딩하는 채널디코딩부와,A channel decoder for channel decoding the output of the recording and reading device; 상기 채널디코딩부의 출력을 에러정정 디코딩하는 에러정정 디코더와,An error correction decoder for error correction decoding the output of the channel decoding unit; 상기 에러정정 디코더의 출력에서 정상플레이 I프레임중 미리 정한 부분에 대한 트랜스포트 스트림과, 트릭플레이 I프레임에 대한 트랜스포트 스트림과 상기 정상플레이 I프레임중 미리 정한 부분이외의 부분에 대한 비디오 스트림을 추출하는 트랙데이타 추출부와,From the output of the error correction decoder, a transport stream for a predetermined portion of the normal play I frame, a transport stream for the trick play I frame, and a video stream for a portion other than the predetermined portion of the normal play I frame are extracted. A track data extraction section, 상기 정상플레이할 때에는 상기 트랙데이타 추출부로부터 정상플레이 I프레임중 미리 정한 부분에 대한 트랜스포트 스트림을 제공받아 트랜스포트 스트림 디코딩을 수행하고, 트릭플레이할 때에는 상기 트랙데이타 추출부로부터 트릭플레이 I프레임에 대한 트랜스포트 스트림을 제공받아 트랜스포트 스트림 디코딩하는 트랜스포트 스트림 디코더와,In the normal play, the track data extracting unit receives a transport stream for a predetermined portion of the normal play I frames from the track data extracting unit, and decodes the transport stream. A transport stream decoder for receiving a transport stream for the transport stream and decoding the transport stream; 상기 정상플레이할 때에는 상기 트랜스포트 스트림 디코더로부터 정상플레이 I프레임중 미리 정한 부분에 대한 비디오 스트림과 상기 정상플레이 I프레임중 미리 정한 부분이외의 부분에 대한 비디오 스트림을 먹싱하여 출력하고, 트릭플레이할 때에는 상기 트랜스포트 스트림 디코더로부터 트릭플레이 I프레임을 제공받아 출력하는 멀티플랙서와,In normal play, the transport stream decoder muxes and outputs a video stream for a predetermined portion of the normal play I frame and a video stream for a portion other than a predetermined portion of the normal play I frame. A multiplexer for receiving and outputting a trick play I frame from the transport stream decoder; 상기 멀티플랙서의 출력을 입력받아 인트라 프레임 복호화하는 인트라 프레임 복호화부와,An intra frame decoder which receives the output of the multiplexer and decodes the intra frame; 상기 인트라 프레임 복호화부의 출력을 입력받아 후처리하여 출력하는 후처리부로 구성됨을 특징으로 하는 디지탈 비디오 카세트 레코더.And a post-processing unit which receives the output of the intra frame decoder and post-processes and outputs the post-processing unit.
KR1019970070427A 1997-12-19 1997-12-19 Method and apparatus of recording and playing video data and digital video cassette recorder KR100268489B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970070427A KR100268489B1 (en) 1997-12-19 1997-12-19 Method and apparatus of recording and playing video data and digital video cassette recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970070427A KR100268489B1 (en) 1997-12-19 1997-12-19 Method and apparatus of recording and playing video data and digital video cassette recorder

Publications (2)

Publication Number Publication Date
KR19990051152A KR19990051152A (en) 1999-07-05
KR100268489B1 true KR100268489B1 (en) 2000-10-16

Family

ID=19527798

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970070427A KR100268489B1 (en) 1997-12-19 1997-12-19 Method and apparatus of recording and playing video data and digital video cassette recorder

Country Status (1)

Country Link
KR (1) KR100268489B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3557371B2 (en) * 1999-07-15 2004-08-25 松下電器産業株式会社 AV decoder control method and AV decoder control device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970073169A (en) * 1996-04-23 1997-11-07 배순훈 APPARATUS FOR CODING INTRA-FRAME AND METHOD THEREOF

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970073169A (en) * 1996-04-23 1997-11-07 배순훈 APPARATUS FOR CODING INTRA-FRAME AND METHOD THEREOF

Also Published As

Publication number Publication date
KR19990051152A (en) 1999-07-05

Similar Documents

Publication Publication Date Title
KR0170298B1 (en) A recording method of digital video tape
KR960002730B1 (en) High efficiency coding signal processing apparatus
EP1296521B1 (en) Apparatus and method for video information recording/reproducing
US6516034B2 (en) Stream processing apparatus and method
KR100676093B1 (en) Video data recording apparatus, video data recording method, video data reproducing apparatus, video data reproducing method, video data recording and reproducing apparatus, and video data recording and reproducing method
US5786858A (en) Method of encoding image signal, apparatus for encoding image signal, method of decoding image signal, apparatus for decoding image signal, and image signal recording medium
US7536080B2 (en) Signal processing apparatus
JPH089319A (en) Method and device for recording and device for reproducing digital video signal
JPH0998429A (en) Digital video signal encoding device and decoding device therefor
JP3921841B2 (en) Signal processing apparatus and method, and recording apparatus, reproducing apparatus, and recording / reproducing apparatus
JP3277713B2 (en) Digital video signal recording device, recording / reproducing device, and reproducing device
JP3911035B2 (en) Moving picture coding method and moving picture coding apparatus
KR100397241B1 (en) Image data recording apparatus and reproducing apparatus and method thereof
JP3852366B2 (en) Encoding apparatus and method, decoding apparatus and method, and program
KR100739262B1 (en) Recording apparatus and method, and reproducing apparatus and method
JPH08256308A (en) Method for arranging and restoring bit stream in digital video tape recorder and data compressing apparatus and decompressing apparatus suitable therefor
JPH09168148A (en) Dynamic image coding method and device and recording medium
KR100268489B1 (en) Method and apparatus of recording and playing video data and digital video cassette recorder
CA2267830C (en) Data conversion method and apparatus and signal recording and reproduction apparatus utilizing same
KR100195074B1 (en) Method for recording moving picture data
KR100251930B1 (en) Apparatus for recording and reproducing video data
JP3112532B2 (en) Variable length code recording / reproducing apparatus and its recording / reproducing method
JP3381630B2 (en) Data generation method
JP3687458B2 (en) Compression decoding method and compression decoding apparatus
JP3307163B2 (en) Encoding method and encoding device, and decoding method and decoding device

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: 20080627

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee