Receiving device

By placing subtitle packets at random access positions with synchronized timestamps and identification in the multiplexed stream, the complexity of subtitle display in variable speed playback is reduced, enabling efficient synchronization and display.

JP7578129B2Active Publication Date: 2024-11-06SONY GROUP CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2022179816
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2015-02-20
Filing Date
2022-11-09
Publication Date
2024-11-06
Estimated Expiration
2036-02-09

AI Technical Summary

Technical Problem

Existing subtitle display processing in variable speed playback mode is complex due to the lack of efficient synchronization between video and subtitle streams, particularly when using text-based subtitle information like TTML.

Method used

The solution involves generating a multiplexed stream where subtitle packets are placed at random access positions, with synchronized timestamps and identification information, allowing for simultaneous extraction and display with video packets, simplifying the subtitle display process.

Benefits of technology

This approach simplifies subtitle display processing in variable speed playback by ensuring subtitle packets are easily extracted and displayed alongside video packets, improving playback efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007578129000001
    Figure 0007578129000001
  • Figure 0007578129000002
    Figure 0007578129000002
  • Figure 0007578129000003
    Figure 0007578129000003
Patent Text Reader

Abstract

This aims to simplify the subtitle display process in variable speed playback mode on the receiving side. [Solution] A video stream composed of video packets having coded image data in their payloads is generated. A subtitle stream composed of subtitle packets having subtitle information in their payloads is generated. A multiplexed stream including the video stream and the subtitle stream is generated and transmitted. When generating the multiplexed stream, the subtitle packets are placed in a random access position.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This technology is , receiving This relates to communication devices. [Background technology]

[0002] Conventionally, for example, in DVB (Digital Video Broadcasting) broadcasts, subtitle information has been transmitted as bitmap data. Recently, it has been proposed to transmit subtitle information in text character code, i.e., text-based. In this case, font expansion according to the resolution is performed on the receiving side.

[0003] Also, when transmitting subtitle information on a text basis, it has been proposed to provide timing information to the text information. For example, the World Wide Web Consortium (W3C) has proposed the Timed Text Markup Language (TTML) as this text information (see Patent Document 1). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2012-169885 A Summary of the Invention [Problem to be solved by the invention]

[0005] An object of the present technology is to simplify the subtitle display process in variable speed playback mode on the receiving side. [Means for solving the problem]

[0006] The concept of this technology is as follows: a video encoding unit that generates a video stream composed of video packets having encoded image data in their payloads; a subtitle encoding unit for generating a subtitle stream composed of subtitle packets having subtitle information in a payload; a multiplexed stream generating unit for generating a multiplexed stream including the video stream and the subtitle stream; a transmitting unit for transmitting the multiplexed stream, The multiplexed stream generating unit The above subtitle packet is placed in a random access position. Located in the transmitting device.

[0007] In the present technology, a video encoding unit generates a video stream composed of video packets having encoded image data in their payloads. A subtitle encoding unit generates a subtitle stream composed of subtitle packets having subtitle information in their payloads. For example, the subtitle information may be subtitle text information in a predetermined format having display timing information. In this case, for example, the subtitle text information in the predetermined format may be TTML or a format derived from this TTML.

[0008] A multiplexed stream including at least a video stream and a subtitle stream is generated by a multiplexed stream generating unit. In this case, the subtitle packets are arranged at a random access position. For example, the video packets and the subtitle packets may be PES packets, and the multiplexed stream may be an MPEG2 transport stream. The multiplexed stream is transmitted by a transmitting unit.

[0009] In this way, in this technology, when a video stream and a subtitle stream are multiplexed, the subtitle packets are placed at the random access position, so that the receiving side can extract the subtitle packets when extracting the video packets at the random access position from the multiplexed stream, thereby simplifying the subtitle display process in variable speed playback mode.

[0010] In addition, in the present technology, for example, the subtitle encoding unit may insert a timestamp having a value equal to or close to the value of the timestamp inserted at the timestamp insertion position of the header of the video packet at the random access position, into the timestamp insertion position of the header of the subtitle packet. In this case, when the packet multiplexing in the multiplexed stream is performed with reference to the timestamp, the subtitle packet is arranged at the random access position.

[0011] In addition, in the present technology, for example, the subtitle encoding unit may insert a unique timestamp indicating the display time of the subtitle into the header or payload of the subtitle packet. In this case, the receiving side can easily control the display timing of the subtitle based on the unique timestamp.

[0012] In addition, in the present technology, for example, the multiplexed stream generating unit may insert identification information indicating that a unique timestamp is inserted into a subtitle packet into the multiplexed stream. In this case, the receiving side can easily recognize that a unique timestamp is inserted based on this identification information. In this case, for example, information indicating the insertion position may be added to the identification information. In this case, the receiving side can easily obtain the unique timestamp based on the information indicating the insertion position.

[0013] Another concept of the present technology is a receiving unit for receiving a multiplexed stream including a video stream constituted by video packets having encoded image data in their payloads and a subtitle stream constituted by subtitle packets having subtitle information in their payloads; In the multiplexed stream, the subtitle packets are arranged at random access positions; The apparatus further includes a processing unit for extracting the subtitle packet from the multiplexed stream together with the video packet at the random access position and performing a subtitle display process. in the receiving device.

[0014] In this technology, a receiving unit receives a multiplexed stream including a video stream composed of video packets having encoded image data in their payloads and a subtitle stream composed of subtitle packets having subtitle information in their payloads. In the multiplexed stream, the subtitle packets are arranged at random access positions. A processing unit extracts the subtitle packets together with the video packets at the random access positions from the multiplexed stream and performs a subtitle display process.

[0015] In this way, in this technology, subtitle packets are arranged at random access positions in a multiplexed stream, and the subtitle packets are extracted from this multiplexed stream together with the video packets at the random access positions for subtitle display processing, which makes it possible to simplify the subtitle display processing in variable speed playback mode.

[0016] In the present technology, for example, a first timestamp having a value equal to or close to the value of a timestamp inserted at the timestamp insertion position of the header of a video packet at a random access position is inserted at the timestamp insertion position of the header of the subtitle packet, a second timestamp indicating the display time of the subtitle is inserted in the header or payload of the subtitle packet, and the processing unit may perform the subtitle display process by referring to the second timestamp in the normal playback mode. In this case, the display timing of the subtitle can be easily controlled.

[0017] In this case, for example, identification information indicating that a second timestamp has been inserted into a subtitle packet may be inserted into the multiplexed stream, and the processing unit may extract and use the second timestamp from the subtitle packet based on this identification information. Effect of the Invention

[0018] According to the present technology, it is possible to simplify the subtitle display process in variable speed playback mode on the receiving side. Note that the effects described in this specification are merely examples and are not limiting, and additional effects may also be provided. [Brief description of the drawings]

[0019] [Figure 1] 1 is a block diagram showing an example of the configuration of a transmission / reception system according to an embodiment; [Diagram 2] 1 is a block diagram showing an example of the configuration of a stream generating unit of a broadcast transmission system. [Diagram 3] FIG. 1 is a diagram for explaining a TTML structure. [Figure 4] FIG. 1 is a diagram showing an example structure of each element of metadata, styling, and layout present in the header of the TTML structure. [Diagram 5] FIG. 2 is a diagram showing an example of the body structure of the TTML structure. [Figure 6] 1 is a diagram illustrating an example of the configuration of a timing management unit in a control unit. FIG. [Figure 7] 11 is a diagram for explaining a detailed configuration of a subtitle display timing management unit. FIG. [Figure 8] 1 is a diagram illustrating an example of the configuration of a PES packet. [Figure 9] A diagram showing an example (1 / 2) of the configuration of a PES extension “PES extension”. [Figure 10] A diagram showing an example (2 / 2) of the configuration of a PES extension “PES extension”. [Figure 11] A diagram showing an example of the configuration of a PES payload (PES_payload) placed in the "PES packet data bytes" area. [Figure 12] 1 shows the contents of new elements in an example configuration of a PES extension and a PES payload. [Figure 13] FIG. 13 is a diagram showing an example of the structure of a subtitle wrap descriptor and the contents of main information in the example structure. [Figure 14] FIG. 2 is a diagram illustrating an example of the configuration of a transport stream TS. [Figure 15] FIG. 1 is a diagram illustrating an example of the configuration of a television receiver. [Figure 16] 13 is a diagram illustrating an outline of the processing timing of decoding and output for a subtitle PES packet read at a RAP (Random Access Point) position. FIG. [Figure 17] FIG. 1 is a diagram for explaining conventional multiplexing. [Figure 18] FIG. 1 is a diagram for explaining multiplexing of the present technology. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] Hereinafter, modes for carrying out the invention (hereinafter, referred to as "embodiments") will be described. The description will be made in the following order. 1. Embodiment 2. Variations

[0021] <1. Preferred embodiment> [Example of transmission and reception system configuration] Fig. 1 shows an example of the configuration of a transmission / reception system 10 according to an embodiment. This transmission / reception system 10 is composed of a broadcast transmission system 100 and a television receiver 200. The broadcast transmission system 100 transmits a transport stream TS, which is a multiplexed stream, over broadcast waves. The transport stream TS has a video stream and a subtitle stream. The video stream is composed of video PES packets having image data in their payloads. The subtitle stream is composed of subtitle PES packets having subtitle (caption) information in their payloads.

[0022] A timestamp with a value equal to or close to the timestamp value inserted at the timestamp insertion position of the header of the video PES packet at the random access position is inserted at the timestamp insertion position of the header of the subtitle PES packet. Also, a unique timestamp indicating the display time of the subtitle is inserted in the header or payload of the subtitle PES packet.

[0023] When a subtitle stream is multiplexed with a video stream, etc., a TS packet including a subtitle PES packet (hereinafter, simply referred to as a PES packet) is placed at a random access position. In this case, for example, as described above, the timestamp inserted at the timestamp insertion position of the header is referenced, and the subtitle PES packet is placed at the random access position, that is, at a position close to the position of the video PES packet at the random access position.

[0024] Identification information is inserted into the transport stream TS to indicate that a unique timestamp is inserted into the subtitle PES packet. This identification information is inserted, for example, under the program map table. As described above, a unique timestamp is inserted into the header or payload of the subtitle PES packet. Information indicating the insertion position is added to this identification information.

[0025] The television receiver 200 receives a transport stream TS transmitted by broadcast waves from the broadcast transmission system 100. As described above, this transport stream TS has at least a video stream and a subtitle stream. The transport stream TS may also include an audio stream. The video stream is made up of video PES packets having image data in their payloads. The subtitle stream is made up of subtitle PES packets having subtitle information in their payloads. In multiplexing this transport stream TS, the subtitle PES packets are placed at random access positions.

[0026] The television receiver 200 extracts the subtitle PES packet from the transport stream TS together with the video PES packet at the random access position, and performs display processing of the subtitles (subtitles). For example, in variable speed playback mode, the subtitle PES packet extracted from the random access position of the transport stream TS is immediately processed to display the subtitles.

[0027] Also, for example, in normal playback mode, a subtitle PES packet extracted from a random access position of the transport stream TS is processed based on a unique timestamp indicating the display time of the subtitle inserted in the header or payload, and the subtitle is displayed at the display time. In this case, the television receiver 200 extracts and uses the unique timestamp from the subtitle PES packet based on the identification information inserted in the transport stream TS.

[0028] [Example of the configuration of the stream generation part of the broadcast transmission system] 2 shows an example of the configuration of the stream generation unit 110 of the broadcast transmission system 100. This stream generation unit 110 has a control unit 111, a video encoder 112, an audio encoder 113, a text format conversion unit 114, a subtitle encoder 115, and a TS formatter (multiplexer) 116.

[0029] The control unit 111 is configured to include, for example, a CPU (Central Processing Unit), and controls the operation of each unit of the stream generation unit 110. The video encoder 112 inputs image data DV, encodes the image data DV, and generates a video stream (PES stream) made up of video PES packets having encoded image data in their payloads. The audio encoder 113 inputs audio data DA, encodes the audio data DA, and generates an audio stream (PES stream) made up of audio PES packets having encoded audio data.

[0030] The text format conversion unit 114 inputs text data (character code) DT as subtitle information, and obtains subtitle text information in a predetermined format having display timing information. As this text information, for example, TTML or a format derived from TTML is considered, but in this embodiment, it is assumed that TTML is used.

[0031] Figure 3 shows the TTML structure. TTML is written in XML format. The header contains the elements of metadata, styling, and layout. Figure 4(a) shows an example of the metadata (TTM: TTML Metadata) structure. This metadata includes metadata title information and copyright information.

[0032] Figure 4(b) shows an example of the styling (TTS: TTML Styling) structure. In addition to the identifier (id), this styling includes information such as color (color), font (fontFamily), size (fontSize), and alignment (textAlign). Figure 4(c) shows an example of the layout (region: TTML layout) structure. In addition to the identifier (id) of the region where the subtitle is placed, this layout includes information such as extent (extent), offset (padding), background color (backgroundColor), and alignment (displayAlign).

[0033] Fig. 5 shows an example of the structure of a body. In the example shown, information on three subtitles, subtitle 1, subtitle 2, and subtitle 3, is included. For each subtitle, the display start timing and display end timing are recorded, along with text data. For example, for subtitle 1, the display start timing is "0.76 s", the display end timing is "3.45 s", and the text data is "It seems a paradox, dose it not,".

[0034] Returning to Figure 2, subtitle encoder 115 converts the TTML obtained by text format conversion unit 114 into various segments, and generates a subtitle stream (PES stream) consisting of subtitle PES packets in which these segments (subtitle information) are placed in the payload.

[0035] Under the control of control unit 111, subtitle encoder 115 inserts, into the timestamp insertion position of the header of the subtitle PES packet, a timestamp (first timestamp) that is the same as or has a nearby value as the timestamp value to be inserted into the timestamp insertion position of the header of the video PES packet at the random access position, i.e., the video PES packet that is the target of the RAP (Random Access Point).

[0036] Here, the head portion of the video PES packet to be subjected to RAP means, for example, the head portion of a video PES packet having coded image data of an intra picture (I picture) in its payload. In so-called RAP playback, only the coded image data of the intra picture contained in the video PES packet to be subjected to RAP is decoded from the transport stream TS and displayed as an image.

[0037] Furthermore, under the control of control unit 111, subtitle encoder 115 inserts a unique timestamp (second timestamp) indicating the display time (display start time, display end time) of the subtitle into the header or payload of the subtitle PES packet.

[0038] 6 shows an outline of an example of the configuration of the timing management section 120 in the control section 111. This timing management section 120 has a video timing management section 121, an audio timing management section 122, a RAP timing management section 123, and a subtitle display timing management section 124.

[0039] The video timing management unit 121 manages the timestamps (timestamps of video access units) to be inserted at the timestamp insertion positions of each video PES packet. The video encoder 112 inserts the timestamps into the timestamp insertion positions of each video PES packet based on the management information of the video timing management unit 121.

[0040] The audio timing management unit 122 manages the timestamps (timestamps of audio access units) to be inserted at the timestamp insertion positions of each audio PES packet. Based on the management information of this audio timing management unit 122, the audio encoder 113 inserts the timestamps at the timestamp insertion positions of each audio PES packet.

[0041] The RAP timing management unit 123 manages the timestamps of the video PES packets to be RAP-targeted, and also manages the audio PES packets to be RAP-targeted among the audio PES packets. In this case, an audio PES packet having a timestamp close to the timestamp of the video PES packet to be RAP-targeted is treated as a packet to be played back during the RAP.

[0042] Based on the management information of the audio PES packet to be RAPed, the TS formatter 116 places the audio PES packet to be RAPed at a random access position, i.e., a position close to the position of the video PES packet to be RAPed, as described below.

[0043] The subtitle display timing management unit 124 manages the first timestamp (the timestamp inserted in the timestamp insertion area of ​​the header) and the second timestamp (the unique timestamp indicating the display time of the subtitle inserted in the header or payload) of the subtitle PES packet. The subtitle encoder 115 inserts the first timestamp and the second timestamp into the subtitle PES packet based on the management information of the subtitle display timing management unit 124.

[0044] 7 shows a detailed configuration of the subtitle display timing management unit 124. The subtitle display timing management unit 124 obtains a first timestamp (timestamp of the subtitle stream) based on the RAP timing information from the RAP timing management unit 123. The subtitle display timing management unit 124 also performs timestamp precision conversion on the relative start time "begin" and relative end time "end" included in the TTML body to obtain a second timestamp (display start timestamp, display end timestamp).

[0045] As shown in FIG. 5, when the display timing of multiple regions is different, the relative start time “begin” and relative end time “end” of the region with the earliest timing are converted to timestamp precision to obtain the display start timestamp and display end timestamp as the second timestamp.

