KR20070050708A - Method for processing image data in mpeg-2 ts in order to not occurring blue screen and digital multimedia broadcasting receiver thereof - Google Patents
Method for processing image data in mpeg-2 ts in order to not occurring blue screen and digital multimedia broadcasting receiver thereof Download PDFInfo
- Publication number
- KR20070050708A KR20070050708A KR1020050108251A KR20050108251A KR20070050708A KR 20070050708 A KR20070050708 A KR 20070050708A KR 1020050108251 A KR1020050108251 A KR 1020050108251A KR 20050108251 A KR20050108251 A KR 20050108251A KR 20070050708 A KR20070050708 A KR 20070050708A
- Authority
- KR
- South Korea
- Prior art keywords
- value
- transport stream
- dts
- stream packet
- received
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4305—Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4343—Extraction or processing of packetized elementary streams [PES]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04H—BROADCAST COMMUNICATION
- H04H2201/00—Aspects of broadcast communication
- H04H2201/10—Aspects of broadcast communication characterised by the type of broadcast system
- H04H2201/11—Aspects of broadcast communication characterised by the type of broadcast system digital multimedia broadcasting [DMB]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
디지털 멀티미디어 방송 수신 장치에서 수신된 트랜스포트 스트림에 포함된 영상 데이터를 디코딩하는 방법은 수신된 트랜스포트 스트림 패킷에 대한 DTS(Decoding Time Stamp)값이 PCR(Presentation Clock Reference)값 이하인지 체크하는 과정, 상기 DTS값이 PCR값 이하이면, 상기 수신된 트랜스포트 스트림 패킷에 대한 CC(Continuity Counter)값이 이전 수신된 동일 PID(Packet Identifier)값을 가지는 트랜스포트 스트림 패킷에 대한 CC값보다 하나 증가했는지 체크하는 과정, 상기 수신된 트랜스포트 스트림 패킷에 대한 CC값이 이전 수신된 트랜스포트 스트림 패킷에 대한 CC값보다 하나 증가했으면, 이전에 디스플레이된 적어도 두 개 이상의 영상 프레임에 대한 DTS값들의 증가량에 근거해서 새로운 DTS값을 추정하여 상기 수신된 트랜스포트 스트림 패킷에 대한 DTS값을 상기 추정된 DTS값으로 교체하는 과정, 및 상기 PCR값이 상기 교체된 DTS값이 되면, 상기 수신된 트랜스포트 스트림 패킷에 포함된 영상 데이터를 디코딩하는 과정을 포함함을 특징으로 한다.A method of decoding image data included in a transport stream received by a digital multimedia broadcasting receiver includes checking whether a decoding time stamp (DTS) value of a received transport stream packet is equal to or less than a presentation clock reference (PCR) value, If the DTS value is less than or equal to the PCR value, it is checked whether the continuity counter (CC) value for the received transport stream packet is increased by one more than the CC value for the transport stream packet having the same PID (Packet Identifier) value previously received. And if the CC value for the received transport stream packet is increased by one than the CC value for the previously received transport stream packet, based on an increase amount of DTS values for at least two or more image frames displayed previously. Estimate a new DTS value to estimate the DTS value for the received transport stream packet. Replacing with a DTS value, and decoding the video data included in the received transport stream packet when the PCR value becomes the replaced DTS value.
PCR, DTS, PTS, 디지털 멀티미디어 방송, MPEG-2 TS PCR, DTS, PTS, Digital Multimedia Broadcasting, MPEG-2 TS
Description
도 1은 ISO/IEC 13818-1에서 정의한 디코더 시스템의 구성도,1 is a configuration diagram of a decoder system defined in ISO / IEC 13818-1;
도 2는 본 발명의 바림직한 실시예에 따른 디지털 멀티미디어 방송 수신 장치의 구성을 나타낸 블록도,2 is a block diagram showing the configuration of a digital multimedia broadcasting receiving apparatus according to a preferred embodiment of the present invention;
도 3은 도 2의 디지털 멀티미디어 방송 수신 장치에서 수신된 TS 패킷을 디코딩 및 디스플레이하는 과정에 대한 흐름도.3 is a flowchart illustrating a process of decoding and displaying a received TS packet in the digital multimedia broadcasting receiving apparatus of FIG. 2.
본 발명은 디지털 멀티미디어 방송에 관한 것으로, 특히 트랜스포트 스트림에 포함된 영상 데이터를 처리하는 방법과 그에 따른 디지털 멀티미디어 방송 수신 장치에 관한 것이다.The present invention relates to digital multimedia broadcasting, and more particularly, to a method for processing image data included in a transport stream, and a digital multimedia broadcasting receiving apparatus.
위성 디지털 멀티미디어 방송에서는 한정된 대역폭과 전송 속도를 가지는 채 널에서 영상 데이터를 전송할 수 있도록 효율적으로 압축하는 H.264 영상 압축 기술과 멀티미디어 데이터를 효율적으로 전송하기 위한 MPEG-2 TS(Moving Picture Experts Group-2 Transport Stream)전송 기술이 이용된다. 즉, 위성 디지털 멀티미디어 방송 송신단은 영상 데이터를 H.264 영상 압축 기술로 압축한 후에 인코딩을 해서 MPEG-2 TS 전송 기술로 멀티플렉싱하여 위성으로 전송한다. 위성을 통해서 멀티플렉싱된 MPEG-2 TS를 수신한 디지털 멀티미디어 방송 수신 장치는 이를 디멀티플렉싱을 한 후에 원하는 프로그램에 대한 MPEG-2 TS에서 추출한 영상 데이터를 디코딩을 하고 H.264로 압축된 것을 해제하여 디스플레이한다. MPEG-2 TS에서 추출한 영상 데이터를 디코딩하고 디스플레이하는 과정을 시간적인 측면에서 설명하면, 위성 디지털 멀티미디어 방송 송신단은 기준 클럭 PCR(Program Clock Reference)값을 TS 패킷 헤더에 삽입하고, DTS(Decoding Time Stamp)값과 PTS(Presentation Time Stamp)값을 PES(Packetized Elementary Stream) 패킷 헤더에 삽입한다. 디지털 멀티미디어 방송 수신 장치는 PCR값이 DTS값이 되는 시점에 해당 영상 데이터를 디코딩하고, PCR값이 PTS값이 되는 시점에 상기 디코딩된 영상 데이터를 디스플레이한다. 예를 들어, 디지털 멀티미디어 방송 수신 장치에 수신된 TS 패킷에 대한 PCR값이 100, DTS값이 200, PTS값이 300이라 가정하고, 도 1의 구성도를 참조하여 설명한다.In satellite digital multimedia broadcasting, H.264 video compression technology efficiently compresses video data in a channel having a limited bandwidth and transmission speed, and MPEG-2 TS (Moving Picture Experts Group) for efficiently transmitting multimedia data. 2 Transport Stream) A transport technique is used. That is, the satellite digital multimedia broadcasting transmitter compresses the video data using H.264 video compression technology, encodes the data, and multiplexes the data using the MPEG-2 TS transmission technology to transmit the data to the satellite. The digital multimedia broadcasting receiver receiving the multiplexed MPEG-2 TS through the satellite demultiplexes it, decodes the image data extracted from the MPEG-2 TS for the desired program, and decompresses the H.264 compressed display. do. In terms of time, the process of decoding and displaying video data extracted from the MPEG-2 TS, the satellite digital multimedia broadcasting transmitter inserts a reference clock PCR (Program Clock Reference) value into the TS packet header, and decodes the time stamp. ) And PTS (Presentation Time Stamp) values are inserted into a packetized elementary stream (PES) packet header. The digital multimedia broadcasting receiving apparatus decodes corresponding video data when the PCR value becomes the DTS value and displays the decoded video data when the PCR value becomes the PTS value. For example, it is assumed that a PCR value of 100, a DTS value of 200, and a PTS value of 300 for a TS packet received by a digital multimedia broadcasting receiver are described with reference to the configuration diagram of FIG. 1.
도 1은 ISO/IEC 13818-1에서 정의한 디코더 시스템의 구성도이다.1 is a block diagram of a decoder system defined in ISO / IEC 13818-1.
디지털 멀티미디어 방송 수신 장치에 포함되는 디코더 시스템의 TS 스트림 디패킷타이저(TS Stream Depacketizer)(10)는 수신된 TS 스트림에서 PES 패킷을 비 디오 PES 디패킷타이저(Video PES Depacketizer)(20)로 출력하고, TS 패킷 헤더에 삽입된 PCR값을 PCR 카운터(PCR Counter)(30)로 출력한다. 상기 PCR 카운터(30)는 PCR값 100을 카운팅시켜 비교부(60)로 출력한다. 상기 비디오 PES 디패킷타이저(20)는 PES 패킷의 헤더를 DTS/PTS 추출부(DTS/PTS Extractor)(40)로 출력하고, ES(Elementary Stream), 즉 디스플레이될 영상 데이터를 엘레멘터리 스트림 버퍼&디코더(Elementary Stream Buffer&Decoder)(50)에 버퍼링한다. 상기 DTS/PTS 추출부(40)는 PES 패킷 헤더로부터 DTS값과 PTS값을 추출하여 비교부(Comparator)(60)로 출력한다.The
상기 비교부(60)는 상기 PCR 카운터(30)로부터 입력받은 PCR값이 DTS값 200으로 되거나, PCR값 100이 PTS값 300으로 되면 그에 대한 각각의 신호를 디코딩/디스플레이 콘트롤부(Decoding,Display Control Block)(70)로 출력한다. 상기 디코딩/디스플레이 콘트롤부(70)는 상기 비교부(60)로부터 PCR값이 DTS값으로 된 것에 대한 신호를 입력받으면 상기 엘레멘터리 스트림 버터&디코더(50)에 버퍼링된 영상 데이터를 디코딩하여 디코디드 스트림 메모리(Decoded Stream Memory)(80)에 저장시킨다. 또한 상기 디코딩/디스플레이 콘트롤부(70)는 상기 비교부(60)로부터 PCR값이 PTS값으로 된 것에 대한 신호를 입력받으면 상기 디코디드 스트림 메모리(80)에 디코딩되어 저장된 영상 데이터를 디스플레이부(90)를 통해 디스플레이한다.When the PCR value input from the
일반적으로, 위성 디지털 멀티미디어 방송은 최소 초당 15개의 영상 프레임을 디스플레이하도록 되어 있다. 만약, 이것이 만족되지 않으면 시청자는 화면에서 끊김 현상을 인지하게 된다. 끊김없는 디지털 멀티미디어 방송을 제공하기 위해서 는 영상 프레임의 손실을 최소화해야 하는데, 이를 위해서 기본적으로 영상 데이터의 오류를 최소화해야 한다. 그러나 영상 데이터에 오류가 없을지라도 도 1의 디코더 시스템에서 영상 데이터를 디코딩하고 디스플레이할 때 이용되는 시간 정보인 PCR값, DTS값, 및 PTS값에 오류가 발생한다면 끊김 현상이 발생하게 된다. 또한 시간 정보의 오류는 최소 하나의 영상 프레임 또는 연속되는 더 많은 수의 영상 프레임의 손실을 가져 올 수 있으며 이것은 끊김 현상에 큰 영향을 미치게 된다.In general, satellite digital multimedia broadcasting is adapted to display a minimum of 15 image frames per second. If this is not satisfied, the viewer perceives a break in the screen. In order to provide seamless digital multimedia broadcasting, loss of video frames should be minimized. For this purpose, errors in video data should be minimized. However, even if there is no error in the image data, if an error occurs in the PCR value, the DTS value, and the PTS value, which are time information used when decoding and displaying the image data in the decoder system of FIG. In addition, errors in time information can result in the loss of at least one image frame or a larger number of successive image frames, which greatly affects the truncation phenomenon.
예를 들어, 디지털 멀티미디어 방송 송신단에서 PCR값이 100, DTS값이 200, PTS값이 300으로 된 TS 패킷을 전송했는데, 이를 디지털 멀티미디어 방송 수신 장치에서 수신하기 전에 오류가 생겨 DTS값이 80으로 변경됐다고 가정하자. 상기 수신되는 영상 데이터는 PCR값이 DTS값보다 크기 때문에 도 1의 디코더 시스템은 디코딩 시간이 지났다고 판단하여 상기 영상 데이터를 디코딩하지 않게 된다. 또한 PTS값의 경우도 상기와 같은 오류가 발생하면 영상 데이터는 디스플레이가 되지 않아서 화면 끊김 현상이 발생하게 된다.For example, a digital multimedia broadcasting transmitter transmits a TS packet with a PCR value of 100, a DTS value of 200, and a PTS value of 300, but an error occurs before the digital multimedia broadcasting receiver receives the DTS value. Suppose you got it. Since the received image data has a PCR value larger than the DTS value, the decoder system of FIG. 1 determines that the decoding time has passed and does not decode the image data. In addition, even in the case of the PTS value, if the above error occurs, the image data is not displayed and a screen break occurs.
따라서 본 발명의 목적은 디지털 멀티미디어 방송에서 수신된 트랜스포트 스트림에 포함된 영상 데이터를 화면 끊김 현상이 없도록 처리하는 방법과 그에 따른 디지털 멀티미디어 방송 수신 장치를 제공함에 있다.Accordingly, an object of the present invention is to provide a method for processing video data included in a transport stream received in a digital multimedia broadcasting so that there is no screen dropping, and a digital multimedia broadcasting receiving device accordingly.
상기한 목적을 달성하기 위한 본 발명의 디지털 멀티미디어 방송 수신 장치에서 수신된 트랜스포트 스트림에 포함된 영상 데이터를 디코딩하는 방법은 수신된 트랜스포트 스트림 패킷에 대한 DTS(Decoding Time Stamp)값이 PCR(Presentation Clock Reference)값 이하인지 체크하는 과정, 상기 DTS값이 PCR값 이하이면, 상기 수신된 트랜스포트 스트림 패킷에 대한 CC(Continuity Counter)값이 이전 수신된 동일 PID(Packet Identifier)값을 가지는 트랜스포트 스트림 패킷에 대한 CC값보다 하나 증가했는지 체크하는 과정, 상기 수신된 트랜스포트 스트림 패킷에 대한 CC값이 이전 수신된 트랜스포트 스트림 패킷에 대한 CC값보다 하나 증가했으면, 이전에 디스플레이된 적어도 두 개 이상의 영상 프레임에 대한 DTS값들의 증가량에 근거해서 새로운 DTS값을 추정하여 상기 수신된 트랜스포트 스트림 패킷에 대한 DTS값을 상기 추정된 DTS값으로 교체하는 과정, 및 상기 PCR값이 상기 교체된 DTS값이 되면, 상기 수신된 트랜스포트 스트림 패킷에 포함된 영상 데이터를 디코딩하는 과정을 포함함을 특징으로 한다.In the method for decoding the image data included in the transport stream received by the digital multimedia broadcasting receiver of the present invention for achieving the above object, the Decoding Time Stamp (DTS) value for the received transport stream packet is PCR (Presentation) Checking whether the value is equal to or less than a Clock Reference value, and if the DTS value is equal to or less than a PCR value, a transport stream having a continuity counter (CC) value for the received transport stream packet having the same PID (packet identifier) value previously received. Checking whether the CC value for the received transport stream packet is increased by one than the CC value for the previously received transport stream packet, if the CC value for the received transport stream packet is increased by one or more. Estimate the new DTS value based on the increase of the DTS values for the frame and Replacing the DTS value for the stream packet with the estimated DTS value, and if the PCR value becomes the replaced DTS value, decoding the image data included in the received transport stream packet. It features.
또한 디지털 멀티미디어 방송 수신 장치에서 수신된 트랜스포트 스트림에 포함된 영상 데이터를 디스플레이하는 방법은 수신된 트랜스포트 스트림 패킷에 대한 PTS(Presentation Time Stamp)값이 DTS값 이하인지 체크하는 과정, 상기 PTS값이 DTS값 이하이면, 상기 수신된 트랜스포트 스트림 패킷에 대한 CC값이 이전 수신된 동일 PID값을 가지는 트랜스포트 스트림 패킷에 대한 CC값보다 하나 증가했는지 체크하는 과정, 상기 수신된 트랜스포트 스트림 패킷에 대한 CC값이 이전 수신된 트랜스포트 스트림 패킷에 대한 CC값보다 하나 증가했으면, 이전에 디스플레이된 적어도 두 개 이상의 영상 프레임에 대한 PTS값들의 증가량에 근거해서 새로운 PTS값을 추정하여 상기 수신된 트랜스포트 스트림 패킷에 대한 PTS값을 상기 추정된 PTS 값으로 교체하는 과정, 및 상기 수신된 트랜스포트 스트림 패킷에 대한 PCR값이 상기 교체된 PTS값이 되면, 상기 수신된 트랜스포트 스트림 패킷에 포함되어 디코딩이 완료된 영상 데이터를 디스플레이하는 과정을 포함함을 특징으로 한다.In addition, the method for displaying the video data included in the transport stream received by the digital multimedia broadcasting receiving apparatus checks whether the PTS (Presentation Time Stamp) value for the received transport stream packet is less than the DTS value, the PTS value is Checking whether the CC value for the received transport stream packet is increased by one more than the CC value for the transport stream packet having the same PID value as previously received, and for the received transport stream packet. If the CC value is increased by one than the CC value for the previously received transport stream packet, the received transport stream is estimated by estimating a new PTS value based on an increase amount of PTS values for at least two or more image frames displayed previously. Replacing the PTS value for the packet with the estimated PTS value, and receiving And if the PCR value for the transport stream packet is the replaced PTS value, displaying the video data included in the received transport stream packet and having been decoded.
또한 디지털 멀티미디어 방송 수신 장치는 수신된 트랜스포트 스트림 패킷에 대한 PCR값이 DTS값 이하인 (a)원인과 상기 DTS값이 PTS값 이하인 (b)원인 중 어느 하나라도 발생되는 경우, 상기 수신된 트랜스포트 스트림 패킷에 대한 CC값이 이전 수신된 동일 PID값을 값을 가지는 트랜스포트 스트림 패킷에 대한 CC값보다 하나 증가했으면 오류발생을 알리는 오류 판별부, 이전에 디스플레이된 적어도 두 개 이상의 영상 프레임에 대한 DTS값들과 PTS값들 각각의 증가량에 근거해서 새로운 DTS값과 PTS값을 추정하는 추정부, 상기 오류 판별부를 통해서 오류발생을 감지하면, 오류발생의 원인이 (a)인 경우 상기 수신된 트랜스포트 스트림 패킷에 대한 DTS값을 상기 추정부를 통해서 추정된 새로운 DTS값으로 교체하고, 오류발생의 원인이 (b)인 경우 상기 수신된 트랜스포트 스트림 패킷에 대한 PTS값을 상기 추정부를 통해서 추정된 새로운 PTS값으로 교체하는 제어부, 및 상기 수신된 트랜스포트 스트림 패킷에 대한 PCR값이 상기 제어부에 의해 교체된 DTS값이 되면 상기 수신된 트랜스포트 스트림 패킷에 포함된 영상 데이터를 디코딩하고, 상기 PCR값이 상기 교체된 PTS값이 되면 디코딩된 영상 데이터를 디스플레이하는 재생부를 포함함을 특징으로 한다.In addition, the digital multimedia broadcasting reception apparatus, if any one of (a) cause of the PCR value of the received transport stream packet is less than the DTS value and (b) cause of the DTS value is less than the PTS value, the received transport Error determination unit for notifying the occurrence of an error if the CC value for the stream packet is increased by one than the CC value for the transport stream packet having the same PID value previously received, and the DTS for at least two or more image frames displayed before An estimator for estimating a new DTS value and a PTS value based on an increase amount of each of the values and the PTS values, and if the error occurrence is detected through the error determination unit, if the cause of the error is (a), the received transport stream packet Replace the DTS value with the new DTS value estimated through the estimator, and if the cause of error is (b), A control unit for replacing a PTS value for a stream stream packet with a new PTS value estimated through the estimator, and if the PCR value for the received transport stream packet becomes a DTS value replaced by the control unit, the received transport And a reproduction unit for decoding the image data included in the stream packet and displaying the decoded image data when the PCR value becomes the replaced PTS value.
이하, 본 발명의 바람직한 실시예들을 첨부한 도면을 참조하여 상세히 설명한다. 또한 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, detailed descriptions of well-known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.
도 2는 본 발명의 바림직한 실시예에 따른 디지털 멀티미디어 방송 수신 장치의 구성을 나타낸 블록도이다.2 is a block diagram showing the configuration of a digital multimedia broadcasting receiving apparatus according to a preferred embodiment of the present invention.
도 2는 디지털 멀티미디어 방송 수신 장치에 포함되는 디코더 시스템의 구성도로써 TS 스트림 디패킷타이저(100)는 수신된 TS 스트림에서 PES 패킷을 비디오 PES 디패킷타이저(110)로 출력하고, TS 패킷 헤더에 삽입된 PCR값을 PCR 카운터(120)로 출력한다. 또한 상기 TS 스트림 디패킷타이저(100)는 TS 패킷 헤더에 삽입된 CC(Continuity Counter)값을 오류판별부(130)로 출력한다. 상기 CC값은 동일한 PID(Packet Identifier)값을 가지는 TS 패킷 한 개당 연속적으로 하나씩 증가하는 값으로써 TS 패킷 헤더에 삽입된다. CC값은 유료 부하, 즉 영상 데이터가 없는 TS패킷일 경우(adaptation_field_control값이 00 또는 01인 경우)에는 증가하지 않는다. 상기 PCR 카운터(120)는 PCR값을 카운팅시켜 상기 오류판별부(130)로 출력한다. 2 is a block diagram of a decoder system included in a digital multimedia broadcasting receiving apparatus. The
상기 비디오 PES 디패킷타이저(110)는 PES 패킷의 헤더를 DTS/PTS 추출부(140)로 출력하고, ES(Elementary Stream), 즉 디스플레이될 영상 데이터를 엘레멘터리 스트림 버퍼&디코더(150)에 버퍼링한다. 디코디드 스트림 메모리(160)는 상기 엘레멘터리 스트림 버퍼&디코더(150)에 버퍼링된 영상 데이터가 디코딩되어 저장되며, 제어부(170)의 제어에 따라 디코딩된 영상 데이터를 디스플레이부(180)로 출력 하여 디스플레이시킨다. 상기 엘레멘터리 스트림 버퍼&디코더(150)와 디코디드 스트림 메모리(160)는 본 발명에 있어서 재생부에 포함된다.The
상기 DTS/PTS 추출부(140)는 PES 패킷 헤더로부터 DTS값과 PTS값을 추출하여 상기 오류판별부(130)로 출력한다. 오류판별부(130)는 상기 PCR 카운터(120)로부터 입력받은 PCR값이 DTS값으로 되거나, PCR값이 PTS값으로 되면 그에 대한 각각의 신호를 상기 제어부(170)로 출력한다. 또한 상기 오류판별부(130)는 PCR값이 DTS값 이하로 체크되면, 상기 TS 스트림 디패킷타이저(100)로부터 입력받은 CC값이 이전 수신된 동일 PID값을 가지는 TS 패킷에 대한 CC값보다 하나 증가했는지 확인한다. 상기 오류판별부(130)는 상기 TS 스트림 디패킷타이저(100)로부터 입력받은 CC값이 이전 수신된 동일 PID값을 가지는 TS 패킷에 대한 CC값보다 하나 증가했으면 오류발생을 알리는 신호를 상기 제어부(170)로 출력한다. CC값이 하나 증가했다는 것은 TS 패킷이 정확한 순서대로 수신됐음을 나타내므로, 상기 오류판변부(130)는 TS 패킷 자체에는 오류가 없고, 시간 정보인 DTS값에 오류가 발생했다고 판단하여 이에 대한 신호를 상기 제어부(170)로 출력하는 것이다. 또한 상기 오류판별부(130)는 PTS값이 DTS값 이하로 체크될 경우에도, 상기 TS 스트림 디패킷타이저(100)로부터 입력받은 CC값이 이전 수신된 동일 PID값을 가지는 TS 패킷에 대한 CC값보다 하나 증가했는지 확인한다. 상기 오류판별부(130)는 상기 TS 스트림 디패킷타이저(100)로부터 입력받은 CC값이 이전 수신된 동일 PID값을 가지는 TS 패킷에 대한 CC값보다 하나 증가했으면 오류발생을 알리는 신호를 상기 제어부(170)로 출력한다. The DTS /
추정부(190)는 이전에 디스플레이된 적어도 두 개 이상의 영상 프레임에 대 한 DTS값들과 PTS값들의 증가량에 근거해서 새로운 DTS값과 PTS값을 추정한다. 새로운 DTS값과 PTS값을 추정하기 위해서는 일정 공간의 메모리가 필요한데, 상기 추정부(190)는 새로운 DTS값을 추정하기 위한 메모리를 상기 엘레멘터리 스트림 버퍼&디코더(150)에서 할당한다. 또한 상기 추정부(190)는 새로운 PTS값을 추정하기 위한 메모리를 상기 디코디드 스트림 메모리(160)에서 할당한다. 일반적으로 위성 디지털 멀티미디어 방송의 표준에 따르면 디지털 멀티미디어 방송 수신 장치는 방송을 디스플레이하기 전 최소한 3개의 영상 프레임을 버퍼링하도록 되어 있다. 따라서 상기 추정부(190)는 이것에 근거하여 새로운 DTS값과 PTS값을 추정할 수 있다. 새로운 DTS값을 추정하는 예를 들면, 상기 추정부(190)는 상기 수신된 TS 패킷, 즉 현재 수신된 TS 패킷이 디코딩되기 전에 이미 디코딩되어 상기 엘레멘터리 스트림 버퍼&디코더(150)에 버퍼링되어 있는 3개의 영상 프레임들에 대한 각각의 PES 패킷들의 헤더에 삽입된 DTS값들을 확인한다. 확인 결과, DTS값들이 100, 200, 300으로 되어 있으면, 상기 추정부(190)는 확인된 DTS값들의 증가량에 근거하여, 즉 100씩 증가하는 수치에 근거하여 상기 현재 수신된 TS 패킷에 대한 DTS값을 400으로 추정한다. 상기 추정부(190)는 PTS값의 경우에도 동일한 방식을 이용한다.The
제어부(170)는 상기 오류판별부(130)로부터 PCR값이 DTS값으로 된 것에 대한 신호를 입력받으면 상기 엘레멘터리 스트림 버퍼&디코더(150)에 버퍼링된 영상 데이터를 디코딩하여 디코디드 스트림 메모리(160)에 저장시킨다. 또한 상기 제어부(170)는 상기 오류판별부(130)로부터 PCR값이 PTS값으로 된 것에 대한 신호를 입력받으면 상기 디코디드 스트림 메모리(160)에 디코딩되어 저장된 영상 데이터를 상 기 디스플레이부(180)를 통해 디스플레이한다.When the
또한 상기 제어부(170)는 상기 오류판별부(130)로부터 DTS값에 대한 오류 발생 신호를 입력받으면 상기 수신된 TS 패킷에 대한 DTS값을 상기 추정부(190)를 통해서 추정된 새로운 DTS값으로 교체한다. 이에 따라 상기 제어부(170)는 상기 PCR 카운터(120)를 통해서 카운팅된 PCR값이 상기 교체된 DTS값으로 되면 상기 엘레멘터리 스트림 버퍼&디코더(150)에 버퍼링된 영상 데이터를 디코딩하여 디코디드 스트림 메모리(160)에 저장시킨다. 또한 상기 제어부(170)는 상기 오류판별부(130)로부터 PTS값에 대한 오류 발생 신호를 입력받으면 상기 수신된 TS 패킷에 대한 PTS값을 상기 추정부(190)를 통해서 추정된 새로운 PTS값으로 교체한다. 이에 따라 상기 제어부(170)는 상기 PCR 카운터(120)를 통해서 카운팅된 PCR값이 상기 교체된 PTS값으로 되면 상기 디코디드 스트림 메모리(160)에 디코딩되어 저장된 영상 데이터를 상기 디스플레이부(180)를 통해 디스플레이한다.In addition, when the
도 3은 도 2의 디지털 멀티미디어 방송 수신 장치에서 수신된 TS 패킷을 디코딩 및 디스플레이하는 과정에 대한 흐름도이다.3 is a flowchart illustrating a process of decoding and displaying a received TS packet in the digital multimedia broadcasting receiving apparatus of FIG. 2.
도 2의 상기 오류판별부(130)는 수신된 TS 패킷에 대한 DTS값이 PCR값 이하인지 체크한다(S10). 체크 결과, 상기 DTS값이 PCR값 이하이면, 상기 오류판별부(130)는 상기 수신된 TS 패킷에 대한 CC값이 이전 수신된 동일 PID값을 가지는 TS 패킷에 대한 CC값보다 하나 증가했는지 체크한다(S20). 체크 결과, 상기 수신된 TS 패킷에 대한 CC값이 이전 수신된 TS 패킷에 대한 CC값보다 하나 증가했으면, 상기 오류판별부(130)는 오류발생을 알리는 신호를 상기 제어부(170)로 출력한다.The
이에 따라, 상기 제어부(170)는 상기 추정부(190)를 통해서 새로운 DTS값을 추정하여 상기 수신된 TS 패킷에 대한 DTS값을 상기 추정된 DTS값으로 교체한다(S30). 그리고 상기 제어부(170)는 상기 PCR 카운터(120)를 통해서 카운팅된 PCR값이 DTS값, 즉 상기 교체된 DTS값으로 됐는지 체크한다(S40). 체크 결과, 상기 카운팅된 PCR값이 DTS값으로 됐으면 상기 제어부(170)는 상기 엘레멘터리 스트림 버퍼&디코더(150)에 버퍼링된 영상 데이터, 즉 상기 수신된 TS 패킷에 포함된 영상 데이터를 디코딩하여 디코디드 스트림 메모리(160)에 저장시킨다(S50).Accordingly, the
한편, 상기 S10 단계에서 상기 DTS값이 PCR값 이하가 아닐 경우, 상기 제어부(170)는 상기 오류판별부(130)로부터 PCR값이 DTS값으로 된 것에 대한 신호를 입력받으면 상기 엘레멘터리 스트림 버퍼&디코더(150)에 버퍼링된 영상 데이터를 디코딩하여 디코디드 스트림 메모리(160)에 저장시킨다. On the other hand, when the DTS value is not equal to or less than the PCR value in step S10, when the
다음으로, 상기 오류판별부(130)는 상기 수신된 TS 패킷에 대한 PTS값이 DTS값 이하인지 체크한다(S60). 체크 결과, 상기 PTS값이 DTS값 이하이면, 상기 오류판별부(130)는 상기 수신된 TS 패킷에 대한 CC값이 이전 수신된 동일 PID값을 가지는 TS 패킷에 대한 CC값보다 하나 증가했는지 체크한다(S70). 체크 결과, 상기 수신된 TS 패킷에 대한 CC값이 이전 수신된 TS 패킷에 대한 CC값보다 하나 증가했으면, 상기 오류판별부(130)는 오류발생을 알리는 신호를 상기 제어부(170)로 출력한다.Next, the
이에 따라, 상기 제어부(170)는 상기 추정부(190)를 통해서 새로운 PTS값을 추정하여 상기 수신된 TS 패킷에 대한 PTS값을 상기 추정된 PTS값으로 교체한다 (S80). 그리고 상기 제어부(170)는 상기 PCR 카운터(120)를 통해서 카운팅된 PCR값이 PTS값, 즉 상기 교체된 PTS값으로 됐는지 체크한다(S90). 체크 결과, 상기 카운팅된 PCR값이 PTS값으로 됐으면 상기 제어부(170)는 상기 디코디드 스트림 메모리(160)에 디코딩되어 저장된 영상 데이터를 상기 디스플레이부(180)를 통해 디스플레이한다(S100). 한편, 상기 S60 단계에서 상기 PTS값이 DTS값 이하가 아닐 경우, 상기 제어부(170)는 상기 오류판별부(130)로부터 PCR값이 PTS값으로 된 것에 대한 신호를 입력받으면 상기 디코디드 스트림 메모리(160)에 디코딩되어 저장된 영상 데이터를 상기 디스플레이부(180)를 통해 디스플레이한다.Accordingly, the
상술한 본 발명의 설명에서는 구체적인 실시예에 관해 설명하였으나, 여러 가지 변형이 본 발명의 범위에서 벗어나지 않고 실시될 수 있다. 따라서 본 발명의 범위는 설명된 실시예에 의하여 정할 것이 아니고 특허청구범위 뿐만 아니라 특허청구범위와 균등한 것에 의해 정해져야 한다.In the above description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Therefore, the scope of the present invention should not be defined by the described embodiments, but should be determined not only by the claims but also by the equivalents of the claims.
상술한 바와 같은 본 발명에 따르면, 위성 디지털 멀티미디어 방송 수신 장치에서 수신된 영상 데이터에 오류가 있는 시간 정보를 교체하여 제 시간에 영상 데이터를 디코딩 및 디스플레이함으로써, 영상 데이터의 손실을 최소화할 수 있는 효과가 있다.According to the present invention as described above, by replacing the error time information in the image data received by the satellite digital multimedia broadcasting receiving apparatus to decode and display the image data in time, it is possible to minimize the loss of the image data There is.
또한 영상 데이터의 손실을 최소화시킴으로써, 화면 끊김이나 지연 현상이 없는 디지털 멀티미디어 방송을 제공할 수 있는 효과가 있다.In addition, by minimizing the loss of the image data, there is an effect that can provide a digital multimedia broadcasting without screen interruption or delay phenomenon.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050108251A KR101114749B1 (en) | 2005-11-11 | 2005-11-11 | Method for processing image data in mpeg-2 ts in order to not occurring blue screen and digital multimedia broadcasting receiver thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050108251A KR101114749B1 (en) | 2005-11-11 | 2005-11-11 | Method for processing image data in mpeg-2 ts in order to not occurring blue screen and digital multimedia broadcasting receiver thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20070050708A true KR20070050708A (en) | 2007-05-16 |
KR101114749B1 KR101114749B1 (en) | 2012-03-05 |
Family
ID=38274170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050108251A KR101114749B1 (en) | 2005-11-11 | 2005-11-11 | Method for processing image data in mpeg-2 ts in order to not occurring blue screen and digital multimedia broadcasting receiver thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101114749B1 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100247978B1 (en) | 1997-08-08 | 2000-03-15 | 윤종용 | Picture decoding synchronizing circuit and method therefor |
KR100236014B1 (en) | 1997-12-29 | 1999-12-15 | 구자홍 | Video decoding system |
-
2005
- 2005-11-11 KR KR1020050108251A patent/KR101114749B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR101114749B1 (en) | 2012-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6961778B2 (en) | Transmission method, reception method, transmitter and receiver | |
US10827208B2 (en) | Transmitting method, receiving method, transmitting device and receiving device | |
EP2011332B1 (en) | Method for reducing channel change times in a digital video apparatus | |
EP2728858B1 (en) | Receiving apparatus and receiving method thereof | |
US20080259962A1 (en) | Contents reproducing apparatus | |
EP2485501B1 (en) | Fast channel change companion stream solution with bandwidth optimization | |
US10491944B2 (en) | Decoding device, reception device, transmission device, transmission/reception system, decoding method, and storage medium having decoding program stored therein | |
WO2012087718A2 (en) | Method of processing a sequence of coded video frames | |
US11722714B2 (en) | Transmitting method, receiving method, transmitting device and receiving device | |
US7839925B2 (en) | Apparatus for receiving packet stream | |
US11128911B2 (en) | Decoding device, reception device, transmission device, transmission/reception system, decoding method, and storage medium having decoding program stored therein | |
KR100689474B1 (en) | Transport Stream Receiving Apparatus For Multi-Screen and Its Control Method | |
KR101114749B1 (en) | Method for processing image data in mpeg-2 ts in order to not occurring blue screen and digital multimedia broadcasting receiver thereof | |
US8600176B2 (en) | Error detection method and apparatus in DMB receiver | |
JPH1093841A (en) | Video synchronizing signal correction device | |
JP4902258B2 (en) | Data receiving apparatus and computer-readable storage medium | |
US20050265369A1 (en) | Network receiving apparatus and network transmitting apparatus | |
KR101620083B1 (en) | Splicing Apparatus for Multi Channel Digital Broadcasting and Method thereof | |
JP2001111610A (en) | Receiver for information data transmission system | |
KR20230086585A (en) | Method and apparatus for minimizing initial screen output delay in channel selection of digital broadcasting receiver | |
JP2022003834A (en) | Transmission method, reception method, transmitter and receiver | |
US20170171598A1 (en) | Broadcast receiving apparatus and controlling method thereof | |
KR100735228B1 (en) | System synchronization apparatus and method for multimedia player |
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: 20150129 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20160128 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20170125 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |