KR100431548B1 - Apparatus for reproducing a moving picture using stream header information - Google Patents

Apparatus for reproducing a moving picture using stream header information Download PDF

Info

Publication number
KR100431548B1
KR100431548B1 KR10-2001-0075860A KR20010075860A KR100431548B1 KR 100431548 B1 KR100431548 B1 KR 100431548B1 KR 20010075860 A KR20010075860 A KR 20010075860A KR 100431548 B1 KR100431548 B1 KR 100431548B1
Authority
KR
South Korea
Prior art keywords
information
stream
picture
transport stream
header information
Prior art date
Application number
KR10-2001-0075860A
Other languages
Korean (ko)
Other versions
KR20030045932A (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 KR10-2001-0075860A priority Critical patent/KR100431548B1/en
Publication of KR20030045932A publication Critical patent/KR20030045932A/en
Application granted granted Critical
Publication of KR100431548B1 publication Critical patent/KR100431548B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4305Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
    • 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/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/434Disassembling 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/4343Extraction or processing of packetized elementary streams [PES]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/915Television signal processing therefor for field- or frame-skip recording or reproducing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

본 발명은 스트림 헤더정보를 이용하여 동영상파일을 실시간 디코딩하거나 보조기억장치에 저장된 동영상파일을 사용자 요구에 따라 재생하기 위한 동영상 파일 재생장치에 관한 것으로,The present invention relates to a video file playback apparatus for real-time decoding a video file using stream header information or for playing a video file stored in an auxiliary memory device according to a user's request.

동영상 파일 제공자로부터 멀티캐스트된 데이터 패킷들중 지정된 멀티캐스트 데이터 패킷들을 수신하고 수신된 멀티캐스트 데이터 패킷에서 스트림 헤더정보와 엠펙 트랜스포트 스트림(TS) 데이터를 분리출력하기 위한 네트워크 접속부와; 상기 네트워크 접속부와 디코더 사이에서 트랜스포트 스트림(TS) 데이터를 일시 저장하기 위한 버퍼 메모리와; 상기 네트워크 접속부에서 출력되는 스트림 헤더정보에서 적어도 비디오 PID, 오디오 PID, PCR 값을 추출하고 이를 상기 디코더로 출력하여 상기 트랜스포트 스트림 데이터의 디코딩을 제어하는 시스템 제어부;를 포함함을 특징으로 한다.A network connection unit for receiving designated multicast data packets among the multicast data packets from a moving picture file provider and separately outputting stream header information and MPEG transport stream (TS) data from the received multicast data packets; A buffer memory for temporarily storing transport stream (TS) data between the network connection and the decoder; And a system controller extracting at least a video PID, an audio PID, and a PCR value from the stream header information output from the network connection unit and outputting the same to the decoder to control decoding of the transport stream data.

Description

스트림 헤더정보를 이용한 동영상 파일 재생장치{APPARATUS FOR REPRODUCING A MOVING PICTURE USING STREAM HEADER INFORMATION}A video file playback device using stream header information {APPARATUS FOR REPRODUCING A MOVING PICTURE USING STREAM HEADER INFORMATION}

본 발명은 엠펙 디코더를 기반으로 하는 디지털 수신기에 관한 것으로, 특히 수신된 스트림 헤더정보를 이용하여 동영상파일을 실시간 디코딩하거나 보조기억장치에 저장된 동영상파일을 사용자 요구에 따라 재생하기 위한 동영상 파일 재생장치에 관한 것이다.The present invention relates to a digital receiver based on an MPEG decoder, and more particularly, to a video file reproducing apparatus for real-time decoding a video file using the received stream header information or reproducing a video file stored in an auxiliary memory device according to a user's request. It is about.

미국의 티보(Tivo), 리플레이(Teplay) TV 등에 의하여 소개된 "퍼스널 비디오 레코더(Personal Video Recorder:PVR)"는 하드 디스크를 TV, STB에 응용하여 최대 30시간까지 동시에 다른 방송국에서 각각 방송되는 프로그램들까지 녹화 가능하도록 설계함으로서, 시청자로 하여금 소정의 시간차를 가지고 다양한 프로그램을시청가능하도록 한 기술이 소개된 바 있다. 이와 같이 TV 등에 하드 디스크를 탑재하여 녹화/재생장치로 활용하는 기술이 소개되면서 여러 제조업체에서는 이에 대한 연구를 활발히 진행하고 있다."Personal Video Recorder" introduced by Tivo, Teplay TV, etc. in the United States applies a hard disk to TVs and STBs for up to 30 hours. By designing to be able to record even up to the public, a technology that allows viewers to watch various programs with a predetermined time difference has been introduced. As a technology of using a hard disk as a recording / playback device such as a TV is introduced, various manufacturers are actively researching on this.

하드 디스크를 내장하고 있는 상술한 TV와 같은 수신기는 기본적으로 데이터 저장효율을 높이기 위해 데이터 압축방법을 채용하고 있으며, 압축된 데이터를 디코딩하기 위한 구성으로서 엠펙-2 디코더를 구비하는 것이 일반적이다. 이러한 엠펙-2 디코더 기반의 수신기(예를 들면 PVR, 디지털 위성 수신기)에서는 기기의 목적상 기본적으로 엠펙-2 디코딩 모듈과 네트워크 프로토콜 등의 구성요소들이 포함되어 있다. 그리고 소비자의 다양한 욕구를 충족시키기 위해 스트림 저장, 리얼 타임 디코딩, 탐색 기능들이 구비되는데, 이러한 기능을 구현하기 위해서는 수신된 스트림에 대하여 일정한 정보(PID, PCR 값, 픽쳐 정보)를 필요로 한다.A receiver such as a TV with a built-in hard disk basically employs a data compression method to increase data storage efficiency, and generally includes an MPEG-2 decoder as a configuration for decoding compressed data. The MPEG-2 decoder-based receiver (eg, PVR, digital satellite receiver) basically includes components such as an MPEG-2 decoding module and a network protocol for the purpose of the device. Stream storage, real-time decoding, and search functions are provided to satisfy various needs of consumers. To implement such a function, certain information (PID, PCR value, picture information) is required for the received stream.

상술한 바와 같은 엠펙-2 디코더 기반의 수신기들에서는 네트워크를 통해 엠펙-2 파일을 수신하고, 이를 실시간 디코딩하기 위해 엠펙-2 파일의 PSI(Program Specific Information)를 분석하여 비디오 PID(Packet Identifier), 오디오 PID, PCR(Program Clock Reference) PID를 획득한 다음 PCR PID에서 PCR 값을 추출하는 과정을 계속적으로 반복해야만 한다. 이는 곧 시스템에서 PSI 파싱(parsing)과 스트림 분석과 같은 많은 작업을 수행하여야 하기 때문에, 시스템 성능을 저하시키는 요인으로 작용하는 문제가 발생하게 된다. 이는 보다 높은 비트율을 가지는 엠펙 파일을 리얼 타임으로 디코딩하는데 있어서 보다 큰 부담으로 작용할 수 있기 때문에, 점차적으로 비트율이 높아지는 기술추세를 감안해 볼 때 시스템(혹은 CPU)의성능저하 없이 엠펙 파일을 실시간으로 디코딩하기 위해 필요한 정보를 획득할 수 있는 장치 및 방법의 개발이 절실히 요구되는 바이다.In the MPEG-2 decoder-based receivers as described above, MPEG-2 files are received through a network, and video specific packet identifiers (PSIs) are analyzed by analyzing program specific information (PSI) of the MPEG-2 files to decode them in real time. The process of extracting the PCR value from the PCR PID after acquiring the audio PID and the Program Clock Reference (PCR) PID must be repeated. This causes a lot of tasks such as PSI parsing and stream analysis in the system, which causes a problem of degrading system performance. This can put a greater burden on real-time decoding of MPEG files with higher bit rates, so given the trend of higher bit rates, decoding MPEG files in real time without degrading the performance of the system (or CPU). There is an urgent need for the development of an apparatus and method capable of acquiring the necessary information.

따라서 본 발명의 목적은 디코딩하여야 하는 스트림에 대한 정보를 보다 빠르게 획득하여 수신된 동영상 파일을 디코딩할 수 있는 스트림 헤더정보를 이용한 도영상 파일 재생장치를 제공함에 있다.Accordingly, an object of the present invention is to provide an apparatus for reproducing a video file using stream header information which can obtain information on a stream to be decoded faster and decode the received video file.

본 발명의 또 다른 목적은 디코딩하여야 하는 스트림에 대한 정보를 보다 빠르게 획득하여 이를 인덱스 파일로 저장함으로서, 저장된 동영상 파일을 다양한 방법으로 재생하는데 있어 편리하게 이용할 수 있는 스트림 헤더정보를 이용한 동영상 파일 재생장치를 제공함에 있다.It is still another object of the present invention to obtain information on a stream to be decoded faster and store it as an index file, so that the video file reproducing apparatus using stream header information which can be conveniently used to reproduce the stored video file in various ways. In providing.

도 1은 본 발명의 실시예에 따른 동영상 파일 재생장치의 블록구성도.1 is a block diagram of a video file player according to an embodiment of the present invention.

도 2는 본 발명의 실시예에 따른 동영상 파일 재생장치에서 수신하는 멀티캐스트 데이터 패킷의 상세 포맷도.2 is a detailed format diagram of a multicast data packet received by a moving picture file reproducing apparatus according to an embodiment of the present invention.

도 3은 본 발명의 실시예에 따른 인덱스 파일 정보 예시도.3 is an exemplary view of index file information according to an embodiment of the present invention.

상기 목적을 달성하기 위한 본 발명의 실시예에 따른 동영상 파일 재생장치는;According to an embodiment of the present invention for achieving the above object, a video file playback apparatus;

동영상 파일 제공자로부터 멀티캐스트된 데이터 패킷들중 지정된 멀티캐스트 데이터 패킷들을 수신하고 수신된 멀티캐스트 데이터 패킷에서 스트림 헤더정보와 엠펙 트랜스포트 스트림(TS) 데이터를 분리출력하기 위한 네트워크 접속부와;A network connection unit for receiving designated multicast data packets among the multicast data packets from a moving picture file provider and separately outputting stream header information and MPEG transport stream (TS) data from the received multicast data packets;

상기 네트워크 접속부와 디코더 사이에서 트랜스포트 스트림(TS) 데이터를 일시 저장하기 위한 버퍼 메모리와;A buffer memory for temporarily storing transport stream (TS) data between the network connection and the decoder;

상기 네트워크 접속부에서 출력되는 스트림 헤더정보에서 적어도 비디오 PID, 오디오 PID, PCR 값을 추출하고 이를 상기 디코더로 출력하여 상기 트랜스포트 스트림 데이터의 디코딩을 제어하는 시스템 제어부;를 포함함을 특징으로 한다.And a system controller extracting at least a video PID, an audio PID, and a PCR value from the stream header information output from the network connection unit and outputting the same to the decoder to control decoding of the transport stream data.

또한 본 발명은 상기 버퍼메모리로부터 출력되는 트랜스포트 스트림(TS) 데이터를 저장하기 위한 보조기억장치를 더 포함하되; 상기 보조기억장치에 저장되는 트랜스포트 스트림(TS)의 위치정보를 기록한 인덱스 파일이 상기 시스템 제어부에 의해 생성되어 함께 저장됨을 특징으로 한다.The present invention further includes an auxiliary memory device for storing transport stream (TS) data output from the buffer memory; The index file that records the location information of the transport stream TS stored in the auxiliary memory device is generated by the system controller and stored together.

그리고 상기 멀티캐스트 데이터 패킷은 IP어드레스와 MAC 어드레스가 기록되는 IP정보 필드와, 근원지 포트 정보와 목적지 포트 정보, UDP 길이정보 및 체크섬 정보가 기록되는 UDP정보 필드와, 상기 비디오 PID, 오디오 PID, PCR값이 포함된 스트림 정보가 적어도 기록되어 있는 스트림 헤더정보 필드와, 소정 크기의 엠펙 트랜스포트 스트림 데이터가 기록되는 엠펙 스트림 필드로 구성하여 스트림의 분석없이도 정상적인 디코딩이 이루어질 수 있는 정보를 상기 헤더정보 필드에서 독출하여 동영상 파일을 디코딩할 수 있는 특징이 있다.The multicast data packet includes an IP information field in which an IP address and a MAC address are recorded, a UDP information field in which source port information, destination port information, UDP length information, and checksum information are recorded, and the video PID, audio PID, and PCR. The header information field includes information of a stream header information field in which at least stream information including a value is recorded and an MPEG stream field in which MPEG transport stream data having a predetermined size is recorded, so that normal decoding can be performed without analyzing the stream. It can be read from and decodes video files.

이하 본 발명의 바람직한 실시예를 첨부 도면을 참조하여 상세히 설명하기로 한다. 본 발명을 설명함에 있어, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그에 대한 상세한 설명은 생략하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description of the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, a detailed description thereof will be omitted.

우선 도 1은 본 발명의 실시예에 따른 동영상 파일 재생장치의 블록구성도를 도시한 것으로, 본 발명의 실시예에 따른 동영상 파일 재생장치는 도 1에 도시되어 있는 바와 같이 네트워크 접속부(110)와, 버퍼 메모리(120), 시스템 제어부(130), 디코더(140) 및 트랜스포트 스트림(TS) 저장부(150)를 포함한다.First, FIG. 1 is a block diagram of a video file playback apparatus according to an embodiment of the present invention. The video file playback apparatus according to the embodiment of the present invention is connected to the network connection unit 110 as shown in FIG. , A buffer memory 120, a system controller 130, a decoder 140, and a transport stream (TS) storage unit 150.

네트워크 접속부(110)는 동영상 파일 제공자로부터 멀티캐스트(multicast)된 데이터 패킷들중 지정된 멀티캐스트 데이터 패킷들을 수신하고, 수신된 멀티캐스트 데이터 패킷에서 스트림 헤더(Stream Header)정보와 엠펙 트랜스포트 스트림(TS) 데이터를 분리출력한다. 참고적으로 동영상 파일 제공자로부터 이더넷망(100)에 멀티캐스트된 데이터를 상기 네트워크 접속부(110)가 수신하기 위해서는 우선적으로 본 발명의 실시예에 따른 동영상 파일 재생장치가 멀티캐스트 그룹에 참여해야 한다. 멀티캐스트 그룹에 참여하기 위해서는 동영상 파일 제공자가 멀티캐스트 IP 어드레스와 목적지의 포트정보를 미리 알고 있어야 함은 자명한 사실이다.The network connection unit 110 receives the designated multicast data packets among the multicast data packets from the video file provider, and stream header information and the MPEG transport stream TS from the received multicast data packets. ) Separate the data. For reference, in order for the network connection unit 110 to receive data multicasted from the video file provider to the Ethernet network 100, the video file playback apparatus according to an embodiment of the present invention must first participate in the multicast group. In order to join a multicast group, it is obvious that a video file provider must know the multicast IP address and destination port information in advance.

한편 상기 네트워크 접속부(110)와 디코더(140) 사이에는 버퍼 메모리(120)가 접속되어 있으며, 상기 버퍼 메모리(120)는 네트워크 접속부(110)에서 분리된 트랜스포트 스트림(TS) 데이터를 일시 저장하는 역할을 수행한다.Meanwhile, a buffer memory 120 is connected between the network connection unit 110 and the decoder 140, and the buffer memory 120 temporarily stores transport stream (TS) data separated from the network connection unit 110. Play a role.

시스템 제어부(130)는 상기 네트워크 접속부(110)에서 출력되는 스트림 헤더정보에서 적어도 비디오 PID, 오디오 PID, PCR 값을 추출하고 이를 상기 디코더(140)로 출력하여 상기 트랜스포트 스트림 데이터의 디코딩을 제어한다. 또한 시스템 제어부(130)는 상기 네트워크 접속부(110)에서 분리 출력되는 스트림 헤더정보에서 픽쳐 정보와 해당 픽쳐의 오프셋(offset)정보를 발췌하여 트랜스포트 스트림(TS)의 위치정보를 기록한 인덱스 파일을 생성하여 사용자의 명령에 따라 저장된 트랜스포트 스트림(TS) 데이터를 고속재생, 저속재생, 고속 역재생, 저속 역재생, 포즈(pause), 1배속 역재생시킨다. 본 발명을 설명함에 있어 사용자 명령을 수신하기 위한 사용자 인터페이스 수단은 도시하지 않았다.The system controller 130 extracts at least a video PID, an audio PID, and a PCR value from the stream header information output from the network connection unit 110 and outputs the same to the decoder 140 to control decoding of the transport stream data. . In addition, the system controller 130 extracts picture information and offset information of the corresponding picture from the stream header information separately outputted from the network connection unit 110 to generate an index file that records the location information of the transport stream TS. The transport stream (TS) data stored according to a user's command is played back at high speed, at low speed, at fast reverse, at low speed, at a pause, and at 1x speed. In the description of the present invention, a user interface means for receiving a user command is not shown.

TS 저장부(150)는 보조기억장치인 하드 디스크 드라이브로서 상기 버퍼메모리(120)로부터 출력되는 트랜스포트 스트림(TS) 데이터를 저장한다. 이러한 TS 저장부(150)는 시스템 제어부(130)에 의해 액세스 제어된다.The TS storage unit 150 stores a transport stream (TS) data output from the buffer memory 120 as a hard disk drive as an auxiliary storage device. The TS storage unit 150 is access controlled by the system control unit 130.

이하 동영상 파일 제공자로부터 멀티캐스트되는 멀티캐스트 데이터 패킷의 포맷에 대하여 설명하기로 한다.Hereinafter, a format of a multicast data packet multicast from a video file provider will be described.

도 2는 본 발명의 실시예에 따른 동영상 파일 재생장치에서 수신하는 멀티캐스트 데이터 패킷의 상세 포맷을 도시한 것이며, 도 3은 본 발명의 실시예에 따른 인덱스 파일 정보 예시도를 도시한 것이다.FIG. 2 illustrates a detailed format of a multicast data packet received by a moving picture file reproducing apparatus according to an embodiment of the present invention, and FIG. 3 illustrates an example of index file information according to an embodiment of the present invention.

도 2를 참조하면, 우선 본 발명의 실시예에 따른 멀티캐스트 데이터 패킷은 IP정보 필드와 UDP정보 필드, 스트림 헤더정보 필드 및 엠펙 스트림 필드로 이루어진다.Referring to FIG. 2, first, a multicast data packet according to an embodiment of the present invention includes an IP information field, a UDP information field, a stream header information field, and an MPEG stream field.

상기 IP정보 필드에는 IP어드레스와 MAC 어드레스가 기록되며, UDP 정보 필드에는 근원지(source) 포트 정보와 목적지(destination) 포트 정보, UDP 길이정보 및 체크섬(chechsum) 정보가 기록된다. 그리고 스트림 헤더 정보필드는 태그(tag)정보가 기록되는 필드와, 헤더정보의 버전(version)지시를 위한 버전정보 필드와, 페이로드 타입(payload type)정보가 기록되는 페이로드 타입정보 필드와, 패킷사이즈(packet size) 정보가 기록되는 패킷사이즈 정보 필드와, 스트림 정보가 기록되는 스트림 정보 필드를 포함한다. 그리고 스트림 정보 필드에는 비트율(bit rate)정보와 비디오 PID, 오디오 PID, PCR 값 및 픽쳐 타입정보와 픽쳐 오프셋 정보가 기록되어 동영상 파일인 엠펙 스트림의 디코딩시 이용됨은 물론, 저장된 트랜스포트 스트림(TS) 데이터를 고속재생, 저속재생, 고속 역재생, 저속 역재생, 포즈(pause), 1배속 역재생하는데 이용된다.The IP address and the MAC address are recorded in the IP information field, and the source port information, destination port information, UDP length information, and checksum information are recorded in the UDP information field. The stream header information field includes a field in which tag information is recorded, a version information field for indicating version of header information, a payload type information field in which payload type information is recorded, A packet size information field in which packet size information is recorded and a stream information field in which stream information is recorded are included. In addition, bit rate information, video PID, audio PID, PCR value, picture type information, and picture offset information are recorded in the stream information field, which is used when decoding an MPEG stream that is a video file. The data is used for high speed reproduction, low speed reproduction, high speed reverse reproduction, low speed reverse reproduction, pause, and 1x speed reverse reproduction.

한편 시스템 제어부(130)에 의해 생성되는 인덱스 파일은 도 3에 도시한 바와 같이 스트림 정보 필드에서 발췌된 픽쳐정보(I, B, B, P,...B, B)들과 그 픽쳐정보들에 대응하는 픽쳐 오프셋 정보들로 구성할 수 있는데, 이러한 픽쳐 오프셋 정보들은 동영상 파일의 시작점으로부터의 오프셋된 위치를 지시하는 파일 오프셋 정보와 함께 가산되어 해당 픽쳐의 위치정보를 제공하는데 이용된다. 이러한 인덱스 파일은 하드 디스크면에 저장된 트랜스포트 스트림(TS) 데이터를 고속재생, 저속재생, 고속 역재생, 저속 역재생하는데 효과적으로 이용될 수 있다.On the other hand, the index file generated by the system control unit 130, the picture information (I, B, B, P, ... B, B) extracted from the stream information field as shown in Figure 3 and the picture information The picture offset information may be added together with file offset information indicating an offset position from a start point of a moving image file and used to provide location information of the corresponding picture. Such an index file can be effectively used for fast playback, slow playback, fast reverse playback, and slow reverse playback of transport stream (TS) data stored on the hard disk surface.

이하 상술한 동영상 파일 재생장치의 구성과 데이터 패킷 포맷을 이용하여 실시간 혹은 저장된 TS 데이터를 재생하는 방법을 설명하면,Hereinafter, a method of reproducing real-time or stored TS data using the above-described configuration of a video file reproducing apparatus and a data packet format will be described.

우선 동영상 파일 제공자가 지정된 동영상 파일 재생장치에 소망하는 데이터 패킷을 멀티캐스트 형태로 전송하면, 네트워크 접속부(110)는 이더넷망(100)에 멀티캐스트된 데이터패킷에서 자신의 IP정보와 UDP정보를 가지는 멀티캐스트 데이터 패킷을 수신하여 스트림 헤더 정보와 엠펙 트랜스포트 스트림(TS) 데이터를 분리출력한다. 네트워크 접속부(110)에서 분리출력된 스트림 헤더정보와 엠펙 트랜스포트 스트림(TS) 데이터는 각각 시스템 제어부(130)와 버퍼 메모리(120)에 입력된다.First, when a video file provider transmits a desired data packet to a designated video file reproducing apparatus in a multicast form, the network connection unit 110 has its own IP information and UDP information in a data packet multicasted to the Ethernet network 100. The multicast data packet is received to separately output stream header information and MPEG transport stream (TS) data. Stream header information and MPEG transport stream (TS) data separated and output from the network connection unit 110 are input to the system controller 130 and the buffer memory 120, respectively.

시스템 제어부(130)에서는 입력된 스트림 헤더정보에서 비디오 PID, 오디오 PID, PCR 값을 추출하고 이를 상기 디코더(140)로 출력하여 디코더(140) 내부의 레지스터 값을 업데이트한다. 그러면 디코더(140)는 PCR 값이 업데이트되는 순간에디코더(140)의 시스템 클럭을 복원하여 디코더(140)의 시스템 클럭으로 사용한다. 이와 같은 클럭회복(recovery) 동작에 의해 디코더 내부 버퍼의 언더플로우와 오버플로우는 방지될 수 있고, 또한 비디오와 오디오의 립(lip) 동기를 맞추며 정확하게 디코딩이 이루어질 수 있다.The system controller 130 extracts a video PID, an audio PID, and a PCR value from the input stream header information and outputs the video PID, the audio PID, and the PCR value to the decoder 140 to update a register value inside the decoder 140. Then, the decoder 140 restores the system clock of the decoder 140 and uses it as the system clock of the decoder 140 when the PCR value is updated. By such a clock recovery operation, underflow and overflow of the decoder internal buffer can be prevented, and lip synchronization of video and audio can be performed and decoding can be accurately performed.

상술한 바와 같은 동작은 도 2에 스트림 헤더정보가 포함된 데이터 패킷이 수신될 때 마다 반복적으로 이루어진다.The operation as described above is repeatedly performed whenever a data packet including stream header information is received in FIG. 2.

즉, 본 발명의 실시예에서는 멀티캐스트 데이터 패킷의 일 구성요소인 엠펙 스트림 정보를 분석하지 않고서도 스트림 헤더정보에 기록되어 있는 비디오 PID, 오디오 PID와 PCR값을 이용하여 엠펙 디코더 내부의 클럭을 복원하는 한편, 오디오와 비디오의 립 동기를 정상적으로 맞출 수 있게 되는 것이다.That is, in the embodiment of the present invention, the clock inside the MPEG decoder is restored by using the video PID, the audio PID, and the PCR values recorded in the stream header information without analyzing the MPEG stream information, which is one component of the multicast data packet. On the other hand, the lip synchronization of audio and video can be properly adjusted.

한편 보조기억장치에 저장된 트랜스포트 스트림을 재생하는 경우에는 도 3에 도시한 바와 같은 인덱스 파일을 이용하여 하드 디스크면에 저장된 픽쳐들을 리드(read)하여 디코더(140)로 출력하면 정상적으로 고속재생, 저속재생, 역재생 등과 같은 탐색기능을 구현할 수 있게 되는 것이다.Meanwhile, in the case of reproducing the transport stream stored in the auxiliary memory device, when the pictures stored on the hard disk surface are read and output to the decoder 140 using the index file as shown in FIG. Search functions such as play and reverse play can be implemented.

즉, 본 발명의 실시예에서는 스트림 헤더정보에서 추출된 픽쳐 타입정보와 픽쳐 오프셋 정보를 이용하여 생성된 인덱스 파일을 하드 디스크에 저장한후 사용자의 탐색명령에 따라 재생하고자 하는 픽쳐의 위치정보를 상기 인덱스 파일에서 읽어 해당 픽쳐들을 재생하게 되는 것이다. 따라서 소비자들에게 다양한 탐색기능을 지원할 수 있다.That is, in the embodiment of the present invention, after storing the index file generated by using the picture type information and the picture offset information extracted from the stream header information on the hard disk, the location information of the picture to be reproduced according to the user's search command is indexed. The pictures will be read from the file and played back. Therefore, it is possible to support various search functions for consumers.

상술한 바와 같이 본 발명은 엠펙 스트림 정보를 분석하지 않고서도 엠펙 디코더내의 시스템 타임 클럭을 인코딩내의 시스템 타임 클럭과 동기시킬 수 있기 때문에, 낮은 CPU 사양으로도 비트 레이트가 높은 엠펙 스트림을 디코딩할 수 있는 이점이 있으며, 엠펙 스트림 정보 분석을 위한 작업을 단순화시킬 수 있는 이점이 있다.As described above, since the present invention can synchronize the system time clock in the MPEG decoder with the system time clock in the encoding without analyzing the MPEG stream information, it is possible to decode the MPEG stream having a high bit rate even with a low CPU specification. There is an advantage, and there is an advantage that can simplify the task for analyzing the MPEG stream information.

아울러 본 발명은 스트림 헤더정보내에 존재하는 픽쳐 타입정보와 픽쳐 오프셋 정보로 해당 픽쳐의 위치정보를 생성하여 다양한 탐색기능에 활용할 수 있기 때문에, 엠펙-2 디코더 기반의 수신기 가치를 향상시킴은 물론 다양한 소비자의 욕구를 충족시켜 줄 수 있는 이점이 있다.In addition, since the present invention can generate location information of the picture using picture type information and picture offset information present in the stream header information, and can be used for various search functions, the receiver value based on the MPEG-2 decoder is improved as well as various consumers. There is an advantage to meet your needs.

한편 본 발명은 도면에 도시된 실시예들을 참고로 설명되었으나 이는 예시적인 것에 불과하며, 당해 기술분야에 통상의 지식을 지닌자라면 이로부터 다양한 변형 및 균등한 타실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호범위는 첨부된 특허청구범위에 의해서만 정해져야 할 것이다.On the other hand, the present invention has been described with reference to the embodiments shown in the drawings, which are merely exemplary, and those skilled in the art will understand that various modifications and equivalent other embodiments are possible therefrom. Therefore, the true technical protection scope of the present invention should be defined only by the appended claims.