[0046] In this case, the receiver uses the display start timestamp and display end timestamp as the second timestamp for display control of the earliest region. Also, for display control of the subsequent regions, display timestamps (display start timestamp, display end timestamp) converted to timestamp accuracy based on the difference from the relative time of the earliest region supplied in the TTML body are generated and used.

[0047] "Position for inserting the second timestamp (unique timestamp)" Here, a specific example of the insertion position of the second timestamp (unique timestamp) will be explained. Fig. 8 shows an example of the structure (Syntax) of a PES packet. The first timestamp is inserted into the 33-bit area, which is the timestamp insertion area of ​​the header, indicated by the arrow P. This timestamp insertion area exists in the "optional fields" below the "optional PES HEADER" that constitutes the header.

[0048] The second timestamp is inserted into the header or payload as described above. When inserted into the header, it is inserted into the "PES extension fields data" area shown by the arrow Q. This "PES extension fields data" exists in the "optional fields" below the "PES extension". The "PES extension" exists in the "optional fields" below the "optional PES HEADER" that constitutes the header. When inserted into the payload, it is inserted into the "PES packet data bytes" area shown by the arrow R.

[0049] Figures 9 and 10 show examples of the syntax of the PES extension. Figure 11 shows examples of the syntax of the PES payload (PES_payload) placed in the "PES packet data bytes" area. Figure 12 shows the contents (semantics) of new elements in each example.

[0050] First, an example of the configuration of the PES extension shown in Figures 9 and 10 will be described. As flag information, the flag information "PES_extension_negflag_new" is newly defined. This flag information indicates that newly defined data is to be placed in the extension area of ​​the PES header. "0" indicates that newly defined data is to be placed in the extension area of ​​the PES header. "1" indicates that newly defined data is not to be placed in the extension area of ​​the PES header.

[0051] When "PES_extension_negflag_new" is "0", an 8-bit field of "extension_type" exists. This field indicates the type of newly defined data. "1" indicates that it is a timestamp indicating the start and end of the subtitle display. When "extension_type" is "1", a 33-bit field of "subtitle_start_time" and a 33-bit field of "subtitle_end_time" exist.

[0052] The 33-bit field "subtitle_start_time" indicates the value (display start timestamp) that represents the subtitle display start time with system clock accuracy. The 33-bit field "subtitle_end_time" indicates the value (display end timestamp) that represents the subtitle display end time with system clock accuracy.

[0053] Next, a configuration example of the PES payload (PES_payload) shown in Fig. 11 will be described. The subtitle PES packet is defined as a private PES packet. In the case of a private PES packet, since the "PES packet data bytes" can be freely defined, a timestamp indicating the start and end of display is inserted into a part of the packet.

[0054] The 8-bit field of "private_type" indicates the type of private PES packet. "EC" indicates that it is a subtitle stream with a timestamp. The flag information of "timestamp_insertion_flag" indicates that a timestamp is placed at the beginning of the packet payload. "1" indicates that a timestamp is placed. "0" indicates that a timestamp is not placed. When "timestamp_insertion_flag" is "1", a 33-bit field of "subtitle_start_time" and a 33-bit field of "subtitle_end_time" exist.

[0055] Returning to Figure 2, the TS formatter 116 transport packets and multiplexes the video stream generated by the video encoder 112, the audio stream generated by the audio encoder 113, and the subtitle stream generated by the subtitle encoder 115, to obtain a transport stream TS as a multiplexed stream.

[0056] When multiplexing the streams in this manner, the TS formatter 116 places the subtitle PES packet at a random access position, i.e., a position close to the position of the video PES packet to be RAPed, based on the first timestamp (the timestamp inserted at the timestamp insertion position of the header.) At this time, the TS formatter 116 also places the audio PES packet to be RAPed at a random access position, i.e., a position close to the position of the video PES packet to be RAPed, based on management information of the audio PES packet to be RAPed.

[0057] The TS formatter 116 also inserts, into the transport stream TS, identification information indicating that a second timestamp (a unique timestamp indicating the display time of the subtitle) has been inserted into the subtitle PES packet. In this embodiment, the TS formatter 116 inserts a subtitle wrap descriptor (Subtitle_rap_descriptor) into a subtitle elementary stream loop corresponding to a subtitle stream under a program map table (PMT).

[0058] Figure 13(a) shows an example structure (Syntax) of a subtitle wrap descriptor. Figure 13(b) shows the main information content (Semantics) in this example structure. The 8-bit field "descriptor_tag" indicates the descriptor type, which in this case indicates that it is a subtitle wrap descriptor. The 8-bit field "descriptor_length" indicates the length (size) of the descriptor, and indicates the number of subsequent bytes as the length of the descriptor.

[0059] The flag information of "subtitle_presentation_time_flag" indicates whether or not subtitles are displayed at a timing different from the conventional timestamp (first timestamp), mainly at a delayed timing, in other words, whether or not there is a display timestamp unique to the subtitle. "1" indicates that delayed display (placement of a display timestamp unique to the subtitle) is performed. "0" indicates that delayed display (placement of a display timestamp unique to the subtitle) is not performed.

[0060] When "subtitle_presentation_time_flag" is "1", a 2-bit field "time_insertion_type" exists. This field indicates the insertion type of the subtitle-specific presentation timestamp, that is, where the timestamp is inserted. "01" indicates that it is inserted in the PES header extension. "10" indicates that it is inserted in the PES private stream payload.

[0061] 14 shows an example of the configuration of a transport stream TS. In this example, there is a video PES packet "Video PES" which is a PES packet of a video stream identified by PID1. In addition, there is an audio PES packet "Audio PES" which is a PES packet of an audio stream identified by PID2. In addition, there is a subtitle PES packet "Subtitle PES" which is a PES packet of a subtitle stream identified by PID3.

