JP4719506B2 - Terminal device, content reproduction method, and computer program - Google Patents

Terminal device, content reproduction method, and computer program Download PDF

Info

Publication number
JP4719506B2
JP4719506B2 JP2005147020A JP2005147020A JP4719506B2 JP 4719506 B2 JP4719506 B2 JP 4719506B2 JP 2005147020 A JP2005147020 A JP 2005147020A JP 2005147020 A JP2005147020 A JP 2005147020A JP 4719506 B2 JP4719506 B2 JP 4719506B2
Authority
JP
Japan
Prior art keywords
data
predetermined
content file
type
amount
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.)
Expired - Fee Related
Application number
JP2005147020A
Other languages
Japanese (ja)
Other versions
JP2006323678A (en
JP2006323678A5 (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005147020A priority Critical patent/JP4719506B2/en
Publication of JP2006323678A publication Critical patent/JP2006323678A/en
Publication of JP2006323678A5 publication Critical patent/JP2006323678A5/ja
Application granted granted Critical
Publication of JP4719506B2 publication Critical patent/JP4719506B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、端末装置コンテンツ再生方法、及びコンピュータプログラムに関し、さらに詳細には、動画像データ、音声データを含むマルチメディアファイル等を、ネットワークを介して再生する際に、バッファリング等の待ち時間を短縮する為に、ファイルの変換やサーバの各種設定、サーバプログラムを生成することをせずに素早い再生を可能にするために用いて好適なものである。 The present invention relates to a terminal device , a content reproduction method , and a computer program. More specifically, the present invention relates to a waiting time such as buffering when multimedia files including moving image data and audio data are reproduced via a network. In order to shorten the time, it is suitable for use in order to enable quick reproduction without file conversion, various server settings, and generation of a server program.

近年、デジタルビデオ、デジタルカメラ、PDA、携帯電話等のデジタル機器が急速に普及してきている。また、テレビ放送においてもデジタル化が進むなど、映像や音声、静止画、文字など多様なデータがデジタル形式のデータ(デジタルデータ)として取り扱い可能になってきている。このような背景から、多様なデータを統合的に扱うマルチメディア技術の開発が盛んである。また、マルチメディアの技術の中でも、デジタルデータの情報圧縮技術が重要とされており、その中においても、低速な回線からハイビジョン並の画質をカバーする非常に広いレンジを持った動画や、インタラクティブメディアを再生するための規格であるMPEG-4の標準化作業を、アイ エス オー(ISO:International Organization for Standardization)が進めている。なお、MPEG-4情報圧縮技術の詳細に関しては、本発明には直接関係ないため説明を省略する。   In recent years, digital devices such as digital video, digital cameras, PDAs, and mobile phones are rapidly spreading. Also, with the progress of digitalization in television broadcasting, various data such as video, audio, still images, and characters can be handled as digital data (digital data). Against this background, development of multimedia technology that handles various data in an integrated manner is thriving. Among multimedia technologies, information compression technology for digital data is important. Among them, video and interactive media with a very wide range covering high-definition image quality from low-speed lines. ISO (International Organization for Standardization) is working on the standardization of MPEG-4, the standard for reproducing images. The details of the MPEG-4 information compression technique are not directly related to the present invention, and thus the description thereof is omitted.

MPEG-4規格に準拠した、コンテンツの蓄積用ファイルフォーマット形式としては、ISO/IEC 14496-14により、「MP4ファイルフォーマット」が規格化されている。MP4ファイルフォーマットは、メディアに関する情報を記述するメタデータと映像や音響などの符号化されたデータであるメディアデータとから構成される。また、全ての情報は「Box」(もしくは「アトム」)と呼ばれる構造体に格納される。   The “MP4 file format” is standardized by ISO / IEC 14496-14 as a file format format for storing content that complies with the MPEG-4 standard. The MP4 file format is composed of metadata describing information about media and media data that is encoded data such as video and sound. All information is stored in a structure called “Box” (or “Atom”).

図4は、Boxのデータ構造を示している。図4に示されている通り、Box101は、sizeフィールド102、typeフィールド103、及びdataフィールド104から構成される。sizeフィールド102には、sizeフィールド102も含めたBox101全体のサイズ(バイト数)が格納され、typeフィールド103には、Box101の識別子(通常4文字のアルファベット)が格納される。そして、dataフィールド104には、実際のヘッダー情報やメディアデータが格納される。   FIG. 4 shows the data structure of the Box. As shown in FIG. 4, the Box 101 is composed of a size field 102, a type field 103, and a data field 104. The size field 102 stores the size (number of bytes) of the entire Box 101 including the size field 102, and the type field 103 stores the identifier of the Box 101 (usually an alphabet of 4 characters). The data field 104 stores actual header information and media data.

これが基本的なBox101のデータ構成であるが、この他にversionフィールド(1バイト)やflagsフィールド(3バイト)が、dataフィールド104の前に存在することもあり、これらが存在するBoxをFullBoxと呼ぶ。このようなBox構造体を用いる、先に述べたMP4ファイルフォーマットを構成するメタデータ部分をMovieBox(以下moovと称する)、メディアデータ部分をMediaDataBox(以下mdatと称する)と呼ぶ。   This is the basic data structure of Box 101. In addition, a version field (1 byte) and a flags field (3 bytes) may exist before data field 104, and the Box in which these exist is called FullBox. Call. The metadata part that makes up the above-described MP4 file format using such a Box structure is called MovieBox (hereinafter referred to as moov), and the media data part is referred to as MediaDataBox (hereinafter referred to as mdat).

また、このISO/IEC 14496-14において定義されるMP4ファイルフォーマットのBoxには、必須Boxだけではなく、必要に応じて用いてもよいオプショナルBox、あるいはユーザが自由に定義できるBoxなどが存在する。その中には例えば、FileTypeBox(以下ftypと称する)がある。ftypは、MP4ファイルの先頭にはなければならない。図5に、ftypを用いたMP4ファイルのBoxの構成の一例を示す。ftyp202は、先頭に配置しなければならないが、これ以外のmoov203や、mdat204のようなBoxに関しては配置順序は自由とされている。   In addition, the MP4 file format box defined in ISO / IEC 14496-14 includes not only an essential box but also an optional box that can be used as needed or a box that can be freely defined by the user. . Among them, for example, there is FileTypeBox (hereinafter referred to as ftyp). ftyp must be at the beginning of the MP4 file. FIG. 5 shows an example of the MP4 file Box configuration using ftyp. The ftyp 202 must be arranged at the head, but the arrangement order of other boxes such as the moov 203 and the mdat 204 is free.

また、更に、moov、mdatの詳細に関して図6を用いて解説する。説明の都合上mdat620から説明すると、mdat620には、チャンク(chunk)と呼ばれるデータ単位の連続で構成される。図6の例では、mdat620は、第1のAudioチャンク(Audioチャンク1)621、第1のVideoチャンク(Videoチャンク1)622、第2のVideoチャンク(第2のAudioチャンク2)、第2のVideoチャンク(Videoチャンク2)、・・・のように音響チャンクと映像チャンクとが交互に配置された構成を有している。   Further, the details of moov and mdat will be described with reference to FIG. For the convenience of explanation, the mdat 620 will be described. The mdat 620 is composed of a series of data units called chunks. In the example of FIG. 6, the mdat 620 includes a first audio chunk (Audio chunk 1) 621, a first Video chunk (Video chunk 1) 622, a second Video chunk (second Audio chunk 2), and a second As shown in the video chunk (Video chunk 2),..., The audio chunk and the video chunk are alternately arranged.

チャンクの順序や、mdat620内のチャンク数は自由とされている。また、1つのチャンクはサンプル(sample)と呼ばれる映像や音響データの1フレームに相当するデータ単位の連続で構成される。図6の第1のVideoチャンク(Videoチャンク1)622を例にとって説明すると、第1のVideoサンプル(Videoサンプル1)623、第2のVideoサンプル(Videoサンプル2)624、第3のVideoサンプル(Videoサンプル3)、・・・のように複数の連続するVideoサンプルから構成されている。   The order of chunks and the number of chunks in mdat 620 are set free. One chunk is composed of a series of data units corresponding to one frame of video or audio data called a sample. Referring to the first video chunk (Video chunk 1) 622 in FIG. 6 as an example, a first Video sample (Video sample 1) 623, a second Video sample (Video sample 2) 624, a third Video sample ( As shown in video sample 3),...

次に、moov601の構成を説明する。moov601は、更にBoxによる階層構造となっており、必須のBoxは全体としてのヘッダー情報を格納するMovieHeaderBox(mvhd)602と、図6に例として挙げたtrak(Audio)603と、trak(Video)604を有する複数のTrackBoxである。更にこのTrackBoxもBoxの階層構造となっており、trak(Video)604を例に挙げて下層の構造を説明する。   Next, the configuration of the moov 601 will be described. The moov 601 further has a hierarchical structure based on a Box. The essential Box is a MovieHeaderBox (mvhd) 602 that stores header information as a whole, a trak (Audio) 603 exemplified in FIG. 6, and a trak (Video). A plurality of TrackBoxes 604. Furthermore, this TrackBox also has a Box hierarchical structure, and the structure of the lower layer will be described by taking trak (Video) 604 as an example.

図6のtrak(Video)604の下層を辿ると、SampleTableBox(stbl)605が存在するのが分かる。このBox内にはmdat620の各チャンク又は各サンプルの少なくとも一方の情報を項目ごとに対応付けて格納している。stbl605が有する項目について以下に簡単に説明する。stts606はサンプルの継続時間、stsd607にはサンプル詳細情報、stsz608はサンプルサイズ、stsc609はチャンク内に含まれるサンプル数つまりフレーム数、stco610はチャンクオフセットであり、それぞれ各サンプルと対応付けて格納されている。   Tracing the lower layer of trak (Video) 604 in FIG. 6, it can be seen that SampleTableBox (stbl) 605 exists. In this Box, information of at least one of each chunk or each sample of mdat 620 is stored in association with each item. The items included in the stbl 605 will be briefly described below. stts 606 is a sample duration, stsd 607 is sample detailed information, stsz 608 is a sample size, stsc 609 is the number of samples included in a chunk, that is, the number of frames, and stco 610 is a chunk offset, which are stored in association with each sample. .

以上のような構成および情報が格納されることから、moov601の符号化データの管理情報によりmdat620の実際の符号化データを操作しながらMP4ファイルは再生可能となる。このことから、ファイルの再生時にはmdat620より前にmoov601を読み込んで再生する方が、mdat620を先に読み込み、バッファ等に溜め込んでから次にmoovを読み込み、そのmoov601をもとに再生するよりも、より早く再生されることが分かる。   Since the configuration and information as described above are stored, the MP4 file can be reproduced while manipulating the actual encoded data of mdat 620 by the management information of the encoded data of moov 601. Therefore, when playing a file, it is better to read moov 601 before mdat 620 and play it than to read mdat 620 first, store it in a buffer, etc., then read moov, and play based on moov 601. It can be seen that it is played faster.

そこで、ネットワークを介した動画像コンテンツの再生の場合を考える。サーバ装置からネットワークを介して、ユーザの要求に応じたコンテンツをクライアント端末に配信する方法には、ストリーミング型とダウンロード型とがある。ストリーミング型では、ストリーミングサーバが必要となり、サーバ側にこれらストリーミングを可能とするサーバプログラムの設定が必要となる。また、ダウンロード型では、サーバ装置に特別なサーバソフトウェアは必要なく、非常に標準的なコンピュータ環境で配信が可能である。   Therefore, consider the case of playback of moving image content via a network. There are a streaming type and a download type as a method for distributing content according to a user request from a server device to a client terminal via a network. In the streaming type, a streaming server is required, and it is necessary to set a server program that enables streaming on the server side. In the download type, no special server software is required for the server device, and distribution is possible in a very standard computer environment.

また、ダウンロード型のHTTPプロトコルを用いた場合には、通常のコンテンツファイルの先頭から順次データを転送する為、先に述べたMP4のファイル構成を考えた場合に、mdatのデータがファイルの先頭に配置されている場合には、そのデータを全て取得した上で、moov情報を取得してからでないと再生は可能とならない。   In addition, when the download type HTTP protocol is used, data is sequentially transferred from the top of a normal content file. Therefore, when considering the MP4 file structure described above, the mdat data is placed at the top of the file. In the case where it is arranged, after all the data has been acquired and the moov information has been acquired, reproduction is not possible.

図7を用いて、従来のMP4ファイルのネットワークを介したダウンロード型配信の概念を説明する。図7において、左側をClient301、右側をServer302とする。ステップ303にてClient301より、「http://xxx/a.mp4」という再生要求がServer302に送信されると、ステップ304にてServer302から、ステップ303で指定されたコンテンツファイルa.mp4の先頭よりファイル内のデータが順次送信される。つまり、mdatの符号化データから送信される。mdatの全てのデータが送信されると、ステップ305にてmoovの管理情報が送信される。Client301側では、ステップ305で送られたmoovデータを解析して初めて、再生が可能となる。それゆえに、ステップ304におけるmdatのデータの取得の間、Client301はwait状態が続くことになる。   With reference to FIG. 7, the concept of download type distribution via a network of conventional MP4 files will be described. In FIG. 7, the left side is Client 301 and the right side is Server 302. When a reproduction request “http: //xxx/a.mp4” is transmitted from the client 301 to the server 302 in step 303, the server 302 starts from the top of the content file a.mp4 specified in step 303 in step 304. The data in the file is sent sequentially. That is, it is transmitted from encoded data of mdat. When all the data of mdat is transmitted, the management information of moov is transmitted at step 305. On the client 301 side, reproduction is possible only after analyzing the moov data sent in step 305. Therefore, during the acquisition of mdat data in step 304, the client 301 is kept in the wait state.

しかし、moovがファイルの先頭にある場合には、moovを取得し終わると、mdatを全て取得し終わるのを待たずに、mdat内の符号化データの再生可能な単位を取得し終えた段階で順次再生が可能となる。つまり、ダウンロード型においてもファイル形式によってはストリーミング型に近い、素早い再生が可能となる。また、先に述べたmdatが先頭にあるファイルと比較すると、mdatのサイズが大きいほど再生開始の時間の差が大きくなると考えられる。   However, when moov is at the beginning of the file, when moov has been acquired, it is not possible to wait until all mdat has been acquired, and at the stage where the reproducible unit of encoded data in mdat has been acquired. Sequential playback is possible. That is, even in the download type, depending on the file format, quick playback close to the streaming type is possible. In addition, when compared with the file having mdat at the top as described above, it is considered that the difference in playback start time increases as the size of mdat increases.

上記ように、ネットワークを介したマルチメディアコンテンツの配信において、ストリーミング型を用いた場合には、ストリーミングサーバの設定が必要となり、ダウンロード型では、予め素早い再生が可能なように、コンテンツのファイル形式をMP4で例えると、moov、mdatの順に配置して作成しておく必要がある。万が一、このようなファイルの形式になっていない場合には、例えば、CGIのようなサーバプロセスを用意し、moov、mdatの順にファイルを変換するか、あるいは、ファイルの中身を解析し、moovの部分を先行して取得するような処理を行うことが考えられる。しかし、例にあげた両者の場合ともにサーバ側へのサーバプロセスの事前準備という作業が必要となってしまう。   As described above, in the case of using the streaming type in the distribution of multimedia contents via the network, it is necessary to set the streaming server. In the download type, the content file format is set so that quick playback is possible in advance. In the case of MP4, it is necessary to arrange and create in the order of moov and mdat. In the unlikely event that such a file format is not used, for example, a server process such as CGI is prepared, and the file is converted in the order of moov and mdat, or the contents of the file are analyzed, and moov's It is conceivable to perform a process of acquiring the part in advance. However, in both cases, the work of preparing the server process on the server side is necessary in both cases.

クライアント側、つまりユーザ側からはどんなコンテンツであれ、待ち時間は可能な限り短いことが望ましい。また、サーバ側になんらかの手を加えれば種々の方法を用いた素早いコンテンツ再生が可能な事は周知であるけれども、標準的なプロトコル及びコンピュータ環境を用いて、クライアント主導でどのようなコンテンツのファイル形式であってもより素早く再生させることができなかった。   It is desirable that the waiting time be as short as possible for any content from the client side, that is, the user side. Although it is well known that the content can be quickly played back using various methods if some modification is made on the server side, the file format of what content is driven by the client using standard protocols and computer environments. Even so, it could not be played back more quickly.

本発明は、このような問題点に鑑みてなされたものであり、ネットワークを介したマルチメディアコンテンツの再生において、サーバの各種設定やマルチメディアコンテンツファイルの変換等を行わずに、標準的な機能を用いて素早い再生を実現することを目的とする。   The present invention has been made in view of such a problem, and in the reproduction of multimedia contents via a network, standard functions without performing various settings of the server, conversion of multimedia contents files, and the like. The purpose is to realize quick playback using

本発明は上述の目的を達成するために、メタデータと、当該メタデータを用いて再生可能なメディアデータとを含むコンテンツファイルをサーバ装置から受信して再生する端末装置であって、前記コンテンツファイルの先頭から所定データ量のデータであって、当該データに続くデータの種類を示すタイプ情報と、前記コンテンツファイルの先頭から前記タイプ情報の次のタイプ情報までのデータ量に応じたサイズ情報とを含むデータを前記サーバ装置へ要求して取得する取得手段と、前記取得手段が取得したタイプ情報に基づいて、前記コンテンツファイルの前記所定データ量のデータに前記コンテンツファイルのメディアデータを再生するために用いるメタデータが続くか否かを判定する判定手段とを有し、前記取得手段は、前記取得手段が取得した前記所定データ量のデータにメタデータが続くと前記判定手段により判定された場合、前記サーバ装置から前記所定データ量のデータに続くデータをメタデータとして取得し、前記取得手段が取得した前記所定データ量のデータにメタデータが続かないと前記判定手段により判定された場合、前記コンテンツファイルの先頭から前記サイズ情報に応じたデータ量分、後の前記所定データ量のデータを、当該所定データ量のデータにメタデータが続くか否かの判定のために前記サーバ装置から取得することを特徴とする端末装置、を提供する。 In order to achieve the above-described object, the present invention is a terminal device that receives and plays back a content file including metadata and media data that can be played back using the metadata. Type information indicating the type of data following the data, and size information corresponding to the data amount from the top of the content file to the next type information of the type information. An acquisition unit that requests and acquires data including the server device, and the media data of the content file is reproduced in the predetermined amount of data of the content file based on the type information acquired by the acquisition unit. Determination means for determining whether or not the metadata to be used continues, and the acquisition means includes the acquisition procedure. When the determination unit determines that the metadata follows the predetermined amount of data acquired by the server, the data following the predetermined amount of data is acquired as metadata from the server device, and the acquisition unit acquires the data. If the determination means determines that the predetermined amount of data does not follow the metadata, the subsequent predetermined amount of data corresponding to the size information from the beginning of the content file is transferred to the predetermined amount of data. There is provided a terminal device that is obtained from the server device for determining whether or not metadata follows data of a data amount .

本発明によれば、サーバ側に対する各種設定を必要とせずに、標準的なプロトコル及びコンピュータ環境を用いてクライアント主導の動画像再生が可能となり、また、ファイルフォーマット形式に関わらず素早い再生が可能となる。   According to the present invention, it is possible to perform client-driven video playback using a standard protocol and computer environment without requiring various settings on the server side, and quick playback is possible regardless of the file format format. Become.

以下、図面を参照して本発明の実施形態について説明する。
(第1の実施形態)
図1を用いて、最も単純な構成のMP4ファイル、つまりmoovとmdatとが各1個のBoxのみからなるMP4ファイルのネットワークを介したダウンロード型配信について説明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(First embodiment)
With reference to FIG. 1, a description will be given of download-type delivery of an MP4 file having the simplest configuration, that is, an MP4 file in which moov and mdat are each composed of only one box, via a network.

まず、クライアント側においてステップS501でユーザから入力された再生したいコンテンツのURLから、配信方法(プロトコル http)と、コンテンツファイルの拡張子(.mp4)とを判別する。前記組み合わせの場合に、次に、クライアントよりステップS502にて再生をしたいコンテンツファイルのURLと、ファイルの先頭8バイトの取得要求を行う。この先頭8バイトとは、前述のBoxの説明におけるsizeフィールド(4バイト)とtypeフィールド(4バイト)の両フィールドに相当する。そして、サーバよりステップS503にてコンテンツファイルの先頭8バイトと、そのコンテンツファイルの全ファイルサイズがクライアントに送られる。   First, on the client side, the distribution method (protocol http) and the extension (.mp4) of the content file are determined from the URL of the content to be reproduced input by the user in step S501. In the case of the above combination, next, in step S502, the client requests the acquisition of the URL of the content file to be reproduced and the first 8 bytes of the file. The first 8 bytes correspond to both the size field (4 bytes) and the type field (4 bytes) in the description of the Box described above. In step S503, the server sends the first 8 bytes of the content file and the total file size of the content file to the client.

クライアントにおいて、その先頭8バイトを解析し、ステップS504においてtypeフィールドがmoovかどうか判別する。moovではない場合、つまり、本実施形態ではmdatの場合は、ステップS505で一度メモリ等にtype、sizeと取得開始位置(先頭)を格納する。その後、ステップS506において、先頭から既に取得したsize分をプラスした位置から8バイトを取得する。つまり、前述したようにmoovのデータを先行して取得したい為、先頭にmdatがある場合には、その部分を読み飛ばして次のBoxを取得するためである。   The client analyzes the first 8 bytes, and determines whether the type field is moov in step S504. If it is not moov, that is, in the case of mdat in the present embodiment, the type, size, and acquisition start position (first) are once stored in a memory or the like in step S505. After that, in step S506, 8 bytes are acquired from the position plus the size already acquired from the top. In other words, as described above, in order to obtain moov data in advance, if there is an mdat at the beginning, it skips that part and obtains the next Box.

ステップS506で取得した8バイトを解析し、再びステップS504の処理を行う。2度目に取得したtypeがmoovであった場合には、ステップS507にて、先頭のBoxか否かの判別を行う。先頭のBoxであった場合には、先頭より8バイトは既に取得している為、ステップS508において9バイト目からファイルの終端までデータを全て取得する。   The 8 bytes acquired in step S506 are analyzed, and the process of step S504 is performed again. If the type acquired for the second time is moov, it is determined in step S507 whether or not it is the top box. In the case of the top box, since 8 bytes have already been acquired from the top, all data from the 9th byte to the end of the file are acquired in step S508.

もし、ステップS507の判別において、先頭のBoxでない場合には、ステップS509にて、前の取得位置より8バイトをプラスした位置から、2度目に取得したsizeから8バイトを引いたサイズを取得する。データ部分を取得した場合には、取得サイズをGetSIZEとし、これにsizeをプラスする。ステップS510では、前述のGetSIZEと、ステップS503で取得した全ファイルサイズを比較する。これが一致しない場合には、ステップS511において、格納された取得位置から8バイトプラスした位置よりsizeから8バイトを引いたサイズ分のデータを取得する。加えてGetSIZEにsizeの加算を行う。ステップS512では、格納されたtype等の情報でデータを取得し終えた場合に、その情報の削除を行う。   If it is not the first box in the determination in step S507, in step S509, the size obtained by subtracting 8 bytes from the size acquired second time is acquired from the position obtained by adding 8 bytes to the previous acquisition position. . When the data part is acquired, the acquisition size is set to GetSIZE, and size is added to this. In step S510, the above-described GetSIZE is compared with the total file size acquired in step S503. If this is not the case, in step S511, data corresponding to the size obtained by subtracting 8 bytes from size is acquired from the position obtained by adding 8 bytes from the stored acquisition position. In addition, size is added to GetSIZE. In step S512, when the data has been acquired with the stored information such as type, the information is deleted.

最終的に再びステップS510にて、GetSIZEと全ファイルサイズとの比較を行い、一致した場合には終了となる。ファイルの取得フローチャートは以上の様になるが、再生開始ポイントは、ステップS508もしくはステップS512のmdatデータ取得のタイミングに相当する。   Finally, in step S510, GetSIZE is compared with the total file size. If they match, the process ends. Although the file acquisition flowchart is as described above, the reproduction start point corresponds to the mdat data acquisition timing in step S508 or step S512.

図2に、本実施形態における処理の概念図を示す。図2において、左側がClient401、右側がServer402とする。まず、Client401側においてユーザから入力されたURLを解析し、配信方法(http)と拡張子(.mp4)を判別し、この組み合わせの場合に、「http://xxx/a.mp4 Range:0-7」というように、レンジを指定してコンテンツファイルa.mp4の先頭8バイトの取得要求(コンテンツのレンジ指定の再生リクエスト)403をClient401よりServer402に送信する。取得要求されたコンテンツファイルa.mp4の先頭8バイト及び全ファイルサイズを含むレスポンス404がServer402より送信される。Client401ではその先頭8バイトに含まれるtypeフィールドの値を判別し、moovの位置を前工程と同様にレンジ指定の取得要求(moovの位置を指定したダウンロードリクエスト)405をClient401から送信する。Server402よりmoovの部分406が送信される。次に、Client401からmdatの位置をレンジ指定で取得要求(mdatの位置を指定したダウンロードリクエスト)407を行い、mdatの部分408がServer402から送信される。再生はClient401がmoovの部分406を取得し解析を行った後、mdatの部分408の取得において、再生可能な単位をClient401で取得した時点で再生が開始される。   FIG. 2 shows a conceptual diagram of processing in the present embodiment. In FIG. 2, the left side is Client 401 and the right side is Server 402. First, the URL input from the user is analyzed on the client 401 side, the distribution method (http) and the extension (.mp4) are determined, and in the case of this combination, “http: //xxx/a.mp4 Range: 0 -7 ”, a request for acquiring the first 8 bytes of the content file a.mp4 (a reproduction request for content range specification) 403 is transmitted from the client 401 to the server 402. A response 404 including the first 8 bytes of the content file a.mp4 requested for acquisition and the total file size is transmitted from the server 402. The client 401 discriminates the value of the type field included in the first 8 bytes, and transmits the acquisition request 405 for specifying the range of the moov position (download request specifying the position of moov) from the client 401 in the same manner as in the previous step. A moov portion 406 is transmitted from the server 402. Next, an acquisition request (download request specifying the mdat position) 407 is performed from the client 401 by specifying the range of the mdat position, and the mdat portion 408 is transmitted from the server 402. After the client 401 acquires and analyzes the moov portion 406, the playback starts when the client 401 acquires a reproducible unit in the acquisition of the mdat portion 408.

以上のように本実施形態では、コンテンツのURLを指定してダウンロード再生する際に、ダウンロードの範囲を指定しデータのタイプを判別することにより、ファイルの符号化データか管理情報か否かを判断し、先行して管理情報を取得する。管理情報が取得し終わったら、順次符号化データを取得する。取得サイズと全ファイルサイズの比較を繰り返すことにより、他ファイル情報を完全に取得する。再生に際しては、管理情報を先ず取得し解析し、該当する符号化データを再生可能な単位で入手した時点で再生が開始され、ファイルの構成順序に関わらず素早い再生が可能となる。   As described above, in this embodiment, when specifying the URL of the content to download and play, it is determined whether the data is encoded data or management information by specifying the download range and determining the data type. Then, management information is acquired in advance. When the management information has been acquired, encoded data is acquired sequentially. Other file information is completely acquired by repeating the comparison of the acquisition size and the total file size. In reproduction, management information is first obtained and analyzed, and reproduction is started when the corresponding encoded data is obtained in a reproducible unit, and quick reproduction is possible regardless of the file configuration order.

(第2の実施形態)
第1の実施形態においては、最も単純な構成であるmdatと、moovとが各1個のBoxのみからなるMP4ファイルの例を用いて説明したが、前述したようにMP4ファイルには他にftypやユーザ定義のBoxが存在したり、mdatが複数存在したりする場合がある。そのような複雑な場合において図3を用いて説明する。
(Second Embodiment)
In the first embodiment, description has been made using the example of an MP4 file in which mdat and moov, which are the simplest configurations, are each composed of only one Box, but as described above, there are other ftyp for MP4 files. In some cases, a user-defined box or a plurality of mdats exist. Such a complicated case will be described with reference to FIG.

まず、クライアント側においてステップS701でユーザから入力された再生したいコンテンツのURLから、配信方法(プロトコル http)とコンテンツファイルの拡張子(.mp4)を判別する。前記組み合わせの場合に、次に、クライアントよりステップS702にて再生をしたいコンテンツファイルのURLと、ファイルの先頭の8バイトの取得要求を行う。この先頭の8バイトとは、前述のBoxの説明におけるsizeフィールド(4バイト)とtypeフィールド(4バイト)の両フィールドに相当する。   First, on the client side, the distribution method (protocol http) and the extension (.mp4) of the content file are determined from the URL of the content to be reproduced input by the user in step S701. In the case of the above combination, next, in step S702, the client makes a request for acquiring the URL of the content file to be reproduced and the first 8 bytes of the file. The first 8 bytes correspond to both the size field (4 bytes) and the type field (4 bytes) in the description of the Box described above.

サーバよりステップS703にてコンテンツファイルの先頭の8バイトと、そのコンテンツファイルの全ファイルサイズがクライアントに送られる。この際抽出Sizeとして先行して取得した8バイトのBoxに当たる部分のsizeをプラスしておく。これは、解析したBoxを把握するためであり、後で全ファイルサイズ比較することにより抽出してtypeを解析し忘れているBoxがないかどうかの判断に使用する。   In step S703, the server sends the first 8 bytes of the content file and the total file size of the content file to the client. At this time, the size of the portion corresponding to the 8-byte box acquired in advance is added as the extracted size. This is for grasping the analyzed Box, and is used to determine whether there is a Box that is extracted by comparing all file sizes later and forgot to analyze the type.

クライアントにおいて、ステップS703で取得した先頭の8バイトを解析し、ステップS704において、typeフィールドがmoovかどうかを判別する。moovではない場合、ステップS705で一度メモリ等にtype、sizeと取得開始位置(先頭)を格納する。その後、ステップS706において、先頭から既に取得したsize分をプラスした位置から8バイトを取得する。つまり、前述したようにmoovのデータを先行して取得したい為、先頭にmdatがある場合には、その部分を読み飛ばして次のBoxを取得するためである。この際にも抽出Sizeにsizeをプラスする。   The client analyzes the first 8 bytes acquired in step S703, and determines whether the type field is moov in step S704. If it is not moov, in step S705, the type, size, and acquisition start position (first) are once stored in a memory or the like. Thereafter, in step S706, 8 bytes are acquired from the position plus the size already acquired from the top. That is, as described above, since it is desired to obtain moov data in advance, if there is an mdat at the beginning, the portion is skipped and the next box is obtained. At this time, size is added to the extracted size.

ステップS704で、取得したtypeがmoovであった場合には、ステップS707にて先頭のBoxか否かの判別を行う。先頭のBoxであった場合には、先頭より8バイトは既に取得している為、ステップS708において9バイト目からファイルの終端までデータを全て取得する。この場合には処理は以上で終了する。ステップS706で取得した8バイトを解析した場合には、再びステップS704の処理を行う。   If the acquired type is moov in step S704, it is determined in step S707 whether or not it is the top box. In the case of the top box, since 8 bytes have already been acquired from the top, all data from the 9th byte to the end of the file are acquired in step S708. In this case, the process ends here. If the 8 bytes acquired in step S706 are analyzed, the process of step S704 is performed again.

もし、ステップS704でmoov且つステップS707の判別において、先頭のBoxでない場合には、ステップS709にて、前の取得位置より8バイトをプラスした位置からsizeから8バイトを引いたサイズを取得する。データ部分を取得した場合には、取得サイズをGetSIZEとし、これにsizeをプラスする。この時点でmoovは取得し終えた為に、次にmdatをファイルの先頭に近い部分から取得していく。その為にステップS710では、メモリ上等に格納されたtypeフィールドがmdatかどうか判別する。ステップS711で格納された情報のmdat部分に当たるデータ部分をsize、取得情報からサーバより取得する。   If it is determined in step S704 that it is moov and it is not the top box in step S707, in step S709, a size obtained by subtracting 8 bytes from size is acquired from the position obtained by adding 8 bytes to the previous acquisition position. When the data part is acquired, the acquisition size is set to GetSIZE, and size is added to this. Since moov has been acquired at this point, mdat is acquired from the part near the beginning of the file. Therefore, in step S710, it is determined whether the type field stored in the memory or the like is mdat. The data portion corresponding to the mdat portion of the information stored in step S711 is acquired from the server from the size and acquisition information.

ステップS712では、取得し終えた分のメモリ上の格納情報は削除する。ステップS710〜S712の操作を行うことにより、既にtype、sizeの8バイトを取得済みの格納情報の中からmdatを検出し、サーバよりデータを全て取得する。その後ステップS713にて抽出Sizeと全ファイルサイズの比較を行う。一致しない場合には、ステップS714にて前の抽出位置から8バイトを取得し、ステップS715によりtypeがmdatかどうかを比較する。mdatではない場合には、ステップS716にてメモリ上の格納情報に追加する。   In step S712, the stored information on the memory for which acquisition has been completed is deleted. By performing the operations in steps S710 to S712, mdat is detected from the storage information that has already acquired 8 bytes of type and size, and all data is acquired from the server. In step S713, the extracted size is compared with the total file size. If they do not match, 8 bytes are acquired from the previous extraction position in step S714, and whether or not type is mdat is compared in step S715. If it is not mdat, it is added to the information stored in the memory in step S716.

ステップS715にてmdatの場合には、ステップS717にてそのデータ部分をサーバより取得する。ステップS713〜S717の処理では、コンテンツファイル内のtypeを未解析のBoxの中からmdatを全て先にサーバより取得する。ステップS713で抽出サイズと全ファイルサイズとが一致する場合には、ステップS718でメモリ上等に格納された情報が存在するかチェックし、ステップS719で存在する場合にはサーバよりそのデータ部分を取得し、ステップS720で格納情報を削除する。このステップS718〜S720を繰り返すことにより、先にtypeの解析済みのmoov、mdat以外のデータを取得する。全て取得し終えた時点でGetSIZEと全ファイルサイズが一致することを確認して処理終了となる。   In the case of mdat in step S715, the data portion is acquired from the server in step S717. In the processing of steps S713 to S717, all mdats are acquired from the server from the unanalyzed box for the type in the content file. If the extracted size matches the total file size in step S713, it is checked in step S718 whether there is information stored in the memory or the like, and if it exists in step S719, the data portion is obtained from the server. In step S720, the stored information is deleted. By repeating these steps S718 to S720, data other than the previously analyzed types moov and mdat are acquired. When all of the files have been acquired, it is confirmed that GetSIZE matches all the file sizes, and the processing ends.

ファイルの取得フローチャートは以上の様になるが、再生開始ポイントは、ステップS708もしくはステップS711もしくはステップS717のmdatのデータの取得のタイミングに相当する。   Although the file acquisition flowchart is as described above, the reproduction start point corresponds to the acquisition timing of mdat data in step S708, step S711, or step S717.

(第3の実施形態)
第1、第2の実施形態において、クライアント側でユーザから入力されたURLのコンテンツファイルを判断する際に、ファイルの拡張子(.mp4)を用いてMP4ファイルを判別していたが、他に以下の2点を例としてあげたい。
(1)typeフィールドによる解析
(2)HTTPヘッダーフォールドのメディアタイプによる解析
(Third embodiment)
In the first and second embodiments, when determining the content file of the URL input from the user on the client side, the MP4 file is determined using the file extension (.mp4). Take the following two points as an example.
(1) Analysis by type field (2) Analysis by media type of HTTP header fold

(1)typeフィールドによる解析とは、前述のISO/IEC 14496-14の「MP4ファイルフォーマット」の規格において、Box内のtypeフィールドには、ftyp、moov、mdatが存在する。これらのtypeを検出した場合に、MP4ファイルとして判断する方法がある。 (1) The analysis by the type field means that in the “MP4 file format” standard of ISO / IEC 14496-14, ftyp, moov, and mdat exist in the type field in the box. When these types are detected, there is a method of determining as an MP4 file.

(2)メディアタイプによる解析とは、HTTPプロトコルを用いた場合にヘッダーフィールド定義のおいて、Content-Typeエンティティヘッダーフィールドが存在する。これはGETリクエストがなされた場合に送られるエンティティボディのメディアタイプを示す。MP4ファイルの場合には、「Content-Type:video/mpeg4」のようなメディアタイプが取得できる為、これによって判断する方法がある。 (2) The analysis by media type includes a Content-Type entity header field in the header field definition when the HTTP protocol is used. This indicates the media type of the entity body that is sent when a GET request is made. In the case of an MP4 file, a media type such as “Content-Type: video / mpeg4” can be acquired.

(第4の実施形態)
上述した第1の実施形態、第2の実施形態、及び第3の実施形態で説明した再生方法は、moovがファイル内に先行して保存されていないコンテンツファイルにおいて、常に素早い再生を可能にするとは限らず、動画像コンテンツの撮影時間、コンテンツファイルのサイズ、mdatのサイズもしくは、コンテンツのデータレート等の要素から判断し、従来の方法と本発明の方法を選択する手段を保持することにより、より効果的に素早い再生を実現することが可能となる。
つまり、第1〜第3の実施形態は排他的なものではなく、任意の条件によって従来の方法を含めた各種方法を切り替えて実施することが可能である。
(Fourth embodiment)
The playback method described in the first embodiment, the second embodiment, and the third embodiment described above is capable of always quick playback in a content file in which moov is not stored in advance in the file. Judging from factors such as video content shooting time, content file size, mdat size, content data rate, etc., by holding means for selecting the conventional method and the method of the present invention, It becomes possible to realize a quick reproduction more effectively.
That is, the first to third embodiments are not exclusive, and various methods including a conventional method can be switched according to an arbitrary condition.

(本発明の他の実施形態)
以上、本発明をその好適な実施形態に基づいて説明してきた。しかし、斯かる実施形態は,本発明の単なる例示に過ぎず、何ら本発明を限定するものではない。例えば、本発明により生成されるファイルは、MP4ファイルに限定されず、moovのようなメタデータ情報とmdatのようなデータ情報を有する構成の他の任意のファイル再生に対しても適用可能である。また、HTTPプロトコルを用いて説明したが、ファイル内の取得レンジを指定できるような他のプロトコルに対しても適用可能である。
(Other embodiments of the present invention)
The present invention has been described based on the preferred embodiments. However, such embodiments are merely examples of the present invention and do not limit the present invention. For example, a file generated according to the present invention is not limited to an MP4 file, and can be applied to other arbitrary file playback having metadata information such as moov and data information such as mdat. . Further, although described using the HTTP protocol, the present invention can also be applied to other protocols that can specify an acquisition range in a file.

上述した実施形態の機能を実現するべく各種のデバイスを動作させるように、該各種デバイスと接続された装置あるいはシステム内のコンピュータに対し、前記実施形態の機能を実現するためのソフトウェアのプログラムコードを供給し、そのシステムあるいは装置のコンピュータ(CPUあるいはMPU)に格納されたプログラムに従って前記各種デバイスを動作させることによって実施したものも、本発明の範疇に含まれる。   In order to operate various devices to realize the functions of the above-described embodiments, program codes of software for realizing the functions of the above-described embodiments are provided to an apparatus or a computer in the system connected to the various devices. What is implemented by operating the various devices according to a program supplied and stored in a computer (CPU or MPU) of the system or apparatus is also included in the scope of the present invention.

また、この場合、前記ソフトウェアのプログラムコード自体が上述した実施形態の機能を実現することになり、そのプログラムコード自体、及びそのプログラムコードをコンピュータに供給するための手段、例えば、かかるプログラムコードを格納した記録媒体は本発明を構成する。かかるプログラムコードを記憶する記録媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   In this case, the program code of the software itself realizes the functions of the above-described embodiments, and the program code itself and means for supplying the program code to the computer, for example, the program code are stored. The recorded medium constitutes the present invention. As a recording medium for storing the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが供給されたプログラムコードを実行することにより、上述の実施形態の機能が実現されるだけでなく、そのプログラムコードがコンピュータにおいて稼働しているOS(オペレーティングシステム)あるいは他のアプリケーションソフト等と共同して上述の実施形態の機能が実現される場合にもかかるプログラムコードは本発明の実施形態に含まれることは言うまでもない。   Further, by executing the program code supplied by the computer, not only the functions of the above-described embodiments are realized, but also the OS (operating system) or other application software in which the program code is running on the computer, etc. It goes without saying that the program code is also included in the embodiment of the present invention even when the functions of the above-described embodiment are realized in cooperation with the embodiment.

さらに、供給されたプログラムコードがコンピュータの機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに格納された後、そのプログラムコードの指示に基づいてその機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって上述した実施形態の機能が実現される場合にも本発明に含まれることは言うまでもない。   Further, after the supplied program code is stored in the memory provided in the function expansion board of the computer or the function expansion unit connected to the computer, the CPU provided in the function expansion board or function expansion unit based on the instruction of the program code Needless to say, the present invention includes a case where the functions of the above-described embodiment are realized by performing part or all of the actual processing.

本発明の第1の実施形態を示し、MP4ファイルのネットワークを介したダウンロード型配信のフローチャートである。It is a flowchart of the download type delivery via the network which shows the 1st Embodiment of this invention and is an MP4 file. 本発明の第1の実施形態を示し、MP4ファイルのネットワークを介したダウンロード型配信の概念図である。It is a conceptual diagram of the download type delivery via the network of the MP4 file, showing the first embodiment of the present invention. 本発明の第2の実施形態を示し、国際標準規格の範囲の複雑なMP4ファイルのネットワークを介したダウンロード型配信のフローチャートである。It is a flowchart of the download type | mold delivery via the network of the complicated MP4 file which shows the 2nd Embodiment of this invention and is the range of an international standard. 従来の技術を示し、MP4ファイルの基本単位であるBoxの構成を示すブロック図である。It is a block diagram which shows the prior art and shows the structure of Box which is a basic unit of MP4 file. 従来の技術を示し、MP4ファイルのBoxの構成を示すブロック図である。It is a block diagram which shows the prior art and shows the structure of the Box of MP4 file. 従来の技術を示し、MP4ファイルのmoov、mdatの構成を示すブロック図である。It is a block diagram which shows the prior art and shows the structure of moov and mdat of MP4 file. 従来の技術を示し、MP4ファイルのネットワークを介したダウンロード型配信の概念図である。It is a conceptual diagram of a download type distribution through a network of MP4 files, showing a conventional technique.

符号の説明Explanation of symbols

401 クライアント
402 サーバ
403 再生リクエスト
404 レスポンス
405 ダウンロードリクエスト
406 コンテンツのmoov部分
407 ダウンロードリクエスト
408 コンテンツのmdat部分
401 Client 402 Server 403 Playback request 404 Response 405 Download request 406 Content moov part 407 Download request 408 Content mdat part

Claims (13)

メタデータと、当該メタデータを用いて再生可能なメディアデータとを含むコンテンツファイルをサーバ装置から受信して再生する端末装置であって、A terminal device that receives and reproduces a content file including metadata and media data that can be reproduced using the metadata from a server device,
前記コンテンツファイルの先頭から所定データ量のデータであって、当該データに続くデータの種類を示すタイプ情報と、前記コンテンツファイルの先頭から前記タイプ情報の次のタイプ情報までのデータ量に応じたサイズ情報とを含むデータを前記サーバ装置へ要求して取得する取得手段と、A type of data corresponding to a predetermined amount of data from the beginning of the content file, the type information indicating the type of data following the data, and a size corresponding to the amount of data from the beginning of the content file to the next type information of the type information Obtaining means for requesting and obtaining data including information from the server device;
前記取得手段が取得したタイプ情報に基づいて、前記コンテンツファイルの前記所定データ量のデータに前記コンテンツファイルのメディアデータを再生するために用いるメタデータが続くか否かを判定する判定手段とを有し、Determination means for determining whether or not the metadata used for reproducing the media data of the content file follows the predetermined amount of data of the content file based on the type information acquired by the acquisition means; And
前記取得手段は、The acquisition means includes
前記取得手段が取得した前記所定データ量のデータにメタデータが続くと前記判定手段により判定された場合、前記サーバ装置から前記所定データ量のデータに続くデータをメタデータとして取得し、When the determination unit determines that the metadata continues to the data of the predetermined data amount acquired by the acquisition unit, the data following the data of the predetermined data amount is acquired as metadata from the server device,
前記取得手段が取得した前記所定データ量のデータにメタデータが続かないと前記判定手段により判定された場合、前記コンテンツファイルの先頭から前記サイズ情報に応じたデータ量分、後の前記所定データ量のデータを、当該所定データ量のデータにメタデータが続くか否かの判定のために前記サーバ装置から取得することを特徴とする端末装置。When the determination unit determines that metadata does not follow the data of the predetermined data amount acquired by the acquisition unit, the predetermined data amount after the data amount corresponding to the size information from the top of the content file The terminal device is characterized in that the data is acquired from the server device for determining whether or not the metadata follows the predetermined amount of data.
再生すべきコンテンツファイルの拡張子から当該再生すべきコンテンツファイルの種別が所定の種別であるか否かを判別する判別手段を有し、Determining means for determining whether or not the type of the content file to be reproduced is a predetermined type from the extension of the content file to be reproduced;
前記取得手段は、前記再生すべきコンテンツファイルの種別が前記所定の種別であると前記判別手段により判別された場合、当該コンテンツファイルの先頭から前記所定データ量のデータを前記サーバ装置へ要求して取得することを特徴とする請求項1に記載の端末装置。When the determination unit determines that the type of the content file to be reproduced is the predetermined type, the acquisition unit requests the server device for data of the predetermined data amount from the top of the content file. The terminal device according to claim 1, wherein the terminal device is acquired.
再生すべきコンテンツファイルの先頭から前記所定データ量のデータに含まれるタイプ情報が所定のタイプ情報に一致するか否かに基づいて、前記再生すべきコンテンツファイルの種別が所定の種別であるか否かを判別する判別手段を有し、Whether or not the type of the content file to be reproduced is a predetermined type based on whether or not the type information included in the predetermined amount of data from the beginning of the content file to be reproduced matches the predetermined type information Having a determining means for determining
前記取得手段は、前記再生すべきコンテンツファイルの種別が前記所定の種別であると前記判別手段により判別され、かつ、前記所定データ量のデータにメタデータが続くと前記判定手段により判定された場合、前記サーバ装置から前記所定データ量に続くデータをメタデータとして取得することを特徴とする請求項1に記載の端末装置。The acquisition unit determines that the type of the content file to be reproduced is the predetermined type by the determination unit, and the determination unit determines that metadata follows the predetermined amount of data. The terminal device according to claim 1, wherein data following the predetermined data amount is acquired as metadata from the server device.
再生すべきコンテンツファイルのURLから当該コンテンツファイルの配信プロトコルと拡張子との組み合わせが所定の組み合わせであるか否かを判別する判別手段を有し、Determining means for determining from the URL of the content file to be reproduced whether or not the combination of the distribution protocol and extension of the content file is a predetermined combination;
前記取得手段は、前記再生すべきコンテンツファイルの配信プロトコルと拡張子の組み合わせが前記所定の組み合わせであると前記判別手段により判別された場合、当該コンテンツファイルの先頭から前記所定データ量のデータを取得することを特徴とする請求項1に記載の端末装置。The acquisition unit acquires the predetermined amount of data from the head of the content file when the determination unit determines that the combination of the distribution protocol and extension of the content file to be reproduced is the predetermined combination. The terminal device according to claim 1, wherein:
再生すべきコンテンツファイルの要求の前に前記サーバ装置から取得したメディアタイプを示す文字列が所定の文字列であるか否かを判別する判別手段を有し、Determining means for determining whether or not a character string indicating a media type acquired from the server device before requesting a content file to be reproduced is a predetermined character string;
前記取得手段は、前記メディアタイプを示す文字列が前記所定の文字列であると前記判別手段により判別された場合、当該コンテンツファイルの先頭から前記所定データ量のデータを取得することを特徴とする請求項1に記載の端末装置。The acquisition unit acquires the data of the predetermined data amount from the head of the content file when the determination unit determines that the character string indicating the media type is the predetermined character string. The terminal device according to claim 1.
メタデータと、当該メタデータを用いて再生可能なメディアデータとを含むコンテンツファイルをサーバ装置から受信して再生する端末装置が行うコンテンツ再生方法であって、A content reproduction method performed by a terminal device that receives and reproduces a content file including metadata and media data that can be reproduced using the metadata from a server device,
前記コンテンツファイルの先頭から所定データ量のデータであって、当該データに続くデータの種類を示すタイプ情報と、前記コンテンツファイルの先頭から前記タイプ情報の次のタイプ情報までのデータ量に応じたサイズ情報とを含むデータを前記サーバ装置へ要求して取得する取得工程と、A type of data corresponding to a predetermined amount of data from the beginning of the content file, the type information indicating the type of data following the data, and a size corresponding to the amount of data from the beginning of the content file to the next type information of the type information An acquisition step of requesting and acquiring data including information from the server device;
前記取得工程が取得したタイプ情報に基づいて、前記コンテンツファイルの前記所定データ量のデータに前記コンテンツファイルのメディアデータを再生するために用いるメタデータが続くか否かを判定する判定工程とを有し、A determination step for determining whether or not the metadata used for reproducing the media data of the content file follows the data of the predetermined data amount of the content file based on the type information acquired by the acquisition step. And
前記取得工程は、The acquisition step includes
前記取得工程が取得した前記所定データ量のデータにメタデータが続くと前記判定工程により判定された場合、前記サーバ装置から前記所定データ量のデータに続くデータをメタデータとして取得し、If it is determined by the determination step that metadata follows the data of the predetermined data amount acquired by the acquisition step, data following the data of the predetermined data amount is acquired as metadata from the server device,
前記取得工程が取得した前記所定データ量のデータにメタデータが続かないと前記判定工程により判定された場合、前記コンテンツファイルの先頭から前記サイズ情報に応じたデータ量分、後の前記所定データ量のデータを、当該所定データ量のデータにメタデータが続くか否かの判定のために前記サーバ装置から取得することを特徴とするコンテンツ再生方法。If the determination step determines that metadata does not follow the data of the predetermined data amount acquired by the acquisition step, the predetermined data amount after the data amount corresponding to the size information from the top of the content file The content reproduction method is characterized in that the data is acquired from the server device for determining whether or not the metadata follows the predetermined amount of data.
再生すべきコンテンツファイルの拡張子から当該再生すべきコンテンツファイルの種別が所定の種別であるか否かを判別する判別工程を有し、A determination step of determining whether or not the type of the content file to be reproduced is a predetermined type from the extension of the content file to be reproduced;
前記取得工程は、前記再生すべきコンテンツファイルの種別が前記所定の種別であると前記判定工程により判別された場合、当該コンテンツファイルの先頭から前記所定データ量のデータを前記サーバ装置へ要求して取得することを特徴とする請求項6に記載のコンテンツ再生方法。When the determination step determines that the type of the content file to be reproduced is the predetermined type, the acquisition step requests the server device for data of the predetermined data amount from the top of the content file. The content reproduction method according to claim 6, wherein the content reproduction method is obtained.
再生すべきコンテンツファイルの先頭から前記所定データ量のデータに含まれるタイプ情報が所定のタイプ情報に一致するか否かに基づいて、前記再生すべきコンテンツファイルの種別が所定の種別であるか否かを判別する判別工程を有し、Whether or not the type of the content file to be reproduced is a predetermined type based on whether or not the type information included in the predetermined amount of data from the beginning of the content file to be reproduced matches the predetermined type information Having a discrimination process for discriminating
前記取得工程は、前記再生すべきコンテンツファイルの種別が前記所定の種別であると前記判別工程により判別され、かつ、前記所定データ量のデータにメタデータが続くと前記判定工程により判定された場合、前記サーバ装置から前記所定データ量に続くデータをメタデータとして取得することを特徴とする請求項6に記載のコンテンツ再生方法。In the acquisition step, the determination step determines that the type of the content file to be played is the predetermined type, and the determination step determines that metadata follows the predetermined amount of data. The content reproduction method according to claim 6, wherein data following the predetermined amount of data is acquired as metadata from the server device.
再生すべきコンテンツファイルの要求の前に前記サーバ装置から取得したメディアタイプを示す文字列が所定の文字列であるか否かを判別する判別工程を有し、A determination step of determining whether or not a character string indicating a media type acquired from the server device before requesting a content file to be reproduced is a predetermined character string;
前記取得工程は、前記メディアタイプを示す文字列が前記所定の文字列であると前記判別工程により判別された場合、当該コンテンツファイルの先頭から前記所定データ量のデータを取得することを特徴とする請求項6に記載のコンテンツ再生方法。In the obtaining step, when the character string indicating the media type is determined as the predetermined character string by the determining step, the predetermined amount of data is acquired from the head of the content file. The content reproduction method according to claim 6.
メタデータと、当該メタデータを用いて再生可能なメディアデータとを含むコンテンツファイルをサーバ装置から受信して再生するための手順をコンピュータに実行させるためのコンピュータプログラムであって、A computer program for causing a computer to execute a procedure for receiving and reproducing a content file including metadata and media data that can be reproduced using the metadata from a server device,
前記コンテンツファイルの先頭から所定データ量のデータであって、当該データに続くデータの種類を示すタイプ情報と、前記コンテンツファイルの先頭から前記タイプ情報の次のタイプ情報までのデータ量に応じたサイズ情報とを含むデータを前記サーバ装置へ要求して取得する取得手順と、A type of data corresponding to a predetermined amount of data from the beginning of the content file, the type information indicating the type of data following the data, and a size corresponding to the amount of data from the beginning of the content file to the next type information of the type information An acquisition procedure for requesting and acquiring data including information from the server device;
前記取得手順が取得したタイプ情報に基づいて、前記コンテンツファイルの前記所定データ量のデータに前記コンテンツファイルのメディアデータを再生するために用いるメタデータが続くか否かを判定する判定手順とをコンピュータに実行させ、A determination procedure for determining whether or not the metadata used for reproducing the media data of the content file follows the data of the predetermined data amount of the content file based on the type information acquired by the acquisition procedure; To run
前記取得手順は、The acquisition procedure is as follows:
前記取得手順が取得した前記所定データ量のデータにメタデータが続くと前記判定手順により判定された場合、前記サーバ装置から前記所定データ量のデータに続くデータをメタデータとして取得し、If it is determined by the determination procedure that metadata follows the data of the predetermined data amount acquired by the acquisition procedure, data following the data of the predetermined data amount is acquired as metadata from the server device,
前記取得手順が取得した前記所定データ量のデータにメタデータが続かないと前記判定手順により判定された場合、前記コンテンツファイルの先頭から前記サイズ情報に応じたデータ量分、後の前記所定データ量のデータを、当該所定データ量のデータにメタデータが続くか否かの判定のために前記サーバ装置から取得させることを特徴とするコンピュータプログラム。If the determination procedure determines that metadata does not follow the data of the predetermined data amount acquired by the acquisition procedure, the predetermined data amount after the data amount corresponding to the size information from the beginning of the content file The computer program for obtaining the data of the predetermined amount of data from the server device for determining whether or not the metadata follows the predetermined amount of data.
再生すべきコンテンツファイルの拡張子から当該再生すべきコンテンツファイルの種別が所定の種別であるか否かを判別する判別手順をさらにコンピュータに実行させ、Causing the computer to further execute a determination procedure for determining whether or not the type of the content file to be reproduced is a predetermined type from the extension of the content file to be reproduced;
前記取得手順は、前記再生すべきコンテンツファイルの種別が前記所定の種別であると前記判別手順により判別された場合、当該コンテンツファイルの先頭から前記所定データ量のデータを前記サーバ装置へ要求して取得することを特徴とする請求項10に記載のコンピュータプログラム。When the determination procedure determines that the type of the content file to be reproduced is the predetermined type, the acquisition procedure requests the server device for data of the predetermined data amount from the beginning of the content file. The computer program according to claim 10, wherein the computer program is acquired.
再生すべきコンテンツファイルの先頭から前記所定データ量のデータに含まれるタイプ情報が所定のタイプ情報に一致するか否かに基づいて、前記再生すべきコンテンツファイルの種別が所定の種別であるか否かを判別する判別手順をさらにコンピュータに実行させ、Whether or not the type of the content file to be reproduced is a predetermined type based on whether or not the type information included in the predetermined amount of data from the beginning of the content file to be reproduced matches the predetermined type information The computer further executes a determination procedure for determining whether or not
前記取得手順は、前記再生すべきコンテンツファイルの種別が前記所定の種別であると前記判別手順により判別され、かつ、前記所定データ量のデータにメタデータが続くと前記判定手順により判定された場合、前記サーバ装置から前記所定データ量に続くデータをメタデータとして取得することを特徴とする請求項10に記載のコンピュータプログラム。When the determination procedure determines that the type of the content file to be played is the predetermined type by the determination procedure, and the determination procedure determines that metadata follows the predetermined data amount The computer program according to claim 10, wherein data following the predetermined amount of data is acquired as metadata from the server device.
再生すべきコンテンツファイルの要求の前に前記サーバ装置から取得したメディアタイプを示す文字列が所定の文字列であるか否かを判別する判別手順をさらにコンピュータに実行させ、Causing the computer to further execute a determination procedure for determining whether or not the character string indicating the media type acquired from the server device before the request for the content file to be reproduced is a predetermined character string;
前記取得手順は、前記メディアタイプを示す文字列が前記所定の文字列であると前記判別手順により判別された場合、当該コンテンツファイルの先頭から前記所定データ量のデータを取得することを特徴とする請求項10に記載のコンピュータプログラム。In the acquisition procedure, when the determination procedure determines that the character string indicating the media type is the predetermined character string, the predetermined amount of data is acquired from the beginning of the content file. The computer program according to claim 10.
JP2005147020A 2005-05-19 2005-05-19 Terminal device, content reproduction method, and computer program Expired - Fee Related JP4719506B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005147020A JP4719506B2 (en) 2005-05-19 2005-05-19 Terminal device, content reproduction method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005147020A JP4719506B2 (en) 2005-05-19 2005-05-19 Terminal device, content reproduction method, and computer program

Publications (3)

Publication Number Publication Date
JP2006323678A JP2006323678A (en) 2006-11-30
JP2006323678A5 JP2006323678A5 (en) 2008-06-19
JP4719506B2 true JP4719506B2 (en) 2011-07-06

Family

ID=37543301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005147020A Expired - Fee Related JP4719506B2 (en) 2005-05-19 2005-05-19 Terminal device, content reproduction method, and computer program

Country Status (1)

Country Link
JP (1) JP4719506B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101480186B1 (en) * 2007-12-10 2015-01-07 삼성전자주식회사 System and method for generating and playing image file including two dimensional image and three dimensional image
WO2009075495A1 (en) 2007-12-10 2009-06-18 Samsung Electronics Co., Ltd. System and method for generating and reproducing image file including 2d image and 3d stereoscopic image
CN110545491B (en) * 2018-05-29 2021-08-10 北京字节跳动网络技术有限公司 Network playing method, device and storage medium of media file
CN110545254B (en) 2018-05-29 2021-05-04 北京字节跳动网络技术有限公司 Method and device for analyzing metadata container and storage medium
CN113365140B (en) * 2021-06-21 2022-12-23 北京百度网讯科技有限公司 MP4 online playing method, device, equipment, storage medium and program product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050102371A1 (en) * 2003-11-07 2005-05-12 Emre Aksu Streaming from a server to a client
US20070130210A1 (en) * 2005-11-22 2007-06-07 Samsung Electronics Co., Ltd. Compatible progressive download method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001197120A (en) * 2000-07-17 2001-07-19 Apple Computer Inc Method and device for transmitting media data
WO2004077790A1 (en) * 2003-02-26 2004-09-10 Koninklijke Philips Electronics N.V. System for broadcasting multimedia content
JP2005086362A (en) * 2003-09-05 2005-03-31 Matsushita Electric Ind Co Ltd Data multiplexing method, data transmitting method and data receiving method
KR100608715B1 (en) * 2003-09-27 2006-08-04 엘지전자 주식회사 SYSTEM AND METHOD FOR QoS-QUARANTED MULTIMEDIA STREAMING SERVICE

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050102371A1 (en) * 2003-11-07 2005-05-12 Emre Aksu Streaming from a server to a client
US20070130210A1 (en) * 2005-11-22 2007-06-07 Samsung Electronics Co., Ltd. Compatible progressive download method and system

Also Published As

Publication number Publication date
JP2006323678A (en) 2006-11-30

Similar Documents

Publication Publication Date Title
TWI465113B (en) Content reproduction system, content reproduction apparatus, program, content reproduction method, and providing content server
JP6920578B2 (en) Video streaming device, video editing device and video distribution system
JP5288710B2 (en) Information storage medium recording multimedia data, reproducing method and reproducing apparatus thereof
US7584206B2 (en) File recording method and file recording apparatus
JP4598627B2 (en) Content editing apparatus and playback apparatus thereof
JP4481889B2 (en) Data recording apparatus and method, program, and recording medium
US20120054370A1 (en) Data file transfer apparatus and control method of the data file transfer apparatus
JP2007295038A (en) Moving video reproducer and reproduction method
JP4176640B2 (en) Recording medium, content recording / playback system, content playback device, content recording device
JP4719506B2 (en) Terminal device, content reproduction method, and computer program
JP4444358B1 (en) Progressive download playback program
US8688737B2 (en) Method and apparatus for generating and reproducing media object-based metadata
KR101051063B1 (en) Video recording and playback device, video recording method, video playback method and video recording playback method
JP4970912B2 (en) Video segmentation server and control method thereof
KR101452269B1 (en) Content Virtual Segmentation Method, and Method and System for Providing Streaming Service Using the Same
JP4724551B2 (en) Moving image processing apparatus and moving image processing method
KR102391755B1 (en) Information processing device and information processing method
CN115250266B (en) Video processing method and device, streaming media equipment and storage on-demand system
JP4280701B2 (en) Data file editing method and apparatus, control program, and storage medium
JP2010086615A (en) Multiplexing device, program, and multiplexing method
TWI559753B (en) Method for transmitting a video on demand
JP2006080773A (en) Server
JP2007336214A (en) Transcoding system
JP2005027010A (en) Av server, and av content reproducing device and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080430

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080430

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100817

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100928

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110404

R150 Certificate of patent or registration of utility model

Ref document number: 4719506

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140408

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees