JP5863254B2 - CONVERSION DEVICE, INFORMATION DISTRIBUTION DEVICE, COMMUNICATION SYSTEM, CONTROL METHOD, AND PROGRAM - Google Patents

CONVERSION DEVICE, INFORMATION DISTRIBUTION DEVICE, COMMUNICATION SYSTEM, CONTROL METHOD, AND PROGRAM Download PDF

Info

Publication number
JP5863254B2
JP5863254B2 JP2011038101A JP2011038101A JP5863254B2 JP 5863254 B2 JP5863254 B2 JP 5863254B2 JP 2011038101 A JP2011038101 A JP 2011038101A JP 2011038101 A JP2011038101 A JP 2011038101A JP 5863254 B2 JP5863254 B2 JP 5863254B2
Authority
JP
Japan
Prior art keywords
chapter
stream data
reference time
format
information
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.)
Active
Application number
JP2011038101A
Other languages
Japanese (ja)
Other versions
JP2012175608A (en
Inventor
武徳 佐々木
武徳 佐々木
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.)
NEC Personal Computers Ltd
Original Assignee
NEC Personal Computers Ltd
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 NEC Personal Computers Ltd filed Critical NEC Personal Computers Ltd
Priority to JP2011038101A priority Critical patent/JP5863254B2/en
Publication of JP2012175608A publication Critical patent/JP2012175608A/en
Application granted granted Critical
Publication of JP5863254B2 publication Critical patent/JP5863254B2/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)
  • Information Transfer Between Computers (AREA)

Description

本発明は、各種データをMP4ファイル形式のデータに変換する技術に関する。   The present invention relates to a technique for converting various types of data into MP4 file format data.

MP4ファイル形式のデータは、各種のボックス情報で構成し、図6に示すように、ファイル識別情報を格納する『ftypボックス』、ストリームデータを格納する『mdatボックス』、ストリームデータのメタデータを格納する『moovボックス』などを有して構成している。   The MP4 file format data consists of various box information. As shown in FIG. 6, "ftyp box" for storing file identification information, "mdat box" for storing stream data, and metadata for stream data are stored. It has a “moov box” and so on.

ストリームデータは、ビデオデータやオーディオデータ、字幕データ等があり、『chunk(チャンク)』単位で『mdatボックス』に格納される。なお、ビデオデータとオーディオデータ、字幕データ等は、『mdatボックス』の中に格納される。1つの『chunk』は、複数の『sample(サンプル)』を束ねた単位のデータである。『sample』は、再生の最小単位のデータである。   The stream data includes video data, audio data, caption data, and the like, and is stored in the “mdat box” in units of “chunk”. Note that video data, audio data, caption data, and the like are stored in an “mdat box”. One “chunk” is data of a unit obtained by bundling a plurality of “samples”. “Sample” is data of the minimum unit of reproduction.

ボックス情報は、階層構造になっており、ボックス情報の中に別のボックス情報を持つ。例えば、『moovボックス』の中には、図7に示す『stblボックス』を有し、『stblボックス』は、更に階層化されており、図7に示すように、『stsdボックス』、『sttsボックス』、『stszボックス』、『stscボックス』、『stcoボックス』のボックス情報を持っている。   The box information has a hierarchical structure, and the box information has other box information. For example, the “moov box” has the “stbl box” shown in FIG. 7, and the “stbl box” is further hierarchized. As shown in FIG. 7, the “stsd box”, “stts box” It has box information of “box”, “stsz box”, “stsc box”, and “stco box”.

『stblボックス』は、mdatボックスに格納されたストリームデータのアクセス情報である。『stsdボックス』は、コーデック情報であり、ストリームデータを再生する際に参照する情報である。『sttsボックス』は、サンプル単位の時間情報である。『stszボックス』は、サンプル単位のサイズ情報である。『stscボックス』は、各チャンクを構成するサンプルの個数情報である。『stcoボックス』は、各チャンクの先頭位置情報(ftypボックス先頭からのoffset値)である。   The “stbl box” is access information of stream data stored in the mdat box. The “stsd box” is codec information, which is information that is referred to when reproducing stream data. The “stts box” is time information in units of samples. The “stsz box” is size information in units of samples. The “stsc box” is information on the number of samples constituting each chunk. The “stco box” is the head position information (offset value from the head of the ftyp box) of each chunk.

標準のMP4ファイル形式のデータは、『mdatボックス』に格納されたビデオデータとオーディオデータにアクセスするには、図7に示す『stscボックス』、『stcoボックス』、『stszボックス』の内容を参照し、この3つのボックス情報からビデオデータとオーディオデータとの位置とサイズを把握することにしている。また、データ再生時にビデオデータとオーディオデータとの同期を取るために、『sttsボックス』を参照し、再生時刻を把握することにしている。   To access video and audio data stored in the “mdat box” for standard MP4 file format data, refer to the contents of the “stsc box”, “stco box”, and “stsz box” shown in FIG. The position and size of the video data and the audio data are grasped from these three box information. Also, in order to synchronize the video data and the audio data during data reproduction, the “stts box” is referred to and the reproduction time is grasped.

なお、標準のMP4ファイル形式のデータは、チャプタ情報(チャプタ番号、再生基準時間(PTS相当)、ストリームデータの位置情報など)を持っていないため、スキップやシークなどの特殊再生を行う場合は、再生要求時に指定された再生開始時間に該当する再生開始位置を『moovボックス』に格納されるメタデータを基に特定し、その特定した再生開始位置に該当するストリームデータを『mdatボックス』の中から特定し、再生することになる。   Note that standard MP4 file format data does not have chapter information (chapter number, playback reference time (equivalent to PTS), stream data position information, etc.), so when performing special playback such as skip or seek, The playback start position corresponding to the playback start time specified at the time of playback request is specified based on the metadata stored in the “moov box”, and the stream data corresponding to the specified playback start position is specified in the “mdat box”. Will be identified and played.

具体的には、『stblボックス』を参照し、その『stblボックス』の『sttsボックス』に記述されているサンプル単位の時間と、『stscボックス』に記述されているチャンク単位のサンプル個数と、を基に、再生開始時間がどのチャンクに含まれるかを特定する(ステップS’1)。サンプル単位の時間と、チャンク単位のサンプル個数から1チャンク単位の時間が求まるため(1チャンク単位の時間=サンプル単位の時間×チャンク単位のサンプル個数)、ステップS’1の処理で再生開始時間がどのチャンクに含まれるかを特定することができる(再生開始時間≒各チャンク単位の時間(サンプル単位の時間×α)の総和)(但し、αは、サンプル数)。   Specifically, referring to the “stbl box”, the time in samples described in the “stts box” of the “stbl box”, the number of samples in chunks described in the “stsc box”, and Based on, it is specified which chunk the playback start time is included in (step S′1). Since the time in one chunk is obtained from the time in samples and the number of samples in chunks (time in one chunk = time in samples x number of samples in chunks), the playback start time in step S'1 It is possible to specify which chunk is included (reproduction start time≈total time of each chunk unit (time of sample unit × α)) (where α is the number of samples).

次に、『stco』に記述されている各チャンクの位置情報(ftypボックス先頭(=ファイル先頭)からのoffset値)を基に、ステップS’1の処理で取得したチャンクの位置情報(ftypボックス先頭からのoffset値)を特定する(ステップS’2)。ステップS’1の処理で何番目のチャンクか(α)を特定することができたため、各チャンクの位置情報(ftypボックス先頭からのoffset値)を基に、その特定したチャンクの先頭位置を特定することができる。   Next, based on the position information of each chunk described in “stco” (offset value from the ftyp box head (= file head)), the chunk position information (ftyp box) obtained in step S'1 (Offset value from the top) is specified (step S'2). Since it was possible to identify the number of chunks (α) in the process of step S'1, the start position of the specified chunk is specified based on the position information of each chunk (offset value from the top of the ftyp box) can do.

次に、『stszボックス』に記述されているサンプル単位のサイズ情報(byte)と、上記ステップS’2の処理で取得したチャンクの位置情報(ftypボックス先頭からのoffset値)と、を基に、再生開始時間に該当する再生開始位置を算出する(ステップS’3)。ステップS’2の処理でチャンクの先頭位置を特定することができ、ステップS’1の処理で何番目のサンプルか(α)を特定することができるため、ステップS’1の処理で特定したサンプルの番号(α)にサンプル単位のサイズ情報を乗算することで、再生開始時間に該当する再生開始位置を算出することができる。なお、上記処理は、ビデオデータ、オーディオデータの各々で行うことになる。   Next, based on the sample unit size information (byte) described in the “stsz box” and the chunk position information (offset value from the top of the ftyp box) obtained in the process of step S′2 above. Then, the reproduction start position corresponding to the reproduction start time is calculated (step S′3). Since the start position of the chunk can be specified by the process of step S'2, and what number sample (α) can be specified by the process of step S'1, it was specified by the process of step S'1 The reproduction start position corresponding to the reproduction start time can be calculated by multiplying the sample number (α) by the size information in units of samples. The above process is performed for each of video data and audio data.

これにより、『stblボックス』に格納されているメタデータを基に、再生要求時に指定された再生開始時間に該当する再生開始位置を特定し、ストリームデータを再生することができる。   Thereby, based on the metadata stored in the “stbl box”, it is possible to identify the reproduction start position corresponding to the reproduction start time specified at the time of the reproduction request and reproduce the stream data.

しかし、スキップやシークなどの特殊再生を行う場合は、上記処理を逐一行う必要があるため、再生を開始するまでに負荷がかかってしまう。   However, when special reproduction such as skip or seek is performed, it is necessary to perform the above-described processing one by one, and thus a load is imposed before the reproduction is started.

このようなことから、スキップやシークなどの特殊再生を行う場合に、上述した処理を逐一行うことなく、再生開始位置を把握することが可能な仕組みの開発が必要視されることになる。   For this reason, when performing special reproduction such as skip or seek, it is necessary to develop a mechanism capable of grasping the reproduction start position without performing the above-described processing one by one.

なお、MP4ファイル形式のストリームデータにおいて、上述した処理を逐一行うことなく、ストリームデータの再生開始位置を把握するには、チャプタ情報(チャプタ番号、再生基準時間(PTS相当)、ストリームデータの位置情報など)を把握する必要がある。しかし、上述したように、標準のMP4ファイル形式のストリームデータは、チャプタ情報を持っていないため、MP4ファイル形式のストリームデータに対し、チャプタ情報を埋め込むことが好ましい。即ち、MP4ファイル形式のストリームデータに対し、そのストリームデータに関係する関係情報を埋め込むことが好ましい。   In order to grasp the reproduction start position of the stream data in the MP4 file format stream data without performing the above-mentioned processes one by one, the chapter information (chapter number, reproduction reference time (corresponding to PTS), stream data position information) Etc.). However, as described above, since standard MP4 file format stream data does not have chapter information, it is preferable to embed chapter information in MP4 file format stream data. That is, it is preferable to embed related information related to the stream data in the stream data in the MP4 file format.

なお、本発明より先に出願された技術文献として、サムネイルファイルの中に、MP4ファイルの再生情報を埋め込んで記録し、サムネイルファイルを取得した時点で動画像の再生情報を取得できるようにした技術について開示された文献がある(例えば、特許文献1:特開2007-166553号公報参照)。   As a technical document filed prior to the present invention, a technique for recording reproduction information of an MP4 file in a thumbnail file by embedding and recording the reproduction information of a moving image when the thumbnail file is acquired. (For example, see Patent Document 1: Japanese Patent Laid-Open No. 2007-166553).

特開2007−166553号公報JP 2007-166553 A

上記特許文献1には、サムネイルファイルの中に、MP4ファイルの再生情報を埋め込んで記録し、サムネイルファイルを取得した時点で動画像の再生情報を取得できるようにする技術について開示されている。   Japanese Patent Application Laid-Open No. 2004-151858 discloses a technique for recording reproduction information of an MP4 file in a thumbnail file so that the reproduction information of a moving image can be acquired when the thumbnail file is acquired.

しかし、上記特許文献1のサムネイルファイルは、MP4の『moovボックス』に格納し、MP4の『moovボックス』を利用した再生を行っている。通常、『moovボックス』は、図6に示すように、『mdatボックス』の後ろに配置されることが多い。このため、上記特許文献1の発明では、『mdatボックス』の後ろに配置された『moovボックス』を読み込むまでサムネイルファイルを取得することができない。   However, the thumbnail file of Patent Document 1 is stored in the “moov box” of MP4 and is played back using the “moov box” of MP4. Normally, the “moov box” is often placed behind the “mdat box” as shown in FIG. For this reason, in the invention of Patent Document 1, a thumbnail file cannot be acquired until a “moov box” arranged behind the “mdat box” is read.

その結果、上記特許文献1の発明では、動画像を読み込んだ後に、その動画像に関する再生情報を取得することになり、動画像に関する再生情報を取得するまでに時間がかかることになる。   As a result, in the invention of the above-mentioned Patent Document 1, after reading a moving image, reproduction information related to the moving image is acquired, and it takes time to acquire reproduction information related to the moving image.

本発明は、上記事情に鑑みてなされたものであり、ストリームデータに関係する関係情報を効率的に取得することを目的とする。 The present invention has been made in view of the above circumstances, and an object thereof is to obtain the relevant information related to the stream data efficiently.

かかる目的を達成するために、本発明は、以下の特徴を有することとする。   In order to achieve this object, the present invention has the following features.

本発明にかかる変換装置は、
MPEG2−TS形式であってチャプタを有するストリームデータをMP4ファイル形式のサンプル単位にサンプル化し、サンプル単位のストリームデータを生成すると共に、各サンプルの再生基準時間を出力するフォーマット変換手段と、
前記サンプル単位のストリームデータをまとめてチャンク単位のストリームデータを生成するチャンクデータ生成手段と、
前記MPEG2−TS形式のストリームデータにおける前記チャプタと該チャプタの再生基準時間とを関連づけて記憶するチャプタテーブルを参照し、前記MPEG2−TS形式のストリームデータにおける前記チャプタの再生基準時間を読み込むチャプタ情報読込手段と、
前記フォーマット変換手段が出力する前記各サンプルの再生基準時間と、前記チャプタ情報読込手段により読み込んだ前記チャプタの再生基準時間と、を比較し、ストリームデータのメタデータを格納するmoovボックスの前に配置され、かつ、前記チャプタの再生基準時間に一致する再生基準時間に対応づけられた前記サンプルが含まれるチャンク単位のストリームデータの先頭部分に、少なくとも該チャプタを識別するチャプタ識別子と該一致する再生基準時刻とを含むチャプタマーカ情報を埋め込むマーカ生成手段と、
を有することを特徴とする。
The conversion device according to the present invention includes:
Format conversion means for sampling stream data having chapters in the MPEG2-TS format into samples in the MP4 file format, generating stream data in units of samples, and outputting a reproduction reference time of each sample;
Chunk data generating means for generating stream data in units of chunks by collecting stream data in units of samples;
Read chapter information that reads the chapter reproduction reference time in the MPEG2-TS format stream data with reference to a chapter table that stores the chapter in the MPEG2-TS format stream data in association with the chapter reproduction reference time. Means,
The playback reference time of each sample output by the format conversion means is compared with the playback reference time of the chapter read by the chapter information reading means, and is placed in front of the moov box for storing stream data metadata. And at least a chapter identifier for identifying the chapter at the beginning of the stream data in units of chunks including the sample associated with the reproduction reference time that matches the reproduction reference time of the chapter. Marker generating means for embedding chapter marker information including time, and
It is characterized by having.