[0062] A PES packet consists of a PES header and a PES payload. In a video PES packet, a DTS / PTS timestamp is inserted in the PES header, and a video encoded stream (encoded image data) is inserted in the PES payload. In an audio PES packet, a PTS timestamp is inserted in the PES header, and an audio encoded stream (encoded audio data) is inserted in the PES payload.

[0063] In addition, in the subtitle PES packet, a PTS timestamp (first timestamp) is inserted in the PES header, and a subtitle encoded stream (multiple subtitle segments as subtitle information) is inserted in the PES payload. In addition, the PES header or PES payload contains a display start timestamp "subtitle_start_time" and a display end timestamp "subtitle_end_time" as second timestamps (unique timestamps).

[0064] The transport stream TS also includes a PMT (Program Map Table) as PSI (Program Specific Information). This PSI is information indicating which program each elementary stream included in the transport stream TS belongs to. The transport stream TS also includes an EIT (Event Information Table) as SI (Serviced Information) for managing events. This EIT describes metadata for each program.

[0065] The PMT contains a program descriptor, which describes information related to the entire program. This PMT also contains elementary stream loops, which contain information related to each elementary stream. In this configuration example, there is a video elementary stream loop (Video ES loop), an audio elementary stream loop (Audio ES loop), and a subtitle elementary stream loop (Subtitle ES loop).

[0066] In each loop, information such as a packet identifier (PID) is placed, as well as a descriptor that describes information related to that elementary stream. The subtitle elementary stream loop contains the above-mentioned subtitle wrap descriptor (Subtitle_rap_descriptor) as one of its descriptors.

[0067] The operation of the stream generation unit 110 shown in Fig. 2 will be briefly described. Image data DV is supplied to a video encoder 112. In the video encoder 112, the image data DV is encoded to generate a video stream (PES stream) made up of video PES packets having encoded image data in their payloads. This video stream is supplied to a TS formatter 116.

[0068] The audio data DA is also supplied to an audio encoder 113. The audio encoder 113 encodes the audio data DA to generate an audio stream (PES stream) made up of audio PES packets having encoded audio data. This audio stream is supplied to a TS formatter 116.

[0069] Further, text data (character code) DT as subtitle information is supplied to a text format conversion unit 114. In this text format conversion unit 114, subtitle text information in a predetermined format having display timing information, here TTML, is obtained. This TTML is supplied to a subtitle encoder 115.

[0070] The subtitle encoder 115 converts the TTML into various segments and generates a subtitle stream consisting of subtitle PES packets with the segments arranged in the payload. This subtitle stream is supplied to the TS formatter 116.

[0071] In the subtitle encoder 115, when generating a subtitle stream, under the control of the control unit 111, a timestamp (first timestamp) having a value equal to or close to the timestamp value to be inserted at the timestamp insertion position of the header of the video PES packet to be RAPed is inserted at the timestamp insertion position of the header of the subtitle PES packet.

[0072] In addition, when generating a subtitle stream, the subtitle encoder 115, under the control of the control unit 111, inserts a unique timestamp (second timestamp) indicating the display time of the subtitle (display start time, display end time) into the header or payload of the subtitle PES packet.

[0073] In the TS formatter 116, the video stream generated by the video encoder 112, the audio stream generated by the audio encoder 113, and the subtitle stream generated by the subtitle encoder 115 are transport packetized and multiplexed to generate a transport stream TS as a multiplexed stream.

[0074] When each stream is multiplexed in this manner, the subtitle PES packet is placed at a random access position, i.e., a position close to the position of the video PES packet to be RAPed, based on the first timestamp (the timestamp inserted at the timestamp insertion position of the header) under the control of the control unit 111.

[0075] Also, at this time, under the control of the control unit 111, based on the management information of the audio PES packet to be RAPed, the audio PES packet to be RAPed is placed at a random access position, i.e., a position close to the position of the video PES packet to be RAPed.

[0076] In addition, the TS formatter 116 inserts identification information into the transport stream TS. This identification information indicates that a second timestamp (a unique timestamp indicating the display time of the subtitle) is inserted into the subtitle PES packet. That is, the TS formatter 116 places a subtitle wrap descriptor (Subtitle_rap_descriptor) in a subtitle elementary stream loop corresponding to the subtitle stream under the program map table (PMT).

[0077] [Example of a TV receiver configuration] 15 shows an example of the configuration of a television receiver 200. The television receiver 200 has a receiving section 201, a TS analysis section (demultiplexer) 202, a video decoder 203, a video superimposition section 204, a panel drive circuit 205, and a display panel 206. The television receiver 200 also has an audio decoder 207, an audio output circuit 208, a speaker 209, and a subtitle decoder 210. The television receiver 200 also has a CPU 221, a flash ROM 222, a DRAM 223, an internal bus 224, a remote control receiver 225, and a remote control transmitter 226.

[0078] The CPU 221 controls the operation of each unit of the television receiver 200. The flash ROM 222 stores control software and data. The DRAM 223 constitutes a work area for the CPU 221. The CPU 221 loads software and data read from the flash ROM 222 onto the DRAM 223, starts up the software, and controls each unit of the television receiver 200.

[0079] The remote control receiving unit 225 receives a remote control signal (remote control code) transmitted from the remote control transmitter 226, and supplies it to the CPU 221. The CPU 221 controls each unit of the television receiver 200 based on the remote control code. The CPU 221, the flash ROM 222, and the DRAM 223 are connected to an internal bus 224.

[0080] The receiving unit 201 receives a transport stream TS transmitted on a broadcast wave from the broadcast transmission system 100. As described above, this transport stream TS includes a video stream, an audio stream, and a subtitle stream. The TS analyzing unit 202 extracts PES packets of each of the video, audio, and subtitle streams from the transport stream TS.

[0081] Here, the transport stream TS received by the receiving unit 201 is temporarily stored in a storage medium (buffer or storage) 201a, and a portion corresponding to the playback mode is extracted and sent to the TS analysis unit 202. For example, in normal playback mode, the entire stored stream is sent to the TS analysis unit 202. In contrast, in variable speed playback mode, an intermittent portion corresponding to the multiple speed, including the RAP position (random access position), is sent to the TS analysis unit 202. In particular, in RAP playback mode, only the RAP position (random access position) portion is sent to the TS analysis unit 202.

[0082] The TS analysis unit 202 also extracts various pieces of information inserted into the transport stream TS and sends it to the CPU 221. This information includes information on the subtitle wrap descriptor (Subtitle_rap_descriptor). This allows the CPU 221 to easily recognize that a second timestamp (unique timestamp) has been inserted into the subtitle PES packet and the location of the insertion, and this information can be effectively used to control the subtitle decoder 210.

[0083] The audio decoder 207 decodes the audio PES packets extracted by the TS analysis unit 202 to obtain audio data. The audio output circuit 208 performs necessary processing such as D / A conversion and amplification on the audio data, and supplies it to a speaker 209. The video decoder 203 decodes the video PES packets extracted by the TS analysis unit 202 to obtain image data.

[0084] The decoding and output process for each PES packet in the audio decoder 207 and the video decoder 203 is controlled by a timestamp inserted in the header in normal playback mode, but in variable speed playback mode it is not controlled by the timestamp and is carried out immediately after being supplied from the TS analysis unit 202.

[0085] The subtitle decoder 210 performs a decoding process on the subtitle PES packets extracted by the TS analysis unit 202, and obtains bitmap data of each region to be superimposed on the image data. The decoding and output process on the subtitle PES packets in the subtitle decoder 210 is controlled by a second timestamp (unique timestamp) inserted in the header or payload in normal playback mode, but is not controlled by the second timestamp in variable speed playback mode, and is performed immediately after being supplied from the TS analysis unit 202.

[0086] 16 shows, for example, a schematic timing diagram of the decoding and output process for a subtitle PES packet read at a RAP position. In normal playback mode, decoding is completed by the time indicated by the display start timestamp, and output of bitmap data as the decoding result starts from that time and continues until the time indicated by the display end timestamp. In this case, the subtitle display period is from the time indicated by the display start timestamp to the time indicated by the display end timestamp.

[0087] On the other hand, in the variable speed playback mode, decoding is performed immediately after reading from the storage medium 201a, and output of the decoded bitmap data is started. The duration of this output is the subtitle display period. This output duration is determined depending on the variable speed playback speed and the function of maintaining the subtitle display.

[0088] Returning to Fig. 15, the video superimposing unit 204 superimposes the bitmap data of each region obtained from the subtitle decoder 210 on the image data obtained by the video decoder 203. The panel driving circuit 205 drives the display panel 206 based on the display image data obtained by the video superimposing unit 204. The display panel 206 is composed of, for example, an LCD (Liquid Crystal Display), an organic EL display (organic electroluminescence display), or the like.

[0089] The operation of the television receiver 200 shown in Fig. 15 will now be briefly described. The receiving unit 201 receives a transport stream TS transmitted on broadcast waves from the broadcast transmission system 100. This transport stream TS includes a video stream, an audio stream, and a subtitle stream.

[0090] This transport stream TS is supplied to the TS analysis unit 202 via the storage medium 201a. In this case, a portion corresponding to the playback mode is extracted and sent to the TS analysis unit 202. For example, in normal playback mode, all of the stored data is sent to the TS analysis unit 202. In contrast, in variable speed playback mode, an intermittent portion corresponding to the multiple speed, including the RAP position (random access position), is sent to the TS analysis unit 202. In particular, in RAP playback mode, only the RAP position (random access position) portion is sent to the TS analysis unit 202.

[0091] The video PES packets extracted by the TS analysis unit 202 are supplied to the video decoder 203. In the video decoder 203, the video PES packets extracted by the TS analysis unit 202 are decoded to obtain image data. The decoding and output process for each video PES packet is controlled by a timestamp inserted in the header in normal playback mode, but is not controlled by the timestamp in variable speed playback mode, and is performed immediately after being supplied from the TS analysis unit 202. This image data is supplied to a video superimposition unit 204.

[0092] Furthermore, the subtitle stream (PES stream) extracted by the TS analysis unit 202 is supplied to the subtitle decoder 210. In the subtitle decoder 210, the segment data of each region is processed to obtain bitmap data of each region to be superimposed on the image data. The decoding and output process for each subtitle PES packet is controlled by a second timestamp (unique timestamp) inserted in the header or payload in normal playback mode, but is not controlled by the second timestamp in variable speed playback mode, and is performed immediately after being supplied from the TS analysis unit 202 (see FIG. 16).

[0093] The bitmap data of each region output from the subtitle decoder 210 is supplied to a video superimposition unit 204. In the video superimposition unit 204, the bitmap data of each region output from the subtitle decoder 210 is superimposed on the image data obtained by the video decoder 203.

[0094] The image data for display obtained by the video superimposition unit 204 is supplied to a panel drive circuit 205. The panel drive circuit 205 drives a display panel 206 based on the video data for display. As a result, an image with a subtitle superimposed thereon is displayed on the display panel 206. In this case, in the normal playback mode, a normal playback image is displayed at a normal speed, and in the variable speed playback mode, a variable speed playback image is displayed according to the double speed.

