KR20050035236A - The method of insertion to audio packet in transport stream with caption data - Google Patents

The method of insertion to audio packet in transport stream with caption data Download PDF

Info

Publication number
KR20050035236A
KR20050035236A KR1020050024514A KR20050024514A KR20050035236A KR 20050035236 A KR20050035236 A KR 20050035236A KR 1020050024514 A KR1020050024514 A KR 1020050024514A KR 20050024514 A KR20050024514 A KR 20050024514A KR 20050035236 A KR20050035236 A KR 20050035236A
Authority
KR
South Korea
Prior art keywords
data
transport stream
private
subtitle
field
Prior art date
Application number
KR1020050024514A
Other languages
Korean (ko)
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 KR1020050024514A priority Critical patent/KR20050035236A/en
Publication of KR20050035236A publication Critical patent/KR20050035236A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/033Indexing scheme relating to G06F3/033
    • G06F2203/0334Ergonomic shaped mouse for vertical grip, whereby the hand controlling the mouse is resting or gripping it with an attitude almost vertical with respect of the working surface

Abstract

본 발명은 현재 디지털 고화질 방송을 위한 스트림 규격인 전송 스트림 데이터에 자막데이터를 삽입하는 방법과 그 장치에 관한 것이다.The present invention relates to a method and apparatus for inserting subtitle data into transport stream data which is a stream standard for digital high definition broadcasting.

본 발명은 전송스트림내의 오디오 패킷 데이터의 adaptation data field부분에 transport_private_data_field_flag를 Set하여 private_data_field를 유효하게 한 후 여기에 부가 데이터를 삽입하는 방식을 포함한다. 부가 데이터는 2바이트(16bit)에서 수 바이트가 될 수 있다.The present invention includes a scheme in which transport_private_data_field_flag is set in an adaptation data field portion of audio packet data in a transport stream to enable private_data_field and then insert additional data therein. The additional data may be from 2 bytes (16 bits) to several bytes.

자막데이터를 삽입하는데 있어서 기존 제작된 전송 스트림을 수정하지 않고 adaptation data field부에 부가 데이터만 삽입하도록 하여 기존 전송 스트림의 비디오 및 오디오 컨텐츠에는 전혀 변경을 가하지 않은 상태에서 부가 데이터만 삽입하는것이 가능하다.When inserting subtitle data, it is possible to insert only additional data into the adaptation data field without modifying the existing transport stream, so that only the additional data can be inserted without any change to the video and audio contents of the existing transport stream. .

이러한 본 발명에 따르면 기존 기 방송중인 컨텐츠를 비롯하여 앞으로 방송에 사용될 컨텐츠에 쉽고 간단하게 자막데이터를 삽입할 수 있고 방송을 수신하는 측에서도 전송 스트림의 private data field만을 쉽게 추출하여 자막 데이터로 부가 서비스를 구현할 수 있다.According to the present invention, it is possible to easily and simply insert subtitle data into content to be used for broadcasting in the future, including existing content, and to easily extract only a private data field of a transport stream to implement additional services with subtitle data. Can be.

Description

전송 스트림의 오디오 패킷에 자막 데이터 삽입방법{The method of insertion to Audio packet in Transport Stream with caption data}The method of insertion to Audio packet in Transport Stream with caption data}

본 발명은 전송 스트림(transport stream, 이하 TS라 함)에 간편하게 자막 데이터를 삽입할 수 있게하고 삽입된 데이터는 다시 간편하게 추출할 수 있게 하여 전송 스트림내에서 간편한 자막 데이터 서비스를 구현하기 위한 것이다.The present invention enables to easily insert caption data into a transport stream (hereinafter referred to as TS) and to easily extract the inserted data again to implement a convenient caption data service in a transport stream.

