KR20000066071A - Method for displaying play-time of MPEG data and apparatus thereof - Google Patents
Method for displaying play-time of MPEG data and apparatus thereof Download PDFInfo
- Publication number
- KR20000066071A KR20000066071A KR1019990012916A KR19990012916A KR20000066071A KR 20000066071 A KR20000066071 A KR 20000066071A KR 1019990012916 A KR1019990012916 A KR 1019990012916A KR 19990012916 A KR19990012916 A KR 19990012916A KR 20000066071 A KR20000066071 A KR 20000066071A
- Authority
- KR
- South Korea
- Prior art keywords
- data
- mpeg
- unit
- time information
- time
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/36—Monitoring, i.e. supervising the progress of recording or reproducing
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/19—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
- G11B27/28—Indexing; 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
- G11B27/30—Indexing; 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 on the same track as the main recording
Abstract
Description
본 발명은 MPEG(Moving Picture Eperts Group) 데이터 재생 방법 및 그 장치에 관한 것으로서, 특히 MPEG 데이터를 이용하는 동영상의 재생량 상태를 화면에 표시하는 MPEG 데이터 재생량 표시 방법 및 그 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for reproducing moving picture data (MPEG) data, and more particularly, to an MPEG data reproduction amount display method and apparatus for displaying a reproduction amount state of a moving picture using MPEG data on a screen.
도 1은 일반적인 MPEG 시스템을 도시한 전체 블럭도이다.1 is a block diagram showing a general MPEG system.
MPEG인코더(110)는 원아날로그 영상 및 음성 신호를 MPEG 규격으로 압축 부호화한다. MPEG데이터서버(120)는 MPEG인코더(110)에서 압축 부호화된 MPEG 데이터를 저장하여 네트워크(130)에 비트스트림(bitstream) 형태로 전송한다. MPEG복원부(140)는 네트워크(130)로 부터 수신된 비트스트림형태의 MPEG 데이터를 영상 및 음성 데이터로 복원한다. 이때 사용자가 MPEG복원부(140)내에 포함되어 있는 메뉴를 이용하여 원하는 영상을 시청하고자할 때 MPEG복원부(140)는 이 영상을 MPEG데이터서버(120)와 통신하여 해당되는 MPEG 영상 데이터를 네트워크(130)를 통해 수신하며, 그와 동시에 모니터 화면상에 표시한다.The MPEG encoder 110 compressively encodes original analog video and audio signals according to the MPEG standard. The MPEG data server 120 stores MPEG data compressed and encoded by the MPEG encoder 110 and transmits the MPEG data to the network 130 in the form of a bitstream. The MPEG restorer 140 restores the MPEG data in the form of a bit stream received from the network 130 into video and audio data. At this time, when the user wants to watch a desired video using a menu included in the MPEG restorer 140, the MPEG restorer 140 communicates the video with the MPEG data server 120 to network the corresponding MPEG video data. Received through 130, and displayed on the monitor screen at the same time.
그러나 도 1의 시스템은 화면상에 복원된 MPEG 데이터를 재생하기만 할뿐 MPEG 데이터의 시간 정보 예를 들면 최초 상영분 부터 현재 까지의 재생 시간, 총 재생 시간, 잔여 재생 시간등을 알 수없어 불편함이 있었다.However, the system of FIG. 1 only plays MPEG data restored on the screen, and it is inconvenient because it does not know the time information of the MPEG data, for example, the playback time from the initial screen to the present, the total playback time, and the remaining playback time. There was this.
본 발명이 이루고자하는 기술적 과제는 MPEG 데이터 재생시 헤더 정보에 포함되어 있는 프라이비트 데이터 및 시간기준값(PCR:Program Clock Reference)을 이용하여 재생량에 대한 시간 정보를 사용자가 인식하기 용이하게 화면에 디스플레이시키는 MPEG 데이터 재생량 표시 방법 및 그 장치를 제공하는 데 있다.The technical problem to be achieved by the present invention is to display the time information on the playback amount on the screen so that the user can easily recognize using the private data and time reference value (PCR: Program Clock Reference) included in the header information during MPEG data playback There is provided a method and apparatus for displaying MPEG data reproduction amount.
도 1은 일반적인 MPEG 시스템을 도시한 전체 블럭도이다.1 is a block diagram showing a general MPEG system.
도 2는 통상적인 MPEG-2규격에서의 트랜스포트 스트림 패킷의 구조를 도시한 것이다.Figure 2 shows the structure of a transport stream packet in the conventional MPEG-2 standard.
도 3은 본 발명에 따른 MPEG 데이터 재생량을 표시하기 위한 MPEG 데이터 복원 장치의 블럭도이다.3 is a block diagram of an MPEG data decompression device for displaying the amount of MPEG data reproduction according to the present invention.
도 4는 도 3의 제어부의 MPEG 데이터 재생량 표시 방법을 보이는 흐름도이다.4 is a flowchart illustrating a method for displaying MPEG data reproduction amount by the controller of FIG. 3.
도 5는 본 발명에 따라 화면상에 표시되는 MPEG 데이터 재생량 표시 방법의 한 예를 도시한 것이다.5 shows an example of a method for displaying MPEG data reproduction amount displayed on a screen according to the present invention.
상기의 기술적 과제를 해결하기 위하여, 본 발명은 헤더와 페이로드로 이루어지고, 상기 헤더에는 프로그램의 총상영시간이 기록된 사용자정의데이터와 한개 프로그램의 기준이되는 시간기준값을 포함하고 상기 페이로드에는 영상데이터를 포함하는 MPEG 데이터에서 그 재생량 표시 방법에 있어서,In order to solve the above technical problem, the present invention comprises a header and a payload, the header includes a user-defined data recorded the total running time of the program and a time reference value that is the reference of one program, In the playback amount display method in MPEG data containing video data,
상기 MPEG 데이터를 수신하여 헤더내의 시간기준값과 사용자정의 데이터를 추출하는 제1과정;A first step of receiving the MPEG data and extracting a time reference value and user-defined data in a header;
상기 제1과정에서 총상영시간이 기록된 사용자 정의 데이터를 먼저 추출하고 난 후 상기 시간기준값을 추출할 때마다 상기 총영상시간대비 현재 재생 시간 정보를 계산하는 제2과정;A second step of first extracting user-defined data recorded with the total running time in the first step and then calculating current reproduction time information with respect to the total image time whenever the time reference value is extracted;
상기 제2과정에서 계산된 재생시간정보를 특정 형태의 그래픽 데이터로 변환하여 화면에 표시하는 제3과정을 포함하는 것을 특징으로 하는 MPEG 데이터 재생량 표시 방법이다.And a third process of converting the play time information calculated in the second process into graphic data of a specific type and displaying the same on a screen.
상기의 다른 기술적 과제를 해결하기 위하여, 본 발명은 PCR값과 사용자용데이터를 포함하는 헤더와 영상 데이터가 포함되는 페이로드로 이루어져 상기 사용자용데이터에 프로그램의 상영시간이 기록된 MPEG 데이터재생량 표시 장치에 있어서,In order to solve the above other technical problem, the present invention is composed of a payload including a PCR value and a header for the user data and the image data display the amount of MPEG data playback time recording the program running time in the user data In the apparatus,
입력되는 MPEG 비트 스트림으로 부터 압축영상 데이터와 헤더를 분리하는 디멀티플렉서부;A demultiplexer for separating compressed video data and a header from an input MPEG bit stream;
상기 멀티플렉서에서 분리된 압축 영상 데이터를 복원하는 영상복원부;An image restoring unit for restoring the compressed image data separated by the multiplexer;
상기 멀티플렉서부에서 분리된 헤더로 부터 PCR값을 검출할 때 마다 상기사용자용데이터에 해당하는 총상영시간정보를 대비하여 재생 시간 정보를 계산하고, 그 시간 정보를 소정의 그래픽 데이터로 변환하는 제어부;A control unit for calculating reproduction time information for the total running time information corresponding to the user data each time a PCR value is detected from the header separated by the multiplexer unit, and converting the time information into predetermined graphic data;
상기 제어부에 발생하는 시간정보에 해당하는 그래픽 데이터와 상기 영상복원부에서 발생하는 영상 데이터를 오버레이하는 그래픽오버레이부를 포함하는 것을 특징으로 하는 MPEG 데이터 재생량 표시 장치이다.And a graphic overlay unit for overlaying graphic data corresponding to time information generated in the control unit and image data generated in the image restoring unit.
이하 첨부된 도면을 참조로하여 본 발명의 바람직한 실시예를 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings.
도 2는 통상적인 MPEG-2규격에서의 트랜스포트 스트림 패킷의 구조를 도시한 것이다. 트랜스포트패킷 스트림 패킷은 188바이트(bytes)의 고정 길이 패킷이다. 이 길이는 ATM 셀길이와의 정합성 및 에러정정 부호화할 경우의 적용성을 고려하고 있다. 도 3에 도시된 바와 같이 트랜스포트 스트림 패킷은 헤더(header), 페이로드(payload)로 구성되며, 헤더부분의 동기 바이트(sync byte)는 바이트 정열되어 있다. 따라서 TS 스트림에서 바이트 정열시켜 동기 바이트를 찾아내면 TS 패킷을 찾아낼 수있다.Figure 2 shows the structure of a transport stream packet in the conventional MPEG-2 standard. The transport packet stream packet is a fixed length packet of 188 bytes. This length considers the compatibility with ATM cell length and the applicability in error correction coding. As shown in FIG. 3, the transport stream packet is composed of a header and a payload, and the sync bytes of the header portion are arranged in bytes. Therefore, TS packets can be found by aligning bytes in the TS stream to find sync bytes.
아답테이션필드(adaption field)는 어댑테이션필드렝스(adaptation field length), 옵셔널 필드(optional field), 스터핑바이트(stuffing bytes)....등의 정보로 구성되며, 옵셔널 필드내에 PCR(Program Clock Reference:한개 프로그램의 기준이되는 시각 정보), 트랜스포트프라이비트데이터(transport private data)...등의 정보를 포함한다. 여기서 PCR은 시스템 인코더에서의 시간을 27MHz의 시스템 클럭으로 샘플링한 값으로 TS에서 프로그램에 대한 시간 기준값을 나타내며, 영상 및 음성의 동기와 MPEG 인코더 장치와 복원 장치간의 시간 에러를 맞춘다. 또한 PCR값은 MPEG 데이터내에 최소한도 0.7초 마다 1개씩 포함되는 데 1/27MHz의 간격으로된 33비트로 구성된다. 그리고 트랜스포트프라이비트데이터는 사용자용 데이터로써 프로그램 총상영시간등의 시간 정보등을 기록할 수있다.The adaptation field consists of information such as adaptation field length, optional field, stuffing bytes, etc., and the PCR (Program Clock) in the optional field. Reference: Contains information such as time information that is the basis of a program, transport private data, and so on. Here, PCR is a value obtained by sampling the time of the system encoder with a system clock of 27 MHz, which represents a time reference value for a program in the TS, and synchronizes video and audio with time error between the MPEG encoder device and the reconstruction device. In addition, one PCR value is included in the MPEG data at least once every 0.7 seconds, and is composed of 33 bits at intervals of 1/27 MHz. The transport private data can be recorded as user data, such as time information such as the total running time of the program.
도 3은 본 발명에 따른 MPEG 데이터 재생량을 표시하기 위한 MPEG 데이터 복원 장치의 블럭도이다.3 is a block diagram of an MPEG data decompression device for displaying the amount of MPEG data reproduction according to the present invention.
먼저, MPEG데이터수신부(310)는 고속 모뎀 또는 ADSL(Asymmetric Digital Subscription Line)로 구성할 수있으며, 네트워크로 부터 MPEG 서버에서 송신되는 도 2에서 도시된 바와 같은 비트스트림형태의 MPEG 데이터를 수신한다. 여기서 도 2의 헤더(header)내에는 프로그램 시간 정보가 기록된 프라이비트데이터와 PCR데이터가 기록되어있다.First, the MPEG data receiver 310 may be configured as a high speed modem or an Asymmetric Digital Subscription Line (ADSL), and receives MPEG data in a bitstream form as shown in FIG. 2 transmitted from an MPEG server from a network. Here, the private data and the PCR data in which the program time information is recorded are recorded in the header of FIG.
디먹스(DMUX:Demultiplexor)부(220)는 MPEG데이터수신부(310)로 부터 수신된 비트스트림 형태의 MPEG 데이터에서 헤더 및 페이로드영역을 검출하여 헤더정보, 압축영상, 압축음성 데이터를 각각 분리한다.The demux (DMUX) unit 220 separates the header information, the compressed image, and the compressed audio data by detecting the header and the payload region in the bitstream form MPEG data received from the MPEG data receiver 310. .
제어부(326)는 디먹스부(320)로 부터 출력되는 헤더정보를 분석하여 프로그램 총상영시간정보에 해당하는 프라이비트 데이터 PCR을 검출하며, 최초로 수신된 PCR값 대비 현재 수신된 PCR값을 비교하여 현재 재생 시간을 계산함과 함께 잔여 재생 시간을 계산한다. 또한 제어부(326)는 계산된 총상영시간, 현재 재생시간, 잔여 재생 시간정보를 OSD(On Screen Display) 데이터 또는 특수한 그래픽 데이터로 변환한다.The control unit 326 analyzes the header information output from the demux unit 320 to detect the private data PCR corresponding to the program total running time information, and compares the currently received PCR value with the first received PCR value. The remaining play time is calculated along with the current play time. In addition, the controller 326 converts the calculated total running time, current playing time, and remaining playing time information into OSD (On Screen Display) data or special graphic data.
MPEG영상복원부(330)는 디먹스부(320)로 부터 입력되는 압축영상 데이터를 원래 영상 데이터로 복원한다. MPEG음성복원부(340)는 디먹스부(320)로 부터 입력되는 압축음성 데이터를 원래 음성 데이터로 복원한다.The MPEG image restorer 330 restores the compressed image data input from the demux 320 to the original image data. The MPEG voice restorer 340 restores the compressed voice data input from the demux 320 to the original voice data.
그래픽오버레이부(350)는 MPEG영상복원부(330)에서 입력되는 영상 데이터와 제어부(326)에서 입력되는 OSD 데이터를 오버레이(overlay)한 영상 데이터를 출력한다.The graphic overlay unit 350 outputs image data obtained by overlaying the image data input from the MPEG image restorer 330 and the OSD data input from the controller 326.
TV 인터페이스부(360)는 그래픽오버레이부(350)에서 출력되는 오버레이 영상데이터를 NTSC나 PAL과 같은 텔레비젼 신호로 변환한다.The TV interface unit 360 converts the overlay image data output from the graphic overlay unit 350 into a television signal such as NTSC or PAL.
도 4는 도 3의 제어부(326)의 MPEG 데이터 재생량 표시 방법을 보이는 흐름도이다.4 is a flowchart illustrating a method for displaying MPEG data reproduction amount by the controller 326 of FIG. 3.
먼저, 410과정에서 디먹스부(320)에서 분리된 헤더로 부터 프라이비트데이터 및 PCR 데이터를 검출하여 메모리에 일시 저장한다.First, in step 410, the private data and the PCR data are detected from the header separated by the demux unit 320 and temporarily stored in the memory.
420과정에서 저장된 프라이비트 데이터로 부터 타임 베이스를 계산하여 총상영상시간정보로 변환한다.The time base is calculated from the stored private data in step 420 and converted into total image time information.
430과정에서 현재의 PCR인가를 확인한다. 따라서 PCR값을 수신할 때마다 440과정에서 (최초로 수신된 PCR+현재 수신된 PCR) × 1/27M로 계산하여 현재 재생 시간을 구한다.In step 430, the current PCR is confirmed. Therefore, each time the PCR value is received, the current reproduction time is obtained by calculating (the first received PCR + the currently received PCR) x 1 / 27M in step 440.
440과정에서 저장된 총 상영 시간으로 부터 현재 재생시간을 감산하여 잔여 재생 시간을 계산한다.The remaining play time is calculated by subtracting the current play time from the total running time stored in step 440.
460, 470과정에서 계산된 총상영시간, 현재재생시간, 잔여재생시간정보를 OSD 데이터 또는 특수한 그래픽 데이터로 변환하여 화면의 특정 부분에 디스플레이한다.The total running time, current playing time, and remaining playing time information calculated in steps 460 and 470 are converted into OSD data or special graphic data and displayed on a specific portion of the screen.
도 5는 본 발명에 따라 화면상에 표시되는 MPEG 데이터 재생량 표시 방법의 한 예이며, 화면의 특정 부분에 "총 상영 시간: ×××", "현재 재생 시간: ×××", "잔여 재생 시간: ×××"등으로 표시될 수있다.Fig. 5 is an example of a method for displaying MPEG data reproduction amount displayed on a screen according to the present invention, in which a specific portion of the screen includes " total running time: ××× ", " current playback time: ××× " Playback time: ××× "
본 발명은 상술한 실시예에 한정하지 않으며, 본 발명의 사상내에서 당업자에 의한 변형이 가능함은 물론이다. 즉, 시간정보의 출력 표시가 계속 필요치 않을 경우 제어부(330)가 PCR값이 수신될 때 마다 저장하고 있다가 사용자의 특별 조적 즉, 리모콘에 특별 키이를 할당하여 이 키이가 입력되면 이 경우에만 시간 정보를 그래픽으로 표시할 수있다.The present invention is not limited to the above-described embodiment, and of course, modifications can be made by those skilled in the art within the spirit of the present invention. In other words, if the output display of time information is not necessary, the controller 330 stores the PCR value every time the PCR value is received and allocates a special key to the user's special ie, the remote controller. Information can be displayed graphically.
상술한 바와 같이 본 발명에 의하면, MPEG을 이용한 영상 정보의 복원에 있어서 MPEG 데이터의 재생량에 대한 총복원 대비 시간 정보를 사용자에게 시청각적으로 알려줄 수있다.As described above, according to the present invention, in the restoration of video information using MPEG, it is possible to visually inform the user visually of the total time-to-restore information on the reproduction amount of MPEG data.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990012916A KR100601603B1 (en) | 1999-04-13 | 1999-04-13 | Method for displaying play-time of MPEG data and apparatus thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990012916A KR100601603B1 (en) | 1999-04-13 | 1999-04-13 | Method for displaying play-time of MPEG data and apparatus thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20000066071A true KR20000066071A (en) | 2000-11-15 |
KR100601603B1 KR100601603B1 (en) | 2006-07-14 |
Family
ID=19579653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019990012916A KR100601603B1 (en) | 1999-04-13 | 1999-04-13 | Method for displaying play-time of MPEG data and apparatus thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100601603B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100686040B1 (en) * | 2006-01-23 | 2007-02-26 | 엘지전자 주식회사 | Method for calculating media play time, and method for producing media file for calculating media play time |
US7715827B2 (en) | 2005-11-04 | 2010-05-11 | Lg Electronics Inc. | Mobile communication terminal and method for calculating media play time of the mobile communication terminal |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0845183A (en) * | 1994-07-27 | 1996-02-16 | Victor Co Of Japan Ltd | Packet data recording and reproducing device and recording medium |
JPH10200854A (en) * | 1997-01-13 | 1998-07-31 | Sony Corp | Recorder, reproducing device and recording and reproducing device |
JPH10334615A (en) * | 1997-05-27 | 1998-12-18 | Hitachi Ltd | Reference clock reproducing apparatus and recording apparatus |
-
1999
- 1999-04-13 KR KR1019990012916A patent/KR100601603B1/en not_active IP Right Cessation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7715827B2 (en) | 2005-11-04 | 2010-05-11 | Lg Electronics Inc. | Mobile communication terminal and method for calculating media play time of the mobile communication terminal |
KR100686040B1 (en) * | 2006-01-23 | 2007-02-26 | 엘지전자 주식회사 | Method for calculating media play time, and method for producing media file for calculating media play time |
Also Published As
Publication number | Publication date |
---|---|
KR100601603B1 (en) | 2006-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100827887B1 (en) | Image coding apparatus and method, image decoding apparatus and method, and recording medium | |
KR100540645B1 (en) | Apparatus for transferring DVD information and method thereof | |
KR100226528B1 (en) | Decoder for compressed and multiplexed video and audio data | |
JP4481444B2 (en) | Image encoding device | |
KR100290331B1 (en) | Synchronous playback device for audio-video signals | |
EP1301043B1 (en) | Subtitle encoding/decoding | |
KR100750779B1 (en) | Signal transmitter and signal receiver | |
US20070269192A1 (en) | Stream generating apparatus, imaging apparatus, data processing apparatus and stream generating method | |
JP4468001B2 (en) | Video data and auxiliary data readout synchronization device, processing and related products | |
EP1097578A1 (en) | Method and arrangement for transmitting and receiving encoded images | |
KR20010110167A (en) | Apparatus and Method for Information Processing, and Recording Medium | |
KR100601603B1 (en) | Method for displaying play-time of MPEG data and apparatus thereof | |
JP5274179B2 (en) | Subtitle broadcasting system and subtitle broadcasting method | |
KR100503452B1 (en) | Multimedia Data recorder with high efficiency | |
JP4765192B2 (en) | Image encoding apparatus and method, image decoding apparatus and method, and recording medium | |
KR100191731B1 (en) | A dvcr | |
KR100324741B1 (en) | Image Acquisition / Playback Method of Digital Broadcast Receiver | |
JP3910149B2 (en) | Program recording apparatus, program reproducing apparatus, and program recording method | |
JPH099215A (en) | Data multiplex method, data transmission method, multiplex data decoding method and multiplex data decoder | |
JP3825646B2 (en) | MPEG device | |
KR100322551B1 (en) | Mpeg signal decoding system | |
JP4391187B2 (en) | Data decoding method and apparatus | |
JP2003284011A (en) | Broadcast system and av signal reproducing apparatus | |
JP2001238180A (en) | Recording and reproducing apparatus of digital data | |
JP2001119636A (en) | Digital television broadcast receiver |
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: 20130627 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20140627 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20150629 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20160629 Year of fee payment: 11 |
|
LAPS | Lapse due to unpaid annual fee |