本発明によれば、ストリームデータに関係する関係情報を効率的に取得することができる。   According to the present invention, related information related to stream data can be efficiently acquired.

本実施形態の通信システムのシステム構成例を示す図である。It is a figure which shows the system configuration example of the communication system of this embodiment. 本実施形態の情報配信サーバ100の内部構成例を示す図である。It is a figure which shows the internal structural example of the information delivery server 100 of this embodiment. 情報配信サーバ100を構成するMP4フォーマット変換部12の内部構成例を示す図である。3 is a diagram illustrating an internal configuration example of an MP4 format conversion unit 12 included in the information distribution server 100. FIG. チャプタマーカ情報をチャンクの先頭部分に埋め込んだ状態を示す図である。It is a figure which shows the state which embedded the chapter marker information in the head part of the chunk. MP4フォーマット変換部12の処理動作例を示す図である。6 is a diagram illustrating an example of processing operation of an MP4 format conversion unit 12. FIG. MP4ファイル形式のデータ構成例を示す図である。It is a figure which shows the data structural example of MP4 file format. stblボックスのデータ階層と、mdatボックス内のデータとstblボックスとの対応関係を示す図である。It is a figure which shows the correspondence of the data hierarchy of a stbl box, the data in a mdat box, and a stbl box.

<本実施形態の通信システムの概要>
まず、図1、図2を参照しながら、本実施形態の通信システムの概要について説明する。
<Outline of Communication System of this Embodiment>
First, the outline of the communication system of this embodiment will be described with reference to FIGS. 1 and 2.

本実施形態の通信システムは、図1に示すように、ストリームデータを配信する情報配信サーバ100と、ストリームデータを受信する端末装置200-1〜200-n(nは、任意の整数)と、を有して構成する通信システムである。   As shown in FIG. 1, the communication system of the present embodiment includes an information distribution server 100 that distributes stream data, terminal devices 200-1 to 200-n (n is an arbitrary integer) that receives stream data, It is the communication system which comprises.

本実施形態の情報配信サーバ100は、図2に示すように、ストリームデータに関係する関係情報をmdatボックスに埋め込んだMP4ファイル形式のストリームデータを生成するデータ生成部1と、MP4ファイル形式のストリームデータを配信する配信制御部2と、を有して構成する。   As shown in FIG. 2, the information distribution server 100 according to the present embodiment includes a data generation unit 1 that generates stream data in the MP4 file format in which relation information related to stream data is embedded in an mdat box, and an MP4 file format stream. And a distribution control unit 2 that distributes data.

また、本実施形態の端末装置200-1〜200-nは、MP4ファイル形式のストリームデータを受信し、MP4ファイル形式のストリームデータのmdatボックスに埋め込まれた関係情報を読み出し、関係情報を取得する。   Also, the terminal devices 200-1 to 200-n according to the present embodiment receive the MP4 file format stream data, read the relationship information embedded in the mdat box of the MP4 file format stream data, and acquire the relationship information. .

本実施形態の通信システムは、上記構成を有することで、端末装置200-1〜200-nは、ストリームデータに関係する関係情報を効率的に取得することができる。以下、添付図面を参照しながら、本実施形態の通信システムについて詳細に説明する。   The communication system according to the present embodiment has the above-described configuration, so that the terminal devices 200-1 to 200-n can efficiently acquire related information related to stream data. Hereinafter, the communication system of the present embodiment will be described in detail with reference to the accompanying drawings.

<通信システムのシステム構成例>
まず、図1を参照しながら、本実施形態の通信システムのシステム構成例について説明する。
<System configuration example of communication system>
First, a system configuration example of a communication system according to the present embodiment will be described with reference to FIG.

本実施形態の通信システムは、情報配信サーバ100と、端末装置200-1〜200-n(nは、任意の整数)と、を有して構成する。   The communication system according to this embodiment includes the information distribution server 100 and terminal devices 200-1 to 200-n (n is an arbitrary integer).

情報配信サーバ100は、各端末装置200-1〜200-nに対してストリームデータを配信する装置である。   The information distribution server 100 is a device that distributes stream data to each of the terminal devices 200-1 to 200-n.

端末装置200-1〜200-nは、情報配信サーバ100から配信されたストリームデータを受信し、該受信したストリームデータを再生する装置である。   The terminal devices 200-1 to 200-n are devices that receive stream data distributed from the information distribution server 100 and reproduce the received stream data.

<情報配信サーバ100の内部構成例>
次に、図2を参照しながら、本実施形態の情報配信サーバ100の内部構成例について説明する。
<Internal configuration example of information distribution server 100>
Next, an internal configuration example of the information distribution server 100 according to the present embodiment will be described with reference to FIG.

本実施形態の情報配信サーバ100は、データ生成部1と、配信制御部2と、を有して構成する。データ生成部1は、HDD300に格納されているMPEG2-TS形式のストリームデータをMP4ファイル形式のストリームデータに変換し、端末装置200-1〜200-nに配信するMP4ファイル形式のストリームデータを生成する。配信制御部2は、データ生成部1で生成したMP4ファイル形式のストリームデータを端末装置200-1〜200-nに配信するための配信制御を行う。端末装置200-1〜200-nにストリームデータを配信する際の配信方法は、特に限定せず、任意の配信方法が適用可能である。例えば、DTCP-IP配信などが適用可能である。   The information distribution server 100 of this embodiment includes a data generation unit 1 and a distribution control unit 2. The data generation unit 1 converts MPEG2-TS format stream data stored in the HDD 300 into MP4 file format stream data, and generates MP4 file format stream data to be distributed to the terminal devices 200-1 to 200-n. To do. The distribution control unit 2 performs distribution control for distributing the MP4 file format stream data generated by the data generation unit 1 to the terminal devices 200-1 to 200-n. The delivery method when delivering the stream data to the terminal devices 200-1 to 200-n is not particularly limited, and any delivery method can be applied. For example, DTCP-IP distribution can be applied.

HDD300には、MPEG2-TS形式のストリームデータ(録画番組A、B、C)301と、チャプタテーブル302と、が格納されている。チャプタテーブル302には、MPEG2-TS形式のストリームデータ(録画番組A、B、C)に対応するチャプタ情報(チャプタ番号、再生基準時間(PTS相当)、ストリームデータの位置情報など)を管理している。   The HDD 300 stores MPEG2-TS format stream data (recorded programs A, B, and C) 301 and a chapter table 302. The chapter table 302 manages chapter information (chapter number, playback reference time (corresponding to PTS), stream data position information, etc.) corresponding to MPEG2-TS format stream data (recorded programs A, B, and C). Yes.

データ生成部1は、暗号解除部11と、MP4フォーマット変換部12と、データ埋込部13と、暗号化部14と、を有して構成する。   The data generation unit 1 includes a descrambling unit 11, an MP4 format conversion unit 12, a data embedding unit 13, and an encryption unit 14.

暗号解除部11は、HDD300に格納されているMPEG2-TS形式のストリームデータの暗号を解除する。   The descrambling unit 11 decrypts the MPEG2-TS format stream data stored in the HDD 300.

MP4フォーマット変換部12は、暗号解除部11で暗号解除を行ったMPEG2-TS形式のストリームデータをMP4ファイル形式のストリームデータに変換する。   The MP4 format conversion unit 12 converts the MPEG2-TS stream data that has been descrambled by the descrambling unit 11 into MP4 file format stream data.

データ埋込部13は、MP4ファイル形式のストリームデータに埋め込む各種データを生成する。例えば、DTCP-IP配信を行う場合は、コピー制御情報などを生成する。   The data embedding unit 13 generates various data to be embedded in the stream data in the MP4 file format. For example, when performing DTCP-IP distribution, copy control information and the like are generated.