MPEG(motion picture expert group)-2 규격의 자막 데이터 규격은 그 표현이나 구현방식이 복잡하고 비용이 많이 드는 반면에 본 발명을 적용할 경우 새로 작성하고자 하는 컨텐츠 뿐 아니라 기작성된 컨텐츠도 쉽고 빠르게 자막 데이터를 지원하는 TS로 변환 해 줌으로써 비용도 절감할 수 있다.While the caption data standard of the MPEG (motion picture expert group) -2 standard is complicated and expensive in its expression or implementation method, the caption data can be easily and quickly added not only to contents to be created but also to previously written contents. The cost can be reduced by converting to TS that supports.

TS내에 여러 가지 패킷들 중에 오디오 패킷에 삽입하게 되는데 이는 오디오 데이터를 기준으로 자막과 동기를 맞추기 위함이다. 오디오 패킷의 시작 패킷에는 adaptation data field가 존재하게 되는데 여기에 transport_private_data_field_flag를 '1'로 Set하여 private data byte형태로 2바이트의 자막데이터를 삽입하게 된다. 이렇게 삽입된 데이터는 수신단에서는 반대로 오디오 패킷의 시작 패킷에서 transport_private_data_field_flag를 확인하여 private data byte를 추출해 내어 자막 데이터를 사용하게 된다.Among the various packets in the TS, it is inserted in the audio packet to synchronize with the subtitle based on the audio data. The adaptation data field exists in the start packet of the audio packet, and the transport_private_data_field_flag is set to '1' to insert 2 bytes of subtitle data in the form of a private data byte. The inserted data, on the contrary, checks transport_private_data_field_flag in the start packet of the audio packet, extracts the private data byte, and uses the caption data.

본 발명은 상기한 기술적 과제를 해결하기 위한 것으로, 기존 컨텐츠를 비롯하여 작성될 컨텐츠까지 적용을 하는데 있어서 큰 비용이 들지 않으면서 자막 데이터 서비스를 구현할 수 있도록 하는 것이다.The present invention is to solve the above technical problem, it is possible to implement a subtitle data service without incurring a large cost in applying to the content to be created, including the existing content.

본 발명은 TS내의 자막 데이터를 포함하는 TS 생성부와 삽입된 자막 데이터를 추출해주는 TS 해석부로 구성된다.The present invention is composed of a TS generating unit including subtitle data in the TS and a TS analyzing unit extracting the inserted subtitle data.

TS 생성부에서는 오디오 패킷에 자막 데이터를 삽입하여 주기 위한 자막 데이터 삽입부와 삽입된 오디오 패킷을 비롯하여 각종 패킷들을 통합하여 하나의 TS로 만들어주는 TS 다중화기로 구성된다.The TS generating unit includes a subtitle data inserting unit for inserting subtitle data into an audio packet, and a TS multiplexer that integrates various packets including the inserted audio packet into a single TS.

TS 해석부는 생성된 TS내에서 오디오 패킷만을 선별하여 그 중의 시작패킷으로부터 적절한 처리과정을 거쳐서 private data byte영역에 인코딩된 자막 데이터를 추출하여 처리할 수 있도록 한다.The TS analyzer selects only the audio packet in the generated TS and extracts and processes caption data encoded in the private data byte area from the start packet.

TS 생성부의 자막 데이터를 삽입하기 위한 과정을 도 2에 블록도로 나타내었다.A block diagram of a process of inserting caption data of the TS generator is illustrated in FIG. 2.