[0095] Moreover, the audio PES packets extracted by the TS analysis unit 202 are supplied to an audio decoder 207. In the audio decoder 207, the audio PES packets are decoded to obtain audio data. The decoding and output process for each audio PES packet is controlled by a timestamp inserted in the header in normal playback mode, but is not controlled by the timestamp in variable speed playback mode, and is performed immediately after being supplied from the TS analysis unit 202.

[0096] This audio data is supplied to an audio output circuit 208. The audio output circuit 208 performs necessary processing such as D / A conversion and amplification on the audio data. The processed audio data is then supplied to a speaker 209. As a result, the speaker 209 produces an audio output corresponding to the image displayed on the display panel 206.

[0097] As described above, in the transmission / reception system 10 shown in Fig. 1, when the transmission side generates the transport stream TS as a multiplexed stream, the subtitle PES packet is placed at the random access position. Therefore, when the reception side extracts the video PES packet at the random access position from the multiplexed stream, the reception side can also extract the subtitle PES packet, which simplifies the subtitle display process in variable speed playback mode.

[0098] For example, Fig. 17 shows conventional multiplexing. Fig. 17(a) shows a video PES packet sequence constituting a video stream. "V_TS00", "V_TS10", "V_TS20", "V_TS30", ... indicate timestamps inserted in the header, and "V0", "V10", "V20", "V30", ... indicate coded image data placed in the payload.

[0099] 17(b) shows a sequence of audio PES packets that make up an audio stream. "A_TS00", "A_TS10", "A_TS20", "A_TS30", ... indicate timestamps inserted in the header, and "A0", "A10", "A20", "A30", ... indicate encoded audio data placed in the payload.

[0100] Figure 17(c) shows a sequence of subtitle PES packets that make up a subtitle stream. "S_TS15", "S_TS19", "S_TS35", "A_TS39", ... indicate timestamps inserted in the header, and "S15", "S19", "S35", "S39", ... indicate subtitle information placed in the payload. A timestamp is inserted in the header of a subtitle PES packet, regardless of the timestamps inserted in the headers of the video PES packet and audio PES packet.

[0101] Fig. 17(d) shows an example of the arrangement of each PES packet in a multiplexed stream (transport stream TS). When multiplexing, the arrangement of each PES packet is determined by referring to the timestamp inserted in the header of each PES packet. In this case, the subtitle PES packet is arranged at a position slightly before the display period, regardless of the RAP position (random access position).

[0102] In RAP playback, for example, as shown in playback method 1 in Fig. 17(e), a certain length of PES packet is read for each RAP position, decoded, and image display and audio output are performed. In this case, subtitle PES packets are not necessarily placed at the RAP positions, so subtitles are not displayed.

[0103] In addition, even with this RAP playback, in order to display subtitles, it is possible to read the subtitle PES packet in addition to reading the RAP position, as shown in playback method 2 in Fig. 17(f). In this case, in addition to the jump for reading the RAP position, it is necessary to repeat the jump for reading the subtitle PES packet, which complicates the playback process. Also, image display and audio output will have to wait until the subtitle PES packet is read, which will cause delays in image display and audio output.

[0104] Figure 18 shows the multiplexing of the present technology. Figure 18(a) shows a video PES packet sequence that constitutes a video stream. "V_TS00", "V_TS10", "V_TS20", "V_TS30", ... indicate timestamps inserted in the header, and "V0", "V10", "V20", "V30", ... indicate encoded image data placed in the payload.

[0105] 18(b) shows a sequence of audio PES packets that make up an audio stream. "A_TS00", "A_TS10", "A_TS20", "A_TS30", ... indicate timestamps inserted in the header, and "A0", "A10", "A20", "A30", ... indicate encoded image data placed in the payload.

[0106] Figure 18(c) shows a sequence of subtitle PES packets constituting a subtitle stream. "S_TS10", "S_TS30", ... indicate timestamps inserted in the header, and "S10", "S130", ... indicate subtitle information placed in the payload. A timestamp (first timestamp) that is the same as or close to the timestamp inserted in the header of the video PES packet to be RAPed is inserted in the header of the subtitle PES packet.

[0107] Fig. 18(d) shows an example of the arrangement of each PES packet in a multiplexed stream (transport stream TS). When multiplexing, the arrangement of each PES packet is determined by referring to the timestamp inserted in the header of each PES packet. In this case, the subtitle PES packet is arranged at the RAP position (random access position) in the same way as the video PES packet and audio PES packet that are the target of the RAP.

[0108] In RAP playback, for example, as shown in playback method 3 in Fig. 18(e), PES packets are read out for each RAP position over a certain length and decoded. In this case, subtitle PES packets are read out and decoded together with video PES packets and audio PES packets, so that subtitles can be displayed well along with images and audio.

[0109] By performing multiplexing in this manner as in the present technology, in addition to the jump to read the RAP position, there is no need to repeatedly jump to read the subtitle PES packet, as in playback method 2 shown in Figure 17(f), and this simplifies the variable speed playback process on the receiving side to enable subtitle display.

[0110] 1, a second timestamp (unique timestamp) indicating the display time of the subtitle is inserted into the header or payload of the subtitle PES packet, which makes it possible for the receiving side to easily control the display timing of the subtitle based on this unique timestamp.

[0111] 1, identification information indicating that a unique time stamp has been inserted into a subtitle PES packet is inserted into the transport stream TS. Therefore, the receiving side can easily recognize that a unique time stamp has been inserted based on this identification information, and can efficiently extract the unique time stamp.

[0112] <2. Modifications> In the above embodiment, an example has been shown in which TTML is used as text information for subtitles in a predetermined format having display timing information. However, the present technology is not limited to this, and other timed text information having information equivalent to TTML may be used. For example, a derived format of TTML may be used. In addition, the present technology can naturally be applied to a conventional type bitmap format as a subtitle format in the same manner.

[0113] In the above embodiment, the transmission / reception system 10 including the broadcast transmission system 100 and the television receiver 200 is shown, but the configuration of the transmission / reception system to which the present technology can be applied is not limited to this. For example, the television receiver 200 may be configured as a set-top box and a monitor connected by a digital interface such as HDMI (High-Definition Multimedia Interface). Note that "HDMI" is a registered trademark.

[0114] The present technology can also be configured as follows. (1) a video encoding unit for generating a video stream composed of video packets having encoded image data in their payloads; a subtitle encoding unit for generating a subtitle stream composed of subtitle packets having subtitle information in a payload; a multiplexed stream generating unit for generating a multiplexed stream including the video stream and the subtitle stream; a transmitting unit for transmitting the multiplexed stream, The multiplexed stream generating unit The above subtitle packet is placed in a random access position. Transmitting device. (2) The subtitle encoding section is A timestamp having a value equal to or close to the value of the timestamp inserted at the timestamp insertion position of the header of the video packet at the random access position is inserted at the timestamp insertion position of the header of the subtitle packet. The transmitting device according to (1) above. (3) The subtitle encoding section is Insert a unique timestamp indicating the time when the subtitle is displayed into the header or payload of the subtitle packet. The transmitting device according to (2) above. (4) The multiplexed stream generating unit Inserting identification information into the multiplexed stream, the identification information indicating that the unique time stamp is inserted into the subtitle packet. The transmitting device according to (3) above. (5) The identification information includes information indicating the insertion position. The transmitting device according to (4) above. (6) The subtitle information is text information of a subtitle in a predetermined format having display timing information. A transmitting device according to any one of (1) to (5). (7) The text information of the subtitle in the above specified format is in TTML or a format derived from the TTML. The transmitting device according to (6) above. (8) the video packets and the subtitle packets are PES packets; The multiplexed stream is an MPEG2 transport stream. A transmitting device according to any one of (1) to (7). (9) a video encoding step of generating a video stream composed of video packets having encoded image data in their payloads; a subtitle stream generating step of generating a subtitle stream composed of subtitle packets having subtitle information in a payload; a multiplexed stream generating step of generating a multiplexed stream including the video stream and the subtitle stream; a transmitting step of transmitting the multiplexed stream by a transmitting unit; In the multiplexed stream generating step, The above subtitle packet is placed in a random access position. Transmission method. (10) A receiver unit for receiving a multiplexed stream including a video stream constituted by video packets having encoded image data in a payload and a subtitle stream constituted by subtitle packets having subtitle information in a payload, In the multiplexed stream, the subtitle packets are arranged at random access positions; The apparatus further includes a processing unit for extracting the subtitle packet from the multiplexed stream together with the video packet at the random access position and performing a subtitle display process. Receiving device. (11) A first timestamp having a value equal to or close to a timestamp value to be inserted at a timestamp insertion position of a header of a video packet at the random access position is inserted at the timestamp insertion position of the header of the subtitle packet, a second timestamp indicating a display time of the subtitle is inserted in a header or payload of the subtitle packet; The processing unit includes: In normal playback mode, the subtitle display process is performed by referring to the second time stamp. The receiving device according to (10) above. (12) Identification information indicating that the second time stamp is inserted into the subtitle packet is inserted into the multiplexed stream; and The processing unit extracts and uses the second time stamp from the subtitle packet based on the identification information. The receiving device according to (11) above. (13) A receiving step of receiving, by a receiving unit, a multiplexed stream including a video stream constituted by video packets having encoded image data in a payload and a subtitle stream constituted by subtitle packets having subtitle information in a payload, In the multiplexed stream, the subtitle packets are arranged at random access positions; The method further includes a processing step of extracting the subtitle packet from the multiplexed stream together with the video packet at the random access position and performing a subtitle display process. Receiving method.

[0115] The main feature of this technology is that when generating a transport stream TS as a multiplexed stream, subtitle PES packets are placed at random access positions, thereby simplifying the subtitle display process in variable speed playback mode on the receiving side (see Figure 18). [Explanation of symbols]

[0116] 10. Transmitting and receiving system 100 Broadcast transmission system 110 Stream generation unit 111...Control unit 112 Video Encoder 113 Audio Encoder 114 Text format conversion section 115...Subtitle Encoder 116···TS formatter (multiplexer) 120 Timing control section 121 Video timing control unit 122 Audio timing control section 123 RAP Timing Control Unit 124 Subtitle display timing control unit 200 Television receiver 201... Receiving unit 201a...Storage medium 202...TS analysis department 203: Video decoder 204: Video overlay unit 205 Panel drive circuit 206 Display panel 207 Audio Decoder 208 Audio output circuit 209···Speaker 210 Subtitle Decoder 221···CPU

Claims

[Claim 1] A receiving unit for receiving a transmission stream including a video packet having encoded image data and a subtitle packet having subtitle information in a TTML format or a format derived from the TTML, the subtitle information is subtitle text information having display timing information; In the transmission stream, the subtitle packet is arranged at a random access position; The video packet and the subtitle packet arranged at a random access position are extracted from the transmission stream, and a processing unit is further provided for performing a subtitle display process based on the display timing information. Receiving device.

Citation Information

Patent Citations

  • Method and device for encoding and decoding data and encoded data recording medium

    JP1997051502A

  • Digital video reproducing apparatus

    JP2004032607A

  • Information processing apparatus and method, program, and recording medium

    JP2004120098A

  • Digital video information data generation apparatus, digital video information recording apparatus, digital video information reproducing apparatus, and digital video information data generation method

    JP2008193203A

  • Display control method, recording medium and display control unit

    JP2012169885A