Claims (7)

입력되는 트랜스포트 스트림을 디코딩하기 위한 디코더부를 구비하는 동영상 파일 재생장치에 있어서,A video file playback apparatus comprising a decoder for decoding an input transport stream, 동영상 파일 제공자로부터 멀티캐스트된 데이터 패킷들중 지정된 멀티캐스트 데이터 패킷들을 수신하고 수신된 멀티캐스트 데이터 패킷에서 스트림 헤더정보와 엠펙 트랜스포트 스트림(TS) 데이터를 분리출력하기 위한 네트워크 접속부와;A network connection unit for receiving designated multicast data packets among the multicast data packets from a moving picture file provider and separately outputting stream header information and MPEG transport stream (TS) data from the received multicast data packets; 상기 네트워크 접속부와 디코더 사이에서 트랜스포트 스트림(TS) 데이터를 일시 저장하기 위한 버퍼 메모리와;A buffer memory for temporarily storing transport stream (TS) data between the network connection and the decoder; 상기 네트워크 접속부에서 출력되는 스트림 헤더정보에서 적어도 비디오 PID, 오디오 PID, PCR 값을 추출하고 이를 상기 디코더로 출력하여 상기 트랜스포트 스트림 데이터의 디코딩을 제어하는 시스템 제어부;를 포함함을 특징으로 하는 스트림 헤더정보를 이용한 동영상 파일 재생장치.And a system controller extracting at least a video PID, an audio PID, and a PCR value from the stream header information output from the network access unit, and outputting the same to the decoder to control decoding of the transport stream data. Video file playback device using information. 청구항 1에 있어서, 상기 버퍼메모리로부터 출력되는 트랜스포트 스트림(TS) 데이터를 저장하기 위한 보조기억장치를 더 포함하되; 상기 보조기억장치에 저장되는 트랜스포트 스트림(TS)의 위치정보를 기록한 인덱스 파일이 상기 시스템 제어부에 의해 생성되어 함께 저장됨을 특징으로 하는 스트림 헤더정보를 이용한 동영상 파일 재생장치.The apparatus of claim 1, further comprising: an auxiliary memory device for storing transport stream (TS) data output from the buffer memory; And an index file recording position information of a transport stream (TS) stored in the auxiliary memory device is generated by the system control unit and stored together. 청구항 2에 있어서, 상기 인덱스 파일은 픽쳐정보들과 각 픽쳐의 위치정보를 지시하는 오프셋정보들로 구성됨을 특징으로 하는 스트림 헤더정보를 이용한 동영상 파일 재생장치.The apparatus of claim 2, wherein the index file comprises picture information and offset information indicating position information of each picture. 청구항 1 내지 청구항 3중 어느 한 항에 있어서, 상기 네트워크 접속부는;The apparatus of claim 1, wherein the network connection unit; IP어드레스와 MAC 어드레스가 기록되는 IP정보 필드와,An IP information field in which an IP address and a MAC address are recorded; 근원지 포트 정보와 목적지 포트 정보, UDP 길이정보 및 체크섬 정보가 기록되는 UDP정보 필드와,A UDP information field in which source port information, destination port information, UDP length information, and checksum information are recorded; 상기 비디오 PID, 오디오 PID, PCR값이 포함된 스트림 정보가 적어도 기록되어 있는 스트림 헤더정보 필드와,A stream header information field which records at least stream information including the video PID, audio PID, and PCR value; 소정 크기의 엠펙 트랜스포트 스트림 데이터가 기록되는 엠펙 스트림 필드로 구성되는 상기 멀티캐스트 데이터 패킷을 적어도 하나 이상 수신함을 특징으로 하는 스트림 헤더정보를 이용한 동영상 파일 재생장치.And at least one or more multicast data packets comprising an MPEG stream field in which MPEG transport stream data having a predetermined size are recorded. 청구항 4에 있어서, 상기 스트림 헤더정보 필드는;The method according to claim 4, wherein the stream header information field; 태그정보 필드와,Tag information field, 헤더정보의 버전지시를 위한 버전정보 필드와,A version information field for version indication of the header information, 페이로드 타입정보가 기록되는 페이로드 타입정보 필드와,A payload type information field in which payload type information is recorded; 패킷사이즈 정보가 기록되는 패킷사이즈 정보 필드와,A packet size information field in which packet size information is recorded; 비트율정보와 비디오 PID, 오디오 PID, PCR 값 및 픽쳐 타입정보와 픽쳐 오프셋 정보가 스트림 정보로서 기록되는 스트림 정보 필드를 구성됨을 특징으로 하는 스트림 헤더정보를 이용한 동영상 파일 재생장치.And a stream information field in which bit rate information, video PID, audio PID, PCR value, picture type information, and picture offset information are recorded as stream information. 청구항 5에 있어서, 상기 시스템 제어부는;The system of claim 5, wherein the system control unit; 상기 픽쳐 타입정보와 픽쳐 오프셋 정보를 이용하여 상기 인덱스 파일을 생성하되, 각 픽쳐 오프셋 정보에 파일 오프셋 정보를 가산하여 해당 픽쳐의 위치정보로 제공함을 특징으로 하는 스트림 헤더정보를 이용한 동영상 파일 재생장치.And generating the index file by using the picture type information and the picture offset information, and adding the file offset information to each picture offset information and providing the location information of the corresponding picture as stream information. 청구항 2에 있어서, 상기 시스템 제어부는 상기 보조기억장치에 저장된 인덱스 파일을 참조하여 저장된 트랜스포트 스트림(TS) 데이터를 고속재생, 저속재생, 고속 역재생, 저속 역재생, 포즈(pause), 1배속 역재생시킴을 특징으로 하는 스트림 헤더정보를 이용한 동영상 파일 재생장치.The method of claim 2, wherein the system controller is configured to refer to the index file stored in the auxiliary memory device to play the stored transport stream (TS) data at high speed, slow speed, fast reverse playback, slow reverse playback, pause, and 1x speed. A video file playback apparatus using stream header information characterized in that the reverse playback.
KR10-2001-0075860A 2001-12-03 2001-12-03 Apparatus for reproducing a moving picture using stream header information KR100431548B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0075860A KR100431548B1 (en) 2001-12-03 2001-12-03 Apparatus for reproducing a moving picture using stream header information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0075860A KR100431548B1 (en) 2001-12-03 2001-12-03 Apparatus for reproducing a moving picture using stream header information

