JP2018182617A - Information processing apparatus, information processing method, program, and recording medium manufacturing method - Google Patents

Information processing apparatus, information processing method, program, and recording medium manufacturing method Download PDF

Info

Publication number
JP2018182617A
JP2018182617A JP2017082059A JP2017082059A JP2018182617A JP 2018182617 A JP2018182617 A JP 2018182617A JP 2017082059 A JP2017082059 A JP 2017082059A JP 2017082059 A JP2017082059 A JP 2017082059A JP 2018182617 A JP2018182617 A JP 2018182617A
Authority
JP
Japan
Prior art keywords
format
counter
counter value
time
mmt
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017082059A
Other languages
Japanese (ja)
Other versions
JP6957186B2 (en
Inventor
山来 真木夫
Makio Yamaki
真木夫 山来
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Semiconductor Solutions Corp
Original Assignee
Sony Semiconductor Solutions Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Semiconductor Solutions Corp filed Critical Sony Semiconductor Solutions Corp
Priority to JP2017082059A priority Critical patent/JP6957186B2/en
Publication of JP2018182617A publication Critical patent/JP2018182617A/en
Application granted granted Critical
Publication of JP6957186B2 publication Critical patent/JP6957186B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable converting a format of a content from a first format to a second format having a time axis being different from each other.SOLUTION: An information processing apparatus according to the present technology converts a time stamp of a first format that is represented by a counter value of a 32+n bit counter in which accuracy being less than or equal to 1 second is 2Hz (n is an integer being more than or equal to 24) to a time stamp of a second format that is represented by a counter value of a 33 bit counter in which accuracy being less than or equal to 1 second is 90 kHz, and converts reference time of the first format represented by the counter value of the 32+n bit counter to reference time of the second format represented by a counter value of a 42 bit counter in which accuracy being less than or equal to 1 second is 27 MHz. The present technology can be applied to a recording apparatus such as a PC or a hard disk recorder and the like.SELECTED DRAWING: Figure 2

Description

本技術は、情報処理装置、情報処理方法、プログラム、および記録媒体製造方法に関し、特に、コンテンツのフォーマットを、時間軸が異なる第1のフォーマットから第2のフォーマットに変換することができるようにした情報処理装置、情報処理方法、プログラム、および記録媒体製造方法に関する。   The present technology relates to an information processing apparatus, an information processing method, a program, and a recording medium manufacturing method, and in particular, it has become possible to convert the format of content from a first format different in time axis to a second format. The present invention relates to an information processing apparatus, an information processing method, a program, and a recording medium manufacturing method.

次世代の放送規格におけるコンテンツの伝送は、従来のMPEG-2 TSではなく、MMT(MPEG Media Transport)で行われる。MMTにより、放送波の伝送路だけでなく、インターネットなどの通信の伝送路を用いたコンテンツの伝送が可能になる。   Transmission of content in the next-generation broadcast standard is performed by MMT (MPEG Media Transport), not by the conventional MPEG-2 TS. MMT enables transmission of content using not only the transmission path of broadcast waves but also the transmission path of communication such as the Internet.

特開2016−103745号公報JP, 2016-103745, A

MMTのコンテンツを受信し、記録する場合、MMTのコンテンツをそのまま記録することも考えられるが、MPEG-2 TSで記録することも検討されている。MPEG-2 TSで記録することにより、既に普及しているMPEG-2 TSの資産を活かすことが可能になる。   When receiving and recording MMT content, it is conceivable to record MMT content as it is, but recording with MPEG-2 TS is also considered. Recording with MPEG-2 TS makes it possible to take advantage of the already widespread MPEG-2 TS assets.

MMTのコンテンツをMPEG-2 TSのコンテンツに変換する技術が確立されていない。   No technology has been established to convert MMT content into MPEG-2 TS content.

本技術はこのような状況に鑑みてなされたものであり、コンテンツのフォーマットを、時間軸が異なる第1のフォーマットから第2のフォーマットに変換することができるようにするものである。   The present technology has been made in view of such a situation, and enables the format of content to be converted from a first format different in time axis to a second format.

本技術の一側面の情報処理装置は、1秒以下の精度を2Hz(nは24以上の整数)とする32+nビットカウンタのカウンタ値により表される第1のフォーマットのタイムスタンプを、1秒以下の精度を90kHzとする33ビットカウンタのカウンタ値により表される第2のフォーマットのタイムスタンプに変換するタイムスタンプ変換部と、前記32+nビットカウンタのカウンタ値により表される前記第1のフォーマットの参照時刻を、1秒以下の精度を27MHzとする42ビットカウンタのカウンタ値により表される第2のフォーマットの参照時刻に変換する参照時刻変換部と、タイムスタンプ変換における前記33ビットカウンタのカウンタ値の初期値と、を設定参照時刻の変換における前記42ビットカウンタのカウンタ値の初期値とをそれぞれ設定する制御部とを備える。 An information processing apparatus according to one aspect of the present technology is configured to set a time stamp of a first format represented by a counter value of a 32 + n-bit counter with an accuracy of 1 second or less as 2 n Hz (n is an integer of 24 or more). A time stamp conversion unit for converting the time stamp of the second format represented by the counter value of the 33-bit counter having an accuracy of 90 kHz or less to the second, and the first format represented by the counter value of the 32 + n-bit counter A reference time converter for converting the reference time of the second time to the reference time of the second format represented by the counter value of the 42-bit counter with an accuracy of 1 second or less, and the counter of the 33-bit counter in time stamp conversion Initial value of the value, and the initial value of the counter value of the 42-bit counter in the conversion of setting reference time And a controller configured to set

前記タイムスタンプ変換部には、前記第1のフォーマットのタイムスタンプに閏秒の調整が行われたことに応じて補正した第2のフォーマットのタイムスタンプを生成させることができる。   The time stamp conversion unit may generate a time stamp of a second format corrected in accordance with the leap second adjustment performed on the time stamp of the first format.

前記第1のフォーマットで多重化されたビデオストリームとオーディオストリームを含むデータを、前記第2のフォーマットで多重化し、多重化データを生成する処理部をさらに設けることができる。   A processing unit may be further provided to multiplex, in the second format, data including a video stream and an audio stream multiplexed in the first format and generate multiplexed data.

前記処理部には、前記第2のフォーマットのタイムスタンプと参照時刻が付加された前記多重化データを生成させることができる。   The processing unit may generate the multiplexed data to which a timestamp of the second format and a reference time are added.

前記制御部には、タイムスタンプの変換処理、参照時刻の変換処理、および多重化処理のそれぞれの処理時間に基づいて初期値を設定させることができる。   The control unit may set initial values based on processing times of time stamp conversion processing, reference time conversion processing, and multiplexing processing.

前記第1のフォーマットをMMTとし、前記第2のフォーマットをMPEG-2 TSとすることができる。   The first format may be MMT, and the second format may be MPEG-2 TS.

本技術の一側面においては、1秒以下の精度を2Hz(nは24以上の整数)とする32+nビットカウンタのカウンタ値により表される第1のフォーマットのタイムスタンプが、1秒以下の精度を90kHzとする33ビットカウンタのカウンタ値により表される第2のフォーマットのタイムスタンプに変換され、前記32+nビットカウンタのカウンタ値により表される前記第1のフォーマットの参照時刻が、1秒以下の精度を27MHzとする42ビットカウンタのカウンタ値により表される第2のフォーマットの参照時刻に変換される。また、タイムスタンプ変換における前記33ビットカウンタのカウンタ値の初期値と、設定参照時刻の変換における前記42ビットカウンタのカウンタ値の初期値とがそれぞれ設定される。 In one aspect of the present technology, the time stamp of the first format represented by the counter value of the 32 + n-bit counter with an accuracy of 1 second or less as 2 n Hz (n is an integer of 24 or more) is 1 second or less The reference time of the first format is converted to a time stamp of the second format represented by the counter value of the 33-bit counter with an accuracy of 90 kHz, and represented by the counter value of the 32 + n-bit counter is less than 1 second. Is converted to the reference time of the second format represented by the counter value of the 42-bit counter with an accuracy of 27 MHz. Further, the initial value of the counter value of the 33-bit counter in time stamp conversion and the initial value of the counter value of the 42-bit counter in conversion of the setting reference time are respectively set.

本技術によれば、コンテンツのフォーマットを、時間軸が異なる第1のフォーマットから第2のフォーマットに変換することができる。   According to the present technology, it is possible to convert the format of the content from the first format having a different time axis to the second format.

なお、ここに記載された効果は必ずしも限定されるものではなく、本開示中に記載されたいずれかの効果であってもよい。   In addition, the effect described here is not necessarily limited, and may be any effect described in the present disclosure.

本技術の一実施形態に係る情報処理装置によるフォーマット変換の例を示す図である。It is a figure showing an example of format conversion by an information processor concerning one embodiment of this art. カウンタ値の変換の例を示す図である。It is a figure which shows the example of conversion of a counter value. MMTを用いる放送システムのプロトコルスタックを示す図である。FIG. 2 shows a protocol stack of a broadcast system using MMT. NTP形式の構成を示す図である。It is a figure which shows the structure of a NTP format. NTP形式の時刻情報を含むIPパケットを格納するTLVパケットの配置を示す図である。It is a figure which shows arrangement | positioning of the TLV packet which stores the IP packet containing the time information of a NTP format. 映像・音声信号からMMTPペイロードを構成する例を示す図である。It is a figure which shows the example which comprises a MMTP payload from a video and an audio | voice signal. MMTPパケットの構成を示す図である。It is a figure which shows the structure of a MMTP packet. payload_typeの値の意味を示す図である。It is a figure which shows the meaning of the value of payload_type. MMTP_payload()の構成を示す図である。It is a figure which shows the structure of MMTP_payload (). MMTP_payload()の構成を示す図である。It is a figure which shows the structure of MMTP_payload (). MMT-SIの構造を示す図である。It is a figure which shows the structure of MMT-SI. MMT-SIのメッセージの種類と機能を示す図である。It is a figure which shows the kind and function of a message of MMT-SI. PAメッセージの構成を示す図である。It is a figure which shows the structure of PA message. message_idの値の意味を示す図である。It is a figure which shows the meaning of the value of message_id. MPTの構成を示す図である。It is a figure which shows the structure of MPT. MPUタイムスタンプ記述子の構成を示す図である。It is a figure which shows the structure of MPU time stamp descriptor. MPU拡張タイムスタンプ記述子の構成を示す図である。It is a figure which shows the structure of MPU extended time stamp descriptor. MMTにおけるPTSとDTSの算出方法を示す図である。It is a figure which shows the calculation method of PTS in D and MTS. TSパケットの構成を示す図である。It is a figure which shows the structure of TS packet. アダプテーションフィールドの構成を示す図である。It is a figure which shows the structure of an adaptation field. PESパケットの構成を示す図である。It is a figure which shows the structure of a PES packet. 情報処理装置の構成例を示すブロック図である。It is a block diagram showing an example of composition of an information processor. 図22のMMT信号処理部と記録制御部の構成例を示すブロック図である。FIG. 23 is a block diagram showing a configuration example of an MMT signal processing unit and a recording control unit of FIG. 22. 処理遅延の例を示す図である。It is a figure which shows the example of a process delay. MPEG-2 TSにおけるカウンタ値と時間の関係を示す図である。It is a figure which shows the relationship of the counter value and time in MPEG-2 TS. MMTにおけるカウンタ値と時間の関係を示す図である。It is a figure which shows the relationship of the counter value and time in MMT. タイムスタンプの変換について示す図である。It is a figure shown about conversion of a time stamp. タイムスタンプの変換について示す他の図である。It is another figure shown about conversion of a time stamp. 閏秒挿入時のタイムスタンプの変換について示す図である。It is a figure shown about conversion of the time stamp at the time of leap second insertion. 閏秒削除時のタイムスタンプの変換について示す図である。It is a figure showing conversion of the time stamp at the time of leap second deletion. PLLの構成例を示すブロック図である。It is a block diagram showing an example of composition of PLL. 情報処理装置の変換処理について説明するフローチャートである。It is a flow chart explaining conversion processing of an information processor. 一連のフォーマット変換を示す図である。It is a figure which shows a series of format conversion. コンピュータの構成例を示すブロック図である。It is a block diagram showing an example of composition of a computer.

以下、本技術を実施するための形態について説明する。説明は以下の順序で行う。
1.フォーマット変換の例
2.MMTについて
3.MPEG-2 TSについて
4.情報処理装置の構成例
5.カウンタ値の変換について
6.情報処理装置の動作
7.変形例
Hereinafter, modes for carrying out the present technology will be described. The description will be made in the following order.
1. Example of format conversion About MMT 3. About MPEG-2 TS 4. Configuration example of information processing apparatus 5. About conversion of counter value Operation of Information Processing Device Modified example

<1.フォーマット変換の例>
図1は、本技術の一実施形態に係る情報処理装置によるフォーマット変換の例を示す図である。
<1. Format conversion example>
FIG. 1 is a diagram illustrating an example of format conversion by an information processing apparatus according to an embodiment of the present technology.

情報処理装置1は、例えば、HDD(Hard Disk Drive)、SSD(Solid State Drive)などの記録媒体を内蔵した録画機器、テレビジョン受像機、パーソナルコンピュータ、セットトップボックスなどの装置である。情報処理装置1は、放送波の伝送路、またはインターネットなどの通信の伝送路を介して放送(配信)された、ビデオとオーディオを含むテレビジョン番組などのコンテンツを受信する。放送波の伝送路には、地上波放送、衛星放送の伝送路が含まれる。   The information processing apparatus 1 is, for example, an apparatus such as a recording device incorporating a recording medium such as a hard disk drive (HDD) or a solid state drive (SSD), a television receiver, a personal computer, a set top box, or the like. The information processing apparatus 1 receives content such as a television program including video and audio, which is broadcast (distributed) via a transmission path of broadcast waves or a transmission path of communication such as the Internet. Transmission channels of broadcast waves include transmission channels of terrestrial broadcasting and satellite broadcasting.

放送波の伝送路、または通信の伝送路を介したコンテンツの伝送は、MMTで行われる。情報処理装置1は、ビデオストリームとオーディオストリームをMMTで多重化して得られた多重化データを受信する。多重化データには字幕データも適宜含まれる。   Transmission of content via a broadcast wave transmission path or communication transmission path is performed by MMT. The information processing apparatus 1 receives multiplexed data obtained by multiplexing a video stream and an audio stream by MMT. Subtitle data is also appropriately included in the multiplexed data.

情報処理装置1は、ARIB STD-B60(「デジタル放送におけるMMTによるメディアトランスポート方式」)に準拠したMMTのコンテンツの受信に対応した装置である。また、情報処理装置1は、ARIB TR-B39(「高度広帯域衛星デジタル放送 運用規定」)に準拠したコンテンツ伝送に対応した装置でもある。   The information processing apparatus 1 is an apparatus compatible with reception of MMT content compliant with ARIB STD-B 60 (“Media transport method by MMT in digital broadcasting”). Further, the information processing apparatus 1 is also an apparatus compatible with content transmission conforming to ARIB TR-B 39 (“Advanced broadband satellite digital broadcast operation definition”).

情報処理装置1は、受信したMMTのコンテンツを再生し、コンテンツの映像と音声を、情報処理装置1に接続されたテレビジョン受像機(図示せぬ)などから出力させる機能を有する。   The information processing apparatus 1 has a function of reproducing the received MMT content and outputting the video and audio of the content from a television receiver (not shown) or the like connected to the information processing apparatus 1.

また、情報処理装置1は、受信したMMTのコンテンツを、MPEG-2 TSのコンテンツに変換する機能を有する。MPEG-2 TSは、ITU-H.222.0により規定される。   In addition, the information processing apparatus 1 has a function of converting the received MMT content into the content of the MPEG-2 TS. MPEG-2 TS is defined by ITU-H.222.0.

MMTからMPEG-2 TSへのフォーマットの変換時、情報処理装置1は、MMTP(MMT Protocol)パケットに格納されたビデオデータやオーディオデータを取得し、TSパケットに格納し直す。情報処理装置1は、SI(Service Information)などの制御情報を格納したTSパケットとともに、ビデオのTSパケットとオーディオのTSパケットを多重化することによってTS(トランスポートストリーム)を生成する。   At the time of format conversion from MMT to MPEG-2 TS, the information processing apparatus 1 acquires video data and audio data stored in an MMTP (MMT Protocol) packet, and stores them again in a TS packet. The information processing apparatus 1 generates a TS (transport stream) by multiplexing a video TS packet and an audio TS packet together with a TS packet storing control information such as SI (Service Information).

フォーマットの変換時、情報処理装置1は、MMTのコンテンツに含まれる時刻情報を、MPEG-2 TSの時刻情報に変換する。MMTとMPEG-2 TSは、時間軸が異なるフォーマットである。時間軸が異なるとは、時刻を規定するカウンタ値のビット数と精度(分解能)のうちの少なくともいずれかが異なることを意味する。   At the time of format conversion, the information processing device 1 converts time information included in the content of MMT into time information of MPEG-2 TS. MMT and MPEG-2 TS have different time axis formats. A different time axis means that at least one of the number of bits of the counter value defining the time and the precision (resolution) is different.

MMTのコンテンツとMPEG-2 TSのコンテンツには、時刻情報として、動作の基準となる参照時刻を表すカウンタ値と、PTS(Presentation Time Stamp)、DTS(Decode Time Stamp)を表すカウンタ値が含まれる。   The MMT content and the MPEG-2 TS content include, as time information, a counter value representing a reference time serving as a reference for operation, and a counter value representing a PTS (Presentation Time Stamp) and a DTS (Decode Time Stamp). .

図2は、カウンタ値の変換の例を示す図である。   FIG. 2 is a diagram showing an example of conversion of counter values.

図2の左側に示すように、MMTにおいて、参照時刻は、NTP(Network Time Protocol)形式の時刻情報として表される。   As shown on the left side of FIG. 2, in the MMT, the reference time is represented as time information in the NTP (Network Time Protocol) format.

詳細については後述するが、NTP形式においては、32+nbit/2Hzのカウンタ値で参照時刻が表される。ここで、32+nbit/2Hzは、1秒以上の時刻が、秒単位で、32bitを用いて表され、1秒以下の時刻がnbitを用いて表されることを示す。1秒以下の精度は2Hzである。 Although the details will be described later, in the NTP format, the reference time is represented by a counter value of 32 + n bits / 2 n Hz. Here, 32 + nbit / 2 n Hz indicates that a time of 1 second or more is expressed using 32 bits in seconds, and a time of 1 second or less is expressed using n bit. The precision for less than one second is 2 n Hz.

ARIB TR-B39では、NTP形式の運用として、nが24以上であることが規定されている。   In ARIB TR-B39, it is specified that n is 24 or more as the operation of the NTP format.

MMTにおいて、PTSとDTSは、32+nbit/2Hzのカウンタ値で表される時刻から求められる。 In MMT, PTS and DTS are obtained from the time represented by the counter value of 32 + nbit / 2 n Hz.

一方、図2の右側に示すように、MPEG-2 TSにおいて、動作の基準となる参照時刻であるPCRは、42bit/27MHzのカウンタ値で表される。   On the other hand, as shown on the right side of FIG. 2, in MPEG-2 TS, PCR which is a reference time serving as a reference of operation is represented by a counter value of 42 bits / 27 MHz.

また、MPEG-2 TSにおいて、PTSとDTSは、それぞれ、33bit/90kHzのカウンタ値で表される。   Also, in the MPEG-2 TS, PTS and DTS are each represented by a counter value of 33 bits / 90 kHz.

情報処理装置1は、32+nbit/2Hzのカウンタ値で表されるMMTの参照時刻を、42bit/27MHzのカウンタ値で表されるMPEG-2 TSのPCRに変換する。 The information processing apparatus 1 converts the reference time of the MMT represented by the counter value of 32 + nbit / 2 n Hz into the PCR of the MPEG-2 TS represented by the counter value of 42 bit / 27 MHz.

また、情報処理装置1は、MMTにおけるPTSとDTSを、それぞれ、33bit/90kHzのカウンタ値で表されるMPEG-2 TSのPTSとDTSに変換する。   Further, the information processing apparatus 1 converts PTS and DTS in MMT into PTS and DTS in MPEG-2 TS represented by a counter value of 33 bits / 90 kHz.

情報処理装置1は、このようにして変換したMPEG-2 TSの時刻情報を含むTSを生成する。   The information processing apparatus 1 generates a TS including time information of the MPEG-2 TS converted in this manner.

図1の説明に戻り、情報処理装置1は、MMTのコンテンツを変換することによって生成したMPEG-2 TSのコンテンツを、情報処理装置1に装着された記録媒体11に記録する。記録媒体11は、例えばBlu-ray(登録商標) Disc(以下、適宜、BDという)である。BDは、MPEG-2 TSのファイルを記録可能な記録媒体である。   Returning to the explanation of FIG. 1, the information processing apparatus 1 records the content of the MPEG-2 TS generated by converting the content of the MMT in the recording medium 11 mounted on the information processing apparatus 1. The recording medium 11 is, for example, Blu-ray (registered trademark) Disc (hereinafter referred to as BD as appropriate). BD is a recording medium capable of recording an MPEG-2 TS file.

情報処理装置1は、MMTで伝送されてきたコンテンツをBDに記録できることになる。BDの再生に対応した再生装置は、情報処理装置1によりBDに書き込まれたコンテンツを再生できることになる。   The information processing apparatus 1 can record the content transmitted by the MMT on the BD. The playback device compatible with playback of BD can play back the content written to BD by the information processing device 1.

また、情報処理装置1は、MMTのコンテンツを変換することによって生成したMPEG-2 TSのコンテンツを、インターネットなどのネットワーク12を介して送信する。MPEG-2 TSのコンテンツの再生に対応した再生装置は、情報処理装置1により生成されたコンテンツを再生できることになる。   Further, the information processing apparatus 1 transmits the content of the MPEG-2 TS generated by converting the content of the MMT via the network 12 such as the Internet. A playback device compatible with playback of MPEG-2 TS content can play back the content generated by the information processing device 1.

このように、MMTのコンテンツをMPEG-2 TSのコンテンツに変換できるようにすることにより、MMTで提供されたコンテンツの処理を、MPEG-2 TSを処理可能な各種の装置が行うことが可能になる。すなわち、MPEG-2 TSの資産を活かすことが可能になる。   As described above, by enabling conversion of MMT content to MPEG-2 TS content, various devices capable of processing MPEG-2 TS can process content provided by MMT. Become. That is, it is possible to make use of the assets of MPEG-2 TS.

<2.MMTについて>
<2−1.MMTのパケット構造>
MMTについて説明する。ここでは、ARIB STD-B60の規定のうち、情報処理装置1の処理に関係のある部分について説明する。特に明示するもの以外は、基本的に、ARIB STD-B60 1.7版の規定によるものである。
<2. About MMT>
<2-1. MMT packet structure>
The MMT will be described. Here, among the rules of ARIB STD-B 60, portions related to the processing of the information processing device 1 will be described. Basically, the rules are based on ARIB STD-B 60.1.7, except for those explicitly stated.

図3は、MMTを用いる放送システムのプロトコルスタックを示す図である。   FIG. 3 is a diagram showing a protocol stack of a broadcast system using MMT.

番組の映像信号及び音声信号の符号はMFU(Media Fragment Unit)/MPU(Media Processing Unit)の伝送単位に区切られる。1つ以上のアクセスユニットのデータを含む単位であるMPUは、複数のMFUを含むようにして構成される。   The codes of video and audio signals of a program are divided into transmission units of MFU (Media Fragment Unit) / MPU (Media Processing Unit). An MPU, which is a unit including data of one or more access units, is configured to include a plurality of MFUs.

MFUは、MMTPペイロードに配置され、MMTPヘッダが付加されることによってMMTPパケットが構成される。MMTPパケットはIPパケットを用いて伝送される。1つのMMTPパケットは1つのIPパケットで伝送される。   The MFU is placed in the MMTP payload, and an MMTP packet is configured by adding an MMTP header. MMTP packets are transmitted using IP packets. One MMTP packet is transmitted in one IP packet.

放送番組の構成などを示す制御情報であるMMT-SIについても、MMTの制御メッセージの形式として、MMTPペイロードに配置されてMMTPパケット化され、IPパケットで伝送される。   The MMT-SI, which is control information indicating the configuration of a broadcast program, is also arranged in the MMTP payload as an MMT control message format, is MMTP packetized, and is transmitted as an IP packet.

上述したNTP形式の時刻情報も、IPパケットを用いて伝送される。   The time information in the NTP format described above is also transmitted using an IP packet.

図4は、NTP形式の構成を示す図である。   FIG. 4 is a diagram showing the configuration of the NTP format.

IETF RFC 5905 “Network Time Protocol Version 4: Protocol and Algorithms Specification”に規定するNTP形式のIPパケットが、協定世界時(Coordinated Universal Time, UTC)を提供するために用いられる。   An IP packet in the NTP format specified in IETF RFC 5905 "Network Time Protocol Version 4: Protocol and Algorithms Specification" is used to provide Coordinated Universal Time (UTC).

leap_indicator(閏秒指示子)は、現在月の最後の1分に、閏秒(うるう秒)を挿入あるいは削除することを示す。   leap_indicator (leap second indicator) indicates that the leap second (leap second) is inserted or deleted in the last 1 minute of the current month.

フォーマット変換前のMMTのコンテンツが閏秒の挿入または削除を挟む場合、情報処理装置1においては、閏秒の挿入分または削除分を調整するようにしてタイムスタンプの変換が行われる。   When the content of the MMT before format conversion interposes insertion or deletion of the leap second, in the information processing apparatus 1, time stamp conversion is performed by adjusting the insertion or deletion of the leap second.

MPEG-2 TSには閏秒の概念がないため、フォーマット変換前のMMTのコンテンツが閏秒の挿入または削除を挟む場合には、閏秒の挿入または削除を考慮して、MMTのタイムスタンプをMPEG-2 TSのタイムスタンプに変換する必要がある。   Since the MPEG-2 TS does not have the concept of leap seconds, if the content of the MMT before format conversion interposes the insertion or deletion of leap seconds, the MMT timestamp is considered in consideration of the insertion or deletion of leap seconds. It is necessary to convert to MPEG-2 TS time stamp.

NTPでは、1900年1月1日0時0分0秒からの積算秒数が使用される。NTP形式には、reference_timestamp(参照タイムスタンプ)が含まれる。   In NTP, the accumulated number of seconds from January 1, 1900 at 00:00:00 is used. The NTP format includes reference_timestamp (reference timestamp).

reference_timestampは、システム時刻が最後に補正された時刻をNTP長形式で示す。NTP長形式は、秒単位を示す32bitのフィールドと、1秒以下を示す32bitのフィールドとから構成される。   reference_timestamp indicates the time when the system time was last corrected in the NTP long format. The NTP long format includes a 32-bit field indicating seconds and a 32-bit field indicating 1 second or less.

ARIB TR-B39では、1秒以下の時刻を、nbit(n:24以上)を使用して示すことが規定される。nは32以下となる。   In ARIB TR-B 39, it is defined that the time of 1 second or less is indicated using nbit (n: 24 or more). n is 32 or less.

NTPが示す時刻は、1秒以上の時刻を秒単位で表す32bitと、1秒以下の時刻を表すnbitを足し合わせた32+nbitカウンタのカウンタ値として表される。1秒以下の精度は2Hzとなる。 The time indicated by the NTP is expressed as a counter value of a 32 + nbit counter obtained by adding 32 bits representing the time of 1 second or more in seconds and nbit representing the time of 1 second or less. The accuracy for less than one second is 2 n Hz.

1秒以下の精度であるnが、図4のprecision(精度)により示される。nは、システムクロックの精度(秒単位)のlog2を示す。   The precision n of 1 second or less is indicated by the precision in FIG. n indicates log 2 of system clock precision (seconds).

ARIB STD-B60では、MMTを用いる放送システムにおける送出システム及び受信機は以下の要件を満たす必要がある。
・送出システムは、NTPタイムスタンプに基づくクロックを保持すること。
・送出システムでは、上記クロックと映像、音声のエンコード処理を行うクロックが同期していること。
・受信機は、受信したNTP形式の時刻情報に基づくクロックを再生、保持すること。
・受信機では、上記クロックを保持するためのシステムクロックと映像・音声等のデコード処理を行うクロックが同期していること。
In ARIB STD-B60, the transmission system and receiver in a broadcast system using MMT need to meet the following requirements.
The delivery system should maintain a clock based on the NTP timestamp.
In the transmission system, the clock and the clock for encoding video and audio should be synchronized.
The receiver must reproduce and hold a clock based on the received NTP time information.
In the receiver, the system clock for holding the clock and the clock for decoding video and audio should be synchronized.

図5は、STD-B44における、NTP形式の時刻情報を含むIPパケットを格納するTLV(Type Length Value)パケットの配置を示す図である。   FIG. 5 is a diagram showing the arrangement of a TLV (Type Length Value) packet for storing an IP packet including time information in NTP format in STD-B44.

NTP形式の時刻情報を含むIPパケットも含めて、IPパケットは、TLVパケットにより伝送することがSTD-B323_1により規定されている。NTP形式の時刻情報を含むIPパケットを格納するTLVパケットは、TLVストリームIDごとに割り当てられたスロットのうち、最初のスロットの先頭に配置される。   It is defined by STD-B 323_1 that IP packets, including IP packets including time information in NTP format, are transmitted by TLV packets. A TLV packet storing an IP packet including time information in NTP format is placed at the beginning of the first slot among the slots allocated for each TLV stream ID.

NTP形式の時刻情報を含むIPパケットを格納するTLVパケットをこのように配置することにより、NTP形式の時刻情報を含むIPパケットの遅延変動を抑えることが可能になる。   By arranging TLV packets storing IP packets including time information in NTP format in this manner, it is possible to suppress delay variations in IP packets including time information in NTP format.

情報処理装置1は、TLVストリームを構成するTLVパケットからIPパケットを抽出し、IPパケットに格納されているNTP形式の時刻情報、または、映像や音声のMMTPパケットを取得することになる。   The information processing apparatus 1 extracts an IP packet from the TLV packet forming the TLV stream, and acquires NTP time information stored in the IP packet or a video or audio MMTP packet.

図6は、映像・音声信号からMMTPペイロードを構成する例を示す図である。   FIG. 6 is a diagram showing an example of forming an MMTP payload from video and audio signals.

映像信号や音声信号の処理では、MPUが処理の単位となる。図6の中段に破線でサンプルデータとして示すように、MPUは1つ以上のアクセスユニットを含み、映像や音声の復号処理をMPU単体で行うことができる単位となる。MPUの大きさは任意であり、任意の数のアクセスユニットを含むことができる。フレーム間予測を用いて符号化する映像信号では、MPUはGOP(Group of Picture)単位とする必要がある。   In the processing of the video signal and the audio signal, the MPU is a unit of processing. As shown by broken lines in the middle of FIG. 6 as sample data, the MPU includes one or more access units, and is a unit that can perform video and audio decoding processing by itself. The size of the MPU is arbitrary and can include any number of access units. In a video signal to be encoded using inter-frame prediction, the MPU needs to be in GOP (Group of Picture) units.

図6の中段に示すように、MPUは、MPU全体の構成に関する情報を含むMPUメタデータ、符号化したメディアデータの情報を含むムービーフラグメントメタデータ、符号化したメディアデータであるサンプルデータから構成される。1つのMPUは1つ以上のムービーフラグメントから構成できるため、ムービーフラグメントメタデータとサンプルデータは複数存在することがある。   As shown in the middle of FIG. 6, the MPU is composed of MPU metadata including information on the configuration of the entire MPU, movie fragment metadata including information of encoded media data, and sample data which is encoded media data. Ru. Since one MPU can be composed of one or more movie fragments, multiple movie fragment metadata and sample data may exist.

MPUには、同一のアセットに属するMPUごとに同じシーケンス番号が付加される。アセットを識別するアセットIDとMPUのシーケンス番号を用いることで、各MPUを区別することが可能になる。   The same sequence number is added to the MPU for each MPU belonging to the same asset. It becomes possible to distinguish each MPU by using an asset ID for identifying an asset and a sequence number of the MPU.

MFUは、MPUよりも小さな単位である。MFUは、MPUを構成するサンプルデータから取り出すことができる。MFUの構成方法として、図6の下向き矢印で示すようにNALユニット単位やアクセスユニット単位でMFUを構成する方法がある。メディアを意識してMFUを構成することで、パケットロスのような伝送品質の低下が発生したときの誤りの伝搬を抑えることができる。   MFU is a unit smaller than MPU. The MFU can be taken out of the sample data that constitutes the MPU. As a method of configuring the MFU, there is a method of configuring the MFU in units of NAL units or in units of access units as shown by the downward arrow in FIG. By configuring the MFU in consideration of the medium, it is possible to suppress the propagation of an error when a drop in transmission quality such as packet loss occurs.

映像コンポーネントや音声コンポーネントなどの提示時刻が指定されるメディアには、MPU単位で、提示時刻(上述した、MMTにおけるPTS)が示される。MPUの提示時刻は、UTCに基づき、共通の時間軸を用いて指定される。そのため、受信側の装置は、放送と通信の伝送路の違いや送信元の違いによらず、必要なメディアコンポーネントを同期して提示することができる。   The presentation time (the PTS in the above-described MMT) is indicated in units of MPUs in media in which presentation times such as video components and audio components are specified. The presentation time of MPU is designated using a common time axis based on UTC. Therefore, the device on the receiving side can synchronously present the necessary media components regardless of the difference in the transmission path between broadcast and communication or the difference in the transmission source.

このように、MMTにおける符号化信号を構成する要素には、MPU、MFU、MMTPパケット、MMTPペイロードがある。   Thus, there are MPU, MFU, MMTP packet, and MMTP payload as elements that make up the encoded signal in MMT.

なお、図6は、1つのMFUを1つのMMTPペイロードに格納した例を示すものである。1つのMMTPペイロードに複数のMFUが格納される場合もあるし、反対に、1つのMFUが複数のMMTPペイロードに格納される場合もある。   FIG. 6 shows an example in which one MFU is stored in one MMTP payload. Multiple MMUs may be stored in one MMTP payload, and conversely, one MFU may be stored in multiple MMTP payloads.

図7は、MMTPパケットの構成を示す図である。   FIG. 7 is a diagram showing the configuration of the MMTP packet.

MMTPパケットは、MMTPヘッダとMMTPペイロードから構成される。図7に示す記述のうち、先頭から、MMTP_payload()の前までの記述がMMTPヘッダを構成する。   An MMTP packet is composed of an MMTP header and an MMTP payload. Among the descriptions shown in FIG. 7, the descriptions from the top to the front of MMTP_payload () constitute an MMTP header.

MMTPヘッダに含まれるpayload_type(ペイロードタイプ)は、MMTPペイロードのデータタイプを示す。   The payload_type (payload type) included in the MMTP header indicates the data type of the MMTP payload.

図8は、payload_typeの値の意味を示す図である。   FIG. 8 is a diagram showing the meaning of the value of payload_type.

図8に示すように、payload_typeの値が0x00であることは、MMTPペイロードに、映像や音声などのMPUが含まれることを示す。   As shown in FIG. 8, the value of payload_type being 0x00 indicates that the MMTP payload includes an MPU such as video and audio.

また、payload_typeの値が0x02であることは、MMTPペイロードに、制御メッセージが含まれることを示す。   Also, that the value of payload_type is 0x02 indicates that the MMTP payload includes a control message.

図7の説明に戻り、MMTPヘッダに含まれるpacket_id(パケット識別子)は、MMTPペイロードのデータの種類を識別するための情報である。   Returning to the description of FIG. 7, packet_id (packet identifier) included in the MMTP header is information for identifying the data type of the MMTP payload.

ARIB TR-B39では、MMTPペイロードにMPUが含まれる場合(payload_typeの値が0x00である場合)、後述するMMTパッケージテーブルに示される、アセットのpacket_idが記述されることが規定されている。   In ARIB TR-B39, when the MMTP payload includes an MPU (when the value of payload_type is 0x00), it is defined that the packet_id of the asset shown in the MMT package table described later is described.

図9および図10は、MMTP_payload()の構成を示す図である。   FIG. 9 and FIG. 10 are diagrams showing the configuration of MMTP_payload ().

図9は、payload_typeの値が0x00である、すなわち当該MMTPペイロードにMPUが含まれる場合の記述を示す。一方、図10は、payload_typeの値が0x02である、すなわち当該MMTPペイロードに制御メッセージが含まれる場合の記述を示す。   FIG. 9 shows a description when the value of payload_type is 0x00, that is, the relevant MMTP payload includes an MPU. On the other hand, FIG. 10 shows a description in the case where the value of payload_type is 0x02, that is, the MMTP payload includes a control message.

図9に示す記述のうち、fragment_type(フラグメントタイプ)は、MMTPペイロードに格納する情報のフラグメント種別を示す。   In the description shown in FIG. 9, fragment_type (fragment type) indicates a fragment type of information stored in the MMTP payload.

fragment_typeの値が2であることは、MMTPペイロードに、MFUを構成する時間付きメディアデータのサンプルデータ(NALユニット、アクセスユニット)、サブサンプルデータ、あるいは時間なしメディアデータのアイテムが含まれることを示す。例えば、fragment_typeの値が2であり、timed_flagの値が1である場合に記述される図9のMFU_data_byteが、MFUを構成する時間付きメディアデータのサンプルデータに相当する。   When the value of fragment_type is 2, it indicates that the MMTP payload includes the sample data (NAL unit, access unit) of timed media data making up the MFU, the subsample data, or the item of timeless media data. . For example, MFU_data_byte of FIG. 9 described when the value of fragment_type is 2 and the value of timed_flag is 1 corresponds to the sample data of time-added media data making up the MFU.

また、図9に示す記述のうち、MPU_sequence_number(MPUシーケンス番号)は、当該MMTPペイロードがMPUメタデータ、ムービーフラグメントメタデータ、MFUを格納するものである場合、それらが属するMPUのシーケンス番号を示す。   Further, in the description shown in FIG. 9, when the MMTP payload stores MPU metadata, movie fragment metadata, and MFU, MPU_sequence_number (MPU sequence number) indicates the sequence number of the MPU to which they belong.

図10に示す記述のうち、payload_typeの値が0x02である場合に記述されるmessage_length(メッセージデータ長)は、このフィールドの直後に配置される1つの制御メッセージの大きさをバイト単位で示す。   In the description shown in FIG. 10, message_length (message data length) described when the value of payload_type is 0x02 indicates the size of one control message arranged immediately after this field in units of bytes.

message_byte(メッセージデータ)は、制御メッセージのデータバイトである。以下、適宜、制御メッセージを単にメッセージともいう。   message_byte (message data) is a data byte of a control message. Hereinafter, as appropriate, the control message is also simply referred to as a message.

<2−2.MMTの制御メッセージ>
ここで、MMTPペイロードに格納される制御メッセージについて説明する。
2-2. MMT control message>
Here, control messages stored in the MMTP payload will be described.

図11は、制御情報であるMMT-SIの構造を示す図である。   FIG. 11 is a diagram showing the structure of MMT-SI which is control information.

MMTのパッケージの構成や放送サービスに関連する情報を示すMMT-SIは、図11に示すように、テーブルや記述子を格納するメッセージ、特定の情報を示す要素や属性を持つテーブル、および、詳細な情報を示す記述子の3階層から構成される。   MMT-SI showing information related to MMT package configuration and broadcast service, as shown in FIG. 11, a message storing a table or descriptor, a table with elements or attributes indicating specific information, and details It is composed of three layers of descriptors that indicate specific information.

上述したように、メッセージは、MMTPペイロードに格納され、MMTPパケットを用いて伝送される。メッセージがMMTPペイロードを構成する際のpayload_typeの値は0x02である。複数のメッセージを1つのMMTPペイロードに格納することは行われず、1つのメッセージが1つのMMTPペイロードに格納される。   As mentioned above, messages are stored in the MMTP payload and transmitted using MMTP packets. The value of payload_type when the message configures the MMTP payload is 0x02. Storing a plurality of messages in one MMTP payload is not performed, and one message is stored in one MMTP payload.

図12は、MMT-SIのメッセージの種類と機能を示す図である。   FIG. 12 shows the types and functions of MMT-SI messages.

図12に示すように、メッセージには、主に、Package Access(PA)メッセージ、M2セクションメッセージ、CAメッセージ、M2短セクションメッセージ、データ伝送メッセージがある。例えばPAメッセージは、MMT-SIのエントリーポイントとなり、MMT-SIの各種のテーブルを伝送するために用いられる。   As shown in FIG. 12, the messages mainly include Package Access (PA) messages, M2 section messages, CA messages, M2 short section messages, and data transmission messages. For example, a PA message is an entry point of MMT-SI, and is used to transmit various tables of MMT-SI.

このようなメッセージの種類が、message_byteとしてMMTPペイロードに記述されるmessage_id(メッセージ識別子)により識別される。   The type of such message is identified by message_id (message identifier) described in the MMTP payload as message_byte.

図13は、PAメッセージの構成を示す図である。   FIG. 13 is a diagram showing the structure of a PA message.

message_idは、図14に示すように0x0000として設定される。   The message_id is set as 0x0000 as shown in FIG.

number_of_tables(テーブル数)は、このPAメッセージが格納するテーブルの数を示す。   number_of_tables (number of tables) indicates the number of tables stored in this PA message.

table_id(テーブル識別)は、このPAメッセージが格納するテーブルの識別子を示す。   table_id (table identification) indicates an identifier of a table stored in this PA message.

table(テーブル)は、このPAメッセージが格納するテーブルである。テーブルの1つであるMPT(MMTパッケージテーブル)が、PAメッセージのtable()に記述される。   table is a table stored by this PA message. One of the tables, MPT (MMT package table), is described in table () of the PA message.

このようなPAメッセージの記述が、message_byteとしてMMTPペイロード(図10)に含まれる。   A description of such a PA message is included in the MMTP payload (FIG. 10) as message_byte.

図15は、MPTの構成を示す図である。   FIG. 15 is a diagram showing the configuration of the MPT.

MPTは、アセットのリストやアセットのネットワーク上の位置などの、パッケージを構成する情報を与える。MPTには記述子が含まれる。   The MPT provides information that configures the package, such as a list of assets and the asset location on the network. The MPT contains a descriptor.

図15に示す記述のうちのMPT_descriptors_length(MPT記述子長)は、MPT記述子領域の長さをバイト単位で示す。   The MPT_descriptors_length (MPT descriptor length) in the description shown in FIG. 15 indicates the length of the MPT descriptor area in units of bytes.

MPT_descriptors_byte(MPT記述子領域)は、MPTの記述子を格納する領域である。MPT_descriptors_byteに格納される記述子には、例えば、MPUタイムスタンプ記述子(MPU_Timestamp_Descriptor())、MPU拡張タイムスタンプ記述子(MPU_Extended_Timestamp_Descriptor())がある。   MPT_descriptors_byte (MPT descriptor area) is an area for storing MPT descriptors. The descriptors stored in the MPT_descriptors_byte include, for example, an MPU time stamp descriptor (MPU_Timestamp_Descriptor ()) and an MPU extended time stamp descriptor (MPU_Extended_Timestamp_Descriptor ()).

MPUタイムスタンプ記述子は、MPUにおいて提示順序で最初のアクセスユニットの提示時刻を示す記述子である。また、MPU拡張タイムスタンプ記述子は、MPU内のアクセスユニットの復号時刻を提供する記述子である。   The MPU time stamp descriptor is a descriptor that indicates the presentation time of the first access unit in the presentation order in the MPU. Furthermore, the MPU extended time stamp descriptor is a descriptor that provides the decoding time of the access unit in the MPU.

図16は、MPUタイムスタンプ記述子の構成を示す図である。   FIG. 16 is a diagram showing the configuration of the MPU time stamp descriptor.

MPUタイムスタンプ記述子のdescriptor_tagは、0x001として設定される。   The descriptor_tag of the MPU timestamp descriptor is set as 0x001.

mpu_sequence_number(MPUシーケンス番号)は、当該MPUタイムスタンプ記述子においてタイムスタンプを記述するMPUのシーケンス番号を示す。上述したように、各MPUには、同一のアセットに属するMPUごとに同じシーケンス番号が付加される。   mpu_sequence_number (MPU sequence number) indicates a sequence number of MPU describing a time stamp in the MPU time stamp descriptor. As described above, the same sequence number is added to each MPU that belongs to the same asset.

mpu_presentation_time(MPU提示時刻)は、MPUの提示時刻をNTP形式で示す(32+nbit/2Hzのカウンタ値で示す)。 mpu_presentation_time (MPU presentation time) indicates the presentation time of the MPU in the NTP format (indicated by a counter value of 32 + nbit / 2 n Hz).

図17は、MPU拡張タイムスタンプ記述子の構成を示す図である。   FIG. 17 is a diagram showing the configuration of the MPU extended time stamp descriptor.

MPU拡張タイムスタンプ記述子のdescriptor_tagは、0x8026として設定される。   The descriptor_tag of the MPU extended time stamp descriptor is set as 0x8026.

mpu_sequence_number(MPUシーケンス番号)は、当該MPU拡張タイムスタンプ記述子において復号時刻等を指定するアクセスユニットが含まれるMPUのシーケンス番号を示す。   mpu_sequence_number (MPU sequence number) indicates a sequence number of an MPU including an access unit for specifying a decoding time or the like in the MPU extended time stamp descriptor.

mpu_decoding_time_offset(MPU復号時刻オフセット)は、MPUシーケンス番号により特定されるMPUにおいて、復号順で最初のアクセスユニットの復号時刻と、提示順で最初のアクセスユニットの提示時刻との差分の絶対値を、タイムスケールで示される時間単位で示す。   mpu_decoding_time_offset (MPU decoding time offset) is an MPU specified by the MPU sequence number, which is an absolute value of the difference between the decoding time of the first access unit in decoding order and the presentation time of the first access unit in presentation order Indicated in units of time indicated by the scale.

num_of_au(アクセスユニット数)は、当該MPU拡張タイムスタンプ記述子で復号時刻等を指定するアクセスユニットの数を示す。   num_of_au (the number of access units) indicates the number of access units for which a decoding time or the like is designated by the MPU extended time stamp descriptor.

dts_pts_offset(復号時刻・提示時刻オフセット)は、アクセスユニットの復号時刻から提示時刻までの時間を、タイムスケールで示される時間単位で示す。   dts_pts_offset (decoding time and presentation time offset) indicates the time from the decoding time of the access unit to the presentation time in time units indicated by the time scale.

pts_offset(PTSオフセット)は、同一MPU内における、提示順で直前のアクセスユニットと現在のアクセスユニットとの提示時刻の差分を、タイムスケールで示される時間単位で示す。   pts_offset (PTS offset) indicates the difference in presentation time between the immediately preceding access unit and the current access unit in the order of presentation in the same MPU in the time unit indicated by the time scale.

MPUタイムスタンプ記述子から、MPUの、提示順序で最初のアクセスユニットの提示時刻が特定される。また、MPU拡張タイムスタンプ記述子から、各アクセスユニットの復号時刻が特定される。   The presentation time of the first access unit in the presentation order of the MPU is specified from the MPU time stamp descriptor. Also, the decoding time of each access unit is specified from the MPU extended time stamp descriptor.

MPU拡張タイムスタンプ記述子には、mpu_presentation_time_leap_indicator(MPU 提示時刻閏秒指示子)が含まれる。   The MPU extension time stamp descriptor includes mpu_presentation_time_leap_indicator (MPU presentation time / second indicator).

mpu_presentation_time_leap_indicatorは、閏秒の挿入または削除による時刻情報の調整があるか否かを示す。mpu_presentation_time_leap_indicatorの値が1であることは、午前8時59分59秒の後に閏秒として午前8時59分59秒の挿入が行われることを表し、2であることは、午前8時59分59秒の削除が行われることを表す。   mpu_presentation_time_leap_indicator indicates whether or not there is adjustment of time information by insertion or deletion of leap seconds. A value of 1 for mpu_presentation_time_leap_indicator indicates that an insertion of 8:59:59 as a leap second will be made after 8:59:59, and a value of 2 will be 8:59:59 Indicates that seconds will be deleted.

図18は、MMTにおけるPTSとDTSの算出方法を示す図である。   FIG. 18 is a diagram showing a method of calculating PTS and DTS in MMT.

図18に示す各矩形は、あるMPUに含まれるGOPnを構成するピクチャ(アクセスユニット)を示す。図18の上段は、各アクセスユニットの復号順での並びを示し、下段は、各アクセスユニットの提示順での並びを示す。I/P/Bのアルファベットはピクチャタイプを示し、数字は提示順での各ピクチャの番号を示す。   Each rectangle shown in FIG. 18 indicates a picture (access unit) forming GOPn included in a certain MPU. The upper part of FIG. 18 shows the alignment in the decoding order of each access unit, and the lower part shows the alignment in the presentation order of each access unit. The alphabet of I / P / B shows a picture type, and a number shows the number of each picture in presentation order.

MPUタイムスタンプ記述子のmpu_presentation_timeは、MPU内において提示順序で最初のアクセスユニットの提示時刻を示す。MPUタイムスタンプ記述子が示す提示時刻は、図18の左下の上向き三角形が指す時刻である。   The mpu_presentation_time of the MPU time stamp descriptor indicates the presentation time of the first access unit in presentation order in the MPU. The presentation time indicated by the MPU time stamp descriptor is a time indicated by the upward triangle at the lower left of FIG.

一方、MPU拡張タイムスタンプ記述子は、mpu_decoding_time_offsetにより、図18の左側に破線矢印で示すように、MPU内において、復号順序で最初のアクセスユニットの復号時刻と、提示順序で最初のアクセスユニットの提示時刻との差分値を示す。   On the other hand, the MPU extended time stamp descriptor presents the decoding time of the first access unit in the decoding order and the first access unit in the presentation order in the MPU as indicated by the dashed arrow on the left side of FIG. Indicates the difference value with the time.

また、MPU拡張タイムスタンプ記述子は、各アクセスユニットの復号時刻と提示時刻の差分値を、タイムスケールを単位時間とする値でdts_pts_offestにより示す。さらに、MPU拡張タイムスタンプ記述子は、同一MPU内における、提示順序で直前のアクセスユニットの提示時刻と現在のアクセスユニットの提示時刻の差分値を、タイムスケールを単位時間とする値でpts_offsetにより示す。   Further, the MPU extended time stamp descriptor indicates the difference value between the decoding time and the presentation time of each access unit by dts_pts_offest as a value having a time scale as a unit time. Furthermore, the MPU extended time stamp descriptor indicates the difference value between the presentation time of the immediately preceding access unit in the presentation order and the presentation time of the current access unit in the same MPU by pts_offset using a time scale as a unit time. .

これらの時刻や値を用いて、MPU内のn番目のアクセスユニットの復号時刻DTS(n)と提示時刻PTS(n)は、それぞれ下式(1)、式(2)により算出される。

Figure 2018182617
Figure 2018182617
Using these times and values, the decoding time DTS (n) and the presentation time PTS (n) of the nth access unit in the MPU are calculated by the following equations (1) and (2), respectively.
Figure 2018182617
Figure 2018182617

このように、MPUタイムスタンプ記述子とMPU拡張タイムスタンプ記述子から、各アクセスユニットのPTSとDTSが特定される。32+nbit/2Hzのカウンタ値であるmpu_presentation_timeを用いて求められるから、MPUのDTSも、32+nbit/2Hzのカウンタ値で示される時刻といえる。 Thus, the PTS and DTS of each access unit are specified from the MPU time stamp descriptor and the MPU extended time stamp descriptor. Since it is determined using mpu_presentation_time, which is a counter value of 32 + nbit / 2 n Hz, it can be said that DTS of the MPU is also a time indicated by the counter value of 32 + n bit / 2 n Hz.

情報処理装置1においては、MMTPパケットの制御メッセージからMPUタイムスタンプ記述子とMPU拡張タイムスタンプ記述子がそれぞれ取得され、MPUタイムスタンプ記述子とMPU拡張タイムスタンプ記述子に基づいてPTSとDTSが求められる。PTSとDTSの算出は、他のMMTPパケットを用いて伝送されたMPUを構成する各アクセスユニットの復号開始前に行われる。   In the information processing apparatus 1, the MPU time stamp descriptor and the MPU extended time stamp descriptor are obtained from the control message of the MMTP packet, and the PTS and DTS are obtained based on the MPU time stamp descriptor and the MPU extended time stamp descriptor. Be The calculation of PTS and DTS is performed before the start of decoding of each access unit constituting the MPU transmitted using another MMTP packet.

<3.MPEG-2 TSについて>
次に、MPEG-2 TSについて説明する。
<3. About MPEG-2 TS>
Next, the MPEG-2 TS will be described.

図19は、TSを構成するTSパケットの構成を示す図である。   FIG. 19 is a diagram showing the configuration of a TS packet that constitutes a TS.

1つのTSパケットは、4bytesのヘッダに対して、184bytesの、ペイロード、アダプテーションフィールド、または、その両方が付加されることによって構成される。ヘッダには、例えば、ペイロード中に含まれるデータの種類の識別情報であるPIDが含まれる。このようなTSパケットの構成については例えばISO/IEC 138180-1で規定される。   One TS packet is configured by adding 184 bytes of payload, adaptation field, or both to a 4 bytes header. The header includes, for example, a PID that is identification information of the type of data contained in the payload. The configuration of such a TS packet is defined, for example, by ISO / IEC 138180-1.

TSパケットのアダプテーションフィールドには、図20において斜線を付して示すようにPCRが含まれる。図20はアダプテーションフィールドの構成を示す図である。   The adaptation field of the TS packet includes a PCR as indicated by hatching in FIG. FIG. 20 shows the configuration of the adaptation field.

MMTからMPEG-2 TSへの変換時、情報処理装置1においては、NTP形式の時刻情報により表されるMMTの参照時刻を変換して得られたPCRが、TSパケットのアダプテーションフィールドに設定される。   At the time of conversion from MMT to MPEG-2 TS, in the information processing apparatus 1, a PCR obtained by converting the reference time of the MMT represented by time information in the NTP format is set in the adaptation field of the TS packet. .

図21は、PES(Packetized Elementary Stream)パケットの構成を示す図である。   FIG. 21 is a diagram showing the configuration of a PES (Packetized Elementary Stream) packet.

MPEG-2 TSにおいては、ビデオとオーディオのストリームは所定の単位毎に分割され、PESパケットに格納される。1つのPESパケットが、複数のTSパケットに分割される。PESパケットにはヘッダが付加され、図21に示すようにPTSとDTSが記述される。   In MPEG-2 TS, video and audio streams are divided into predetermined units and stored in PES packets. One PES packet is divided into a plurality of TS packets. A header is added to the PES packet, and PTS and DTS are described as shown in FIG.

MMTからMPEG-2 TSへの変換時、情報処理装置1においては、MMT-SIを解析することによって算出されたMMTのPTSとDTSを変換して得られたPTSとDTSがPESパケットに設定される。   At the time of conversion from MMT to MPEG-2 TS, in the information processing apparatus 1, PTS and DTS obtained by converting PTS and DTS of MMT calculated by analyzing MMT-SI are set in PES packets Ru.

<4.情報処理装置の構成例>
図22は、情報処理装置1の構成例を示すブロック図である。
<4. Configuration Example of Information Processing Device>
FIG. 22 is a block diagram showing a configuration example of the information processing device 1.

情報処理装置1は、受信部31、MMT信号処理部32、記録制御部33、ドライブ34、出力制御部35、および通信部36から構成される。   The information processing apparatus 1 includes a receiving unit 31, an MMT signal processing unit 32, a recording control unit 33, a drive 34, an output control unit 35, and a communication unit 36.

受信部31は、図示せぬアンテナからの放送波信号を受信し、復調処理、誤り訂正処理などの各種の処理を施す。受信部31は、各種の処理を施すことによって得られたTVLストリームをMMTのコンテンツとしてMMT信号処理部32に出力する。   The receiver 31 receives a broadcast wave signal from an antenna (not shown) and performs various processes such as demodulation and error correction. The receiving unit 31 outputs the TVL stream obtained by performing various processes to the MMT signal processing unit 32 as MMT content.

また、受信部31は、コンテンツの伝送が通信の伝送路を介して行われる場合、通信部36を制御してMMTのコンテンツを受信し、所定の処理を施すことによって得られたTVLストリームをMMT信号処理部32に出力する。   In addition, when transmission of content is performed via a transmission channel of communication, the reception unit 31 controls the communication unit 36 to receive the content of MMT, and performs MMT on the TVL stream obtained by performing predetermined processing. The signal is output to the signal processing unit 32.

MMT信号処理部32は、MMTのコンテンツを再生し、コンテンツの映像と音声をテレビジョン受像機から出力させたり、MMTのコンテンツをMPEG-2 TSのコンテンツに変換したりする。   The MMT signal processing unit 32 reproduces the content of the MMT, outputs the video and audio of the content from the television receiver, and converts the content of the MMT into the content of the MPEG-2 TS.

例えば、MMT信号処理部32は、MMTのコンテンツを再生する場合、受信部31から供給されたTLVストリームからビデオデータとオーディオデータを抽出し、デコードする。MMT信号処理部32は、デコードして得られたコンテンツの映像と音声のデータを出力制御部35に出力する。   For example, when playing back MMT content, the MMT signal processing unit 32 extracts video data and audio data from the TLV stream supplied from the receiving unit 31 and decodes the data. The MMT signal processing unit 32 outputs the video and audio data of the content obtained by decoding to the output control unit 35.

また、MMT信号処理部32は、MMTのコンテンツをMPEG-2 TSのコンテンツに変換する場合、受信部31から供給されたTLVストリームから抽出したMMTPパケットに格納されているデータをTSパケットに格納し直すなどしてTSを生成する。MMT信号処理部32は、MPEG-2 TSのコンテンツを記録媒体11に記録する場合、生成したTSを記録制御部33に出力し、ネットワーク12を介して他の装置に送信する場合、生成したTSを通信部36に出力する。   When converting MMT content into MPEG-2 TS content, the MMT signal processing unit 32 stores data stored in the MMTP packet extracted from the TLV stream supplied from the receiving unit 31 in the TS packet. Correct and generate the TS. The MMT signal processing unit 32 outputs the generated TS to the recording control unit 33 when recording the content of the MPEG-2 TS on the recording medium 11, and transmits the generated TS to the other device via the network 12, the generated TS Are output to the communication unit 36.

記録制御部33は、ドライブ34を制御し、MMT信号処理部32により生成されたTSを、ドライブ34に装着された記録媒体11に記録させる。   The recording control unit 33 controls the drive 34 to record the TS generated by the MMT signal processing unit 32 in the recording medium 11 mounted on the drive 34.

出力制御部35は、MMT信号処理部32から供給された映像と音声のデータを情報処理装置1に接続された例えばテレビジョン受像機に供給し、ディスプレイとスピーカからそれぞれ出力させる。   The output control unit 35 supplies the video and audio data supplied from the MMT signal processing unit 32 to, for example, a television receiver connected to the information processing apparatus 1, and outputs the data from the display and the speaker.

通信部36は、ネットワーク12を介して各種の装置と通信を行う。例えば、通信部36は、サーバからネットワーク12を介して配信されたMMTのコンテンツを受信し、受信部31に出力する。また、通信部36は、MMT信号処理部32により生成されたTSを、ネットワーク12を介して他の装置に送信する。   The communication unit 36 communicates with various devices via the network 12. For example, the communication unit 36 receives the content of the MMT distributed from the server via the network 12 and outputs the content to the receiving unit 31. The communication unit 36 also transmits the TS generated by the MMT signal processing unit 32 to another device via the network 12.

図23は、図22のMMT信号処理部32と記録制御部33の構成例を示すブロック図である。   FIG. 23 is a block diagram showing a configuration example of the MMT signal processing unit 32 and the recording control unit 33 of FIG.

デマルチプレクサ51は、受信部31から供給されたTLVストリームを構成するTLVパケットからIPパケットを抽出し、IPパケットを用いて伝送されたMMTのデータのDEMUX処理を行う。   The demultiplexer 51 extracts an IP packet from the TLV packet forming the TLV stream supplied from the reception unit 31, and performs a DEMUX process on the MMT data transmitted using the IP packet.

例えば、デマルチプレクサ51は、TLVパケットを用いて伝送された、NTP形式の時刻情報を含むIPパケットを抽出し、比較器52に出力する。図5を参照して説明したように、NTP形式の時刻情報を含むIPパケットは、TLVストリームを構成するスロットのうちの最初のスロットの先頭に配置される。   For example, the demultiplexer 51 extracts an IP packet including time information in NTP format transmitted using a TLV packet, and outputs the IP packet to the comparator 52. As described with reference to FIG. 5, the IP packet including the time information in the NTP format is placed at the beginning of the first one of the slots constituting the TLV stream.

また、デマルチプレクサ51は、IPパケットを用いて伝送されたMMTPパケットのうち、MMT-SIを格納するMMTPパケットをMMT-SI解析部55に出力する。デマルチプレクサ51は、MPUを構成するビデオデータ、オーディオデータを格納するMMTPパケットをMPU/MMTパケット解析部58に出力する。MMTPペイロードに格納されるデータの種類については、MMTPパケットのpayload_typeにより識別される(図8)。   Further, the demultiplexer 51 outputs, to the MMT-SI analysis unit 55, an MMTP packet storing the MMT-SI among the MMTP packets transmitted using the IP packet. The demultiplexer 51 outputs, to the MPU / MMT packet analysis unit 58, an MMTP packet storing video data and audio data constituting the MPU. The type of data stored in the MMTP payload is identified by the payload_type of the MMTP packet (FIG. 8).

比較器52は、デマルチプレクサ51から供給されたIPパケットに格納されたNTP形式の時刻情報(32+nbitのカウンタ値)をNTPクロックカウンタ53に出力し、カウンタ値の初期値として設定する。   The comparator 52 outputs the time information (counter value of 32 + n bits) of the NTP format stored in the IP packet supplied from the demultiplexer 51 to the NTP clock counter 53, and sets it as the initial value of the counter value.

また、比較器52は、NTP形式の時刻情報を含むIPパケットがデマルチプレクサ51から供給される毎に、NTPクロックカウンタ53からの時刻情報と、デマルチプレクサ51から供給されたNTP形式の時刻情報との誤差を求め、NTPクロックカウンタ53に出力する。   Further, the comparator 52 is configured to receive time information from the NTP clock counter 53 and NTP time information supplied from the demultiplexer 51 every time an IP packet including time information in NTP format is supplied from the demultiplexer 51. And the result is output to the NTP clock counter 53.

NTPクロックカウンタ53は、図示せぬVCOが生成する2Hzのクロック信号をカウントし、32+nbitのカウンタ値を表す2Hzのシステムクロック信号を出力する。NTPクロックカウンタ53から出力されたシステムクロック信号は、比較器52、クロック変換部54、および映像音声同期制御部56に供給される。 The NTP clock counter 53 counts a 2 n Hz clock signal generated by a VCO (not shown), and outputs a 2 n Hz system clock signal representing a 32 + n bit counter value. The system clock signal output from the NTP clock counter 53 is supplied to the comparator 52, the clock conversion unit 54, and the video / audio synchronization control unit 56.

クロック変換部54は、NTPクロックカウンタ53から供給された2Hzのシステムクロック信号により表される32+nbitのカウンタ値を、MPEG-2 TSのPCRを示す42bitのカウンタ値(27MHz)に変換する。クロック変換部54による変換の詳細については後述する。クロック変換部54は、変換して得られた42ビットのカウンタ値をPCRとしてTS化処理部62に出力する。 The clock conversion unit 54 converts the 32 + n-bit counter value represented by the 2 n Hz system clock signal supplied from the NTP clock counter 53 into a 42-bit counter value (27 MHz) indicating PCR of the MPEG-2 TS. Details of the conversion by the clock conversion unit 54 will be described later. The clock converter 54 outputs the 42-bit counter value obtained by the conversion to the TS processor 62 as a PCR.

MMT-SI解析部55は、デマルチプレクサ51から供給されたIPパケットに格納されたMMTPパケットからMMT-SIを取得し、解析する。例えば、MMT-SI解析部55は、MMTPパケットに格納されたPAメッセージにより伝送されたMPTを取得し、MPTに記述されたMPUタイムスタンプ記述子(図16)とMPU拡張タイムスタンプ記述子(図17)を取得する。   The MMT-SI analysis unit 55 acquires and analyzes MMT-SI from the MMTP packet stored in the IP packet supplied from the demultiplexer 51. For example, the MMT-SI analysis unit 55 acquires the MPT transmitted by the PA message stored in the MMTP packet, and the MPU time stamp descriptor (FIG. 16) described in the MPT and the MPU extended time stamp descriptor (FIG. 17) to get.

また、MMT-SI解析部55は、MPUタイムスタンプ記述子に基づいて各MPUのPTSを算出する(特定する)。MMT-SI解析部55は、各MPUのPTSと、MPU拡張タイムスタンプ記述子の記述とを図18を参照して説明したようにして用いて、各MPUを構成するアクセスユニットのDTSを算出する。   Further, the MMT-SI analysis unit 55 calculates (specifies) the PTS of each MPU based on the MPU time stamp descriptor. The MMT-SI analysis unit 55 calculates the DTS of the access unit constituting each MPU using the PTS of each MPU and the description of the MPU extended time stamp descriptor as described with reference to FIG. .

MMT-SI解析部55は、算出したPTSとDTSを、MPUのシーケンス番号を示すmpu_sequence_numberとともに、映像音声同期制御部56とタイムスタンプ変換部57に出力する。上述したように、MPUタイムスタンプ記述子に含まれるmpu_sequence_numberは、提示時刻を指定するMPUのシーケンス番号を示す(図16)。また、MPU拡張タイムスタンプ記述子に含まれるmpu_sequence_numberは、復号時刻等を指定するアクセスユニットが含まれるMPUのシーケンス番号を示す(図17)。   The MMT-SI analysis unit 55 outputs the calculated PTS and DTS to the video / audio synchronization control unit 56 and the time stamp conversion unit 57 together with mpu_sequence_number indicating the sequence number of the MPU. As described above, mpu_sequence_number included in the MPU time stamp descriptor indicates the sequence number of the MPU specifying the presentation time (FIG. 16). Further, mpu_sequence_number included in the MPU extended time stamp descriptor indicates the sequence number of the MPU including the access unit for specifying the decoding time and the like (FIG. 17).

MMT-SI解析部55は、TTML形式の字幕データ(以下、適宜、TTML字幕という)の伝送が行われており、TTML文書内の時刻がNTP形式で表される場合、MH-データ符号化方式記述子を解析し、その起点となる時刻であるRST(Reference Start Time)を特定する。MMT-SI解析部55は、特定したRSTを映像音声同期制御部56とタイムスタンプ変換部57に出力する。   The MMT-SI analysis unit 55 performs transmission of subtitle data in TTML format (hereinafter referred to as TTML subtitle as appropriate), and the MH-data encoding method is used when the time in the TTML document is represented in NTP format The descriptor is analyzed, and RST (Reference Start Time), which is the time that is the starting point, is specified. The MMT-SI analysis unit 55 outputs the identified RST to the video and audio synchronization control unit 56 and the time stamp conversion unit 57.

映像音声同期制御部56は、NTPクロックカウンタ53からのシステムクロック信号に従って動作し、MMT-SI解析部55により算出されたPTSとDTSに基づいて、映像音声デコーダ60によるデコードと出力のタイミングを制御する。映像音声同期制御部56による映像音声デコーダ60の制御は、MPU/MMTパケット解析部58から供給されたMPUメタデータ、ムービーフラグメントメタデータなどのメタデータにも基づいて行われる。   The video and audio synchronization control unit 56 operates according to the system clock signal from the NTP clock counter 53, and controls the timing of decoding and output by the video and audio decoder 60 based on PTS and DTS calculated by the MMT-SI analysis unit 55. Do. Control of the video / audio decoder 60 by the video / audio synchronization control unit 56 is also performed based on metadata such as MPU metadata and movie fragment metadata supplied from the MPU / MMT packet analysis unit 58.

タイムスタンプ変換部57は、MMT-SI解析部55により算出されたPTSとDTSを表す32+nbitのカウンタ値を、それぞれ、MPEG-2 TSの33bitのPTSとDTSを表すカウンタ値(90kHz)に変換する。タイムスタンプ変換部57による変換の詳細については後述する。タイムスタンプ変換部57は、変換して得られたMPEG-2 TSのPTSとDTSをTS化処理部62に出力する。   The time stamp conversion unit 57 converts the 32 + n-bit counter values representing PTS and DTS calculated by the MMT-SI analysis unit 55 into counter values (90 kHz) representing 33-bit PTS and DTS of MPEG-2 TS, respectively. . Details of the conversion by the time stamp conversion unit 57 will be described later. The time stamp conversion unit 57 outputs the PTS and DTS of the MPEG-2 TS obtained by the conversion to the TS conversion processing unit 62.

タイムスタンプ変換部57からは、変換して得られたMPEG-2 TSのPTSとDTSが関係するMPUのシーケンス番号を表すmpu_sequence_numberが出力される。また、タイムスタンプ変換部57においては、適宜、MPEG-2 TSに含める必要のあるSIがMMT-SIに基づいて生成され、TS化処理部62に出力される。   The time stamp conversion unit 57 outputs mpu_sequence_number representing the sequence number of the MPU to which the PTS and DTS of the MPEG-2 TS obtained by the conversion are related. In addition, in the time stamp conversion unit 57, an SI that needs to be included in the MPEG-2 TS is generated based on the MMT-SI, as appropriate, and is output to the TS processing unit 62.

また、タイムスタンプ変換部57は、MMT-SI解析部55により特定されたRSTのカウンタ値をMPEG-2 TSの33bitのカウンタ値(90kHz)に変換する。タイムスタンプ変換部57は、変換して得られたカウンタ値を、MTS(Module Time Stamp)としてTS化処理部62に出力する。   Further, the time stamp conversion unit 57 converts the RST counter value specified by the MMT-SI analysis unit 55 into a 33-bit counter value (90 kHz) of the MPEG-2 TS. The timestamp conversion unit 57 outputs the counter value obtained by the conversion to the TS conversion processing unit 62 as MTS (Module Time Stamp).

タイムスタンプ変換部57は、変換の対象とするMMTのビデオ、オーディオの伝送が閏秒を跨いで行われている場合、閏秒の調整の影響を排除するようにタイムスタンプの変換を行う。   The time stamp conversion unit 57 performs time stamp conversion so as to eliminate the influence of the leap second adjustment when transmission of MMT video and audio to be converted is performed over the leap second.

MPU/MMTパケット解析部58は、デマルチプレクサ51から供給されたIPパケットに格納されたMMTPパケットを解析することによって、各MPUのデータを取得する。各MPUのデータであるMPUメタデータ、ムービーフラグメントメタデータ、およびMFUは、それらが属するMPUのシーケンス番号を示す情報であるMPU_sequence_number(図9)により特定される。   The MPU / MMT packet analysis unit 58 analyzes the MMTP packet stored in the IP packet supplied from the demultiplexer 51 to acquire data of each MPU. The MPU metadata, movie fragment metadata, and MFU which are data of each MPU are specified by MPU_sequence_number (FIG. 9) which is information indicating the sequence number of the MPU to which they belong.

MPU/MMTパケット解析部58は、MMTのコンテンツの再生時、MMTPペイロードから取得した各MPUのMPUメタデータとムービーフラグメントメタデータなどのメタデータを映像音声同期制御部56に出力する。また、MPU/MMTパケット解析部58は、MMTPペイロードから取得した、各MPUを構成するMFUのビデオデータとオーディオデータをデコーダバッファ59に出力する。   The MPU / MMT packet analysis unit 58 outputs the metadata such as MPU metadata and movie fragment metadata of each MPU acquired from the MMTP payload to the video / audio synchronization control unit 56 at the time of reproduction of the content of the MMT. Further, the MPU / MMT packet analysis unit 58 outputs the video data and audio data of the MFUs constituting the respective MPUs acquired from the MMTP payload to the decoder buffer 59.

一方、MPU/MMTパケット解析部58は、MMTからMPEG-2 TSへフォーマットの変換時、MMTPペイロードから取得した、各MPUを構成するMFUのビデオデータ(VIDEO ES)とオーディオデータ(AUDIO ES)を、MPU_sequence_numberとともにバッファ61に出力する。   On the other hand, when converting the format from MMT to MPEG-2 TS, the MPU / MMT packet analysis unit 58 acquires the video data (VIDEO ES) and audio data (AUDIO ES) of MFUs constituting each MPU, which are acquired from the MMTP payload. , MPU_sequence_number and the buffer 61.

TTML字幕の伝送が行われている場合、MPU/MMTパケット解析部58は、MMTPペイロードから取得したTTML字幕のデータ(SUBTITLE DATA)をMPU_sequence_numberとともにバッファ61に出力する。   When transmission of TTML subtitles is performed, the MPU / MMT packet analysis unit 58 outputs TTML subtitle data (SUBTITLE DATA) acquired from the MMTP payload to the buffer 61 together with MPU_sequence_number.

映像音声デコーダ60は、映像音声同期制御部56による制御に従って、デコーダバッファ59に記録されたビデオデータとオーディオデータをデコードし、出力する。映像音声デコーダ60から出力されたデータは出力制御部35に供給され、コンテンツの映像と音声が出力される。   The video and audio decoder 60 decodes and outputs the video data and audio data recorded in the decoder buffer 59 under the control of the video and audio synchronization control unit 56. The data output from the video and audio decoder 60 is supplied to the output control unit 35, and the video and audio of the content are output.

TS化処理部62は、バッファ61に記録されたビデオデータ、オーディオデータのデータのうち、MPU_sequence_numberとして同じ値が設定されたデータをまとめることによってPESを構成する。また、TS化処理部62は、各PESに対して、タイムスタンプ変換部57から供給された、各PESに関連するPTSとDTSを付加し、PESパケットを生成する。各PTS/DTSをどのPESに付加するのかは、タイムスタンプ変換部57から供給されたmpu_sequence_numberに基づいて特定される。   The TS conversion processing unit 62 constructs a PES by putting together data of the video data and audio data recorded in the buffer 61 in which the same value is set as the MPU_sequence_number. Further, the TS conversion processing unit 62 adds the PTS and DTS related to each PES supplied from the time stamp conversion unit 57 to each PES, and generates a PES packet. The PES to which each PTS / DTS is to be added is identified based on the mpu_sequence_number supplied from the time stamp conversion unit 57.

TS化処理部62は、生成したPESパケットのTSパケット化を行う。TS化処理部62は、PESパケットのデータをペイロードに格納したTSパケットと、クロック変換部54により生成されたPCRをアダプテーションフィールドに含むTSパケットに基づいてTSを生成する。   The TS formation processing unit 62 performs TS packetization of the generated PES packet. The TS conversion processing unit 62 generates a TS based on the TS packet in which the data of the PES packet is stored in the payload and the TS packet in which the PCR generated by the clock conversion unit 54 is included in the adaptation field.

TS化処理部62は、TTML字幕のデータをDSM-CC(Digital Storage Media Command and. Control)のMulti Part Module形式で多重化することによってTSを生成することなども行う。   The TS conversion processing unit 62 also generates a TS by multiplexing data of TTML subtitles in a Multi Part Module format of Digital Storage Media Command and Control (DSM-CC).

Partial TSの生成時、TS化処理部62は、ARIB STD-B14で規定される、PAT、PMT、DAT、SITなどのMPEG-2 TSのSIを、タイムスタンプ変換部57から供給された情報に基づいてTSに埋め込む。   At the time of generation of Partial TS, TS conversion processing unit 62 converts SI of MPEG-2 TS such as PAT, PMT, DAT, SIT, etc. defined by ARIB STD-B 14 into information supplied from time stamp conversion unit 57. Embed in TS based on.

PAT(Program Association Table)は、Partial TSに関連するPMTを伝送するTSパケットのパケット識別子を指定する情報である。PMT(Program Map Table)は、放送番組を構成する各符号化信号を伝送するTSパケットのパケット識別子を指定する情報である。PATとPMTは、100msに一回以上の周期で再送される。   The PAT (Program Association Table) is information specifying a packet identifier of a TS packet that transmits a PMT related to the Partial TS. PMT (Program Map Table) is information for specifying a packet identifier of a TS packet for transmitting each encoded signal constituting a broadcast program. The PAT and PMT are retransmitted every 100 ms with one or more cycles.

DIT(Discontinuity Information Table)は、Partial TSで伝送される番組の番組配列情報が不連続かもしれない変化点を指示する情報である。SIT(Selection Information Table)は、Partial TSで伝送される番組に関する情報を指示する情報である。   The DIT (Discontinuity Information Table) is information indicating a change point at which program arrangement information of a program transmitted by Partial TS may be discontinuous. SIT (Selection Information Table) is information indicating information on a program transmitted by Partial TS.

TS化処理部62は、以上のようなTS化処理を行うことによって得られたTSを記録制御部33に出力する。   The TS conversion processing unit 62 outputs the TS obtained by performing the above-described TS conversion processing to the recording control unit 33.

制御部63は、クロック変換処理で用いられるカウンタ値の初期値をクロック変換部54に設定し、タイムスタンプ変換処理で用いられるカウンタ値の初期値をタイムスタンプ変換部57に設定する。   The control unit 63 sets the initial value of the counter value used in the clock conversion process in the clock conversion unit 54, and sets the initial value of the counter value used in the time stamp conversion process in the time stamp conversion unit 57.

フォーマット変換時に行われる、クロック変換処理、タイムスタンプ変換処理、およびES再多重変換処理は、それぞれ異なる処理時間を要する。クロック変換処理は、図24の矢印#11で示す、比較器52、NTPクロックカウンタ53、およびクロック変換部54における処理である。タイムスタンプ変換処理は、矢印#12で示すMMT-SI解析部55、タイムスタンプ変換部57における処理である。ES再多重変換処理は、矢印#13で示すMPU/MMTパケット解析部58、バッファ61における処理である。   The clock conversion process, the time stamp conversion process, and the ES remultiplex conversion process performed at the time of format conversion require different processing times. The clock conversion process is a process in the comparator 52, the NTP clock counter 53, and the clock conversion unit 54, which is indicated by an arrow # 11 in FIG. The time stamp conversion process is a process in the MMT-SI analysis unit 55 and the time stamp conversion unit 57 indicated by an arrow # 12. The ES remultiplexing conversion processing is processing in the MPU / MMT packet analysis unit 58 and buffer 61 indicated by an arrow # 13.

制御部63は、それぞれの処理の遅延の影響を排除するように初期値を設定することによってオフセット調整を行う。   The control unit 63 performs offset adjustment by setting an initial value so as to eliminate the influence of the delay of each process.

記録制御部33は、T-STD81、PLL82、Arrival time clock counter83、Source packetizer84、およびWrite Buffer85から構成される。なお、図23に示す記録制御部33の構成は、レコーディングプロセスを規定するための概念上のモデルである。記録制御部33は、このレコーダモデルに従って、TSを構成するTSパケットにATS(Arrival_time_stamp)を付加し、ソースパケットの並びを生成する機能を有する。   The recording control unit 33 includes a T-STD 81, a PLL 82, an arrival time clock counter 83, a source packetizer 84, and a write buffer 85. The configuration of the recording control unit 33 shown in FIG. 23 is a conceptual model for defining a recording process. The recording control unit 33 has a function of adding an ATS (Arrival_time_stamp) to a TS packet forming the TS according to this recorder model, and generating a sequence of source packets.

MMT信号処理部32から供給されたTSのi番目のバイトは、T-STD(Transport stream system target decoder)81とSource packetizer84に対して、時刻t(i)に入力される。   The i-th byte of the TS supplied from the MMT signal processing unit 32 is input to a T-STD (Transport stream system target decoder) 81 and a Source packetizer 84 at time t (i).

なお、T-STD81はレコーダモデルにおける仮想的なデコーダである。T-STD81に対応するデコーダが記録制御部33に存在するわけではない。   T-STD 81 is a virtual decoder in the recorder model. A decoder corresponding to T-STD 81 is not necessarily present in the recording control unit 33.

PLL82は、TSのPCRの値にロックされた27MHzのクロックを発生する。   PLL 82 generates a 27 MHz clock locked to the value of TS PCR.

Arrival time clock counter83は、PLL82が出力する27MHzの周波数のパルスをカウントするバイナリカウンタである。Arrival_time_clock(i)は、時刻t(i)におけるArrival time clock counter83のカウンタ値である。   The arrival time clock counter 83 is a binary counter that counts pulses of 27 MHz frequency output from the PLL 82. Arrival_time_clock (i) is a counter value of the arrival time clock counter 83 at time t (i).

Source packetizer84は、すべてのTSパケットにTP_extra_headerを付加し、ソースパケットを生成する。また、Source packetizer84は、TSパケットにATSを付加する。   The Source packetizer 84 adds TP_extra_header to all TS packets to generate a source packet. The Source packetizer 84 also adds an ATS to the TS packet.

具体的には、Source packetizer84は、Arrival time clock counter83から供給されるArrival_time_clock(i)を基に、ソースパケットのTP_extra_headerにおけるATSの値を設定する。ATSは、TSパケットの第1バイト目がT-STD81とSource packetizer84の両方へ到着する時刻を表す。   Specifically, the source packetizer 84 sets the value of ATS in the TP_extra_header of the source packet based on Arrival_time_clock (i) supplied from the Arrival time clock counter 83. ATS represents the time when the first byte of the TS packet arrives at both T-STD 81 and Source packetizer 84.

Write Buffer85は、Source packetizer84により生成されたソースパケットを記録する。Write Buffer85から出力された各ソースパケットは、ドライブ34に供給され、記録媒体11に記録される。   The Write Buffer 85 records source packets generated by the Source packetizer 84. Each source packet output from the write buffer 85 is supplied to the drive 34 and recorded in the recording medium 11.

このように、MMT信号処理部32においては、TTML字幕の伝送が行われている場合にはそのタイムスタンプの変換も行われる。以下においては、ビデオ、オーディオ、TTML字幕に関するクロックの変換と、ビデオとオーディオのタイムスタンプの変換について主に説明する。   As described above, in the case where transmission of a TTML subtitle is performed, the MMT signal processing unit 32 also performs conversion of the time stamp. In the following, the conversion of clocks for video, audio, TTML subtitles, and conversion of video and audio timestamps will be mainly described.

<5.カウンタ値の変換について>
<5−1.タイムスタンプ変換>
ここで、PTS/DTSを示すカウンタ値の変換について説明する。
<5. About conversion of counter value>
<5-1. Time stamp conversion>
Here, conversion of the counter value indicating PTS / DTS will be described.

(1)タイムスタンプ変換の基本的な流れ
図25は、MPEG-2 TSにおけるカウンタ値と時間の関係を示す図である。
(1) Basic Flow of Timestamp Conversion FIG. 25 is a diagram showing the relationship between counter values and time in MPEG-2 TS.

図25に示すグラフの横軸は時刻を示し、縦軸はカウンタ値を示す。図26以降においても同様である。   The horizontal axis of the graph shown in FIG. 25 indicates time, and the vertical axis indicates the counter value. The same applies to FIG. 26 and thereafter.

MPEG-2 TSのPTS/DTSは、33bit@90kHzのカウンタ値で表される。「@90kHz」の表記は、カウンタの精度(分解能)が90kHzであることを表す。   The PTS / DTS of the MPEG-2 TS is represented by a counter value of 33 bits @ 90 kHz. The notation "@ 90 kHz" indicates that the precision (resolution) of the counter is 90 kHz.

MPEG-2 TSのカウンタ値のラップアラウンド(桁上がり)は、下式(3)に示されるように、おおよそ26.5h毎に生じる。

Figure 2018182617
The wrap around of the MPEG-2 TS counter value occurs approximately every 26.5 h as shown in the following equation (3).
Figure 2018182617

MPEG-2 TSのカウンタ値と実時間との関係は、図25の実線で示されるものとなる。   The relationship between the MPEG-2 TS counter value and the real time is as shown by the solid line in FIG.

図26は、MMTにおけるカウンタ値と時間の関係を示す図である。   FIG. 26 is a diagram showing the relationship between counter values and time in the MMT.

MMTのPTS/DTSは、NTP形式により32+nbit@2Hzのカウンタ値で表される。 The PTS / DTS of the MMT is represented by a counter value of 32 + nbit @ 2 n Hz in the NTP format.

MMTのカウンタ値のラップアラウンドは、下式(4)に示されるように、1193046h毎に生じる。

Figure 2018182617
The wrap around of the MMT counter value occurs every 1193046 h as shown in the following equation (4).
Figure 2018182617

MMTのカウンタ値と実時間との関係は、図26の実線で示されるものとなる。   The relationship between the MMT counter value and the real time is as shown by the solid line in FIG.

NTPのカウンタ値は、UTCの1900年1月1日0時0分0秒を起点とした値である。MPEG-2 TSのSTC(System Time Clock)の起点における時刻を、原点の1900年1月1日0時0分0秒より後の任意の時刻として、MPEG-2 TSのカウンタの特性(図25)とMMTのカウンタの特性(図26)を重ねて示すと図27に示すものとなる。   The NTP counter value is a value starting from UTC at January 1, 1900 at 00:00:00. The characteristics of the counter of the MPEG-2 TS with the time at the start point of the STC (System Time Clock) of the MPEG-2 TS as an arbitrary time after 00:00:00 on January 1, 1900 of the origin (FIG. The characteristics of the MMT and MMT counters (FIG. 26) are shown in FIG.

1900年1月1日0時0分0秒と、システム/プログラム毎に独立に計時されるMPEG-2 TSのSTCおよびそれを伝送するPCR(Program Clock Reference)の起点とは固定的な関係がないため、NTPの起点とSTCの起点を一致させる必要はない。   There is a fixed relationship between the start point of the STC of MPEG-2 TS clocked independently for each system / program and the start point of the PCR (Program Clock Reference) that transmits it at 00:00:00 on January 1, 1900. There is no need to match the NTP origin and the STC origin.

ここで、MPEG-2 TSのSTCのカウント開始時刻を時刻Sとする。時刻Sは、例えばコンテンツのフォーマットを変換してBDに記録(録画)する際の録画開始時刻である。   Here, it is assumed that the STC count start time of the MPEG-2 TS is a time S. The time S is, for example, a recording start time when converting the format of the content and recording (recording) on the BD.

また、時刻Sにおける、MMTのカウンタ値(UTC時刻)をS@MMT、MPEG-2 TSのカウンタ値(STCカウント開始値(初期値))をS’@MPEG-2 TSとする。   In addition, the counter value of MMT (UTC time) at time S is S @ MMT, and the counter value of MPEG-2 TS (STC count start value (initial value)) is S '@ MPEG-2 TS.

MMTのPTS/DTSが所定の時刻を示す場合、それに対応するMPEG-2 TSのPTS/DTSは、その所定の時刻を表すMPEG-2 TSのカウンタ値を、MMTのカウンタ値に基づいて求めることによって特定される。   When the PTS / DTS of MMT indicates a predetermined time, the PTS / DTS of the corresponding MPEG-2 TS obtains the counter value of the MPEG-2 TS representing the predetermined time based on the MMT counter value. Identified by

具体的には、MPEG-2 TSのカウンタ値X’は、MMTのカウンタ値Xを元にして以下の手順で求められる。   Specifically, the counter value X 'of the MPEG-2 TS can be obtained by the following procedure based on the counter value X of the MMT.

・手順1
MPEG-2 TSのカウンタ(33bit@90kHz)のラップアラウンドが生じるカウンタ値A’は、下式(5)により表される。

Figure 2018182617
Step 1
The counter value A ′ at which wrap around of the MPEG-2 TS counter (33 bit @ 90 kHz) occurs is expressed by the following equation (5).
Figure 2018182617

MMTのカウンタ(32+nbit@2Hz)の1秒未満をnbit分解能(2Hz)として、233を2と90kの比とする。この場合、MPEG-2 TSのカウンタのラップアラウンド毎の、MMTのカウンタ値の間隔Aは、下式(6)により表される。

Figure 2018182617
Assuming that less than one second of the MMT counter (32 + nbit @ 2 n Hz) is an nbit resolution (2 n Hz), the ratio of 2 33 to 2 90 k is used. In this case, the interval A of the MMT counter value for each wraparound of the MPEG-2 TS counter is expressed by the following equation (6).
Figure 2018182617

MPEG-2 TSのカウンタ値A’とMMTのカウンタ値の間隔Aを図27に示す。   The interval A between the counter value A 'of the MPEG-2 TS and the counter value of the MMT is shown in FIG.

・手順2
MMTのカウンタ値XをX@MMT、X@MMTを元にして求めようとするMPEG-2 TSのカウンタ値X’をX’@MPEG-2 TSとする。X@MMTとX’@MPEG-2 TSの例を図28に示す。
Step 2
The counter value X of the MMT is X @ MMT, and the counter value X 'of the MPEG-2 TS which is sought based on the X @ MMT is X' @ MPEG-2 TS. An example of X @ MMT and X '@ MPEG-2 TS is shown in FIG.

MMTのカウンタ値がX@MMTとなる時刻(時刻X)における、MPEG-2 TSのカウンタ値であるX’@MPEG-2 TSは、MMTのカウンタ値がS@MMTからX@MMTまで増加する間のMPEG-2 TSのカウンタ値の増加分に、MPEG-2 TSのカウンタの初期値S’を加えたものである。図28の白丸で示すX’aliasは、下式(7)により表される。

Figure 2018182617
When the MMT counter value becomes X @ MMT (time X), the MPEG-2 TS counter value X '@ MPEG-2 TS increases the MMT counter value from S @ MMT to X @ MMT The initial value S 'of the counter of the MPEG-2 TS is added to the increment of the counter value of the MPEG-2 TS between them. The X 'alias indicated by a white circle in FIG. 28 is expressed by the following equation (7).
Figure 2018182617

A’(MPEG-2 TSのカウンタ値A’)の剰余を求めることによってMPEG-2 TSのカウンタのラップアラウンドの影響を排除すると、求めようとするMPEG-2 TSのカウンタ値X’は下式(8)により表される。

Figure 2018182617
If the effect of wraparound of the MPEG-2 TS counter is eliminated by finding the remainder of A ′ (MPEG-2 TS counter value A ′), the MPEG-2 TS counter value X ′ to be sought is It is represented by (8).
Figure 2018182617

このように、MPEG-2 TSのカウンタ値として任意の初期値S’を設定した上で、MMTのカウンタ値Xに対応する、MPEG-2 TSのカウンタ値X’を求めることが可能になる。   As described above, after setting an arbitrary initial value S 'as the MPEG-2 TS counter value, it becomes possible to obtain the MPEG-2 TS counter value X' corresponding to the MMT counter value X.

任意の初期値S’を設定できるようにすることにより、クロック変換処理やES再多重変換処理との遅延差や、MMTとMPEG-2 TSのバッファモデルの違いによるタイミング差の調整が可能になる。   By setting an arbitrary initial value S ', it is possible to adjust the timing difference due to the delay difference between clock conversion processing and ES remultiplex conversion processing, and the difference between MMT and MPEG-2 TS buffer models. .

すなわち、制御部63は、遅延差などを調整するような初期値S’をタイムスタンプ変換部57に設定し、MMTのPTS/DTSをMPEG-2 TSのPTS/DTSに変換させる。   That is, the control unit 63 sets an initial value S ′ for adjusting a delay difference or the like in the time stamp conversion unit 57, and converts PTS / DTS of MMT into PTS / DTS of MPEG-2 TS.

(2)閏秒の調整を考慮したタイムスタンプ変換
(2−1)閏秒の挿入があった場合
図29は、閏秒の挿入があった場合のタイムスタンプの変換の例を示す図である。図29には、閏秒の挿入があった時刻(午前8時59分59秒)近傍が拡大して示されている。
(2) Time stamp conversion in consideration of adjustment of leap seconds (2-1) When insertion of leap seconds is performed FIG. 29 is a diagram showing an example of conversion of timestamps in the case of insertion of leap seconds. . In FIG. 29, the vicinity of the time (8:59:59 am) at which the insertion of the leap second was performed is shown enlarged.

図29の下方に示すように、閏秒の挿入があった場合、MPU拡張タイムスタンプ記述子のmpu_presentation_time_leap_indicator(図17)の値は、1回目の午前8時59分59秒の直後のタイミングで1から0に切り替わる。TTML字幕の時刻の閏秒の調整に用いられるMH-データ符号化方式記述子のreference_start_time_leap_indicatorの値も、mpu_presentation_time_leap_indicatorの値と同様にして切り替わる。   As shown in the lower part of FIG. 29, when the leap second is inserted, the value of mpu_presentation_time_leap_indicator (FIG. 17) of the MPU extension time stamp descriptor is 1 at the timing immediately after the first time 8:59:59. Switch from 0 to 0. The value of reference_start_time_leap_indicator of the MH-data encoding method descriptor used to adjust the leap second of the time of the TTML subtitle also switches in the same manner as the value of mpu_presentation_time_leap_indicator.

また、閏秒の挿入があった場合、NTPのleap_indicator(図4)の値は、午前8時59分59秒を挿入した直後のタイミングで1から0に切り替わる。   Also, if there is a leap second insertion, the value of NTP's leap_indicator (FIG. 4) switches from 1 to 0 immediately after the insertion of 8:59:59.

この場合、図29の上方に示すように、MMTのカウンタ値は、閏秒である2回目の午前8時59分59秒になる直前のタイミングで、閏秒(1秒)に相当する分だけ減少し、その後、閏秒の挿入がある前と同様に増加する。MMTのカウンタ値は、実線#21と実線#22に示すように不連続点を挟んで増加することになる。   In this case, as shown in the upper part of FIG. 29, the MMT counter value corresponds to leap seconds (1 second) at the timing immediately before the second 8:59:59 am which is leap seconds. It decreases and then increases as it did before the insertion of the leap second. The counter value of the MMT increases across the discontinuous point as shown by the solid line # 21 and the solid line # 22.

ここで、例えばBDに記録する場合の1Clip(1TS)の連続録画時間は最大約26時間半であるから、実用的な連続録画時間内に考慮する必要がある閏秒による調整回数は1回と仮定できる。   Here, for example, since the continuous recording time of 1 Clip (1TS) in the case of recording on BD is at most about 26 and a half hours, the number of times of adjustment by leap second should be considered within the practical continuous recording time It can be assumed.

閏秒挿入以降のある時刻のMMTのカウンタ値X(X@MMT)を元にして、MPEG-2 TSのカウンタ値X’を上述したようにして求めた場合、図29において黒丸で示されるMPEG-2 TSのカウンタ値X’(X’@MPEG-2 TS)が求められる。このMPEG-2 TSのカウンタ値X’は、閏秒の挿入分を補正する前のカウンタ値となる。   Based on the MMT counter value X (X @ MMT) at a certain time after the insertion of the leap second, when the counter value X ′ of the MPEG-2 TS is determined as described above, the MPEG indicated by the black circle in FIG. -2 TS counter value X '(X' @ MPEG-2 TS) is obtained. The counter value X 'of the MPEG-2 TS is the counter value before the insertion of' seconds' is corrected.

MMTのカウンタ値Xを元にして求めたMPEG-2 TSのカウンタ値X’を以下のように補正する。閏秒の挿入によるUTC補正は1秒の補正であるから、MPEG-2 TSのカウンタ値の補正量は、90kHzのカウンタでは90000となる。   The MPEG-2 TS counter value X 'determined based on the MMT counter value X is corrected as follows. Since the UTC correction by the insertion of the leap second is a correction of 1 second, the correction amount of the counter value of the MPEG-2 TS is 90000 for the 90 kHz counter.

(i)変換元のMMTのカウンタ値の情報が載った記述子のleap_indicatorの値が1の期間が、録画開始時刻(時刻S)からMMTのカウンタ値の時刻までの間にあり、変換対象となるMMTのカウンタ値の時刻においてはleap_indicatorの値が0である場合。 (I) The period in which the value of leap_indicator of the descriptor on which the information of the MMT counter value of the conversion source is 1 is between the recording start time (time S) and the time of the MMT counter value When the value of leap_indicator is 0 at the time of the counter value of MMT which becomes.

この場合、MMTのカウンタ値Xを元にして求められたMPEG-2 TSのカウンタ値X’は下式(9)により補正される。

Figure 2018182617
In this case, the MPEG-2 TS counter value X ′ obtained based on the MMT counter value X is corrected by the following equation (9).
Figure 2018182617

これにより、閏秒挿入以降のある時刻のMMTのカウンタ値Xを元にして求められたMPEG-2 TSのカウンタ値X’は、上向き矢印の先に示すように補正される。閏秒の挿入があった場合でも、MPEG-2 TSのカウンタ値X’の増加は、不連続点を挟むことなく、直線#31で表されることになる。   As a result, the MPEG-2 TS counter value X 'obtained based on the MMT counter value X at a certain time after insertion of the second is corrected as indicated by the point of the upward arrow. Even when there is an insertion of 'seconds', the increase in the counter value X' of the MPEG-2 TS is represented by a straight line # 31 without inserting a discontinuity.

(ii)それ以外の場合。すなわち、変換元のMMTのカウンタ値の情報が載った記述子のleap_indicatorの値が1の期間が、録画開始時刻からMMTのカウンタ値の時刻までの間にないか、または、変換対象となるMMTのカウンタ値の時刻においてはleap_indicatorの値が1である場合。 (Ii) otherwise. That is, the period in which the value of leap_indicator of the descriptor on which the information of the MMT counter value of the conversion source is 1 is not between the recording start time and the time of the MMT counter value, or the MMT to be converted When the value of leap_indicator is 1 at the time of the counter value of.

この場合、MPEG-2 TSのカウンタ値X’の補正は行われず、MMTのカウンタ値Xを元にして求められたMPEG-2 TSのカウンタ値X’がそのまま用いられる。   In this case, correction of the MPEG-2 TS counter value X 'is not performed, and the MPEG-2 TS counter value X' obtained based on the MMT counter value X is used as it is.

(2−2)閏秒の削除があった場合
図30は、閏秒の削除があった場合のタイムスタンプの変換の例を示す図である。図30には、閏秒の削除があった時刻(午前8時59分59秒)近傍が拡大して示されている。
(2-2) When there is a deletion of leap seconds FIG. 30 is a diagram showing an example of conversion of a time stamp when there is a deletion of leap seconds. In FIG. 30, the vicinity of the time (8:59:59 am) when the leap second was deleted is shown enlarged.

図30の下方に示すように、閏秒の削除があった場合、MPU拡張タイムスタンプ記述子のmpu_presentation_time_leap_indicator(図17)の値は、午前8時59分58秒の直後のタイミングで2から0に切り替わる。TTML字幕の時刻の閏秒の調整に用いられるMH-データ符号化方式記述子のreference_start_time_leap_indicatorの値も、mpu_presentation_time_leap_indicatorの値と同様にして切り替わる。   As shown in the lower part of FIG. 30, when there is a leap second deletion, the value of mpu_presentation_time_leap_indicator (FIG. 17) of the MPU extended time stamp descriptor is changed from 2 to 0 immediately after 8:59:58. Switch. The value of reference_start_time_leap_indicator of the MH-data encoding method descriptor used to adjust the leap second of the time of the TTML subtitle also switches in the same manner as the value of mpu_presentation_time_leap_indicator.

また、閏秒の削除があった場合、NTPのleap_indicator(図4)の値は、午前8時59分58秒の直後のタイミングで2から0に切り替わる。   When the leap second is deleted, the value of NTP's leap_indicator (FIG. 4) switches from 2 to 0 at a timing immediately after 8:59:58.

この場合、図30の上方に示すように、MMTのカウンタ値は、午前8時59分59秒になる直前のタイミングで、閏秒(1秒)に相当する分だけ増加し、その後、閏秒の削除がある前と同様に増加する。MMTのカウンタ値は、実線#51と実線#52に示すように不連続点を挟んで増加することになる。   In this case, as shown in the upper part of FIG. 30, the MMT counter value is increased by an amount corresponding to leap seconds (one second) immediately before 8:59:59 am, and then leap seconds As before there is a deletion of. The counter value of the MMT increases across the discontinuous point as shown by the solid line # 51 and the solid line # 52.

ここで、例えばBDに記録する場合の1Clip(1TS)の連続録画時間は最大26時間半であるから、実用的な連続録画時間内に考慮する必要がある閏秒による調整回数は1回と仮定できる。   Here, for example, since the continuous recording time of 1 Clip (1TS) in the case of recording on BD is at most 26 hours and a half, it is assumed that the number of times of adjustment by leap second should be considered within practical continuous recording time it can.

閏秒削除以降のある時刻のMMTのカウンタ値X(X@MMT)を元にして、MPEG-2 TSのカウンタ値X’を上述したようにして求めた場合、図30において黒丸で示されるMPEG-2 TSのカウンタ値X’(X’@MPEG-2 TS)が求められる。このMPEG-2 TSのカウンタ値X’は、閏秒の削除分を補正する前のカウンタ値となる。   When the counter value X 'of the MPEG-2 TS is obtained as described above based on the MMT counter value X (X @ MMT) at a certain time after the leap second deletion, the MPEG shown by the black circle in FIG. -2 TS counter value X '(X' @ MPEG-2 TS) is obtained. The counter value X 'of this MPEG-2 TS is the counter value before correcting the deletion of' seconds'.

MMTのカウンタ値Xを元にして求めたMPEG-2 TSのカウンタ値X’を以下のように補正する。閏秒の削除によるUTC補正は毎回1秒の補正であるから、MPEG-2 TSのカウンタ値の補正量は、90kHzカウンタでは90000となる。   The MPEG-2 TS counter value X 'determined based on the MMT counter value X is corrected as follows. Since the UTC correction by the deletion of the leap second is a correction of 1 second each time, the correction amount of the counter value of the MPEG-2 TS is 90000 for the 90 kHz counter.

(i)変換元のMMTのカウンタ値の情報が載った記述子のleap_indicatorの値が2の期間が、録画開始時刻からMMTのカウンタ値の時刻までの間にあり、変換対象となるMMTのカウンタ値の時刻においてはleap_indicatorの値が0である場合。 (I) A period in which the value of leap_indicator of the descriptor on which the information of the MMT counter value of conversion source is 2 is from the recording start time to the time of the MMT counter value, and the MMT counter to be converted When the value of leap_indicator is 0 at the time of value.

この場合、MMTのカウンタ値Xを元にして求められたMPEG-2 TSのカウンタ値X’は下式(10)により補正される。

Figure 2018182617
In this case, the MPEG-2 TS counter value X ′ determined based on the MMT counter value X is corrected by the following equation (10).
Figure 2018182617

これにより、閏秒削除以降のある時刻のMMTのカウンタ値Xを元にして求められたMPEG-2 TSのカウンタ値X’は、下向き矢印の先に示すように補正される。閏秒の削除があった場合でも、MPEG-2 TSのカウンタ値X’の増加は、不連続点を挟むことなく、直線#61で表されることになる。   As a result, the MPEG-2 TS counter value X 'obtained based on the MMT counter value X at a certain time after deletion of the second is corrected as indicated by the point of the downward arrow. Even when there is a deletion of 'seconds', the increase of the counter value X' of the MPEG-2 TS is represented by a straight line # 61 without inserting a discontinuous point.

(ii)それ以外の場合。すなわち、変換元のMMTのカウンタ値の情報が載った記述子のleap_indicatorの値が2の期間が、録画開始時刻からMMTのカウンタ値の時刻までの間にないか、または、変換対象となるMMTのカウンタ値の時刻においてはleap_indicatorの値が2である場合。 (Ii) otherwise. That is, the period in which the value of leap_indicator of the descriptor on which the information of the MMT counter value of conversion source is 2 is not between the recording start time and the time of the MMT counter value, or the MMT to be converted When the value of leap_indicator is 2 at the time of the counter value of.

この場合、MPEG-2 TSのカウンタ値X’の補正は行われず、MMTのカウンタ値Xを元にして求められたMPEG-2 TSのカウンタ値X’がそのまま用いられる。   In this case, correction of the MPEG-2 TS counter value X 'is not performed, and the MPEG-2 TS counter value X' obtained based on the MMT counter value X is used as it is.

このように、タイムスタンプ変換部57は、MMTの時刻情報において閏秒による調整があった場合、その影響を排除するように、MPEG-2 TSのカウンタ値X’の補正を行う。   As described above, when there is an adjustment by 'second' in the time information of the MMT, the time stamp conversion unit 57 corrects the counter value X 'of the MPEG-2 TS so as to eliminate the influence.

なお、閏秒の調整があるか否かの判断は、MPU拡張タイムスタンプ記述子の解析結果に基づいて行われるようにしてもよいし、NTPの解析結果に基づいて行われるようにしてもよい。後者の場合、例えば、図示せぬ解析部によりNTPの解析が行われ、leap_indicatorの値を表す情報が解析結果としてタイムスタンプ変換部57に供給される。   The determination as to whether or not the leap second adjustment is made may be made based on the analysis result of the MPU extended time stamp descriptor, or may be made based on the analysis result of the NTP. . In the latter case, for example, the analysis unit (not shown) analyzes the NTP, and information representing the value of leap_indicator is supplied to the time stamp conversion unit 57 as the analysis result.

<5−2.クロック変換>
次に、クロック変換について説明する。
5-2. Clock conversion>
Next, clock conversion will be described.

MMTにおいて、NTP形式の参照時刻は、32+nbit@2Hzのカウンタ値として表される。 In MMT, the reference time in NTP format is represented as a counter value of 32 + nbit @ 2 n Hz.

また、MPEG-2 TSにおいて、参照時刻としてのPCRは、42bit@27MHzのカウンタ値(下式)として表される。
33bit(90kHz counter 0-(233-1)) + 6bit(Reserve) + 9bit(27MHz counter 0-300)
Also, in the MPEG-2 TS, PCR as a reference time is represented as a counter value of 42 bits @ 27 MHz (lower equation).
33 bits (90 kHz counter 0-(2 33 -1)) + 6 bits (Reserve) + 9 bits (27 MHz counter 0-300)

クロック変換部54は、32+nbit@2Hzのカウンタ値を42bit@27MHzのカウンタ値に変換し、PCRとして出力する。 The clock conversion unit 54 converts the counter value of 32 + nbit @ 2 n Hz into a counter value of 42 bit @ 27 MHz and outputs the result as PCR.

図31は、クロック変換処理を行う構成を示すブロック図である。   FIG. 31 is a block diagram showing a configuration for performing clock conversion processing.

図31に示す構成のうち、図23を参照して説明した構成には同じ符号を付してある。図31に示すように、クロック変換処理は、2Hz PLL101と27MHz PLL102の2段のPLLにより行われる。27MHz PLL102が、クロック変換部54に相当する。 Among the configurations shown in FIG. 31, the configurations described with reference to FIG. As shown in FIG. 31, the clock conversion process is performed by two stages of PLLs of 2 n Hz PLL 101 and 27 MHz PLL 102. The 27 MHz PLL 102 corresponds to the clock converter 54.

Hz PLL101は、比較器52、2Hz VCO111、およびNTPクロックカウンタ53により構成される。2Hz PLL101に対しては、NTP形式の時刻情報がデマルチプレクサ51から入力される。 2 n Hz PLL 101 is composed of a comparator 52,2 n Hz VCO111 and NTP clock counter 53,. The time information in the NTP format is input from the demultiplexer 51 to the 2 n Hz PLL 101.

比較器52は、NTP形式の時刻情報(reference_timestamp)が入力されたことをトリガとして、入力された32+nbit@2Hzのカウンタ値と、NTPクロックカウンタ53のカウンタ値とを比較する。 The comparator 52 uses the fact that the time information (reference_timestamp) in NTP format is input as a trigger, and compares the input 32 + nbit @ 2 n Hz counter value with the counter value of the NTP clock counter 53.

比較器52に対しては、例えば図示せぬ解析部により解析されたreference_timestampの値が入力される。図4を参照して説明したように、reference_timestampは32+nbit@2Hzのカウンタ値である。比較器52は、比較結果に応じて2Hz VCO111の発振周波数を制御する。比較器52によるカウンタ値の比較は、NTP形式の時刻情報が入力される毎に行われる。 For example, the value of reference_timestamp analyzed by an analysis unit (not shown) is input to the comparator 52. As described with reference to FIG. 4, reference_timestamp is a counter value of 32 + nbit @ 2 n Hz. The comparator 52 controls the oscillation frequency of the 2 n Hz VCO 111 according to the comparison result. The comparison of the counter values by the comparator 52 is performed each time the time information in the NTP format is input.

Hz VCO111は、比較器52による制御に従って、2Hzのクロック信号(NTPクロック)をNTPクロックカウンタ53に出力する。 The 2 n Hz VCO 111 outputs a 2 n Hz clock signal (NTP clock) to the NTP clock counter 53 under the control of the comparator 52.

NTPクロックカウンタ53は、カウント開始時、NTP形式の時刻情報に基づいてカウンタ値の初期値を設定する。閏秒による調整が行われている場合、閏秒の調整後のカウンタ値が設定される。   The NTP clock counter 53 sets an initial value of the counter value based on time information in NTP format at the start of counting. When the leap second adjustment is performed, the leap second adjusted counter value is set.

NTPクロックカウンタ53は、nbitカウンタ53Aと32bitカウンタ53Bから構成される。NTPクロックカウンタ53は、2Hz VCO111から供給されるNTPクロックに応じて、1秒以下を表すカウンタ値のカウントをnbitカウンタ53Aにおいて行い、1秒以上を表すカウンタ値のカウントを32bitカウンタ53Bにおいて行う。NTPクロックカウンタ53による32+nbit@2Hzのカウンタ値は比較器52に供給される。 The NTP clock counter 53 comprises an nbit counter 53A and a 32 bit counter 53B. The NTP clock counter 53 counts the counter value representing 1 second or less in the nbit counter 53A according to the NTP clock supplied from the 2 n Hz VCO 111, and counts the counter value representing 1 second or more in the 32 bit counter 53B. Do. The 32 + nbit @ 2 n Hz counter value by the NTP clock counter 53 is supplied to the comparator 52.

一方、27MHz PLL102は、分周器121、設定器122、比較器123、27MHz VCO124、STCカウンタ125、および演算器126から構成される。分周器121に対しては、nbitカウンタ53Aのカウンタ値が入力される。   On the other hand, the 27 MHz PLL 102 is configured of a frequency divider 121, a setting unit 122, a comparator 123, a 27 MHz VCO 124, an STC counter 125, and an arithmetic unit 126. The counter value of the nbit counter 53A is input to the frequency divider 121.

すなわち、NTPクロックカウンタ53の1秒以上を表すカウンタ値は、27MHz PLL102においては用いられない。閏秒の調整は1秒の調整であるから、MMTにおいて生じることのある閏秒の調整の影響は、nbitカウンタ53Aのカウンタ値だけが27MHz PLL102に入力されるようにすることにより、いわば吸収されることになる。   That is, the counter value representing one second or more of the NTP clock counter 53 is not used in the 27 MHz PLL 102. Since the leap second adjustment is one second adjustment, the influence of the leap second adjustment that may occur in the MMT is absorbed, so to speak, by causing only the counter value of the nbit counter 53A to be input to the 27 MHz PLL 102. It will be

分周器121は、nbitカウンタ53Aのカウンタ値を分周比xで分周し、トリガ信号を比較器123に周期的に出力する。   The frequency divider 121 divides the count value of the n-bit counter 53A by the frequency division ratio x, and periodically outputs a trigger signal to the comparator 123.

設定器122は、期待値dを比較器123に設定する。期待値dは、nbitカウンタ53Aのカウンタ値がxだけカウントアップするの間の、STCの増加分ΔSTCの期待値である。   The setting unit 122 sets the expected value d in the comparator 123. The expected value d is an expected value of STC increment ΔSTC while the counter value of the nbit counter 53A is counted up by x.

ここで、分周比xと期待値dは、下式(11)の関係を満たすように設定される。

Figure 2018182617
Here, the division ratio x and the expected value d are set so as to satisfy the relationship of the following expression (11).
Figure 2018182617

分周比xと期待値dが上式(11)の関係を満たすことは、NTPとSTCのそれぞれの時間粒度(2Hzと27MHz)に誤差(剰余)が生じない周波数で比較器123により比較が行われることを表す。 If the division ratio x and the expected value d satisfy the relationship of the above equation (11), it is determined by the comparator 123 at a frequency at which no error (residue) occurs in the time granularity (2 n Hz and 27 MHz) of NTP and STC. Indicates that a comparison is to be made.

例えば、n=24bit、比較周波数を32Hzとすると、分周比xと期待値dはそれぞれ下式(12)、(13)のように表される。

Figure 2018182617
Figure 2018182617
For example, when n = 24 bits and the comparison frequency is 32 Hz, the frequency division ratio x and the expected value d are expressed as the following equations (12) and (13), respectively.
Figure 2018182617
Figure 2018182617

この例の場合、比較器123による比較は31.25msec(1/32Hz)周期で行われる。この比較周期はNTPの送出間隔である33.04647msecに近く、これにより、27MHz PLL102での位相比較(カウンタ値の比較)が、NTPの送出間隔に近い周期で行われることになる。   In this example, the comparison by the comparator 123 is performed in a cycle of 31.25 msec (1/32 Hz). This comparison period is close to 33.04647 msec, which is the transmission interval of the NTP, so that the phase comparison (comparison of counter values) in the 27 MHz PLL 102 is performed in a period close to the transmission interval of the NTP.

比較器123は、分周器121からトリガ信号が供給される毎に、設定器122により設定された期待値dと、演算器126により求められたSTCの増加分ΔSTCとを比較する。比較器123は、比較結果に応じて27MHz VCO124の発振周波数を制御する。   The comparator 123 compares the expected value d set by the setting unit 122 with the STC increment ΔSTC obtained by the computing unit 126 each time the trigger signal is supplied from the frequency divider 121. The comparator 123 controls the oscillation frequency of the 27 MHz VCO 124 according to the comparison result.

期待値dに対して増加分ΔSTCが遅れている場合にはSTCを進ませるように発振周波数が制御され、期待値dに対して増加分ΔSTCが進んでいる場合にはSTCを遅らせるように発振周波数が制御される。   When the increase ΔSTC is behind the expected value d, the oscillation frequency is controlled to advance STC. When the increase ΔSTC is ahead of the expected value d, the oscillation is delayed so as to delay the STC. The frequency is controlled.

27MHz VCO124は、比較器123による制御に従って27MHzのクロック信号(STCクロック)をSTCカウンタ125に出力する。   The 27 MHz VCO 124 outputs a 27 MHz clock signal (STC clock) to the STC counter 125 under the control of the comparator 123.

STCカウンタ125は、9bitカウンタ125Aと33bitカウンタ125Bから構成される。STCカウンタ125は、27MHz VCO124から供給されるSTCクロックに応じて9bitカウンタ125Aにおいてカウンタ値のカウントを行う。また、STCカウンタ125は、27MHzのSTCクロックを300分周した90kHzのクロック信号に応じて33bitカウンタ125Bにおいてカウンタ値のカウントを行う。   The STC counter 125 is composed of a 9-bit counter 125A and a 33-bit counter 125B. The STC counter 125 counts the counter value in the 9-bit counter 125A in response to the STC clock supplied from the 27 MHz VCO 124. Further, the STC counter 125 counts the counter value in the 33-bit counter 125B according to the 90 kHz clock signal obtained by dividing the 27 MHz STC clock by 300.

9bitカウンタ125Aと33bitカウンタ125Bの42bit(33bit+9bit)のカウンタ値はSTCであり、演算器126に供給される。また、42bit(33bit+9bit)のカウンタ値は、MPEG-2 TSのPCRを示す42bitのカウンタ値として出力される。   The 42-bit (33-bit + 9-bit) counter values of the 9-bit counter 125A and the 33-bit counter 125B are STC, and are supplied to the computing unit 126. The 42-bit (33-bit + 9-bit) counter value is output as a 42-bit counter value indicating the PCR of the MPEG-2 TS.

STCカウンタ125は、リセット時、カウンタ値の初期値を設定する。初期値は、タイムスタンプ変換処理の遅延とES再多重変換処理の遅延の影響を排除するような値が設定される。   The STC counter 125 sets an initial value of the counter value at the time of reset. The initial value is set so as to eliminate the influence of the delay of the time stamp conversion process and the delay of the ES remultiplexing process.

演算器126は、比較周期毎のSTCの増加分ΔSTCを求め、比較器123に出力する。STCカウンタ125のラップアラウンドの影響は、増加分ΔSTCの算出時に排除される。   Arithmetic unit 126 obtains an increment ΔSTC of STC for each comparison cycle, and outputs it to comparator 123. The influence of the wrap around of the STC counter 125 is eliminated when calculating the increase ΔSTC.

このように、クロック変換は、2Hz PLL101と27MHz PLL102の2段のPLLを用いて行われる。NTPクロックの復調を行う2Hz PLL101の後段に27MHz PLL102を設けることにより、STCクロックを、NTPクロックに同期させることが可能になる。 Thus, clock conversion is performed using a two-stage PLL of 2 n Hz PLL 101 and 27 MHz PLL 102. By providing the 27 MHz PLL 102 after the 2 n Hz PLL 101 that demodulates the NTP clock, the STC clock can be synchronized with the NTP clock.

NTPの閏秒の調整は±1秒の調整であるため、27MHz PLL102における比較動作が、nbitカウンタ53Aのカウンタ値に基づいて32Hzのような所定の整数の比較周波数で行われるようにすることにより、NTPの閏秒の調整が27MHz PLL102におけるクロック変換に影響しないことになる。すなわち、閏秒の調整に影響されないクロック変換が可能となる。   The adjustment of the leap second of NTP is ± 1 second, so that the comparison operation in the 27 MHz PLL 102 is performed at a predetermined integer comparison frequency such as 32 Hz based on the counter value of the nbit counter 53A. The adjustment of the leap second of the NTP will not affect the clock conversion in the 27 MHz PLL 102. That is, it is possible to perform clock conversion that is not affected by the adjustment of the leap second.

また、STCカウンタ125の初期値として任意の値を設定可能な構成とすることにより、オフセット調整機能を27MHz PLL102が持つことになる。これにより、タイムスタンプ変換処理やES再多重化変換処理との遅延差の影響を排除することが可能になる。   Further, by setting an arbitrary value as an initial value of the STC counter 125, the 27 MHz PLL 102 has an offset adjustment function. This makes it possible to eliminate the influence of the delay difference between the time stamp conversion process and the ES remultiplexing conversion process.

また、比較器123による比較が増分期待値を用いた比較であるため、NTP/UTC値とSTC初期値の関係を自由に選ぶことが可能になる。   Further, since the comparison by the comparator 123 is a comparison using an incremental expected value, it is possible to freely select the relationship between the NTP / UTC value and the STC initial value.

<6.情報処理装置の動作>
次に、図32のフローチャートを参照して、MMTのコンテンツをMPEG-2 TSのコンテンツに変換し、記録媒体11に記録する情報処理装置1の一連の処理について説明する。
<6. Operation of Information Processing Device>
Next, a series of processes of the information processing apparatus 1 for converting MMT content into MPEG-2 TS content and recording the content on the recording medium 11 will be described with reference to the flowchart in FIG.

ステップS1において、受信部31は、放送波の伝送路または通信の伝送路を介して供給されたMMTのコンテンツを受信して取得する。受信部31は、MMTのコンテンツのデータであるTVLストリームをMMT信号処理部32に出力する。   In step S1, the reception unit 31 receives and acquires the content of the MMT supplied via the transmission path of the broadcast wave or the transmission path of the communication. The receiving unit 31 outputs a TVL stream, which is data of MMT content, to the MMT signal processing unit 32.

ステップS2において、MMT信号処理部32のデマルチプレクサ51は、TLVストリームを構成するTLVパケットからIPパケットを抽出し、DEMUX処理を行う。すなわち、NTP形式の時刻情報を含むIPパケットは比較器52に供給され、MMT-SIを格納するMMTPパケットはMMT-SI解析部55に供給される。MPUを構成するビデオデータ、オーディオデータを格納するMMTPパケットはMPU/MMTパケット解析部58に供給される。   In step S2, the demultiplexer 51 of the MMT signal processing unit 32 extracts an IP packet from the TLV packet forming the TLV stream, and performs DEMUX processing. That is, an IP packet including time information in NTP format is supplied to the comparator 52, and an MMTP packet storing MMT-SI is supplied to the MMT-SI analysis unit 55. The MMTP packet storing video data and audio data constituting the MPU is supplied to the MPU / MMT packet analysis unit 58.

ステップS3において、MPU/MMTパケット解析部58は、各MPUを構成するMFUのビデオデータ、オーディオデータをMMTPパケットから抽出する。抽出されたデータはMPU_sequence_numberとともにバッファ61に出力され、記憶される。   In step S3, the MPU / MMT packet analysis unit 58 extracts the MFU video data and audio data that constitute each MPU from the MMTP packet. The extracted data is output to the buffer 61 together with MPU_sequence_number and stored.

ステップS4において、MMT-SI解析部55は、MMTPパケットに格納されているMMT-SIを解析することによってMPUタイムスタンプ記述子とMPU拡張タイムスタンプ記述子を取得する。   In step S4, the MMT-SI analysis unit 55 acquires the MPU time stamp descriptor and the MPU extended time stamp descriptor by analyzing the MMT-SI stored in the MMTP packet.

ステップS5において、MMT-SI解析部55は、MPUタイムスタンプ記述子とMPU拡張タイムスタンプ記述子に基づいて、各MPUのPTSと、各MPUを構成するアクセスユニットのDTSを算出する。   In step S5, the MMT-SI analysis unit 55 calculates the PTS of each MPU and the DTS of the access unit constituting each MPU based on the MPU time stamp descriptor and the MPU extended time stamp descriptor.

また、MMT-SI解析部55は、例えばMPU拡張タイムスタンプ記述子を解析することによって、閏秒の調整が行われているか否かを特定する。閏秒の調整が行われているか否かを表す情報は、PTS/DTSの情報とともにタイムスタンプ変換部57に供給される。   In addition, the MMT-SI analysis unit 55 determines, for example, whether or not the leap second adjustment is performed by analyzing the MPU extended time stamp descriptor. Information indicating whether or not the leap second adjustment is performed is supplied to the time stamp conversion unit 57 together with the information on PTS / DTS.

ステップS6において、制御部63は、初期値となる所定のカウンタ値をクロック変換部54とタイムスタンプ変換部57にそれぞれ設定し、オフセット調整を行う。ここで設定される初期値は、例えば、クロック変換処理、タイムスタンプ変換処理、ES再多重変換処理の3つの処理の遅延に基づいて予め決められている値である。   In step S6, the control unit 63 sets a predetermined counter value as an initial value in the clock conversion unit 54 and the time stamp conversion unit 57, and performs offset adjustment. The initial value set here is, for example, a value determined in advance based on the delay of three processes of clock conversion process, time stamp conversion process, and ES re-multiplex conversion process.

具体的には、MPEG-2 TSに多重化する同じタイミングのデータを得るための上記3つの処理のうち、クロック変換処理が、処理時間が最も短い処理であるとする。また、クロック変換処理の処理時間を基準としたときに、タイムスタンプ変換処理には+0.5秒の遅延があり、ES再多重変換処理には+1.0秒の遅延があるものとする。同じ時刻のデータとして多重化するPCR、タイムスタンプ、ビデオ/オーディオデータについては、ほぼ同じタイミングでTS化処理部62に供給される必要がある。   Specifically, of the above three processes for obtaining data of the same timing to be multiplexed into the MPEG-2 TS, it is assumed that the clock conversion process is the process with the shortest processing time. Further, it is assumed that there is a delay of +0.5 seconds in the time stamp conversion processing and a delay of +1.0 seconds in the ES remultiplex conversion processing based on the processing time of the clock conversion processing. The PCR, time stamp, and video / audio data to be multiplexed as data of the same time need to be supplied to the TS conversion processing unit 62 at substantially the same timing.

この場合、制御部63は、クロック変換処理の初期値として、STCカウンタ125のカウンタ値を1.0秒だけ遅らせるような値を設定し、タイムスタンプ変換処理の初期値として、時刻Sを0.5秒だけ遅らせるような値を設定する。   In this case, the control unit 63 sets a value such that the counter value of the STC counter 125 is delayed by 1.0 second as an initial value of the clock conversion process, and delays the time S by 0.5 second as an initial value of the time stamp conversion process. Set a similar value.

図32の説明に戻り、ステップS7において、タイムスタンプ変換部57は、MMTのタイムスタンプをMPEG-2 TSのタイムスタンプに変換する。すなわち、タイムスタンプ変換部57は、MMT-SI解析部55により算出されたMMTのPTS/DTSを表す32+nbit@2Hzのカウンタ値を、それぞれ、MPEG-2 TSのPTS/DTSを表す33bit@90kHzのカウンタ値に変換する。 Referring back to FIG. 32, in step S7, the time stamp conversion unit 57 converts the MMT time stamp into an MPEG-2 TS time stamp. That is, the time stamp conversion unit 57 calculates the 32 + nbit @ 2 n Hz counter value representing PTS / DTS of MMT calculated by the MMT-SI analysis unit 55, 33 bit @ representing PTS / DTS of MPEG-2 TS. Convert to a 90 kHz counter value.

ステップS8において、クロック変換部54は、32+nbit@2Hzのカウンタ値として表されるNTP形式の時刻情報を、MPEG-2 TSのPCRを示す42bitのカウンタ値に変換する。ここでは、2Hz PLL101と27MHz PLL102により、図31を参照して説明した処理が行われ、42bit@27MHzのカウンタ値が生成される。生成されたカウンタ値はPCRとしてTS化処理部62に供給される。 In step S8, the clock conversion unit 54 converts the time information in the NTP format represented as a 32 + nbit @ 2 n Hz counter value into a 42-bit counter value indicating the PCR of the MPEG-2 TS. Here, the processing described with reference to FIG. 31 is performed by the 2 n Hz PLL 101 and the 27 MHz PLL 102, and a 42 bit @ 27 MHz counter value is generated. The generated counter value is supplied to the TS conversion processing unit 62 as a PCR.

ステップS9において、TS化処理部62は、MPU_sequence_numberとして同じ値が設定されたビデオデータとオーディオデータを用いてPESを構成し、各PESに関連するPTSとDTSを付加することによってPESパケットを生成する。   In step S9, the TS formation processing unit 62 constructs a PES using video data and audio data in which the same value is set as MPU_sequence_number, and generates a PES packet by adding PTS and DTS associated with each PES. .

ステップS10において、TS化処理部62は、PESパケットのTSパケット化を行う。   In step S10, the TS formation processing unit 62 performs TS packetization of PES packets.

ステップS11において、TS化処理部62は、PESパケットのデータをペイロードに格納したTSパケットに対して、クロック変換部54により生成されたPCRをアダプテーションフィールドに含むTSパケットを挿入し、TSを生成する。適宜、MMT-SIに基づいて生成されたSIを格納するTSパケットもTSに挿入される。   In step S11, the TS conversion processing unit 62 inserts a TS packet including the PCR generated by the clock conversion unit 54 in the adaptation field into the TS packet in which the data of the PES packet is stored in the payload to generate a TS. . As appropriate, a TS packet storing SI generated based on MMT-SI is also inserted into TS.

ステップS12において、記録制御部33は、ドライブ34を制御し、MMT信号処理部32により生成されたTSを記録媒体11に記録させる。情報処理装置1は、いわば、変換して得られたMPEG-2 TSのファイルを記録した記録媒体を製造する製造装置としても機能することになる。   In step S12, the recording control unit 33 controls the drive 34 to record the TS generated by the MMT signal processing unit 32 on the recording medium 11. The information processing apparatus 1 also functions as a manufacturing apparatus for manufacturing a recording medium in which the file of the MPEG-2 TS obtained by the conversion is recorded.

図33は、情報処理装置1における一連の変換処理を示す図である。   FIG. 33 is a diagram showing a series of conversion processing in the information processing device 1.

左端の破線矢印#101の先に示すように、クロック変換処理として、NTP形式の時刻情報である32+nbit@2Hzのカウンタ値を、42bit@27MHzのカウンタ値に変換する処理が行われる。クロック変換処理にはオフセット調整が行われる。 As indicated by the end of the leftmost dashed arrow # 101, as a clock conversion process, a process of converting a 32 + nbit @ 2 n Hz counter value, which is time information in NTP format, into a 42bit @ 27 MHz counter value is performed. Offset adjustment is performed in the clock conversion process.

破線矢印#102の先に示すように、クロック変換処理により得られた42bit@27MHzのカウンタ値はPCRとしてTSパケットのアダプテーションフィールドに記述される。   As indicated by the end of the dashed arrow # 102, the 42 bit @ 27 MHz counter value obtained by the clock conversion process is described as PCR in the adaptation field of the TS packet.

破線矢印#103の先に示すように、MMTのMPTを解析することによって生成された、PMTなどのA/V符号化情報(SI)がTSに多重化される。   As indicated by the dotted arrow # 103, A / V coded information (SI) such as PMT generated by analyzing MPT of MMT is multiplexed into TS.

MPTに含まれるMPUタイムスタンプ記述子とMPU拡張タイムスタンプ記述子の解析が行われ、破線矢印#104の先に示すように、各AUのPTS/DTSがMPU毎に算出される。   The MPU time stamp descriptor and the MPU extended time stamp descriptor included in the MPT are analyzed, and the PTS / DTS of each AU is calculated for each MPU as indicated by the end of the broken arrow # 104.

32+nbit@2Hzのカウンタ値として表される、破線矢印#105の先に示す各AUのPTS/DTSは、破線矢印#106の先に示すように、タイムスタンプ変換処理が行われることによって、MPEG-2 TSのPTS/DTSに変換される。タイムスタンプ変換処理にはオフセット調整が行われる。 The PTS / DTS of each AU indicated at the end of the broken line arrow # 105, represented as a counter value of 32 + nbit @ 2 n Hz, is subjected to time stamp conversion processing as indicated at the end of the broken line arrow # 106. It is converted to PTS / DTS of MPEG-2 TS. Offset adjustment is performed in the time stamp conversion process.

破線矢印#107の先に示すように、33bit@90kHzのカウンタ値として表される、タイムスタンプ変換処理により得られたMPEG-2 TSのPTS/DTSは、各PESパケットのPESヘッダに記述される。   The PTS / DTS of the MPEG-2 TS obtained by the time stamp conversion process, which is expressed as a counter value of 33 bits @ 90 kHz, is described in the PES header of each PES packet, as indicated by the dotted arrow # 107. .

以上の処理により、時間軸が異なるMMTのコンテンツをMPEG-2 TSのコンテンツに変換し、BDなどの記録媒体に記録することができる。   By the above processing, the content of MMT with different time axis can be converted to the content of MPEG-2 TS and recorded on a recording medium such as BD.

<7.変形例>
<7−1.逆変換について>
MMTのコンテンツをMPEG-2 TSのコンテンツに変換する場合について説明したが、MPEG-2 TSのコンテンツをMMTのコンテンツに変換することも可能である。
<7. Modified example>
<7-1. About inverse transformation>
Although the case of converting MMT content to MPEG-2 TS content has been described, it is also possible to convert MPEG-2 TS content to MMT content.

この場合、情報処理装置1は、変換対象とするMPEG-2 TSのコンテンツのTSを構成するTSパケットからビデオデータとオーディオデータを取得し、MMTPパケットに格納し直す。   In this case, the information processing apparatus 1 acquires video data and audio data from TS packets constituting the TS of the content of the MPEG-2 TS to be converted, and stores the data in the MMTP packet again.

また、情報処理装置1は、42bit@27MHzのカウンタ値として表されるPCRをTSパケットから抽出し、32+nbit@2Hzのカウンタ値として表されるNTP形式の時刻情報に変換する。 Further, the information processing apparatus 1 extracts the PCR represented as a 42-bit @ 27 MHz counter value from the TS packet, and converts it into NTP-format time information represented as a 32 + nbit @ 2 n Hz counter value.

さらに、情報処理装置1は、33bit@90kHzのカウンタ値として表されるMPEG-2 TSのPTS/DTSをPESパケットから抽出し、32+nbit@2Hzのカウンタ値として表されるMMTのPTS/DTSに変換する。この処理は、MPEG-2 TSのカウンタ値X’を元にして、MMTのカウンタ値Xを求める処理となる。 Further, the information processing apparatus 1 extracts PTS / DTS of the MPEG-2 TS represented as a counter value of 33 bits @ 90 kHz from the PES packet, and MTS PTS / DTS represented as a counter value of 32 + nbit @ 2 n Hz Convert to This process is a process of obtaining the MMT counter value X based on the MPEG-2 TS counter value X '.

情報処理装置1は、ビデオデータとオーディオデータを格納するMMTPパケットと、MMTのPTS/DTSの算出に用いる記述子を伝送する制御メッセージを格納するMMTPパケットを生成する。また、情報処理装置1は、生成したそれらのMMTPパケットを格納するIPパケットとNTP形式の時刻情報を含むIPパケットを多重化することによって、TLVストリームを生成する。   The information processing apparatus 1 generates an MMTP packet storing video data and audio data, and an MMTP packet storing a control message transmitting a descriptor used for calculating PTS / DTS of MMT. Further, the information processing device 1 generates a TLV stream by multiplexing the generated IP packet storing the MMTP packet and the IP packet including time information in NTP format.

<7−2.その他の例>
MMTからMPEG-2 TSへの変換とMPEG-2 TSからMMTへの逆変換について説明したが、変換/逆変換の対象となるコンテンツのフォーマットはMMTとMPEG-2 TSに限られるものではない。上述した処理は、時間軸が異なる各種のフォーマットの変換/逆変換に用いることができる。
7-2. Other examples>
Although the conversion from MMT to MPEG-2 TS and the reverse conversion from MPEG-2 TS to MMT have been described, the format of contents to be converted / reverse converted is not limited to MMT and MPEG-2 TS. The process described above can be used for conversion / inverse conversion of various formats having different time axes.

変換/逆変換の対象となるコンテンツが、ビデオデータとオーディオデータの両方を含むものであるものとしたが、いずれか一方のコンテンツのフォーマットの変換/逆変換に上述した処理を適用するようにしてもよい。また、ビデオデータとオーディオデータ以外の種類のデータのフォーマットの変換/逆変換に適用されるようにしてもよい。   Although the content subject to conversion / inverse conversion includes both video data and audio data, the above-described processing may be applied to conversion / inverse conversion of the format of any one content. . In addition, the present invention may be applied to conversion / inverse conversion of formats of data other than video data and audio data.

・コンピュータの構成例
上述した一連の処理は、ハードウェアにより実行することもできるし、ソフトウェアにより実行することもできる。一連の処理をソフトウェアにより実行する場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または汎用のパーソナルコンピュータなどに、プログラム記録媒体からインストールされる。
Computer Configuration Example The above-described series of processes may be performed by hardware or software. When the series of processes are executed by software, a program constituting the software is installed from a program recording medium in a computer incorporated in dedicated hardware, a general-purpose personal computer, or the like.

図34は、上述した一連の処理をプログラムにより実行するコンピュータのハードウェアの構成例を示すブロック図である。   FIG. 34 is a block diagram showing a configuration example of hardware of a computer that executes the series of processes described above according to a program.

CPU(Central Processing Unit)1001、ROM(Read Only Memory)1002、RAM(Random Access Memory)1003は、バス1004により相互に接続されている。   A central processing unit (CPU) 1001, a read only memory (ROM) 1002, and a random access memory (RAM) 1003 are mutually connected by a bus 1004.

バス1004には、さらに、入出力インタフェース1005が接続される。入出力インタフェース1005には、キーボード、マウスなどよりなる入力部1006、ディスプレイ、スピーカなどよりなる出力部1007が接続される。また、入出力インタフェース1005には、ハードディスクや不揮発性のメモリなどよりなる記憶部1008、ネットワークインタフェースなどよりなる通信部1009、リムーバブルメディア1011を駆動するドライブ1010が接続される。   Further, an input / output interface 1005 is connected to the bus 1004. The input / output interface 1005 is connected to an input unit 1006 including a keyboard, a mouse and the like, and an output unit 1007 including a display, a speaker and the like. Further, connected to the input / output interface 1005 are a storage unit 1008 such as a hard disk and a non-volatile memory, a communication unit 1009 such as a network interface, and a drive 1010 for driving the removable medium 1011.

以上のように構成されるコンピュータでは、CPU1001が、例えば、記憶部1008に記憶されているプログラムを入出力インタフェース1005及びバス1004を介してRAM1003にロードして実行することにより、上述した一連の処理が行われる。   In the computer configured as described above, the CPU 1001 loads, for example, the program stored in the storage unit 1008 into the RAM 1003 via the input / output interface 1005 and the bus 1004, and executes the above-described series of processes. Is done.

CPU1001が実行するプログラムは、例えばリムーバブルメディア1011に記録して、あるいは、ローカルエリアネットワーク、インターネット、デジタル放送といった、有線または無線の伝送媒体を介して提供され、記憶部1008にインストールされる。   The program executed by the CPU 1001 is provided, for example, via a wired or wireless transmission medium such as a local area network, the Internet, or digital broadcasting, recorded in the removable medium 1011 or installed in the storage unit 1008.

なお、コンピュータが実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。   Note that the program executed by the computer may be a program that performs processing in chronological order according to the order described in this specification, in parallel, or when necessary, such as when a call is made. It may be a program to be processed.

本技術の実施の形態は、上述した実施の形態に限定されるものではなく、本技術の要旨を逸脱しない範囲において種々の変更が可能である。   The embodiments of the present technology are not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present technology.

例えば、本技術は、1つの機能をネットワークを介して複数の装置で分担、共同して処理するクラウドコンピューティングの構成をとることができる。   For example, the present technology can have a cloud computing configuration in which one function is shared and processed by a plurality of devices via a network.

また、上述のフローチャートで説明した各ステップは、1つの装置で実行する他、複数の装置で分担して実行することができる。   Further, each step described in the above-described flowchart can be executed by one device or in a shared manner by a plurality of devices.

さらに、1つのステップに複数の処理が含まれる場合には、その1つのステップに含まれる複数の処理は、1つの装置で実行する他、複数の装置で分担して実行することができる。   Furthermore, in the case where a plurality of processes are included in one step, the plurality of processes included in one step can be executed by being shared by a plurality of devices in addition to being executed by one device.

本技術の実施の形態は、上述した実施の形態に限定されるものではなく、本技術の要旨を逸脱しない範囲において種々の変更が可能である。   The embodiments of the present technology are not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present technology.

・構成の組み合わせ例
本技術は、以下のような構成をとることもできる。
(1)
1秒以下の精度を2Hz(nは24以上の整数)とする32+nビットカウンタのカウンタ値により表される第1のフォーマットのタイムスタンプを、1秒以下の精度を90kHzとする33ビットカウンタのカウンタ値により表される第2のフォーマットのタイムスタンプに変換するタイムスタンプ変換部と、
前記32+nビットカウンタのカウンタ値により表される前記第1のフォーマットの参照時刻を、1秒以下の精度を27MHzとする42ビットカウンタのカウンタ値により表される第2のフォーマットの参照時刻に変換する参照時刻変換部と、
タイムスタンプ変換における前記33ビットカウンタのカウンタ値の初期値と、を設定参照時刻の変換における前記42ビットカウンタのカウンタ値の初期値とをそれぞれ設定する制御部と
を備える情報処理装置。
(2)
前記タイムスタンプ変換部は、前記第1のフォーマットのタイムスタンプに閏秒の調整が行われたことに応じて補正した第2のフォーマットのタイムスタンプを生成する
前記(1)に記載の情報処理装置。
(3)
前記第1のフォーマットで多重化されたビデオストリームとオーディオストリームを含むデータを、前記第2のフォーマットで多重化し、多重化データを生成する処理部をさらに備える
前記(1)または(2)に記載の情報処理装置。
(4)
前記処理部は、前記第2のフォーマットのタイムスタンプと参照時刻が付加された前記多重化データを生成する
前記(3)に記載の情報処理装置。
(5)
前記制御部は、タイムスタンプの変換処理、参照時刻の変換処理、および多重化処理のそれぞれの処理時間に基づいて初期値を設定する
前記(4)に記載の情報処理装置。
(6)
前記第1のフォーマットはMMTであり、
前記第2のフォーマットはMPEG-2 TSである
前記(1)乃至(5)のいずれかに記載の情報処理装置。
(7)
1秒以下の精度を2Hz(nは24以上の整数)とする32+nビットカウンタのカウンタ値により表される第1のフォーマットのタイムスタンプを、1秒以下の精度を90kHzとする33ビットカウンタのカウンタ値により表される第2のフォーマットのタイムスタンプに変換し、
前記32+nビットカウンタのカウンタ値により表される前記第1のフォーマットの参照時刻を、1秒以下の精度を27MHzとする42ビットカウンタのカウンタ値により表される第2のフォーマットの参照時刻に変換し、
タイムスタンプ変換における前記33ビットカウンタのカウンタ値の初期値と、参照時刻の変換における前記42ビットカウンタのカウンタ値の初期値とをそれぞれ設定する
ステップを含む情報処理方法。
(8)
1秒以下の精度を2Hz(nは24以上の整数)とする32+nビットカウンタのカウンタ値により表される第1のフォーマットのタイムスタンプを、1秒以下の精度を90kHzとする33ビットカウンタのカウンタ値により表される第2のフォーマットのタイムスタンプに変換し、
前記32+nビットカウンタのカウンタ値により表される前記第1のフォーマットの参照時刻を、1秒以下の精度を27MHzとする42ビットカウンタのカウンタ値により表される第2のフォーマットの参照時刻に変換し、
タイムスタンプ変換における前記33ビットカウンタのカウンタ値の初期値と、参照時刻の変換における前記42ビットカウンタのカウンタ値の初期値とをそれぞれ設定する
ステップを含む処理をコンピュータに実行させるプログラム。
(9)
1秒以下の精度を2Hz(nは24以上の整数)とする32+nビットカウンタのカウンタ値により表される第1のフォーマットのタイムスタンプを、1秒以下の精度を90kHzとする33ビットカウンタのカウンタ値により表される第2のフォーマットのタイムスタンプに変換し、
前記32+nビットカウンタのカウンタ値により表される前記第1のフォーマットの参照時刻を、1秒以下の精度を27MHzとする42ビットカウンタのカウンタ値により表される第2のフォーマットの参照時刻に変換し、
タイムスタンプ変換における前記33ビットカウンタのカウンタ値の初期値と、参照時刻の変換における前記42ビットカウンタのカウンタ値の初期値とをそれぞれ設定し、
前記第1のフォーマットで多重化されたビデオストリームとオーディオストリームを含むデータを、前記第2のフォーマットで多重化することによって多重化データを生成し、
前記多重化データを記録媒体に記録させる
記録媒体製造方法。
-Example of combination of configuration The present technology can also have the following configuration.
(1)
A 33-bit counter with a first format timestamp represented by the counter value of a 32 + n-bit counter with an accuracy of 1 second or less as 2 n Hz (n is an integer of 24 or more) and an accuracy of 1 second or less with 90 kHz A time stamp conversion unit for converting into a time stamp of the second format represented by the counter value of
Converting the reference time of the first format represented by the counter value of the 32 + n-bit counter into the reference time of the second format represented by the counter value of a 42-bit counter having an accuracy of 1 second or less as 27 MHz A reference time conversion unit,
An information processing apparatus comprising: an initial value of a counter value of the 33-bit counter in time stamp conversion; and an initial value of a counter value of the 42-bit counter in conversion of a setting reference time.
(2)
The information processing apparatus according to (1), wherein the time stamp conversion unit generates a time stamp of a second format corrected according to the adjustment of the leap second to the time stamp of the first format. .
(3)
A processing unit that multiplexes data including a video stream and an audio stream multiplexed in the first format in the second format and generates multiplexed data according to the above (1) or (2). Information processing equipment.
(4)
The information processing apparatus according to (3), wherein the processing unit generates the multiplexed data to which a time stamp of the second format and a reference time are added.
(5)
The information processing apparatus according to (4), wherein the control unit sets initial values based on processing times of time stamp conversion processing, reference time conversion processing, and multiplexing processing.
(6)
The first format is MMT,
The information processing apparatus according to any one of (1) to (5), wherein the second format is an MPEG-2 TS.
(7)
A 33-bit counter with a first format timestamp represented by the counter value of a 32 + n-bit counter with an accuracy of 1 second or less as 2 n Hz (n is an integer of 24 or more) and an accuracy of 1 second or less with 90 kHz Convert to a second format timestamp represented by a counter value of
Converting the reference time of the first format represented by the counter value of the 32 + n-bit counter into the reference time of the second format represented by the counter value of a 42-bit counter having an accuracy of 1 second or less as 27 MHz; ,
An information processing method comprising: setting an initial value of a counter value of the 33-bit counter in time stamp conversion and an initial value of a counter value of the 42-bit counter in conversion of a reference time.
(8)
A 33-bit counter with a first format timestamp represented by the counter value of a 32 + n-bit counter with an accuracy of 1 second or less as 2 n Hz (n is an integer of 24 or more) and an accuracy of 1 second or less with 90 kHz Convert to a second format timestamp represented by a counter value of
Converting the reference time of the first format represented by the counter value of the 32 + n-bit counter into the reference time of the second format represented by the counter value of a 42-bit counter having an accuracy of 1 second or less as 27 MHz; ,
A program that causes a computer to execute a process including the steps of setting an initial value of the counter value of the 33-bit counter in time stamp conversion and an initial value of the counter value of the 42-bit counter in conversion of reference time.
(9)
A 33-bit counter with a first format timestamp represented by the counter value of a 32 + n-bit counter with an accuracy of 1 second or less as 2 n Hz (n is an integer of 24 or more) and an accuracy of 1 second or less with 90 kHz Convert to a second format timestamp represented by a counter value of
Converting the reference time of the first format represented by the counter value of the 32 + n-bit counter into the reference time of the second format represented by the counter value of a 42-bit counter having an accuracy of 1 second or less as 27 MHz; ,
The initial value of the counter value of the 33-bit counter in time stamp conversion and the initial value of the counter value of the 42-bit counter in conversion of a reference time are set,
Generating multiplexed data by multiplexing, in the second format, data including a video stream and an audio stream multiplexed in the first format;
A recording medium manufacturing method, wherein the multiplexed data is recorded on a recording medium.

1 情報処理装置, 11 記録媒体, 32 MMT信号処理部, 33 記録制御部, 51 デマルチプレクサ, 52 比較部, 53 NTPクロックカウンタ, 54 クロック変換部, 55 MMT-SI解析部, 56 映像音声同期制御部, 57 タイムスタンプ変換部, 58 MPU/MMTパケット解析部, 59 デコーダバッファ, 60 映像音声デコーダ, 61 バッファ, 62 TS化処理部, 63 制御部, 101 2Hz PLL, 102 27MHz PLL, 111 2Hz VCO, 121 分周器, 122 設定器, 123 比較器, 124 27MHz VCO, 125 STCカウンタ, 126 演算器 Reference Signs List 1 information processing apparatus, 11 recording medium, 32 MMT signal processing unit, 33 recording control unit, 51 demultiplexer, 52 comparison unit, 53 NTP clock counter, 54 clock conversion unit, 55 MMT-SI analysis unit, 56 video audio synchronous control Parts, 57 time stamp conversion part, 58 MPU / MMT packet analysis part, 59 decoder buffer, 60 video and audio decoder, 61 buffer, 62 TS processing part, 63 control part, 101 2 n Hz PLL, 102 27 MHz PLL, 111 2 n Hz VCO, 121 divider, 122 setting units, 123 comparators, 124 27 MHz VCO, 125 STC counters, 126 arithmetic units

Claims (9)

1秒以下の精度を2Hz(nは24以上の整数)とする32+nビットカウンタのカウンタ値により表される第1のフォーマットのタイムスタンプを、1秒以下の精度を90kHzとする33ビットカウンタのカウンタ値により表される第2のフォーマットのタイムスタンプに変換するタイムスタンプ変換部と、
前記32+nビットカウンタのカウンタ値により表される前記第1のフォーマットの参照時刻を、1秒以下の精度を27MHzとする42ビットカウンタのカウンタ値により表される第2のフォーマットの参照時刻に変換する参照時刻変換部と、
タイムスタンプ変換における前記33ビットカウンタのカウンタ値の初期値と、参照時刻の変換における前記42ビットカウンタのカウンタ値の初期値とをそれぞれ設定する制御部と
を備える情報処理装置。
A 33-bit counter with a first format timestamp represented by the counter value of a 32 + n-bit counter with an accuracy of 1 second or less as 2 n Hz (n is an integer of 24 or more) and an accuracy of 1 second or less with 90 kHz A time stamp conversion unit for converting into a time stamp of the second format represented by the counter value of
Converting the reference time of the first format represented by the counter value of the 32 + n-bit counter into the reference time of the second format represented by the counter value of a 42-bit counter having an accuracy of 1 second or less as 27 MHz A reference time conversion unit,
An information processing apparatus comprising: a control unit configured to set an initial value of a counter value of the 33-bit counter in time stamp conversion and an initial value of a counter value of the 42-bit counter in conversion of reference time.
前記タイムスタンプ変換部は、前記第1のフォーマットのタイムスタンプに閏秒の調整が行われたことに応じて補正した第2のフォーマットのタイムスタンプを生成する
請求項1に記載の情報処理装置。
The information processing apparatus according to claim 1, wherein the time stamp conversion unit generates a time stamp of a second format corrected according to the adjustment of the leap second to the time stamp of the first format.
前記第1のフォーマットで多重化されたビデオストリームとオーディオストリームを含むデータを、前記第2のフォーマットで多重化し、多重化データを生成する処理部をさらに備える
請求項1に記載の情報処理装置。
The information processing apparatus according to claim 1, further comprising: a processing unit that multiplexes data including a video stream and an audio stream multiplexed in the first format in the second format and generates multiplexed data.
前記処理部は、前記第2のフォーマットのタイムスタンプと参照時刻が付加された前記多重化データを生成する
請求項3に記載の情報処理装置。
The information processing apparatus according to claim 3, wherein the processing unit generates the multiplexed data to which a timestamp of the second format and a reference time are added.
前記制御部は、タイムスタンプの変換処理、参照時刻の変換処理、および多重化処理のそれぞれの処理時間に基づいて初期値を設定する
請求項4に記載の情報処理装置。
The information processing apparatus according to claim 4, wherein the control unit sets initial values based on processing times of time stamp conversion processing, reference time conversion processing, and multiplexing processing.
前記第1のフォーマットはMMTであり、
前記第2のフォーマットはMPEG-2 TSである
請求項1に記載の情報処理装置。
The first format is MMT,
The information processing apparatus according to claim 1, wherein the second format is an MPEG-2 TS.
1秒以下の精度を2Hz(nは24以上の整数)とする32+nビットカウンタのカウンタ値により表される第1のフォーマットのタイムスタンプを、1秒以下の精度を90kHzとする33ビットカウンタのカウンタ値により表される第2のフォーマットのタイムスタンプに変換し、
前記32+nビットカウンタのカウンタ値により表される前記第1のフォーマットの参照時刻を、1秒以下の精度を27MHzとする42ビットカウンタのカウンタ値により表される第2のフォーマットの参照時刻に変換し、
タイムスタンプ変換における前記33ビットカウンタのカウンタ値の初期値と、参照時刻の変換における前記42ビットカウンタのカウンタ値の初期値とをそれぞれ設定する
ステップを含む情報処理方法。
A 33-bit counter with a first format timestamp represented by the counter value of a 32 + n-bit counter with an accuracy of 1 second or less as 2 n Hz (n is an integer of 24 or more) and an accuracy of 1 second or less with 90 kHz Convert to a second format timestamp represented by a counter value of
Converting the reference time of the first format represented by the counter value of the 32 + n-bit counter into the reference time of the second format represented by the counter value of a 42-bit counter having an accuracy of 1 second or less as 27 MHz; ,
An information processing method comprising: setting an initial value of a counter value of the 33-bit counter in time stamp conversion and an initial value of a counter value of the 42-bit counter in conversion of a reference time.
1秒以下の精度を2Hz(nは24以上の整数)とする32+nビットカウンタのカウンタ値により表される第1のフォーマットのタイムスタンプを、1秒以下の精度を90kHzとする33ビットカウンタのカウンタ値により表される第2のフォーマットのタイムスタンプに変換し、
前記32+nビットカウンタのカウンタ値により表される前記第1のフォーマットの参照時刻を、1秒以下の精度を27MHzとする42ビットカウンタのカウンタ値により表される第2のフォーマットの参照時刻に変換し、
タイムスタンプ変換における前記33ビットカウンタのカウンタ値の初期値と、参照時刻の変換における前記42ビットカウンタのカウンタ値の初期値とをそれぞれ設定する
ステップを含む処理をコンピュータに実行させるプログラム。
A 33-bit counter with a first format timestamp represented by the counter value of a 32 + n-bit counter with an accuracy of 1 second or less as 2 n Hz (n is an integer of 24 or more) and an accuracy of 1 second or less with 90 kHz Convert to a second format timestamp represented by a counter value of
Converting the reference time of the first format represented by the counter value of the 32 + n-bit counter into the reference time of the second format represented by the counter value of a 42-bit counter having an accuracy of 1 second or less as 27 MHz; ,
A program that causes a computer to execute a process including the steps of setting an initial value of the counter value of the 33-bit counter in time stamp conversion and an initial value of the counter value of the 42-bit counter in conversion of reference time.
1秒以下の精度を2Hz(nは24以上の整数)とする32+nビットカウンタのカウンタ値により表される第1のフォーマットのタイムスタンプを、1秒以下の精度を90kHzとする33ビットカウンタのカウンタ値により表される第2のフォーマットのタイムスタンプに変換し、
前記32+nビットカウンタのカウンタ値により表される前記第1のフォーマットの参照時刻を、1秒以下の精度を27MHzとする42ビットカウンタのカウンタ値により表される第2のフォーマットの参照時刻に変換し、
タイムスタンプ変換における前記33ビットカウンタのカウンタ値の初期値と、参照時刻の変換における前記42ビットカウンタのカウンタ値の初期値とをそれぞれ設定し、
前記第1のフォーマットで多重化されたビデオストリームとオーディオストリームを含むデータを、前記第2のフォーマットで多重化することによって多重化データを生成し、
前記多重化データを記録媒体に記録させる
記録媒体製造方法。
A 33-bit counter with a first format timestamp represented by the counter value of a 32 + n-bit counter with an accuracy of 1 second or less as 2 n Hz (n is an integer of 24 or more) and an accuracy of 1 second or less with 90 kHz Convert to a second format timestamp represented by a counter value of
Converting the reference time of the first format represented by the counter value of the 32 + n-bit counter into the reference time of the second format represented by the counter value of a 42-bit counter having an accuracy of 1 second or less as 27 MHz; ,
The initial value of the counter value of the 33-bit counter in time stamp conversion and the initial value of the counter value of the 42-bit counter in conversion of a reference time are set,
Generating multiplexed data by multiplexing, in the second format, data including a video stream and an audio stream multiplexed in the first format;
A recording medium manufacturing method, wherein the multiplexed data is recorded on a recording medium.
JP2017082059A 2017-04-18 2017-04-18 Information processing equipment, information processing methods, programs, and recording medium manufacturing methods Active JP6957186B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017082059A JP6957186B2 (en) 2017-04-18 2017-04-18 Information processing equipment, information processing methods, programs, and recording medium manufacturing methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017082059A JP6957186B2 (en) 2017-04-18 2017-04-18 Information processing equipment, information processing methods, programs, and recording medium manufacturing methods

Publications (2)

Publication Number Publication Date
JP2018182617A true JP2018182617A (en) 2018-11-15
JP6957186B2 JP6957186B2 (en) 2021-11-02

Family

ID=64277203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017082059A Active JP6957186B2 (en) 2017-04-18 2017-04-18 Information processing equipment, information processing methods, programs, and recording medium manufacturing methods

Country Status (1)

Country Link
JP (1) JP6957186B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020108054A (en) * 2018-12-28 2020-07-09 株式会社東芝 Broadcast system, encoder, multiplexing device, multiplexing method, system switching device, and synchronization control device
JP2021040236A (en) * 2019-09-03 2021-03-11 株式会社東芝 Content transmitting device and transmitting method
JP2021040237A (en) * 2019-09-03 2021-03-11 株式会社東芝 Content transmitting device and transmitting method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020108054A (en) * 2018-12-28 2020-07-09 株式会社東芝 Broadcast system, encoder, multiplexing device, multiplexing method, system switching device, and synchronization control device
JP7210272B2 (en) 2018-12-28 2023-01-23 株式会社東芝 Broadcast system, encoder, multiplexing device, multiplexing method, system switching device, and synchronization control device
JP7447319B2 (en) 2018-12-28 2024-03-11 株式会社東芝 Multiplexing device and multiplexing method
JP2021040236A (en) * 2019-09-03 2021-03-11 株式会社東芝 Content transmitting device and transmitting method
JP2021040237A (en) * 2019-09-03 2021-03-11 株式会社東芝 Content transmitting device and transmitting method
JP7204615B2 (en) 2019-09-03 2023-01-16 株式会社東芝 CONTENT TRANSMISSION DEVICE, TRANSMISSION METHOD
JP7249916B2 (en) 2019-09-03 2023-03-31 株式会社東芝 CONTENT TRANSMISSION DEVICE, TRANSMISSION METHOD

Also Published As

Publication number Publication date
JP6957186B2 (en) 2021-11-02

Similar Documents

Publication Publication Date Title
JP7260687B2 (en) Transmission method and transmission device
JP6053686B2 (en) Methods and corresponding devices for synchronizing multimedia flows
JP6302274B2 (en) Transmitting apparatus and receiving apparatus
US11849166B2 (en) Transmitting method, receiving method, transmitting device, and receiving device
US10305617B2 (en) Transmission apparatus, transmission method, reception apparatus, and reception method
US20150181003A1 (en) Method and apparatus for transmitting and receiving packets in hybrid transmission service of mmt
WO2014188960A1 (en) Transmission device, transmission method, reception device and reception method
JP6617809B2 (en) Decoding device, decoding method, and decoding program
JP2018182677A (en) Information processing apparatus, information processing method, program, and recording medium manufacturing method
JP6957186B2 (en) Information processing equipment, information processing methods, programs, and recording medium manufacturing methods
US20240064359A1 (en) Transmitting method, receiving method, transmitting device, and receiving device
JP2018067951A (en) Decoding device, reception device, transmission device, transmission/reception system, decoding method, and storage medium storing decoding program
JP7022936B2 (en) Transmission method, reception method, transmitter and receiver
JP7034926B2 (en) Information processing equipment, information processing methods, and programs
US20180139474A1 (en) Data processing device, data processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200409

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210409

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210907

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211006

R150 Certificate of patent or registration of utility model

Ref document number: 6957186

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150