暗号化部14は、MP4フォーマット変換部12でフォーマット変換したMP4ファイル形式のストリームデータに対し、データ埋込部13で生成した各種データを埋め込む。また、各種データを埋め込んだMP4ファイル形式のストリームデータを暗号化し、端末装置200-1〜200-nに配信するMP4ファイル形式のストリームデータを生成する。暗号化方法は、特に限定せず、配信方式に応じて任意の暗号化が適用可能である。   The encryption unit 14 embeds various data generated by the data embedding unit 13 in the stream data of the MP4 file format converted by the MP4 format conversion unit 12. Also, the MP4 file format stream data embedded with various data is encrypted, and the MP4 file format stream data to be distributed to the terminal devices 200-1 to 200-n is generated. The encryption method is not particularly limited, and any encryption can be applied depending on the distribution method.

本実施形態のデータ生成部1は、上記構成を有することで、HDD300に格納されているMPEG2-TS形式のストリームデータをMP4ファイル形式のストリームデータに変換し、端末装置200-1〜200-nに配信するMP4ファイル形式のストリームデータを生成することができる。   The data generation unit 1 of the present embodiment has the above configuration, converts the stream data in the MPEG2-TS format stored in the HDD 300 into stream data in the MP4 file format, and the terminal devices 200-1 to 200-n MP4 file format stream data can be generated.

<MP4フォーマット変換部12の詳細構成例>
次に、図3を参照しながら、本実施形態のMP4フォーマット変換部12の詳細構成例について説明する。
<Detailed configuration example of MP4 format converter 12>
Next, a detailed configuration example of the MP4 format conversion unit 12 of the present embodiment will be described with reference to FIG.

本実施形態のMP4フォーマット変換部12は、ストリーム解析部121と、メタデータ生成部122と、フォーマット変換部123と、チャンクデータ生成部124と、アクセス情報生成部125と、チャプタ情報読込部126と、マーカ生成部127と、データ結合部128と、を有して構成する。   The MP4 format conversion unit 12 of the present embodiment includes a stream analysis unit 121, a metadata generation unit 122, a format conversion unit 123, a chunk data generation unit 124, an access information generation unit 125, and a chapter information reading unit 126. A marker generating unit 127 and a data combining unit 128.

ストリーム解析部121は、MP4フォーマット変換部12が受け付けたMPEG2-TS形式のストリームデータを解析する。   The stream analysis unit 121 analyzes the MPEG2-TS format stream data received by the MP4 format conversion unit 12.

メタデータ生成部122は、ストリーム解析部121の解析結果を基に、メタデータを生成する。メタデータは、moovボックス用のデータである。   The metadata generation unit 122 generates metadata based on the analysis result of the stream analysis unit 121. Metadata is data for the moov box.

フォーマット変換部123は、MPEG2-TS形式のストリームデータをMP4サンプル形式のストリームデータに変換する。これにより、サンプル単位のビデオデータとオーディオデータとを生成することができる。フォーマット変換部123は、MPEG2-TS形式のストリームデータに含まれるPTSを管理し、サンプル単位のビデオデータとオーディオデータで同期をとれるように時間情報を管理する。   The format conversion unit 123 converts the MPEG2-TS format stream data into the MP4 sample format stream data. Thereby, video data and audio data in units of samples can be generated. The format converter 123 manages the PTS included in the MPEG2-TS stream data, and manages time information so that the video data and audio data in units of samples can be synchronized.

チャンクデータ生成部124は、フォーマット変換部123でサンプル化したサンプル単位のストリームデータから、複数個のサンプルで構成するチャンクデータを生成する。これにより、チャンク単位のビデオデータとオーディオデータとを生成することができる。チャンク単位に区分する方法としては、MPEG2-TS形式のストリームデータの場合、1GOP単位に相当するサンプルを1チャンク単位のサンプルとして区分する。なお、1チャンク単位のチャンクサイズ(サンプル個数)は、予めデフォルトとして設定しても良く、また、ストリームデータを配信する配信先の端末装置200-nの要求に応じて動的に変更することも可能である。   The chunk data generation unit 124 generates chunk data composed of a plurality of samples from the sample-unit stream data sampled by the format conversion unit 123. Thereby, video data and audio data in units of chunks can be generated. As a method of dividing into chunk units, in the case of MPEG2-TS format stream data, a sample corresponding to one GOP unit is divided into samples of one chunk unit. Note that the chunk size (number of samples) in units of chunks may be set as a default in advance, or may be dynamically changed according to a request from the terminal device 200-n that is a delivery destination for delivering stream data. Is possible.

アクセス情報生成部125は、チャンクデータ生成部124で生成したチャンク単位のストリームデータにアクセスする際に必要なアクセス情報を生成する。アクセス情報は、stblボックス用のデータである。   The access information generation unit 125 generates access information necessary for accessing the chunk-unit stream data generated by the chunk data generation unit 124. The access information is data for the stbl box.

チャプタ情報読込部126は、チャプタテーブル302を参照し、MPEG2-TS形式のストリームデータに対応するチャプタ情報(チャプタ番号、再生基準時間(PTS相当)、ストリームデータの位置情報など)を読み込む。例えば、ストリーム解析部121で解析したMPEG2-TS形式のストリームデータが録画番組Aに該当する場合は、その録画番組Aに対応するチャプタ情報を読み込む。   The chapter information reading unit 126 refers to the chapter table 302 and reads chapter information (chapter number, playback reference time (corresponding to PTS), position information of stream data, etc.) corresponding to MPEG2-TS format stream data. For example, when the MPEG2-TS stream data analyzed by the stream analysis unit 121 corresponds to the recorded program A, the chapter information corresponding to the recorded program A is read.

マーカ生成部127は、チャプタ情報読込部126が読み込んだチャプタ情報を基に、チャプタマーカ情報(チャプタ番号、再生基準時間(PTS相当)、次のチャプタ位置情報(次のチャプタマーカ位置情報)など)を生成し、その生成したチャプタマーカ情報を、チャプタ情報に対応するチャンクデータの先頭部分に埋め込む。マーカ生成部127は、フォーマット変換部123で管理する各サンプルのPTSと、チャプタ情報のPTSと、を比較し、チャプタ情報のPTSに一致するサンプルのPTSが含まれるチャンクデータの先頭部分にチャプタマーカ情報を埋め込む。これにより、図4に示すように、チャプタマーカ情報をチャンクの先頭部分に埋め込むことができる。   Based on the chapter information read by the chapter information reading unit 126, the marker generation unit 127 includes chapter marker information (chapter number, reproduction reference time (equivalent to PTS), next chapter position information (next chapter marker position information), etc.) And the generated chapter marker information is embedded in the head portion of the chunk data corresponding to the chapter information. The marker generation unit 127 compares the PTS of each sample managed by the format conversion unit 123 with the PTS of the chapter information, and the chapter marker is included at the beginning of the chunk data including the PTS of the sample that matches the PTS of the chapter information. Embed information. Thereby, as shown in FIG. 4, chapter marker information can be embedded in the head part of a chunk.

データ結合部128は、メタデータ生成部122で生成したメタデータと、アクセス情報生成部125で生成したアクセス情報と、チャンクデータ生成部124で生成したチャンクデータと、を結合し、MP4ファイル形式のストリームデータを生成する。これにより、データ結合部128は、ftyp,mdat,moov,stblなどのボックス情報を結合することができる。   The data combining unit 128 combines the metadata generated by the metadata generating unit 122, the access information generated by the access information generating unit 125, and the chunk data generated by the chunk data generating unit 124, and the MP4 file format Generate stream data. As a result, the data combining unit 128 can combine box information such as ftyp, mdat, moov, and stbl.

本実施形態のMP4フォーマット変換部12は、上記構成を有することで、MPEG2-TS形式のストリームデータをMP4ファイル形式のストリームデータに変換することができる。また、MP4フォーマット変換部12は、MPEG2-TS形式のストリームデータをMP4ファイル形式のストリームデータに変換する際に、MPEG2-TS形式のストリームデータに対応するチャプタ情報(チャプタ番号、再生基準時間(PTS相当)、ストリームデータの位置情報など)を基に、チャプタマーカ情報(チャプタ番号、再生基準時間(PTS相当)、次のチャプタ位置情報(次のチャプタマーカ位置情報)など)を生成し、チャプタ情報に対応するチャンクの先頭部分にチャプタマーカ情報を埋め込むことができる。   The MP4 format conversion unit 12 of the present embodiment has the above-described configuration, and can convert MPEG2-TS format stream data to MP4 file format stream data. Also, the MP4 format conversion unit 12 converts the MPEG2-TS format stream data into the MP4 file format stream data, so that the chapter information corresponding to the MPEG2-TS format stream data (chapter number, playback reference time (PTS Equivalent), stream data position information, etc.) to generate chapter marker information (chapter number, playback reference time (equivalent to PTS), next chapter position information (next chapter marker position information), etc.) Chapter marker information can be embedded at the head of the chunk corresponding to.

<MP4フォーマット変換部12の処理動作例>
次に、図5を参照しながら、MP4フォーマット変換部12の処理動作例について詳細に説明する。
<Example of processing operation of MP4 format converter 12>
Next, an example of processing operation of the MP4 format conversion unit 12 will be described in detail with reference to FIG.

ストリーム解析部121は、MPEG2-TS形式のストリームデータを解析する(ステップS1)。   The stream analysis unit 121 analyzes MPEG2-TS format stream data (step S1).

メタデータ生成部122は、ストリーム解析部121の解析結果を基にメタデータを生成する(ステップS2)。   The metadata generation unit 122 generates metadata based on the analysis result of the stream analysis unit 121 (step S2).

フォーマット変換部123は、MPEG2-TS形式のストリームデータをサンプル単位にサンプル化し、サンプル単位のビデオデータとオーディオデータとを生成する(ステップS3)。   The format conversion unit 123 samples the MPEG2-TS format stream data in units of samples, and generates video data and audio data in units of samples (step S3).

チャンクデータ生成部124は、フォーマット変換部123でサンプル化したサンプル単位のストリームデータをチャンク単位に区分し、複数個のサンプルで構成するチャンクデータを生成する(ステップS4)。これにより、チャンク単位のビデオデータとオーディオデータとを生成することができる。   The chunk data generation unit 124 divides the sample-unit stream data sampled by the format conversion unit 123 into chunk units, and generates chunk data including a plurality of samples (step S4). Thereby, video data and audio data in units of chunks can be generated.

次に、アクセス情報生成部125は、チャンクデータ生成部124で生成したチャンク単位のストリームデータにアクセスする際に必要なアクセス情報を生成する(ステップS5)。   Next, the access information generation unit 125 generates access information necessary for accessing the chunk-unit stream data generated by the chunk data generation unit 124 (step S5).

また、チャプタ情報読込部126は、チャプタテーブル302を参照し、MPEG2-TS形式のストリームデータに対応するチャプタ情報(チャプタ番号、再生基準時間(PTS相当)、ストリームデータの位置情報など)を読み込む(ステップS6)。   The chapter information reading unit 126 refers to the chapter table 302 and reads chapter information (chapter number, playback reference time (corresponding to PTS), position information of stream data, etc.) corresponding to MPEG2-TS format stream data ( Step S6).

マーカ生成部127は、チャプタ情報読込部126が読み込んだチャプタ情報を基に、チャンクデータ生成部124で生成したチャンク単位のストリームデータがチャプタ位置に該当するか否かを判断し(ステップS7)、チャプタ位置に該当する場合は(ステップS7/Yes)、チャプタ情報読込部126が読み込んだチャプタ情報を基に、チャプタマーカ情報(チャプタ番号、再生基準時間(PTS相当)、次のチャプタ位置情報(次のチャプタマーカ位置情報)など)を生成し、その生成したチャプタマーカ情報を、チャンクデータの先頭部分に埋め込み(ステップS8)、データの多重化を行う(ステップS9)。また、マーカ生成部127は、チャンクデータ生成部124で生成したチャンク単位のストリームデータがチャプタ位置に該当しない場合は(ステップS7/No)、ステップS8のチャプタマーカ情報の生成と埋め込みを行わず、データの多重化を行う(ステップS9)。   Based on the chapter information read by the chapter information reading unit 126, the marker generation unit 127 determines whether or not the chunk unit stream data generated by the chunk data generation unit 124 corresponds to the chapter position (step S7). When it corresponds to the chapter position (step S7 / Yes), based on the chapter information read by the chapter information reading unit 126, the chapter marker information (chapter number, playback reference time (corresponding to PTS), next chapter position information (next Etc.), and the generated chapter marker information is embedded in the head portion of the chunk data (step S8), and the data is multiplexed (step S9). In addition, when the chunk unit stream data generated by the chunk data generation unit 124 does not correspond to the chapter position (step S7 / No), the marker generation unit 127 does not generate and embed chapter marker information in step S8, Data multiplexing is performed (step S9).

データ結合部128は、データが終端か否かを判定し(ステップS10)、データが終端でない場合は(ステップS10/No)、ステップS4,ステップS5に移行し、チャンクデータ生成部124は、チャンク単位のストリームデータを生成し(ステップS4)、チャプタ情報読込部126は、チャプタ情報の読み込みを行う(ステップS6)。   The data combining unit 128 determines whether or not the data is at the end (step S10). If the data is not at the end (step S10 / No), the process proceeds to step S4 and step S5, and the chunk data generation unit 124 Unit stream data is generated (step S4), and the chapter information reading unit 126 reads chapter information (step S6).

また、データ結合部128は、データが終端である場合は(ステップS10/Yes)、メタデータ生成部122で生成したメタデータと、アクセス情報生成部125で生成したアクセス情報と、チャンクデータ生成部124で生成したチャンクデータと、を結合し(ステップS11)、MP4ファイル形式のストリームデータを生成する。これにより、MP4フォーマット変換部12は、MPEG2-TS形式のストリームデータをMP4ファイル形式のストリームデータに変換する際に、MPEG2-TS形式のストリームデータに対応するチャプタ情報(チャプタ番号、再生基準時間(PTS相当)、ストリームデータの位置情報など)を基に、チャプタマーカ情報(チャプタ番号、再生基準時間(PTS相当)、次のチャプタ位置情報(次のチャプタマーカ位置情報)など)を生成し、チャプタ情報に対応するチャンクの先頭部分にチャプタマーカ情報を埋め込むことができる。   Further, when the data is the end (step S10 / Yes), the data combining unit 128, the metadata generated by the metadata generating unit 122, the access information generated by the access information generating unit 125, and the chunk data generating unit The chunk data generated in 124 is combined (step S11), and stream data in the MP4 file format is generated. Thereby, the MP4 format conversion unit 12 converts the MPEG2-TS format stream data into the MP4 file format stream data, so that the chapter information (chapter number, reproduction reference time ( Chapter marker information (chapter number, playback reference time (equivalent to PTS), next chapter position information (next chapter marker position information), etc.) is generated based on Chapter marker information can be embedded at the head of the chunk corresponding to the information.

<端末装置200-nの処理動作例>
次に、本実施形態の端末装置200-nの処理動作例について説明する。
<Example of processing operation of terminal device 200-n>
Next, a processing operation example of the terminal device 200-n according to the present embodiment will be described.

端末装置200-nは、MP4ファイル形式のストリームデータを情報配信サーバ100から受信した場合に、そのストリームデータを解析し、mdatボックスに含まれるチャプタマーカ情報(チャプタ番号、再生基準時間(PTS相当)、次のチャプタ位置情報(次のチャプタマーカ位置情報)など)を読み込んで取得する。これにより、端末装置200-nは、チャプタマーカ情報を基に、ストリームデータの再生開始位置を取得することができる。   When the terminal device 200-n receives MP4 file format stream data from the information distribution server 100, the terminal device 200-n analyzes the stream data, and chapter marker information (chapter number, playback reference time (corresponding to PTS) included in the mdat box Next chapter position information (next chapter marker position information) is read and acquired. Thereby, the terminal device 200-n can acquire the reproduction start position of the stream data based on the chapter marker information.

なお、mdatボックスに含まれるチャプタマーカ情報を読み込む機能を実装していない既存の端末装置の場合には、従来と同様にmadatボックスに含まれるチャプタマーカ情報を認識せずに無視することになる。このため、チャプタマーカ情報をmdatボックスに含んだMP4ファイル形式のストリームデータを既存の端末装置に配信しても、既存の端末装置は、従来と同様に問題なくストリームデータの再生処理を行うことができる。但し、既存の端末装置においてスキップやシークなどの特殊再生を行う場合は、従来と同様にmoovボックスに含まれるメタデータを基に、再生開始位置を特定することになる。   In the case of an existing terminal device that does not have a function for reading chapter marker information included in the mdat box, the chapter marker information included in the madat box is not recognized and ignored as in the conventional case. For this reason, even if MP4 file format stream data containing chapter marker information in the mdat box is distributed to an existing terminal device, the existing terminal device can perform the reproduction processing of the stream data without any problem as before. it can. However, when special playback such as skip or seek is performed in an existing terminal device, the playback start position is specified based on the metadata included in the moov box as in the conventional case.

<本実施形態の通信システムの作用・効果>
このように、本実施形態の情報配信サーバ100は、ストリームデータに関係するチャプタマーカ情報をmdatボックスに埋め込んだMP4ファイル形式のストリームデータを生成し、該生成したMP4ファイル形式のストリームデータを端末装置200-1〜200-nに配信し、端末装置200-1〜200-nは、MP4ファイル形式のストリームデータを受信し、MP4ファイル形式のストリームデータのmdatボックスに埋め込まれたチャプタマーカ情報を読み出し、チャプタマーカ情報を取得する。これにより、端末装置200-1〜200-nは、ストリームデータに関係するチャプタマーカ情報を効率的に取得することができる。その結果、端末装置200-1〜200-nは、チャプタマーカ情報を基に、ストリームデータの再生開始位置を取得することができる。
<Operation / Effect of Communication System of this Embodiment>
As described above, the information distribution server 100 according to the present embodiment generates the MP4 file format stream data in which the chapter marker information related to the stream data is embedded in the mdat box, and the generated MP4 file format stream data is the terminal device. 200-1 to 200-n, the terminal devices 200-1 to 200-n receive the MP4 file format stream data, and read the chapter marker information embedded in the mdat box of the MP4 file format stream data The chapter marker information is acquired. Thereby, the terminal devices 200-1 to 200-n can efficiently acquire chapter marker information related to the stream data. As a result, the terminal devices 200-1 to 200-n can acquire the reproduction start position of the stream data based on the chapter marker information.

なお、上述する実施形態は、本発明の好適な実施形態であり、上記実施形態のみに本発明の範囲を限定するものではなく、本発明の要旨を逸脱しない範囲において種々の変更を施した形態での実施が可能である。   The above-described embodiment is a preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiment alone, and various modifications are made without departing from the gist of the present invention. Implementation is possible.

例えば、上述した本実施形態の通信システムを構成する各装置における制御動作は、ハードウェア、または、ソフトウェア、あるいは、両者の複合構成を用いて実行することも可能である。   For example, the control operation in each device configuring the communication system of the present embodiment described above can be executed using hardware, software, or a combined configuration of both.

なお、ソフトウェアを用いて処理を実行する場合には、処理シーケンスを記録したプログラムを、専用のハードウェアに組み込まれているコンピュータ内のメモリにインストールして実行させることが可能である。あるいは、各種処理が実行可能な汎用コンピュータにプログラムをインストールして実行させることが可能である。   In the case of executing processing using software, it is possible to install and execute a program in which a processing sequence is recorded in a memory in a computer incorporated in dedicated hardware. Alternatively, the program can be installed and executed on a general-purpose computer capable of executing various processes.

例えば、プログラムは、記録媒体としてのハードディスクやROM(Read Only Memory)に予め記録しておくことが可能である。あるいは、プログラムは、リムーバブル記録媒体に、一時的、あるいは、永続的に格納(記録)しておくことが可能である。このようなリムーバブル記録媒体は、いわゆるパッケージソフトウエアとして提供することが可能である。なお、リムーバブル記録媒体としては、フロッピー(登録商標)ディスク、CD-ROM(Compact Disc Read Only Memory)、MO(Magneto optical)ディスク、DVD(Digital Versatile Disc)、磁気ディスク、半導体メモリなどが挙げられる。   For example, the program can be recorded in advance on a hard disk or ROM (Read Only Memory) as a recording medium. Alternatively, the program can be stored (recorded) temporarily or permanently in a removable recording medium. Such a removable recording medium can be provided as so-called package software. Examples of the removable recording medium include a floppy (registered trademark) disk, a CD-ROM (Compact Disc Read Only Memory), an MO (Magneto optical) disk, a DVD (Digital Versatile Disc), a magnetic disk, and a semiconductor memory.

なお、プログラムは、上述したようなリムーバブル記録媒体からコンピュータにインストールすることになる。また、ダウンロードサイトから、コンピュータに無線転送することになる。また、ネットワークを介して、コンピュータに有線で転送することになる。   The program is installed in the computer from the removable recording medium as described above. In addition, it is wirelessly transferred from the download site to the computer. In addition, it is transferred to the computer via a network by wire.

また、本実施形態における情報配信サーバ100や端末装置200-nは、上記実施形態で説明した処理動作に従って時系列的に実行されるのみならず、処理を実行する装置の処理能力、あるいは、必要に応じて並列的にあるいは個別に実行するように構築することも可能である。   In addition, the information distribution server 100 and the terminal device 200-n in the present embodiment are not only executed in time series according to the processing operation described in the above embodiment, but also the processing capability of the device that executes the processing or necessary It is also possible to construct to execute in parallel or individually according to the above.

100 情報配信サーバ(情報配信装置)
1 データ生成部
11 暗号解除部
12 MP4フォーマット変換部(変換装置)
121 ストリーム解析部
122 メタデータ生成部
123 フォーマット変換部
124 チャンクデータ生成部
125 アクセス情報生成部
126 チャプタ情報読込部
127 マーカ生成部
128 データ結合部
13 データ埋込部
14 暗号化部
2 配信制御部
200−1〜n 端末装置
300 HDD
301 ストリームデータ
302 チャプタテーブル
100 Information distribution server (information distribution device)
1 Data generator 11 Decryptor 12 MP4 format converter (conversion device)
121 Stream analysis unit 122 Metadata generation unit 123 Format conversion unit 124 Chunk data generation unit 125 Access information generation unit 126 Chapter information reading unit 127 Marker generation unit 128 Data combination unit 13 Data embedding unit 14 Encryption unit 2 Distribution control unit 200 -1 to n terminal device 300 HDD
301 Stream data 302 Chapter table

Claims (7)

MPEG2−TS形式であってチャプタを有するストリームデータをMP4ファイル形式のサンプル単位にサンプル化し、サンプル単位のストリームデータを生成すると共に、各サンプルの再生基準時間を出力するフォーマット変換手段と、
前記サンプル単位のストリームデータをまとめてチャンク単位のストリームデータを生成するチャンクデータ生成手段と、
前記MPEG2−TS形式のストリームデータにおける前記チャプタと該チャプタの再生基準時間とを関連づけて記憶するチャプタテーブルを参照し、前記MPEG2−TS形式のストリームデータにおける前記チャプタの再生基準時間を読み込むチャプタ情報読込手段と、
前記フォーマット変換手段が出力する前記各サンプルの再生基準時間と、前記チャプタ情報読込手段により読み込んだ前記チャプタの再生基準時間と、を比較し、ストリームデータのメタデータを格納するmoovボックスの前に配置され、かつ、前記チャプタの再生基準時間に一致する再生基準時間に対応づけられた前記サンプルが含まれるチャンク単位のストリームデータの先頭部分に、少なくとも該チャプタを識別するチャプタ識別子と該一致する再生基準時刻とを含むチャプタマーカ情報を埋め込むマーカ生成手段と、
を有することを特徴とする変換装置。
Format conversion means for sampling stream data having chapters in the MPEG2-TS format into samples in the MP4 file format, generating stream data in units of samples, and outputting a reproduction reference time of each sample;
Chunk data generating means for generating stream data in units of chunks by collecting stream data in units of samples;
Read chapter information that reads the chapter reproduction reference time in the MPEG2-TS format stream data with reference to a chapter table that stores the chapter in the MPEG2-TS format stream data in association with the chapter reproduction reference time. Means,
The playback reference time of each sample output by the format conversion means is compared with the playback reference time of the chapter read by the chapter information reading means, and is placed in front of the moov box for storing stream data metadata. And at least a chapter identifier for identifying the chapter at the beginning of the stream data in units of chunks including the sample associated with the reproduction reference time that matches the reproduction reference time of the chapter. Marker generating means for embedding chapter marker information including time, and
The conversion apparatus characterized by having.
前記マーカ生成手段は、
前記チャプタ情報読込手段により読み込んだ前記チャプタを基に、前記チャンクデータ生成手段により生成したチャンク単位のストリームデータがチャプタ位置に該当するか否かを判断し、チャプタ位置に該当する場合は、前記チャプタマーカ情報を生成し、該生成したチャプタマーカ情報を、チャンク単位のストリームデータの先頭部分に埋め込み、前記チャンクデータ生成手段により生成したチャンク単位のストリームデータがチャプタ位置に該当しない場合は、前記チャプタマーカ情報の生成と埋め込みを行わない、ことを特徴とする請求項1記載の変換装置。
The marker generating means includes
Based on the chapter read by the chapter information reading means, it is determined whether or not the chunk unit stream data generated by the chunk data generating means corresponds to a chapter position. When the marker information is generated, the generated chapter marker information is embedded in the head portion of the stream data in chunk units, and the stream data in chunk units generated by the chunk data generation means does not correspond to the chapter position, the chapter marker The conversion apparatus according to claim 1, wherein information is not generated and embedded.
MPEG2−TS形式のストリームデータと、前記チャプタテーブルと、を記憶する記憶手段を有し、
前記フォーマット変換手段は、
前記記憶手段に記憶されている前記MPEG2−TS形式のストリームデータをMP4ファイル形式のサンプル単位にサンプル化する、ことを特徴とする請求項1または2記載の変換装置。
Storage means for storing MPEG2-TS stream data and the chapter table;
The format conversion means includes
3. The conversion apparatus according to claim 1, wherein the stream data in the MPEG2-TS format stored in the storage means is sampled in units of samples in the MP4 file format.
請求項1から3の何れか1項に記載の変換装置を有する情報配信装置であって、
前記チャンクデータ生成手段で生成したチャンク単位のストリームデータを基に、MP4ファイル形式のストリームデータを生成し、該生成したMP4ファイル形式のストリームデータを配信することを特徴とする情報配信装置。
An information distribution device having the conversion device according to any one of claims 1 to 3,
An information distribution apparatus that generates MP4 file format stream data based on chunk-unit stream data generated by the chunk data generation means, and distributes the generated MP4 file format stream data.
情報配信装置と、端末装置と、を有して構成する通信システムであって、
前記情報配信装置は、
MPEG2−TS形式であってチャプタを有するストリームデータをMP4ファイル形式のサンプル単位にサンプル化し、サンプル単位のストリームデータを生成すると共に、各サンプルの再生基準時間を出力するフォーマット変換手段と、
前記サンプル単位のストリームデータをまとめてチャンク単位のストリームデータを生成するチャンクデータ生成手段と、
前記MPEG2−TS形式のストリームデータにおける前記チャプタと該チャプタの再生基準時間とを関連づけて記憶するチャプタテーブルを参照し、前記MPEG2−TS形式のストリームデータにおける前記チャプタの再生基準時間を読み込むチャプタ情報読込手段と、
前記フォーマット変換手段が出力する前記各サンプルの再生基準時間と、前記チャプタ情報読込手段により読み込んだ前記チャプタの再生基準時間と、を比較し、ストリームデータのメタデータを格納するmoovボックスの前に配置され、かつ、前記チャプタの再生基準時間に一致する再生基準時間に対応づけられた前記サンプルが含まれるチャンク単位のストリームデータの先頭部分に、少なくとも該チャプタを識別するチャプタ識別子と該一致する再生基準時刻とを含むチャプタマーカ情報を埋め込むマーカ生成手段と、
前記チャンクデータ生成手段で生成したチャンク単位のストリームデータを基に、MP4ファイル形式のストリームデータを生成し、該生成したMP4ファイル形式のストリームデータを配信する配信制御手段と、を有し、
前記端末装置は、
前記MP4ファイル形式のストリームデータを受信し、前記MP4ファイル形式のストリームデータに埋め込まれた前記チャプタを読み出し、前記チャプタを取得することを特徴とする通信システム。
A communication system comprising an information distribution device and a terminal device,
The information distribution apparatus includes:
Format conversion means for sampling stream data having chapters in the MPEG2-TS format into samples in the MP4 file format, generating stream data in units of samples, and outputting a reproduction reference time of each sample;
Chunk data generating means for generating stream data in units of chunks by collecting stream data in units of samples;
Read chapter information that reads the chapter reproduction reference time in the MPEG2-TS format stream data with reference to a chapter table that stores the chapter in the MPEG2-TS format stream data in association with the chapter reproduction reference time. Means,
The playback reference time of each sample output by the format conversion means is compared with the playback reference time of the chapter read by the chapter information reading means, and is placed in front of the moov box for storing stream data metadata. And at least a chapter identifier for identifying the chapter at the beginning of the stream data in units of chunks including the sample associated with the reproduction reference time that matches the reproduction reference time of the chapter. Marker generating means for embedding chapter marker information including time, and
Distribution control means for generating stream data in MP4 file format based on the chunk-unit stream data generated by the chunk data generation means, and distributing the generated MP4 file format stream data;
The terminal device
A communication system that receives stream data in the MP4 file format, reads the chapter embedded in the stream data in the MP4 file format, and acquires the chapter.
変換装置の制御方法であって、
MPEG2−TS形式であってチャプタを有するストリームデータをMP4ファイル形式のサンプル単位にサンプル化し、サンプル単位のストリームデータを生成すると共に、各サンプルの再生基準時間を出力するフォーマット変換工程と、
前記サンプル単位のストリームデータをまとめてチャンク単位のストリームデータを生成するチャンクデータ生成工程と、
前記MPEG2−TS形式のストリームデータにおける前記チャプタと該チャプタの再生基準時間とを関連づけて記憶するチャプタテーブルを参照し、前記MPEG2−TS形式のストリームデータにおける前記チャプタの再生基準時間を読み込むチャプタ情報読込工程と、
前記フォーマット変換工程により出力する前記各サンプルの再生基準時間と、前記チャプタ情報読込工程により読み込んだ前記チャプタの再生基準時間と、を比較し、ストリームデータのメタデータを格納するmoovボックスの前に配置され、かつ、前記チャプタの再生基準時間に一致する再生基準時間に対応づけられた前記サンプルが含まれるチャンク単位のストリームデータの先頭部分に、少なくとも該チャプタを識別するチャプタ識別子と該一致する再生基準時刻とを含むチャプタマーカ情報を埋め込むマーカ生成工程と、を有することを特徴とする制御方法。
A control method for a conversion device,
A format conversion step of sampling stream data having a chapter in the MPEG2-TS format into samples in the MP4 file format, generating stream data in units of samples, and outputting a reproduction reference time of each sample;
Chunk data generation step of generating stream data in chunk units by collecting the stream data in sample units;
Read chapter information that reads the chapter reproduction reference time in the MPEG2-TS format stream data with reference to a chapter table that stores the chapter in the MPEG2-TS format stream data in association with the chapter reproduction reference time. Process,
The playback reference time of each sample output by the format conversion step is compared with the playback reference time of the chapter read by the chapter information reading step, and is placed in front of the moov box for storing stream data metadata. And at least a chapter identifier for identifying the chapter at the beginning of the stream data in units of chunks including the sample associated with the reproduction reference time that matches the reproduction reference time of the chapter. And a marker generation step of embedding chapter marker information including the time.
MPEG2−TS形式であってチャプタを有するストリームデータをMP4ファイル形式のサンプル単位にサンプル化し、サンプル単位のストリームデータを生成すると共に、各サンプルの再生基準時間を出力するフォーマット変換処理と、
前記サンプル単位のストリームデータをまとめてチャンク単位のストリームデータを生成するチャンクデータ生成処理と、
前記MPEG2−TS形式のストリームデータにおける前記チャプタと該チャプタの再生基準時間とを関連づけて記憶するチャプタテーブルを参照し、前記MPEG2−TS形式のストリームデータにおける前記チャプタの再生基準時間を読み込むチャプタ情報読込処理と、
前記フォーマット変換処理により出力する前記各サンプルの再生基準時間と、前記チャプタ情報読込処理により読み込んだ前記チャプタの再生基準時間と、を比較し、ストリームデータのメタデータを格納するmoovボックスの前に配置され、かつ、前記チャプタの再生基準時間に一致する再生基準時間に対応づけられた前記サンプルが含まれるチャンク単位のストリームデータの先頭部分に、少なくとも該チャプタを識別するチャプタ識別子と該一致する再生基準時刻とを含むチャプタマーカ情報を埋め込むマーカ生成処理と、をコンピュータに実行させることを特徴とするプログラム。
Sample conversion of MPEG2-TS format stream data into MP4 file format samples, generates stream data in units of samples, and outputs a playback reference time for each sample;
Chunk data generation processing for generating stream data in units of chunks by collecting the stream data in units of samples;
Read chapter information that reads the chapter reproduction reference time in the MPEG2-TS format stream data with reference to a chapter table that stores the chapter in the MPEG2-TS format stream data in association with the chapter reproduction reference time. Processing,
The playback reference time of each sample output by the format conversion process is compared with the playback reference time of the chapter read by the chapter information reading process, and placed before the moov box for storing the metadata of the stream data And at least a chapter identifier for identifying the chapter at the beginning of the stream data in units of chunks including the sample associated with the reproduction reference time that matches the reproduction reference time of the chapter. A program for causing a computer to execute marker generation processing for embedding chapter marker information including time.
JP2011038101A 2011-02-24 2011-02-24 CONVERSION DEVICE, INFORMATION DISTRIBUTION DEVICE, COMMUNICATION SYSTEM, CONTROL METHOD, AND PROGRAM Active JP5863254B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011038101A JP5863254B2 (en) 2011-02-24 2011-02-24 CONVERSION DEVICE, INFORMATION DISTRIBUTION DEVICE, COMMUNICATION SYSTEM, CONTROL METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011038101A JP5863254B2 (en) 2011-02-24 2011-02-24 CONVERSION DEVICE, INFORMATION DISTRIBUTION DEVICE, COMMUNICATION SYSTEM, CONTROL METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2012175608A JP2012175608A (en) 2012-09-10
JP5863254B2 true JP5863254B2 (en) 2016-02-16

Family

ID=46978027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011038101A Active JP5863254B2 (en) 2011-02-24 2011-02-24 CONVERSION DEVICE, INFORMATION DISTRIBUTION DEVICE, COMMUNICATION SYSTEM, CONTROL METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP5863254B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015072127A1 (en) 2013-11-15 2015-05-21 パナソニック株式会社 File generation method and file generation apparatus
JP6411862B2 (en) * 2013-11-15 2018-10-24 パナソニック株式会社 File generation method and file generation apparatus
JP6467680B2 (en) * 2014-01-10 2019-02-13 パナソニックIpマネジメント株式会社 File generation method and file generation apparatus
WO2015105037A1 (en) 2014-01-10 2015-07-16 パナソニックIpマネジメント株式会社 File generation method, file generation device and recording medium
JP6489533B2 (en) 2014-07-10 2019-03-27 パナソニックIpマネジメント株式会社 Information processing method and information processing terminal
CN107079178B (en) 2014-09-26 2020-10-09 索尼公司 Information processing apparatus, information processing method, and computer program
JP6488221B2 (en) 2015-03-30 2019-03-20 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Reproduction method and reproduction apparatus
GB2567625B (en) * 2017-10-12 2020-07-15 Canon Kk Method, device, and computer program for generating timed media data

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003114845A (en) * 2001-10-03 2003-04-18 Hitachi Ltd Media conversion method and media conversion device
JP2004201266A (en) * 2002-05-28 2004-07-15 Matsushita Electric Ind Co Ltd Image data reproducing apparatus
JP2005229587A (en) * 2004-01-15 2005-08-25 Matsushita Electric Ind Co Ltd Multiplex system conversion device
JP4417272B2 (en) * 2005-02-04 2010-02-17 シャープ株式会社 Recording apparatus, reproducing apparatus, recording method, reproducing method, and recording / reproducing apparatus
JP2009070525A (en) * 2007-09-18 2009-04-02 Sony Corp Information processing device, method and program

Also Published As

Publication number Publication date
JP2012175608A (en) 2012-09-10

Similar Documents

Publication Publication Date Title
JP5863254B2 (en) CONVERSION DEVICE, INFORMATION DISTRIBUTION DEVICE, COMMUNICATION SYSTEM, CONTROL METHOD, AND PROGRAM
JP6467680B2 (en) File generation method and file generation apparatus
JP6465144B2 (en) Information processing apparatus, information recording medium, information processing system, information processing method, and program
JP4746725B1 (en) Content receiving apparatus, content reproducing apparatus, content receiving / reproducing apparatus, content receiving method, and program
US10177912B2 (en) Content individualization
JP6550055B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION RECORDING MEDIUM, INFORMATION PROCESSING METHOD, AND PROGRAM
JP6677726B2 (en) Verification of content format conversion
CN110235198B (en) Information processing apparatus, information recording medium, information processing method, and program
WO2015178112A1 (en) Information processing device, information generation device, information recording medium, information processing method, and program
JP7024787B2 (en) Information processing equipment, information processing methods, and programs
JP2017183762A (en) Video stream generation method, reproduction device, and recording medium
JP2015109131A (en) File generation method, reproduction method, file generation device, regeneration device and recording medium
WO2015105037A1 (en) File generation method, file generation device and recording medium
WO2015083354A1 (en) File generation method, playback method, file generation device, playback device, and recording medium
WO2016002127A1 (en) Mpeg-2-ts to mp4 format conversion without decryption
WO2016027426A1 (en) Video stream generation method, playback apparatus, and recording medium
JP2015153441A (en) Information processor, information recording device, information recording medium, information processing method, and program
WO2015186479A1 (en) Information processing apparatus, information recording medium, information processing method, and program
JP2015167059A (en) Information processor, information recording device, information recording medium, information processing method and program
JP2015153440A (en) Information processor, information recording device, information recording medium, information 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: 20140124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141008

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141014

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141209

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150602

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150831

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20150908

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: 20151208

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151222

R150 Certificate of patent or registration of utility model

Ref document number: 5863254

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250