Publications (2)

Publication Number Publication Date
KR20030045932A KR20030045932A (en) 2003-06-12
KR100431548B1 true KR100431548B1 (en) 2004-05-14

Family

ID=29572660

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0075860A KR100431548B1 (en) 2001-12-03 2001-12-03 Apparatus for reproducing a moving picture using stream header information

Country Status (1)

Country Link
KR (1) KR100431548B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100614371B1 (en) * 2001-12-22 2006-08-18 주식회사 휴맥스 The method for writing a trick play control information of digital broadcasting stream, and the method for controlling a trick play in digital broadcasting receiver
KR101268452B1 (en) * 2011-03-30 2013-06-04 전자부품연구원 A method for transmitting and receiving data which describe virtual world, and an apparatus thereof

Also Published As

Publication number Publication date
KR20030045932A (en) 2003-06-12

Similar Documents

Publication Publication Date Title
USRE47054E1 (en) System for digital time shifting and method thereof
EP1239674B1 (en) Recording broadcast data
JP2008160748A (en) Recording system, and recording and reproducing system
KR100405975B1 (en) Method for stream jump
EP1355492B1 (en) Reproducing apparatus and reproducing method
US8254764B2 (en) Recording apparatus, image reproducing apparatus, and special reproduction method therefor
KR100431548B1 (en) Apparatus for reproducing a moving picture using stream header information
JP2008294638A (en) Transmission system, recording apparatus, transmission method, recording method, and program
JP2003179871A (en) Method for dvd recording of data stream and dvd recorder
JP2006527899A (en) Stream file format for DVD multimedia home platform by removing stuffing bytes
US20030091331A1 (en) Method for implementing low-speed playback of a digital broadcast program
JP4763589B2 (en) Playback device and playback method thereof
US20040151473A1 (en) Audio/video data recording/reproduction apparatus, system, and method, recording medium recorded by them, audio/video data reproduction apparatus, and data structure
US8571392B2 (en) Apparatus for video recording and reproducing, and method for trick play of video
JP2005197839A (en) Special reproduction method of transport stream and recording and reproducing apparatus for transport stream
EP2232855B1 (en) Device and method for receiving video data packets
KR100425137B1 (en) system decoder
US8290335B2 (en) Method and apparatus for recording transport stream
JP4861221B2 (en) RECORDING DEVICE, RECORDING METHOD, VIDEO RECORDING / REPRODUCING DEVICE, AND RECORDING FILE PROCESSING METHOD THEREOF
JP5100852B2 (en) Digital signal recording / reproducing apparatus and method, digital signal reproducing apparatus and method
JP2004088321A (en) Digital broadcast reception storage reproducing apparatus and mobile receiver
JP2001309302A (en) Method and device for fast reproducing digital signal
JP2002290918A (en) Reproducing apparatus, reproducing method, recorder, recording method, av data switching method, output apparatus and input apparatus
US20020048447A1 (en) Reproduction apparatus, reproduction method, image processing apparatus, and image processing method
JP2004312520A (en) Data processing device, and computer program executable in the data processing device

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee