Transmitting device and receiving device

The transmitting and receiving devices in MMT-based broadcasting systems address leap second handling by using TAI-based timestamps and UTC-TAI offsets, ensuring stable video and audio presentation.

JP7569195B2Active Publication Date: 2024-10-17NIPPON HOSO KYOKAI
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020173226
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-10-14
Publication Date
2024-10-17
Estimated Expiration
2040-10-14

AI Technical Summary

Technical Problem

Existing MMT-based broadcasting systems face issues in handling leap seconds without using the MPU extended timestamp descriptor, leading to potential disruptions in video and audio presentation timing.

Method used

A transmitting device that multiplexes encoded video signals with TAI-based timestamps and metadata, including DTS-PTS difference information, and a receiving device that converts UTC time to TAI time using a UTC-TAI offset for seamless presentation control.

Benefits of technology

Enables robust handling of leap seconds without special timing controls, ensuring stable video and audio presentation by referencing TAI time, thus maintaining consistent playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007569195000001
    Figure 0007569195000001
  • Figure 0007569195000002
    Figure 0007569195000002
  • Figure 0007569195000003
    Figure 0007569195000003
Patent Text Reader

Abstract

To provide a transmitting device capable of taking a measure for leap second without using a MPU extended time stamp descriptor.SOLUTION: A transmitting device 300 comprises: a TAI clock reproduction unit 310; a HEVC encoder unit 330; a PTS determination unit 350 which determines a TAI-MPU time stamp; a descriptor generation unit 370 which generates a descriptor including a MPU sequence number, a TAI-MPU time stamp, and an UTC-TAI offset indicating a difference between UTC time and TAI time at the timing at which the TAI-MPU time stamp was assigned to the MPU, as a TAI-MPU time stamp descriptor; an ISOBMFF meta data generation unit 380; and a MMT multiplexing unit 340 which generates a MMT signal by multiplexing an encoded video signal, the TAI-MPU time stamp descriptor, and meta data containing DTS-PTS difference information.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a transmitting device and a receiving device, and more particularly to a transmitting device and a receiving device for transmitting and receiving video and audio content in a broadcasting system using MMT (MPEG Media Transport). [Background technology]

[0002] In MMT defined in Non-Patent Document 1, the processing unit of video and audio codec is called MPU (Media Processing Unit). The first data of MPU needs to be a random access point that can be processed without depending on previously transmitted data. In Non-Patent Document 2, which defines the use of MMT for broadcasting, a GOP (Group Of Picture) that starts in the decoding order with an intra frame (a frame that performs intra-frame coding) of video coding is treated as an MPU. The term GOP is not used in the High Efficiency Video Coding (HEVC) standard, which is used as an example of a video coding method. However, following the example of conventional methods such as MPEG-2 Video, a set of frames starting with an intraframe is sometimes called a GOP for convenience.

[0003] According to Non-Patent Document 1, MPU is originally defined as being based on the ISOBMFF (ISO Base Media File Format). Non-Patent Document 1 also defines a method of transmitting the metadata part of ISOBMFF as MPU metadata and movie fragment metadata by MMTP (MMT Protocol). However, in the broadcasting use defined in Non-Patent Document 2, the generation and transmission of MPU metadata and movie fragment metadata are omitted in order to reduce processing latency, and the NAL (Network Abstraction Layer) units generated by the HEVC encoder are multiplexed directly into MMTP / UDP (User Diagram Protocol) / IP (Internet Protocol) packets and transmitted.

[0004] The basic data structure of ISOBMFF is specified in Non-Patent Document 3, and as an extension of the ISOBMFF, for example, Non-Patent Document 4 specifies the operation method and extended data structure of MPEG-DASH (Dynamic Adaptive Streaming over HTTP), which is a video streaming delivery method using HTTP (Hypertext Transfer Protocol) / TCP (Transmission Control Protocol) communication. HLS (HTTP Live Streaming), specified in Non-Patent Document 5, is used as a video streaming delivery method using HTTP / TCP like MPEG-DASH. An ISOBMFF-based segment format that can be used in common with MPEG-DASH and HLS is specified as CMAF in Non-Patent Document 6. CMAF is a new standard that was formulated more recently than Non-Patent Document 1 and Non-Patent Document 2. In CMAF, in addition to standardizing the segment format, a chunk structure that further subdivides the segment structure is defined as a technology for reducing the delay of video streaming delivery.

[0005] In Non-Patent Document 2, in order to reduce the delay of video / audio content transmission in broadcasting, the generation of metadata in the ISOBMFF structure and the transmission as movie fragment metadata are omitted. However, if the transmission of the movie fragment metadata is omitted, there is a problem that the DTS-PTS differential information (dts_pts_offset) cannot be transmitted to the decoder of the receiving device. This DTS-PTS differential information is information indicating the difference value between the DTS (Decoding Timestamp), which indicates the decoding timing of a video frame, and the PTS (Presentation Timestamp), which indicates the presentation timing of a video frame, associated with the inter-frame reference structure of video coding. Therefore, Non-Patent Document 2 defines an "MPU extended time stamp descriptor" that separately describes information such as this DTS-PTS differential information, and specifies that it is to be transmitted as a descriptor in the MMT Package Table (MP table), which is control information. The MPU extended time stamp descriptor lists the DTS-PTS differential information of all frames in the MPU (GOP). In addition, in the bit stream of encoded video, video frames are encoded in the order in which the decoding process is performed in the receiving device. Therefore, the DTS, which indicates the decoding timing, can be easily calculated by adding up the reciprocal of the frame rate in the receiving device, even if it is not explicitly transmitted from the transmitting device to the receiving device. For example, for a video with 60 frames per second, the DTS for each video frame can be calculated by adding 1 / 60th of a second at regular intervals in the order in which it is received.

[0006] On the other hand, Non-Patent Document 7 specifies a more detailed operation method for the use of MMT specified in Non-Patent Document 2 for an actual service (advanced wideband digital satellite broadcasting). According to Non-Patent Document 7, it is required that the MPU extended time stamp descriptor is transmitted at an earlier timing than the corresponding MPU. However, the MPU extended time stamp descriptor can only be generated after the video encoding of the entire MPU is completed. In order to avoid such video delay, it is possible to use ISOBMFF metadata corresponding to the chunk structure newly specified in CMAF in MMT as well. Since the CMAF chunk has a structure based on ISOBMFF, multiplexing in MMTP is possible. At this time, a unit of several frames obtained by further dividing the MPU (GOP) is configured as a chunk. Then, by describing the DTS-PTS differential information by ISOBMFF metadata in chunk units and transmitting it as movie fragment metadata of MMTP, the necessary DTS-PTS differential information can be transmitted to the decoder without using the MPU extended time stamp descriptor. Specifically, the sample_composition_time_offset of TrackFragmentRunBox('trun') can be used to describe the DTS-PTS difference information of each frame in the chunk.

[0007] In the existing technology, the presentation timing of each MPU is transmitted by the MPU timestamp descriptor (Non-Patent Document 1) as the absolute time of the presentation timing at the beginning of the MPU, and this time is used for video and audio presentation control in the receiving device. The MPU timestamp (mpu_presentation_time) described in the MPU timestamp descriptor indicates the presentation time of the MPU in 64-bit UTC (Coordinated Universal Time) time in NTP (Network Time Protocol) format. Therefore, when a leap second is inserted or deleted, discontinuity occurs, such as rewinding the MPU timestamp. As a countermeasure, a 2-bit leap second indicator (mpu_presentation_time_leap_indicator; hereinafter abbreviated as Leap Indicator) is transmitted in the MPU extended timestamp descriptor. The leap second indicator (Leap Indicator) indicates which of the following (1) to (3) the MPU timestamp (UTC time) of the MPU associated with the same MPU sequence number described in the MPU timestamp descriptor is. (1) The time before the leap second is inserted on the day the leap second is inserted (UTC standard) is used as the base (Leap Indicator = 1), (2) The time before the leap second is deleted on the day the leap second is deleted (UTC reference) is used as the base (Leap Indicator = 2), (3) The time is based on a day without a leap second (UTC standard) or the time after a leap second has been inserted or deleted (Leap Indicator = 0).

[0008] A day according to UTC corresponds to the period from 9:00:00 a.m. Japan time to 8:59:59 a.m. the following day. When a leap second is inserted, 8:59:60 a.m. is inserted after 8:59:59 a.m. Japan time, lengthening the day by one second. On the other hand, when a leap second is deleted, 8:59:59 a.m. is deleted, shortening the day by one second. [Prior art documents] [Non-patent literature]

[0009] [Non-Patent Document 1] “Information technology - High efficiency coding and media delivery in heterogeneous environments: MPEG media transport”, ISO / IEC 23008-1 [Non-Patent Document 2] "Media Transport Method Using MMT in Digital Broadcasting (ARIB STD-B60)" [Non-Patent Document 3] “ISO / IEC base media file format”, ISO / IEC 14496-12 [Non-Patent Document 4] “Dynamic adaptive streaming over HTTP (DASH) - Part 1: Media presentation description and segment formats”, ISO / IEC 23009-1 [Non-Patent Document 5] “HTTP Live Streaming”, [online], [Retrieved July 7, 2020], Internet〈URL:https: / / developer.apple.com / streaming / 〉 [Non-Patent Document 6] “Common media application format (CMAF) for segmented media”, ISO / IEC23000-19 [Non-Patent Document 7] "Advanced Wideband Satellite Digital Broadcasting Operational Standards (Volume 3) (ARIB TR-B39)" Summary of the Invention [Problem to be solved by the invention]

[0010] However, if DTS-PTS differential information is sent in ISOBMFF metadata and the MPU extended timestamp descriptor is not used, it will not be possible to transmit auxiliary information regarding "leap seconds" in the MPU extended timestamp descriptor (leap second indicator).

[0011] The present invention has been made in consideration of the above-mentioned problems, and its objective is to provide a transmitting device and a receiving device that can deal with leap seconds without using the MPU extended timestamp descriptor. [Means for solving the problem]

[0012] In order to solve the above-mentioned problems, a transmitting device according to the present invention is a transmitting device for transmitting an MMT (MPEG Media Transport) signal in which an encoded video signal, a timestamp descriptor to be assigned to an MPU (Media Processing Unit), and metadata are multiplexed, the transmitting device including: a TAI clock reproduction unit that communicates with a time server that provides TAI (International Atomic Time) time and reproduces a counter value representing the TAI time; a video encoder unit that performs encoding of video frames and outputs an encoded video signal and a GOP (Group Of Picture) start trigger signal; a PTS determination unit that determines an MPU timestamp expressed in TAI time as a PTS (Presentation Timestamp) to be assigned to an MPU in accordance with the GOP start trigger signal from the video encoder unit, based on the counter value representing the TAI time reproduced by the TAI clock reproduction unit; a descriptor generation unit that generates, as the timestamp descriptor, a descriptor including a UTC-TAI offset indicating the difference between a Decoding Timestamp (DTS) time and a TAI time; an ISOBMFF metadata generation unit that acquires DTS-PTS differential information, which is information indicating a differential value between a DTS (Decoding Timestamp) and a PTS, as picture reorder information of each frame from the video encoder unit, and generates ISO Base Media File Format (ISOBMFF) metadata including the DTS-PTS differential information as the metadata, on an MPU basis or on a chunk basis into which the MPU is divided; and an MMT multiplexing unit that multiplexes the encoded video signal, the timestamp descriptor assigned to the MPU, and the metadata including the DTS-PTS differential information to generate the MMT signal.

[0013] A receiving device according to the present invention is a receiving device that receives an MMT signal transmitted from a transmitting device, and includes a UTC clock regeneration unit that communicates with a time server that provides UTC time to regenerate a counter value representing UTC time, a descriptor analysis unit that extracts an MPU timestamp expressed in TAI time in a specified MPU and a UTC-TAI offset from a timestamp descriptor multiplexed into the MMT signal and transmitted, a TAI offset addition unit that converts the counter value representing the UTC time regenerated by the UTC clock regeneration unit into a counter value representing TAI time, and a picture extraction unit that extracts a picture of each frame from metadata multiplexed into the MMT signal and transmitted. The present invention is configured to include an ISOBMFF metadata analysis unit that extracts DTS-PTS differential information, which is information indicating a difference value between DTS and PTS as picture reorder information; a PTS calculation unit that calculates a PTS expressed in the TAI time of each frame from an MPU time stamp expressed in the TAI time and the DTS-PTS differential information of each frame extracted from the ISOBMFF metadata analysis unit; and a picture reorder buffer that receives as input a video frame decoded from a video signal multiplexed into the MMT signal and transmitted, compares a counter value representing the TAI time converted by the TAI offset addition unit with the PTS expressed in the TAI time of each frame, and rearranges and outputs the video frames as necessary. Effect of the Invention

[0014] The present invention provides the following excellent effects. The transmitting device can transmit the presentation time of the MPU by using the MPU timestamp expressed in TAI time. In addition, the transmitting device can transmit the UTC-TAI offset, which indicates the difference between the UTC time and the TAI time at the same timing when the MPU timestamp expressed in TAI time is given to the MPU, by the MMT signal. Since the MPU timestamp expressed in TAI time increases simply regardless of the insertion or deletion of leap seconds, the receiving device that receives this MMT signal can control the presentation of video, audio, etc. by using the TAI time as the reference clock without necessarily having to perform control that takes into special consideration the insertion or deletion of leap seconds. In addition, the receiving device can convert the UTC time obtained from a time server that provides UTC time into TAI time by using the UTC-TAI offset extracted from the timestamp descriptor multiplexed and transmitted in the MMT signal, and use it for the presentation control of video, audio, etc. [Brief description of the drawings]

[0015] [Figure 1] 1 is a block diagram showing an overall configuration of a transmission system according to a first embodiment of the present invention. [Diagram 2] 11 is a data structure diagram showing the structure of an MPU timestamp descriptor according to a comparative example. FIG. [Diagram 3] A data structure diagram showing the structure of a TAI-MPU timestamp descriptor in an embodiment. [Figure 4] FIG. 1 is an explanatory diagram showing the relationship between UTC time (NTP format) and TAI time (PTP format) and the insertion of leap seconds. [Diagram 5] 1 is a block diagram illustrating a configuration of a transmission device according to a first embodiment of the present invention. [Figure 6] 5 is a flowchart showing an operation of the transmission device according to the first embodiment of the present invention. [Figure 7] 1 is a block diagram illustrating a configuration of a receiving device according to a first embodiment of the present invention. [Figure 8] 5 is a flowchart showing an operation of the receiving device according to the first embodiment of the present invention. [Figure 9] FIG. 11 is a block diagram illustrating a configuration of a transmission device according to a second embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] Hereinafter, an embodiment of a transmitting device and a receiving device according to the present invention will be described. (First embodiment) For convenience of explanation, the following sections will be explained: 1. Overall configuration of the transmission system, 2. Time stamp descriptor assigned to the MPU, 3. UTC-TAI offset, 4. Configuration of the transmitting device, 5. Operation of the transmitting device, 6. Configuration of the receiving device, and 7. Operation of the receiving device.

[0017] [1. Overall configuration of the transmission system] First, the overall configuration of a transmission system according to the first embodiment will be described with reference to FIG. The transmission system 1 includes a transmitting device 300 and a receiving device 500 . The transmitting device 300 encodes and transmits a video and audio signal input from the video and audio signal source 100. As an example, the transmitting device 300 encodes video using HEVC, a video encoding method, and also encodes audio using AAC, an audio encoding method, and multiplexes and transmits the encoded video and audio data using MMT. In MMT, an MPU timestamp of absolute time is assigned to an MPU, which is a processing unit of encoded video and audio data, and then transmitted. The transmitting device 300 uses the TAI time server 200 as a reference clock to refer to TAI (International Atomic Time) time, and transmits the MPU presentation time of video and audio based on TAI time, and the difference information between the UTC time and the TAI time at the same timing as the presentation time, in a descriptor of the MMT control information. In the following description, this descriptor will be referred to as a TAI-MPU timestamp descriptor.

[0018] The video / audio signal source 100 is an electronic device or a server that stores contents such as video signals and audio signals, etc. For example, a video signal source that stores video signals is a video camera, a video server, etc. The TAI time server 200 is a time server that acquires time information from a GPS or the like and distributes the TAI time to various devices via a network. In this embodiment, the TAI time server 200 is, for example, a PTP (Precision Time Protocol) server. The PTP server also distributes difference information between UTC time and TAI time, so that various devices can also obtain UTC time. Note that there are two types of PTP servers: a grandmaster that directly references a signal source such as a GPS, and a slave that synchronizes with the grandmaster, but either type may be used.

[0019] The transmission path 400 shown in Fig. 1 is a schematic representation of broadcasting, the Internet, etc. Here, broadcasting means, for example, satellite broadcasting, terrestrial broadcasting, cable broadcasting, and IP (Internet Protocol) multicast broadcasting. In other words, the transmitting device 300 transmits content using MMT (MPEG Media Transport), for example, satellite broadcasting, terrestrial broadcasting, cable broadcasting, and IP multicast broadcasting.

[0020] The receiving device 500 receives the MMTP packet sequence (MMT signal) sent by the transmitting device 300 through the transmission path 400, demultiplexes it, and decodes and plays back the video and audio of the broadcast program. The sent MMT signal multiplexes video and audio data and time stamp information of the TAI time. The receiving device 500 decodes the video and outputs it to the monitor 600, and also decodes the audio and outputs it to the speaker 700. In FIG. 1, the monitor 600 and the speaker 700 are illustrated outside the receiving device 500, but the monitor 600 and the speaker 700 may be built into the receiving device 500. In addition, examples of the receiving device 500 include a general television, a smartphone, and a tablet. In FIG. 1, only one receiving device 500 is illustrated to make the drawing easier to see, but usually, there are multiple receiving devices 500.

[0021] The receiving device 500 obtains UTC time from a UTC time server 800 that exists on the Internet, etc. In this embodiment, the UTC time server 800 is, for example, an NTP server. Note that, while a PTP server on the transmitting side is used as a broadcasting station facility or a business server, the reality is that PTP servers are not widespread on the receiving side, and an NTP server is generally used for time synchronization.

[0022] The receiving device 500 plays video, audio, etc. by referring to the UTC (Coordinated Universal Time, Universal Time) time synchronized with the UTC time server 800, the presentation time of the MPU of the video and audio based on the TAI time of the descriptor (TAI-MPU timestamp descriptor) received from the transmitting device 300, and the difference information between the UTC time and the TAI time at the same timing as the presentation time.

[0023] The difference between TAI time and UTC time is that UTC time may repeat the same value due to the insertion of leap seconds, whereas TAI time is counted up regardless of the insertion of leap seconds. As described later, in this embodiment, the transmitting device 300 transmits a descriptor in which the presentation time of the MPU of video / audio, etc. is expressed and described in TAI time. On the other hand, the receiving device 500 generally refers to the UTC time provided by a UTC time server 800 such as an NTP server via a network, and thus could not obtain the TAI time in the past. In contrast, as described later, in this embodiment, the transmitting device 300 transmits the TAI-MPU timestamp descriptor including a UTC-TAI offset as difference information between the UTC time and the TAI time. As a result, the receiving device 500 can convert the count value of the UTC time provided by the UTC time server 800 into the count value of the TAI time and use it as a reference clock, so that it is not necessary to perform control in the TAI offset adder taking into account the presence of leap seconds.

[0024] In addition to UTC time, the UTC time server 800 provides the receiving device 500 with a leap second indicator, which notifies the insertion or deletion of a leap second. The leap second indicator takes the value of 0, 1, or 2. A leap second indicator of 0 indicates that no leap second is planned to be inserted or deleted. A leap second indicator of 1 indicates that a leap second is planned to be inserted after the next 8:59:59 a.m. (Japan time). A leap second indicator of 2 indicates that a leap second is planned to be deleted after the next 8:59:58 a.m. (Japan time). The leap second indicator allows the receiving device 500 to know in advance the timing of the addition or deletion of a leap second.

[0025] In addition, the transmitting device 300 can obtain difference information between the UTC time and the TAI time from the TAI time server 200 such as a PTP server, and it is easy to write this information in the descriptor. In the case of a PTP server, the Announce Message distributes the difference between UTC time and TAI time due to the accumulation of leap seconds inserted and deleted in the past as currentUTCOffset. The value of this currentUTCOffset is 37 seconds as of June 2020. Furthermore, 10 seconds of this 37 seconds are the initial value when UTC was established in 1972. In other words, 27 seconds of the 37 seconds are the accumulated value due to the insertion of leap seconds that have been inserted 27 times in the past.

[0026] [2.Time stamp descriptor assigned to MPU] Next, a TAI-MPU timestamp descriptor (see FIG. 3) generated by the transmitting device 300 according to this embodiment as a timestamp descriptor to be assigned to an MPU will be described in comparison with an existing MPU timestamp descriptor (see FIG. 2). FIG. 2 shows the data structure of the MPU timestamp descriptor defined in Non-Patent Document 1. Also, FIG. 3 shows an example of the data structure of the TAI-MPU timestamp descriptor according to this embodiment.

[0027] In the "Data Representation" section of Figures 2 and 3, uimsbf is an abbreviation for "unsigned integer most significant bit first," meaning "unsigned integer, most significant bit first." Additionally, simsbf is an abbreviation for "signed integer most significant bit first," meaning "signed integer, most significant bit first."

[0028] In the existing MPU timestamp descriptor shown in FIG. 2, an identification value for identifying the type of the descriptor is stored in "descriptor_tag." "descriptor_length" stores a number indicating the byte size of the descriptor. In the for loop, multiple combinations of "mpu_sequence_number" and "mpu_presentation_time" can be stored. "mpu_sequence_number" stores the MPU sequence number that specifies the target MPU. "mpu_presentation_time" stores the MPU timestamp in UTC time in NTP format.

[0029] The TAI-MPU timestamp descriptor shown in Figure 3 differs from the MPU timestamp descriptor shown in Figure 2 in some parts of the for loop. The TAI-MPU timestamp descriptor has "tai_mpu_presentation_time" instead of "mpu_presentation_time". "tai_mpu_presentation_time" stores the MPU timestamp of the TAI time. TAI time can take various description formats, but in Figure 3, the number of bits of "tai_mpu_presentation_time" is 64 bits as an example. When this 64-bit timestamp is used in the same way as the NTP format, the first 32 bits represent the number of seconds, and the latter 32 bits represent the number of digits after the decimal point (binary decimal). As an example of another description format, a timestamp similar to the PTP format can be used, in which case it is 80 bits in total, with the first 48 bits representing the number of seconds and the last 32 bits representing the number of decimal points (nanoseconds).

[0030] In addition, the TAI-MPU timestamp descriptor shown in Figure 3 includes "utc_tai_offset", which was not included in the MPU timestamp descriptor. "utc_tai_offset" stores the difference between UTC time and TAI time expressed in seconds at the same time that "tai_mpu_presentation_time" is added to the MPU. In the following, this difference between UTC time and TAI time is called UTC-TAI offset and will be explained in detail.

[0031] [3.UTC-TAI offset] Next, the UTC-TAI offset will be explained with reference to Figure 4. Figure 4 is a conceptual diagram of when a "leap second" is inserted. On the horizontal axis of Figure 4, time T1 is 8:59:59 AM on the leap second insertion date, Japan time. Time T2 is 8:59:60 AM (leap second) on the leap second insertion date, Japan time. Time T3 is 9:00:00 AM on the leap second insertion date, Japan time. The vertical axis of Figure 4 shows the counter value from the starting date and time of UTC time (NTP format) and the counter value from the starting date and time of TAI time (PTP format).

[0032] As shown in Fig. 4, UTC time (NTP format) and TAI time (PTP format) each indicate time information by a counter value from a certain starting date and time. Specifically, UTC time (NTP format) has a starting date and time of 0:00:00 (UTC) on January 1, 1900. The counter value of UTC time (NTP format) is the count value of the elapsed time from 0:00:00 (UTC) on January 1, 1900.

[0033] Furthermore, the starting date and time of TAI time (PTP format) is 0:00:00 (UTC) on January 1, 1970. The counter value of TAI time (PTP format) is the count value of the elapsed time from 0:00:00 (UTC) on January 1, 1970. Note that in this specification, the notation (UTC) indicates the absolute time of Coordinated Universal Time (Universal Time).

[0034] In the following, unless otherwise specified, when simply written as UTC time, it indicates time information in NTP format with the origin (epoch) being 0:00:00 (UTC) on January 1, 1900. Also, when simply written as TAI time, it indicates time information in PTP format with the origin (epoch) being 0:00:00 (UTC) on January 1, 1970.

[0035] Regarding the insertion and deletion of a "leap second" applied to UTC time, deletion is also considered, but in the past, it has only been inserted. When a "leap second" is inserted, as shown by the thick dashed line in Figure 4, the counter value of UTC time is discontinuous at time T2 and rewinds by one second. On the other hand, as shown by the thick solid line in Figure 4, the counter value of TAI time does not rewind at time T2. Therefore, as shown in Figure 4, the UTC-TAI offset Δ2 after the leap second is inserted is one second smaller than the UTC-TAI offset Δ1 before the leap second is inserted. In the following, for ease of understanding, the UTC-TAI offsets Δ1 and Δ2 before and after the insertion of the leap second will not be distinguished, and will simply be referred to as the UTC-TAI offset.

[0036] The UTC-TAI offset can be expressed as the difference in seconds between the integer part of the counter value of UTC time (the most significant 32 bits of the 64-bit timestamp in the NTP format) and the integer part of the counter value of TAI time (the most significant 48 bits of the 80-bit timestamp in the PTP format). The UTC-TAI offset can be defined, for example, by the sum of (i) an offset value of 70 years due to the difference between the origin of UTC time and the origin of TAI time, and (ii) an offset value indicating the number of seconds accumulated by the insertion of leap seconds in the past. When defined as the sum of the offset value (i) and the offset value (ii) in this way, the UTC-TAI offset data can be expressed, for example, as a 32-bit integer. As a specific example, if (i) is -2208988800 (seconds) and (ii) is 37 (seconds), then the UTC-TAI offset transmitted is -2208988763 (seconds), which is the sum of (i) and (ii).

[0037] Since the offset value for 70 years in (i) above is a known fixed value, it is acceptable for the UTC-TAI offset value transmitted from the transmitting device 300 to the receiving device 500 to be only the offset value indicating the accumulated number of seconds of past leap second insertions in (ii) above, which is assumed to have been taken into account. As a specific example, the -2208988800 seconds in (i) above is assumed to have been taken into account, and the UTC-TAI offset value transmitted is 37 (seconds) in (ii) above.

[0038] The UTC-TAI offset must have a bit width sufficient to express the difference, but is not limited to the above-mentioned 32-bit bit width. If the UTC-TAI offset does not include the offset value for 70 years in (i) above, but is only the offset value indicating the number of seconds accumulated by the insertion of leap seconds in the past in (ii) above, for example, a bit width of 8 bits or 16 bits is sufficient.

[0039] Furthermore, the positive or negative offset changes depending on whether UTC time or TAI time is used as the base time, but it is sufficient to determine it according to a common standard / operation so that the recognition is consistent between the transmitting device 300 and the receiving device 500, and the application of this embodiment is not limited to the positive or negative offset. For example, to convert UTC time to TAI time based on UTC time, it is necessary to add a negative offset to UTC time, but it is also possible to transmit the absolute value of 2208988763 (seconds) as the UTC-TAI offset value, taking into account the possibility that the offset will be negative.

[0040] In addition, in one example format, the TAI time written in the transmitted descriptor is expressed as a counter value based on 0:00:00 (UTC) on January 1, 1970, similar to the PTP format, but using an expression based on another date and time does not in any way impair the applicability of this embodiment.

[0041] [4. Configuration of the transmitting device] Next, a configuration example of the transmission device 300 will be described with reference to Fig. 5. In order to simplify the description, the description will be focused on video processing that requires picture reordering (rearrangement of the decoding order and display order of frames), and the description of audio processing will be omitted. It is assumed that the transmission device 300 is an HEVC / MMT encoder.

[0042] The transmitting device 300 transmits an MMT (MPEG Media Transport) signal multiplexed with an encoded video signal, a timestamp descriptor assigned to an MPU (Media Processing Unit), and metadata, and includes a TAI clock recovery unit 310, a frame buffer unit 320, an HEVC encoder unit (video encoder unit) 330, an MMT multiplexing unit 340, a PTS determination unit 350, an MPU sequence number counter unit 360, a descriptor generation unit 370, and an ISOBMFF metadata generation unit 380.

[0043] The TAI clock reproducing unit 310 communicates with a TAI time server 200 (e.g., a PTP server) that provides TAI (International Atomic Time) time, and reproduces a counter value that represents the TAI time. The TAI clock reproducing unit 310 reproduces the counter value of the TAI time of the PTP packets discretely transmitted from the TAI time server 200 as a continuous one, and outputs the reproduced absolute value of the TAI time (reference clock within the device) to the PTS determination unit 350. In this embodiment, the TAI clock reproducing unit 310 also acquires and holds a UTC-TAI offset (currentUTCOffset) from the TAI time server 200.

[0044] The UTC-TAI offset used in the receiving device 500 is defined, for example, as the sum of the offset value for 70 years (i) and the offset value indicating the number of seconds accumulated by past leap second insertions (ii), and has a bit width of 32 bits. In this case, the TAI clock recovery unit 310 outputs to the PTS determination unit 350 a UTC-TAI offset having a value obtained by adding the offset value for 70 years (i) to the number of seconds accumulated by past leap second insertions (currentUTCOffset) (ii) acquired from the TAI time server 200. Note that, when the UTC-TAI offset is defined, for example, as the offset value indicating the number of seconds accumulated by past leap second insertions (ii), the TAI clock recovery unit 310 outputs the number of seconds accumulated by past leap second insertions (currentUTCOffset) acquired from the TAI time server 200 as the UTC-TAI offset as it is to the PTS determination unit 350.

[0045] The frame buffer unit 320 is a memory that holds a video signal input from the video and audio signal source 100, and the held video signal is input to the HEVC encoder unit 330. In other words, the frame buffer unit 320 temporarily holds the video signal before being input to the HEVC encoder unit 330.

[0046] The HEVC encoder unit 330 encodes a video frame and outputs an encoded video signal and a GOP (Group Of Picture) start trigger signal. The HEVC encoder unit 330 obtains video frames from the frame buffer unit 320 and encodes them. The HEVC encoder unit 330 determines various encoding modes, such as intraframe encoding and interframe reference encoding, for each frame and performs the encoding mode. For broadcasting purposes, intraframe encoding is performed, which is intraframe encoding performed at a fixed cycle of approximately 0.5 seconds. The HEVC encoder unit 330 outputs the encoded video signal (HEVC encoded data) to the MMT multiplexing unit 340. In the MMT multiplexing unit 340, a GOP starting from an intra frame is treated as an MPU, so the HEVC encoder unit 330 transmits a GOP start trigger to the PTS determination unit 350 and the MPU sequence number counter unit 360 at the timing of encoding the intra frame. The HEVC encoder unit 330 outputs DTS-PTS difference information to the ISOBMFF metadata generation unit 380 as picture reorder information for each frame. The GOP start trigger signal is a trigger signal that the HEVC encoder unit 330 encodes a certain frame as an intraframe using only intraframe encoding, and notifies each unit in the transmission device 300 that a new MPU (GOP) will start. Note that the interface and data format are not limited for realizing the GOP start trigger signal. As an example, the HEVC encoder unit 330 may output the GOP start trigger signal at the time when the encoding mode of the frame being encoded is determined to be an intraframe. Also, the GOP start trigger signal can be realized by adding a minor function to an existing encoder. For example, the HEVC encoder unit 330 may be configured to include an existing encoder and an additional function unit that generates a GOP start trigger signal when it detects that the encoded data actually encoded as an intraframe has been output from the encoder. In this way, various implementations are possible for realizing the GOP start trigger signal.

[0047] The PTS determination unit 350 determines an MPU timestamp expressed in TAI time (hereinafter referred to as TAI-MPU timestamp) as a PTS (Presentation Timestamp) to be assigned to the MPU, based on a counter value representing the TAI time reproduced by the TAI clock reproduction unit 310, in accordance with a GOP start trigger signal from the HEVC encoder unit 330. The PTS determination unit 350 outputs the TAI-MPU timestamp to the descriptor generation unit 370. The PTS determination unit 350 also outputs UTC-TAI offset information of the same timing as that for determining the TAI-MPU timestamp to the descriptor generation unit 370. If the PTS determination unit 350 takes the UTC time at which it receives a GOP start trigger signal as the PTS of the MPU, an error may occur due to processing timing. In order to prevent such an error, in this embodiment, the PTS determination unit 350 determines the PTS to be assigned to a newly started MPU as follows. That is, the PTS determination unit 350 calculates the duration (time length) of the MPU immediately before the newly started MPU based on the number of frames in the MPU immediately before the newly started MPU. Then, the PTS determination unit 350 determines the value (UTC time) obtained by adding the duration (time length) of the immediately previous MPU to the PTS (UTC time) assigned to the immediately previous MPU as the PTS of the newly started MPU. That is, the time obtained by adding the duration of the previous MPU to the start time of the previous MPU is recursively repeated as the start time of the next MPU. In this way, the PTS determination unit 350 can calculate an accurate PTS and assign it to the MPU.

[0048] The MPU sequence number counter unit 360 increments the MPU sequence number for identifying each MPU by 1. The MPU sequence number counter unit 360 holds the current value of the MPU sequence number, and in accordance with a GOP start trigger signal from the HEVC encoder unit 330, counts up the MPU sequence number to determine the MPU sequence number of a new MPU, and outputs the current value of the MPU sequence number to the descriptor generation unit 370.

[0049] The descriptor generator 370 generates a descriptor including an MPU sequence number, an MPU timestamp (TAI-MPU timestamp) expressed in TAI time, and a UTC-TAI offset as a TAI-MPU timestamp descriptor (FIG. 3). Here, the UTC-TAI offset indicates the difference between the UTC (Coordinated Universal Time) time expressed in seconds at the same timing when the TAI-MPU timestamp is added to the MPU and the TAI time. The TAI-MPU timestamp descriptor is multiplexed into the MMT control information and output to the MMT multiplexer 340.

[0050] The ISOBMFF metadata generating unit 380 acquires DTS-PTS differential information, which is information indicating a difference value between DTS (Decoding Timestamp) and PTS, as picture reorder information of each frame from the HEVC encoder unit 330, and generates ISOBMFF metadata including the DTS-PTS differential information as metadata for each MPU or for each chunk obtained by dividing an MPU. Since reordering (reordering of the decoding order and the display order) occurs in the time direction for I (intra) frames, P (Predictive) frames, and B (Bidirectionally Predictive) frames whose order has been changed for encoding processing using inter-frame reference, the ISOBMFF metadata generating unit 380 generates ISOBMFF metadata of the DTS-PTS differential information as the reorder information. The generated metadata is multiplexed into a packet of movie fragment metadata and output to the MMT multiplexing unit 340. Note that ISOBMFF metadata including DTS-PTS differential information can also be generated and transmitted in chunk units obtained by dividing an MPU (GOP). For example, if an MPU (GOP) is composed of 32 frames, 8 frames can be treated as a chunk, and ISOBMFF metadata including DTS-PTS differential information for 8 frames can be generated and transmitted as movie fragment metadata.

[0051] MMT multiplexing unit 340 multiplexes the video signal and various control information, and transmits the multiplexed signal as an MMT signal to receiving device 500 via transmission path 400. HEVC encoded data is input to MMT multiplexing unit 340 from HEVC encoder unit 330, a TAI-MPU timestamp descriptor is input from descriptor generating unit 370, and metadata is input from ISOBMFF metadata generating unit 380. MMT multiplexing unit 340 multiplexes the encoded video signal (HEVC encoded data), a timestamp descriptor (TAI-MPU timestamp descriptor) assigned to the MPU, and metadata including DTS-PTS differential information to generate an MMT signal.

[0052] [5. Operation of the transmitter] Next, with reference to FIG. 6 (and also with reference to FIGS. 1 and 5 as appropriate), the operation of the transmission device according to the first embodiment of the present invention will be described. The TAI clock recovery unit 310 of the transmission device 300 communicates with the TAI time server 200 to recover a counter value representing the TAI time (step S101). Meanwhile, the HEVC encoder unit 330 encodes an input video signal and outputs HEVC encoded data and a GOP start trigger signal. Then, the PTS determination unit 350 determines a TAI-MPU timestamp based on the counter value representing the TAI time reproduced by the TAI clock reproduction unit 310, in accordance with the GOP start trigger signal from the HEVC encoder unit 330 (step S102).

[0053] Then, the descriptor generation unit 370 generates a TAI-MPU timestamp descriptor including an MPU sequence number, a TAI-MPU timestamp, and a UTC-TAI offset (step S103). Meanwhile, the ISOBMFF metadata generation unit 380 acquires DTS-PTS differential information as picture reorder information of each frame from the HEVC encoder unit 330, and generates ISOBMFF metadata including the DTS-PTS differential information. Then, the MMT multiplexing unit 340 multiplexes the HEVC encoded data from the HEVC encoder unit 330, the TAI-MPU timestamp descriptor from the descriptor generation unit 370, and the metadata including the DTS-PTS difference to generate an MMT signal, and transmits it from the transmission path 400 to the receiving device 500 (step S104).

[0054] [6. Configuration of receiving device] Next, a configuration example of the receiving device 500 will be described with reference to Fig. 7. For the sake of simplicity, the description will be focused on video processing that requires picture reordering (rearrangement of the decoding order and the display order), and a description of audio processing will be omitted.

[0055] The receiving device 500 is a receiving device that receives an MMT signal transmitted from the transmitting device 300, and includes a UTC clock recovery unit 510, an MMT demultiplexing unit 520, a descriptor analysis unit 530, a TAI offset addition unit 540, an ISOBMFF metadata analysis unit 550, a PTS calculation unit 560, an HEVC decoder unit (video decoder unit) 570, and a picture reorder buffer 580.

[0056] The UTC clock regeneration unit 510 communicates with a UTC time server 800 (e.g., an NTP server) that provides UTC time, and regenerates a counter value that represents UTC time. The UTC clock regeneration unit 510 regenerates the UTC time counter value as a clock and outputs it to the TAI offset addition unit 540. The UTC clock regeneration unit 510 also receives a leap second indicator provided by the UTC time server 800, which notifies the user of the insertion or deletion of a leap second.

[0057] The MMT demultiplexing unit 520 separates, for example, control information, MPU sequence number, metadata, and HEVC encoded data (encoded video signal) from the MMT signal input to this receiving device 500, and extracts a TAI-MPU timestamp descriptor from the control information. The MMT demultiplexing unit 520 outputs the control information such as the TAI-MPU timestamp descriptor and the MPU sequence number to the descriptor analysis unit 530. The MMT demultiplexing unit 520 outputs the metadata to the ISOBMFF metadata analysis unit 550, and outputs the HEVC encoded data to the HEVC decoder unit 570.

[0058] The descriptor analyzer 530 extracts an MPU timestamp (TAI-MPU timestamp) expressed in the TAI time in a specific MPU and a UTC-TAI offset from the TAI-MPU timestamp descriptor multiplexed into the MMT signal and transmitted. The descriptor analyzer 530 analyzes the TAI-MPU timestamp descriptor acquired from the MMT demultiplexer 520 to identify the TAI-MPU timestamp and UTC-TAI offset of the current MPU. The descriptor analyzer 530 outputs the UTC-TAI offset to the TAI offset adder 540. The descriptor analyzer 530 outputs the TAI-MPU timestamp to the PTS calculator 560. Note that the TAI-MPU timestamp stores the presentation time of the first picture in the MPU based on the absolute time.

[0059] The TAI offset addition unit 540 converts the counter value representing the UTC time reproduced by the UTC clock reproduction unit 510 into a counter value representing the TAI time by adding a UTC-TAI offset to the counter value representing the UTC time. The TAI offset addition unit 540 adds the UTC-TAI offset acquired from the descriptor analysis unit 530 to the UTC time acquired from the UTC clock reproduction unit 510, and converts the clock into a clock expressed in absolute time of the TAI time. The TAI offset addition unit 540 outputs the clock of the TAI time to the picture reorder buffer 580.

[0060] Here, the UTC-TAI offset transmitted in the TAI-MPU timestamp descriptor is the UTC-TAI offset at the UTC time when the transmitting device 300 determines the PTS. Therefore, if there is a transmission delay between the transmitting device 300 and the receiving device 500, the following attention is required. As shown in FIG. 4, the UTC-TAI offset decreases when a leap second is inserted into the UTC time, while the UTC-TAI offset increases when a leap second is deleted, although this is not shown. If there is no transmission delay, the timing of the insertion / deletion of a leap second into the UTC time in the receiving device 500 is equal to the timing of the increase / decrease of the UTC-TAI offset transmitted in the TAI-MPU timestamp descriptor, for example. On the other hand, if there is a transmission delay, the timing of the increase or decrease of the UTC-TAI offset transmitted in the TAI-MPU timestamp descriptor will be delayed by the amount of the transmission delay relative to the timing of the insertion or deletion of leap seconds into the UTC time that the receiving device 500 directly references from the UTC time server 800, and this timing discrepancy may result in the time not being converted correctly to TAI time.

[0061] To avoid this, the present embodiment may use the following method. In this method, the UTC clock recovery unit 510 of the receiving device 500 uses the absolute value of the UTC time acquired from the UTC time server 800 (e.g., an NTP server) only once when the reception of the MMT signal from the transmitting device 300 starts, and thereafter uses the time information acquired from the UTC time server 800 simply as a speed reference for the passage of time to output a time that increases simply. When the UTC clock recovery unit 510 uses the time information of the UTC time server 800 (e.g., an NTP server) as a speed reference for the passage of time after the start of reception of the MMT signal, the UTC clock recovery unit 510 also refers to the leap second indicator, and even if a leap second is inserted or deleted, it continues to output a time that increases simply like the TAI time (the absolute value of the UTC time) as a control that takes into consideration the effect of the leap second. In this way, the TAI offset addition unit 540 at the rear of the UTC clock recovery unit 510 does not need to perform control that takes into special consideration the insertion or deletion of leap seconds. In this case, the TAI offset addition unit 540 retains the UTC-TAI offset (initial value) first received after starting reception of the MMT signal, and thereafter, even if the UTC-TAI offset transmitted in the TAI-MPU timestamp descriptor increases or decreases, the initial value of the UTC-TAI offset retained at the start of reception is still used.

[0062] In addition, as required by the common standards and operational agreements between the transmitting and receiving sides, the TAI offset addition unit 540 does not simply add the UTC-TAI offset value transmitted in the TAI-MPU timestamp descriptor to UTC time, but rather converts it to TAI time by inverting the positive / negative sign of the transmitted UTC-TAI offset, adding a fixed offset value that has already been incorporated, and then adding it to UTC time.

[0063] The ISOBMFF metadata analysis unit 550 extracts DTS-PTS differential information from metadata multiplexed and transmitted in an MMT signal. The ISOBMFF metadata analysis unit 550 extracts DTS-PTS differential information of, for example, each frame belonging to the current MPU from the metadata separated by the MMT demultiplexing unit 520, and outputs the DTS-PTS differential information to the PTS calculation unit 560. The DTS-PTS differential information is expressed as a relative value rather than an absolute time. Note that, when the ISOBMFF metadata including the DTS-PTS differential information is received in chunk units obtained by dividing an MPU (GOP), the ISOBMFF metadata analysis unit 550 outputs the DTS-PTS differential information to the PTS calculation unit 560 in chunk units of, for example, 8 frames.

[0064] The PTS calculation unit 560 calculates the PTS expressed in TAI time of each frame in the MPU from the MPU timestamp (TAI-MPU timestamp) expressed in TAI time and the DTS-PTS difference information of each frame extracted from the ISOBMFF metadata analysis unit 550. The PTS calculation unit 560 calculates the PTS expressed in TAI time of each frame from the TAI-MPU timestamp acquired from the descriptor analysis unit 530 and the DTS-PTS difference information (relative value) output from the ISOBMFF metadata analysis unit 550. The TAI offset addition unit 540 outputs the PTS of the TAI time of each frame to the picture reorder buffer 580.

[0065] The HEVC decoder unit 570 decodes the HEVC encoded data separated by the MMT demultiplexing unit 520, and outputs the decoded video frames (each picture) to the picture reorder buffer 580.

[0066] The picture reorder buffer 580 receives video frames decoded from the video signal multiplexed into the MMT signal and transmitted, compares the counter value representing the TAI time converted by the TAI offset addition unit 540 with the PTS expressed in the TAI time of each frame calculated by the PTS calculation unit 560, reorders the video frames as necessary, and outputs them to the monitor 600, etc. Note that, when there is a transmission delay between the transmitting device 300 and the receiving device 500, the TAI time indicated by the PTS may be a time in the past with respect to the TAI time converted by the TAI offset adding unit 540. In this case, the picture reorder buffer 580 adjusts the offset time to be added to the PTS, and performs presentation control by comparing the TAI time obtained by adding this offset time to the PTS of each frame with the TAI time converted by the TAI offset adding unit 540. Stable playback is possible by controlling the offset time so that it is increased when a buffer underflow occurs and decreased when a buffer overflow occurs.

[0067] [7. Operation of the receiving device] Next, the operation of the receiving device according to the first embodiment of the present invention will be described with reference to FIG. 8 (and also with reference to FIGS. 1 and 7 as appropriate). The UTC clock regeneration unit 510 of the receiving device 500 communicates with the UTC time server 800 to regenerate a counter value representing the UTC time (step S201). On the other hand, the MMT demultiplexing unit 520 separates the control information, the MPU sequence number, the metadata, and the HEVC encoded data from the transmitted MMT signal, and extracts the TAI-MPU timestamp descriptor from the control information. Then, the descriptor analyzer 530 extracts the TAI-MPU timestamp and the UTC-TAI offset from the TAI-MPU timestamp descriptor demultiplexed from the MMT signal (step S202).Then, the TAI offset adder 540 adds the UTC-TAI offset to the counter value representing the UTC time recovered by the UTC clock recovery unit 510, and converts it to TAI time (step S203).

[0068] Then, the ISOBMFF metadata analysis unit 550 extracts the DTS-PTS difference from the metadata demultiplexed from the MMT signal (step S204).Then, the PTS calculation unit 560 calculates the PTS expressed in the TAI time of each frame in the MPU from the TAI-MPU timestamp and the DTS-PTS difference of each frame belonging to the MPU, for example (step S205).On the other hand, the HEVC decoder unit 570 decodes the HEVC encoded data demultiplexed from the MMT signal, and outputs the decoded video frames (each picture) to the picture reorder buffer 580. Then, the picture reorder buffer 580 compares the counter value representing the TAI time with the PTS represented by the TAI time of each frame (adding an offset time if necessary), and reorders the video frames as necessary and outputs them to the monitor 600 (step S206).

[0069] Second embodiment Next, a transmission system according to a second embodiment will be described. The overall configuration of the transmission system according to the second embodiment is similar to that of the first embodiment (see FIG. 1), but the configuration of the transmitting device is different. FIG. 9 is a block diagram that shows a schematic diagram of the transmitting device according to the second embodiment. In FIG. 9, the same components as those in the transmitting device shown in FIG. 5 are denoted by the same reference numerals, and the description thereof will be omitted.

[0070] As shown in FIG. 9, the transmitting device 300B includes a TAI clock recovery unit 310, a frame buffer unit 320, an HEVC encoder unit 330, an MMT multiplexing unit 340, a PTS determination unit 350, an MPU sequence number counter unit 360, a descriptor generation unit 370, and an ISOBMFF metadata generation unit 380, and further includes a start point offset addition unit 390 for changing the start point (epoch).

[0071] In this embodiment, the TAI clock regeneration unit 310 regenerates the counter value of the TAI time acquired from the TAI time server 200 via communication as a reference clock within the device, and outputs it to the origin offset addition unit 390. The TAI clock regeneration unit 310 also acquires and holds the UTC-TAI offset (currentUTCOffset) from the TAI time server 200, and outputs it to the origin offset addition unit 390.

[0072] The start point offset addition unit 390 adds a predetermined fixed offset expressed in seconds to the counter value representing the TAI time reproduced by the TAI clock reproduction unit 310 to change the start point of the counter value representing the TAI time. The start point offset addition unit 390 outputs the counter value representing the TAI time to which the offset has been added and the UTC-TAI offset to the PTS determination unit 350. In this embodiment, the PTS determination unit 350 determines an MPU timestamp expressed in TAI time (TAI-MPU timestamp) according to the counter value representing the TAI time to which the offset has been added by the start point offset addition unit 390 and the GOP start trigger signal.

[0073] When the TAI time server 200 that provides the TAI time is a PTP server, the counter value representing the TAI time reproduced by the TAI clock reproduction unit 310 indicates time information whose starting point (epoch) is 0:00:00 (UTC) on Jan. 1, 1970. The starting point offset addition unit 390 changes this starting point (epoch). The starting point offset addition unit 390 can add a positive offset or a negative offset to the counter value representing the reproduced TAI time. When a positive offset is added, this corresponds to the starting point (epoch) going back in time, so the starting point can be changed to a date and time earlier than 0:00:00 (UTC) on Jan. 1, 1970, for example, the same date and time as the starting point of UTC time. On the other hand, if a positive offset is added, it is equivalent to postponing the origin (epoch), so the origin can be changed to a date and time later than January 1, 1970, 0:00:00 (UTC), for example, January 1, 2000, 0:00:00 (UTC).

[0074] When the TAI time server 200 that provides the TAI time is a PTP server, the starting point offset addition unit 390 may, for example, change the starting point of the counter value expressing the TAI time to the same date and time as the starting point of the UTC time in the NTP format as follows. That is, the starting point offset addition unit 390 adds a predetermined offset expressed in seconds to the counter value expressing the TAI time in the PTP format, in which the starting point of the counter value expressing the TAI time is Jan. 1, 1970, 0:00:00 (UTC), to generate a counter value expressing the TAI time with the starting point being Jan. 1, 1900, 0:00:00 (UTC), similar to the UTC time in the NTP (Network Time Protocol) format. Here, the offset added to the counter value (seconds portion) expressing the TAI time in the PTP format is, specifically, the counter value (seconds portion) expressing Jan. 1, 1970, 0:00:00 (UTC) in the UTC time in the NTP format.

[0075] When the starting point of the counter value expressing the TAI time is changed to the same date and time as the starting point of UTC time in the NTP format in this way, it is not necessary to take into account the offset value of 70 years in (i) above in the UTC-TAI offset that the starting point offset adder 390 outputs to the PTS determiner 350. Therefore, in this case, the UTC-TAI offset that the starting point offset adder 390 outputs to the PTS determiner 350 may be the offset value in (ii) above indicating the number of seconds resulting from the accumulation of past leap second insertions.

[0076] In the first embodiment, the TAI clock regeneration unit 310 is capable of outputting a UTC-TAI offset having a value obtained by adding, for example, the offset value of 70 years in (i) above to the currentUTCOffset acquired from the TAI time server 200, but such a function may be integrated into the origin offset addition unit 390. In other words, in the second embodiment, the TAI clock regeneration unit 310 may output the currentUTCOffset as is to the origin offset addition unit 390, and the origin offset addition unit 390 may perform both the function of adding an offset to the counter value representing the reproduced TAI time and the function of determining the value of the UTC-TAI offset to be output to the PTS determination unit 350.

[0077] (Modification) In the transmitting device and the receiving device according to each embodiment, the video codec is described as HEVC, but the video codec is not limited to HEVC. For example, other video encoding methods such as AVC (Advanced Video Coding), VVC (Versatile Video Coding) and AV1 (AOMedia Video 1) can also be applied.

[0078] Moreover, it can be applied not only to video codecs, but also to audio codecs such as AAC (Advanced Audio Codec). Note that in the case of audio codecs, the MPU, which is the coding unit equivalent to the GOP in video, can use any AU (Access Unit) as the boundary, so it is possible to configure the MPU at a fixed time period or in synchronization with the video GOP.

[0079] The transmitting device may also transmit a TAI-MPU timestamp descriptor including a TAI-MPU timestamp based on TAI time (including when the starting date and time has been changed) together with an MPU timestamp descriptor including an MPU timestamp based on UTC time. Furthermore, in this case, since the fractional part of the MPU timestamp (UTC) less than a second and the fractional part of the TAI-MPU timestamp are the same regardless of leap seconds, it is also possible to omit the fractional part of the TAI-MPU timestamp less than a second (the bit part below the decimal point) in the TAI-MPU timestamp descriptor and transmit only the integer part (the bit part representing the number of seconds).

[0080] Furthermore, as a method for dealing with the possibility that conversion to TAI time may not be performed correctly in the receiving device 500 when there is a transmission delay between the transmitting side and the receiving side, the following method may be used instead of the method described in the above embodiment. In the receiving device 500 of this modified example, the UTC clock recovery unit 510 always uses the absolute value of the UTC time acquired from the UTC time server 800 and outputs it to the TAI offset addition unit 540, and when a leap second is inserted or deleted, outputs the absolute value of the UTC time that reflects this. Then, the TAI offset addition unit 540 does not wait for the UTC-TAI offset transmitted in the TAI-MPU timestamp descriptor to increase or decrease, but proactively increases or decreases the UTC-TAI offset in accordance with the timing of the insertion or deletion of a leap second into the UTC time announced by the leap second indicator. Although the modified receiving device 500 needs to receive the TAI-MPU timestamp descriptor at least once to know the absolute value of the UTC-TAI offset, how the UTC-TAI offset increases or decreases due to the deletion or insertion of leap seconds into UTC time can be easily predicted by common standards and operational agreements between the transmitting and receiving sides.

[0081] Although the transmitter and receiver according to the embodiment of the present invention have been described above, the gist of the present invention is not limited to these descriptions and should be interpreted broadly based on the claims. Furthermore, it goes without saying that various changes and modifications based on these descriptions are also included in the gist of the present invention. [Industrial Applicability]

[0082] The transmitting device and receiving device according to this embodiment can be used for content transmission using MMT in satellite broadcasting, terrestrial broadcasting, cable broadcasting, IP multicast broadcasting, and the like. [Explanation of symbols]

[0083] 1. Transmission System 100 Video and audio signal source 200 TAI Time Server (Time Server) 300,300B Transmitting device 310 TAI Clock Regeneration Unit 320 Frame Buffer Section 330 HEVC Encoder (Video Encoder) 340 MMT multiplexing section 350 PTS decision department 360 MPU sequence number counter unit 370 Descriptor Generator 380 ISOBMFF Metadata Generation Unit 390 Starting point offset addition section 400 Transmission Line 500 Receiving device 510 UTC clock recovery unit 520 MMT demultiplexer 530 Descriptor Analysis Unit 540 TAI offset addition section 550 ISOBMFF Metadata Analysis Section 560 PTS calculation section 570 HEVC Decoder 580 Picture Reorder Buffer 600 Monitors 700 Speaker 800 UTC Time Server (Time Server)

Claims

1. A transmitting device for transmitting an MMT (MPEG Media Transport) signal in which an encoded video signal, a time stamp descriptor assigned to an MPU (Media Processing Unit), and metadata are multiplexed, the transmitting device comprising: a TAI clock regeneration unit that communicates with a time server that provides TAI (International Atomic Time) time and regenerates a counter value that represents the TAI time; a video encoder unit that encodes video frames and outputs an encoded video signal and a GOP (Group Of Picture) start trigger signal; a PTS determination unit that determines an MPU timestamp represented by the TAI time as a PTS (Presentation Timestamp) to be assigned to an MPU in accordance with the GOP start trigger signal from the video encoder unit, based on a counter value representing the TAI time reproduced by the TAI clock reproduction unit; a descriptor generation unit that generates, as the timestamp descriptor, a descriptor including an MPU sequence number, an MPU timestamp expressed in the TAI time, and a UTC-TAI offset indicating the difference between the UTC (Coordinated Universal Time) time and the TAI time expressed in seconds at the same timing as the MPU timestamp expressed in the TAI time is assigned to the MPU; an ISOBMFF metadata generation unit that acquires DTS-PTS differential information, which is information indicating a differential value between a DTS (Decoding Timestamp) and a PTS, as picture reorder information of each frame from the video encoder unit, and generates, as the metadata, metadata of ISO Base Media File Format (ISOBMFF) including the DTS-PTS differential information in units of MPUs or in units of chunks obtained by dividing the MPUs; an MMT multiplexing unit that multiplexes the encoded video signal, a time stamp descriptor that is assigned to the MPU, and the metadata that includes the DTS-PTS difference information to generate the MMT signal. A transmitting device comprising:

2. a start point offset adding unit that adds a predetermined offset expressed in seconds to a counter value representing the TAI time reproduced by the TAI clock reproducing unit to change a start point of the counter value representing the TAI time; The PTS determination unit determines an MPU time stamp expressed by the TAI time according to a counter value representing the TAI time to which the offset is added by the starting point offset addition unit and the GOP start trigger signal.

2. The transmitting device according to claim 1 .

3. The time server that provides the TAI time is a PTP (Precision Time Protocol) server, The origin offset addition unit generates a counter value representing a TAI time having a start point earlier or later than January 1, 1970, 0:00:00 (UTC) by adding a predetermined positive offset or negative offset expressed in seconds to a counter value representing a TAI time in a PTP format in which the start point of the counter value representing the TAI time is January 1, 1970, 0:00:00 (UTC).

3. The transmitting device according to claim 2.

4. A receiving device that receives an MMT signal transmitted from a transmitting device, a UTC clock regenerator that communicates with a time server that provides UTC time and regenerates a counter value that represents the UTC time; A descriptor analysis unit that extracts an MPU timestamp expressed in TAI time in a specific MPU and a UTC-TAI offset from the timestamp descriptor multiplexed and transmitted in the MMT signal; a TAI offset adding unit that converts a counter value representing a UTC time reproduced by the UTC clock reproducing unit into a counter value representing a TAI time by adding the UTC-TAI offset to the counter value; an ISOBMFF metadata analysis unit that extracts DTS-PTS difference information, which is information indicating a difference value between a DTS and a PTS as picture reorder information of each frame, from the metadata multiplexed and transmitted in the MMT signal; a PTS calculation unit that calculates a PTS expressed in TAI time of each frame from an MPU time stamp expressed in TAI time and DTS-PTS difference information of each frame extracted from the ISOBMFF metadata analysis unit; a picture reorder buffer that receives as input a video frame obtained by decoding the video signal multiplexed into the MMT signal and transmitting the video frame, compares a counter value representing the TAI time converted by the TAI offset adding unit with a PTS represented by the TAI time of each frame, and rearranges and outputs the video frame as necessary. A receiving device comprising:

Citation Information

Patent Citations

  • IEC23000-19

  • IEC23008-1

  • IEC23009-1

  • Transmission device, transmission method, reception device, and reception method

    JP2015207989A

  • Receiving method, transmitting method, receiving device, and transmitting device

    JP2020108170A