전송 스트림 멀티플렉서는 비디오 패킷, 오디오 패킷, 기타 MPEG-2에서 정의한 여러 가지 패킷들을 입력으로 받아서 하나의 통합된 전송 스트림으로 다중화를 해준다. 이 때 오디오 패킷의 경우 멀티플렉서로 입력이 되기 전에 자막데이터를 삽입하는 과정을 한번 더 거치게 된다. 이 과정은 도3a에 흐름도로 나타내었다. 다중화 과정에서 오디오 패킷일 경우 이 패킷이 시작 패킷인지 먼저 확인을 거친 후 그 중에 시작 패킷일 경우에 transport_private_data_flag를 '1'로 Set한다. 이렇게 하면 private_data_byte 필드가 활성화가 되고 여기에 자막 데이터를 삽입하게 된다. 삽입하고자 하는 자막 데이터를 얻은 후 private_data_byte에 데이터를 삽입한 후 늘어난 길이 만큼 adaptation_data_field_length를 갱신하여 준다. 도3a에 생략 되었으나 기존은 TS에 자막 데이터를 삽입할 경우 자막 데이터를 삽입한 길이만큼 오디오 패킷의 길이가 늘어나게 되는데 오디오 패킷 늘어난 길이로 인해 패킷 수가 늘어나는 경우 TS의 전체 비트레이트에 영향을 줄 수 있다.The transport stream multiplexer takes video packets, audio packets, and other packets defined in MPEG-2 as input, and multiplexes them into one integrated transport stream. In this case, the audio packet goes through the process of inserting subtitle data before inputting to the multiplexer. This process is shown in a flow chart in Figure 3a. In the case of an audio packet in the multiplexing process, it is first checked whether the packet is a start packet, and if it is a start packet, transport_private_data_flag is set to '1'. This activates the private_data_byte field and inserts subtitle data into it. After acquiring subtitle data to insert, insert data into private_data_byte and update adaptation_data_field_length as much as the length increased. Although omitted in FIG. 3A, when the caption data is inserted into the TS, the length of the audio packet increases as long as the caption data is inserted. However, when the number of packets increases due to the increased length of the audio packet, the overall bit rate of the TS may be affected. .

이러한 경우를 방지 하기 위해 자막 삽입시 오디오 패킷이 늘어나는 경우에는 자막 데이터를 삽입하게 되면 Null Packet을 하나 삭제하거나 그 오디오 패킷에는 자막을 삽입하지 않는 것이 좋다. 이러한 과정을 거쳐서 생성된 오디오 패킷은 전송 스트림 멀티플렉서로 보내어져서 다중화가 되게 된다.In order to prevent such a case, when the audio packet increases when the caption is inserted, it is better to delete one null packet or insert the caption in the audio packet when the caption data is inserted. The audio packet generated through this process is sent to the transport stream multiplexer to be multiplexed.

TS 해석부의 자막 데이터를 추출하기 위한 과정을 도1에 블록도로 나타내었다.A block diagram of a process of extracting caption data of the TS analyzer is shown in FIG. 1.

전송 스트림 디멀티플렉서는 입력된 전송 스트림으로부터 비디오 패킷, 오디오 패킷, 그리고 기타 패킷등으로 분리해 낸다. 이렇게 분리된 오디오 패킷은 따로 자막 데이터 추출부로 들어가게 된다. 전달된 오디오 패킷의 자막 데이터 추출 과정을 도3b에 흐름도로 나타내었다.The transport stream demultiplexer separates the input transport stream into video packets, audio packets, and other packets. The separated audio packets enter the caption data extraction unit separately. The caption data extraction process of the delivered audio packet is shown in a flowchart in FIG. 3B.

오디오 패킷이 시작패킷인지 먼저 확인하고 adaptation_data_field_control이 2또는 3인지 확인한다. 이 값은 실제 adaptation_data_field가 존재하는지를 나타낸다. 이 값이 0, 또는 1이면 adaptation_data_field가 존재하지 않으므로 자막 데이터도 포함될 수 없다. adaptation_data_field가 존재하는지 확인이 되었다면 transport_private_data_flag가 '1'인지 확인한다. 이 값이 '0'이면 자막 데이터가 존재하지 않음을 의미 한다. '1'인지 확인이 되었다면 transport_private_data_length값 만큼 private_data_byte를 읽어들이며 이 값이 비로소 자막데이터가 된다. 이렇게 추출된 자막데이터는 화면에 표시하는 등의 방법으로 서비스의 구현이 완료된다.First check if the audio packet is a start packet and if adaptation_data_field_control is 2 or 3. This value indicates whether the actual adaptation_data_field exists. If this value is 0 or 1, since the adaptation_data_field does not exist, caption data cannot be included. If it is confirmed that the adaptation_data_field exists, check whether the transport_private_data_flag is '1'. If this value is '0', it means that caption data does not exist. If it is confirmed to be '1', private_data_byte is read as much as transport_private_data_length value, and this value becomes subtitle data. The extracted caption data is implemented on the screen by displaying on the screen.

본 발명은 TS내의 오디오 패킷에 자막 데이터의 삽입을 쉽고, 비용이 적게 드는 방법을 제공하며, 해석시에도 자막 데이터의 추출을 하는데 있어서 아주 간단한 알고리즘을 제공하여 구현에 있어서 적은 비용이 소요된다. 또한 기 작성된 TS내에도 자막 데이터를 삽입할 수 있도록 함으로써 호환성도 고려하였다.The present invention provides an easy and inexpensive method of inserting subtitle data into an audio packet in a TS, and provides a very simple algorithm for extracting subtitle data during interpretation, and thus requires little cost in implementation. In addition, compatibility was taken into consideration by allowing subtitle data to be inserted in a previously prepared TS.

도 1은 본 발명의 실시예에 따른 전송 스트림 데이터에 삽입되어 있는 자막 데이터에 대한 처리장치에 대한 블록도 이다.1 is a block diagram of an apparatus for processing caption data inserted into transport stream data according to an exemplary embodiment of the present invention.

도 2는 본 발명의 실시예에 따른 기존 전송 스트림에 자막 데이터를 삽입하는 방법에 대한 블록도이다.2 is a block diagram of a method for inserting subtitle data into an existing transport stream according to an embodiment of the present invention.

도 3a와 도 3b는 자막데이터의 삽입과 추출에 대한 제어부의 동작 순서도이다.3A and 3B are flowcharts illustrating operations of the controller for inserting and extracting caption data.

Claims (1)

디지털 고화질 방송(HDTV)에서 방송 스트림으로 널리 사용되는 MPEG-2 전송 스트림을 이용한 자막 데이터 방송을 구현하는데 있어서 TS의 구성에 영향을 주지 않고 자막 데이터를 추가적으로 삽입하는 방법과 그 알고리즘A method and algorithm for additionally inserting subtitle data without affecting the configuration of TS in implementing subtitle data broadcasting using MPEG-2 transport stream which is widely used as a broadcast stream in digital high definition broadcasting (HDTV) 상기한 방법으로 생성된 전송 스트림으로부터 삽입한 자막 데이터를 추출해내는 방법과 그 알고리즘A method and algorithm for extracting subtitle data inserted from a transport stream generated by the above method 상기한 방법에 있어서 adaptation_field내의 transport_private_data_flag와 transport_private_data_length, private_data_byte를 이용하여 실제 자막데이터를 삽입하는 방법In the above method, subtitle data is inserted using transport_private_data_flag, transport_private_data_length, and private_data_byte in adaptation_field. 상기한 방법으로 자막 데이터 외의 데이터를 삽입하여 자막 데이터 서비스 외의 다른 서비스를 구현하는 방법.Implementing a service other than the caption data service by inserting data other than the caption data by the above method.
KR1020050024514A 2005-03-24 2005-03-24 The method of insertion to audio packet in transport stream with caption data KR20050035236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050024514A KR20050035236A (en) 2005-03-24 2005-03-24 The method of insertion to audio packet in transport stream with caption data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050024514A KR20050035236A (en) 2005-03-24 2005-03-24 The method of insertion to audio packet in transport stream with caption data

Publications (1)

Publication Number Publication Date
KR20050035236A true KR20050035236A (en) 2005-04-15

Family

ID=37238746

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050024514A KR20050035236A (en) 2005-03-24 2005-03-24 The method of insertion to audio packet in transport stream with caption data

Country Status (1)

Country Link
KR (1) KR20050035236A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7920602B2 (en) 2005-05-23 2011-04-05 Samsung Electronics Co., Ltd. Method for formatting digital broadcast transport stream packet for improved receiving performance, digital broadcast transmitter, and signal processing method thereof
WO2014116347A1 (en) * 2013-01-24 2014-07-31 Silicon Image, Inc. Auxiliary data encoding in video data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7920602B2 (en) 2005-05-23 2011-04-05 Samsung Electronics Co., Ltd. Method for formatting digital broadcast transport stream packet for improved receiving performance, digital broadcast transmitter, and signal processing method thereof
US8130798B2 (en) 2005-05-23 2012-03-06 Samsung Electronics Co., Ltd. Method for formatting digital broadcast transport stream packet for improved receiving performance, digital broadcast transmitter, and signal processing method thereof
US8135044B2 (en) 2005-05-23 2012-03-13 Samsung Electronics Co., Ltd. Method for formatting digital broadcast transport stream packet for improved receiving performance, digital broadcast transmitter, and signal processing method thereof
US8194705B2 (en) 2005-05-23 2012-06-05 Samsung Electronics Co., Ltd. Method for formatting digital broadcast transport stream packet for improved receiving performance, digital broadcast transmitter, and signal processing method thereof
WO2014116347A1 (en) * 2013-01-24 2014-07-31 Silicon Image, Inc. Auxiliary data encoding in video data

Similar Documents

Publication Publication Date Title
US10560674B2 (en) Transmitting device, transmitting method, receiving device, and receiving method
KR100640390B1 (en) Apparatus for inserting and extracting value added data in mpeg-2 system with transport stream and method thereof
KR100398610B1 (en) Method and apparatus for delivery of metadata synchronized to multimedia contents
US9426479B2 (en) Preserving captioning through video transcoding
US5856973A (en) Data multiplexing in MPEG server to decoder systems
EP2827586B1 (en) Receiver apparatus, broadcast/communication-cooperation system, and broadcast/communication-cooperation method
KR101289267B1 (en) Apparatus and method for dtv closed-captioning processing in broadcasting and communication system
US8087044B2 (en) Methods, apparatus, and systems for managing the insertion of overlay content into a video signal
CN111372097A (en) Receiving apparatus, display device, and receiving method
BR9814657B1 (en) FILTERING METHOD OF A PACKAGE AND RECEIVER / DECODER DATA FLOW FOR DIGITAL AUDIOVISUAL TRANSMISSION SYSTEM
EP3288270B1 (en) Broadcasting signal transmission device, broadcasting signal reception device, broadcasting signal transmission method, and broadcasting signal reception method
CN107431835B (en) Transmission device, transmission method, reproduction device, and reproduction method
CN108028949B (en) Transmission device, transmission method, reproduction device, and reproduction method
US20190045156A1 (en) Device for transmitting broadcast signal, device for receiving broadcast signal, method for transmitting broadcast signal, and method for receiving broadcast signal
EP3366042B1 (en) Transmission device, transmission method, reception device, and reception method
CN107211170B (en) Transmission device, transmission method, reception device, and reception method
US10666549B2 (en) Broadcast signal transmission apparatus, broadcast signal reception apparatus, broadcast signal transmission method and broadcast signal reception method
US8223966B2 (en) Multiple stream decrypting and decoding systems and related methods thereof
US20130094836A1 (en) Embedded ancillary data processing method and system with program duration alteration
KR20040009927A (en) Information storage medium for storing information of generating DTV stream, method for transcoding the information thereon as DTV stream and apparatus therefor
KR102626634B1 (en) Broadcast signal transmitting device, broadcast signal receiving device, broadcast signal transmitting method, and broadcast signal receiving method
KR20050035236A (en) The method of insertion to audio packet in transport stream with caption data
EP3349470A1 (en) Broadcast signal transmission device, broadcast signal reception device, broadcast signal transmission method, and broadcast signal reception method
WO2001097526A1 (en) Apparatus and method for resolution of conflicts in protocol data of multiple data streams
EP3435679A1 (en) Broadcast signal transmission and reception method and device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application