JP2012010038A - Information processor and information processing method - Google Patents

Information processor and information processing method Download PDF

Info

Publication number
JP2012010038A
JP2012010038A JP2010143178A JP2010143178A JP2012010038A JP 2012010038 A JP2012010038 A JP 2012010038A JP 2010143178 A JP2010143178 A JP 2010143178A JP 2010143178 A JP2010143178 A JP 2010143178A JP 2012010038 A JP2012010038 A JP 2012010038A
Authority
JP
Japan
Prior art keywords
data
box
information
information processing
iso
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.)
Pending
Application number
JP2010143178A
Other languages
Japanese (ja)
Inventor
Takeshi Tateno
剛 舘野
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2010143178A priority Critical patent/JP2012010038A/en
Publication of JP2012010038A publication Critical patent/JP2012010038A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processor and an information processing method enabling use of a Box structure obtained by previously considering an edited data structure.SOLUTION: The information processor is equipped with: segmentation means for segmentation of data which has a data structure standardized by ISO14496 and is composed of meta data as the head of the data and medium data following the meta data; and replacement means which replaces a free box in the meta data equivalent to the head portion of the data segmented by the segmentation means, the free box being standardized by ISO14496, with SD Profile Box standardized by SD-Video standard.

Description

本発明の実施形態は、MP4データを編集する情報処理装置及び情報処理方法に関する。   Embodiments described herein relate generally to an information processing apparatus and an information processing method for editing MP4 data.

MP4データ等のマルチメディアデータの再生方法に工夫がなされてきている。例えば特
許文献1では、マルチメディアデータ中の動画像データ中のキーフレームを特定する情報
を再生制御データとして生成し、再生制御データを、マルチメディアデータの所定位置に
配置する。特殊再生時には、この再生制御データを用いることで、ランダムアクセス等に
用いるキーフレームを容易に特定、読み出して再生することが可能である。再生制御デー
タをマルチメディアデータの、従来機器が無視する領域に配置することで、ファイル互換
性も維持することができる。この特許文献1はランダムアクセス用の情報をMP4データ中
に挿入しておき、特殊再生に利用するものである。
Ingenuity has been devised in the reproduction method of multimedia data such as MP4 data. For example, in Patent Document 1, information specifying a key frame in moving image data in multimedia data is generated as reproduction control data, and the reproduction control data is arranged at a predetermined position in the multimedia data. At the time of special reproduction, by using this reproduction control data, it is possible to easily identify, read out and reproduce a key frame used for random access or the like. By arranging the playback control data in an area of multimedia data that is ignored by conventional devices, file compatibility can be maintained. In this Patent Document 1, random access information is inserted into MP4 data and used for special reproduction.

また特許文献1は、ファイル変換装置で、予めMP4ファイル生成装置で、free boxを生
成して置き、ファイル変換時にmdatのコピー処理を不要にしている。手段としては、編集
後のmoovサイズ増加分を予め見積もってfree boxをmoovの前に挿入しておくものである。
Further, Patent Document 1 is a file conversion device, in which a free box is generated and placed in advance by an MP4 file generation device, and mdat copy processing is not required during file conversion. As a means, the increase in the moov size after editing is estimated in advance, and a free box is inserted before the moov.

一方、編集後のデータ構造を事前に考慮したBox構造を利用することで、編集時の作業
用メモリサイズの削減を図る要望があるが、かかる要望を実現するための手段は知られて
いない。
On the other hand, there is a demand to reduce the working memory size at the time of editing by using a Box structure that takes into consideration the data structure after editing in advance, but means for realizing such a demand is not known.

特開2006−74531号公報JP 2006-74531 A 特開2003−173625号公報JP 2003-173625 A

本発明は、編集後のデータ構造を事前に考慮したBox構造を利用することができる情報
処理装置及び情報処理方法を提供することを目的とする。
It is an object of the present invention to provide an information processing apparatus and an information processing method that can use a Box structure that takes into account a data structure after editing in advance.

上記課題を解決するために、実施形態の情報処理装置によれば、ISO14496に規
定するデータ構造を有し、データ先頭のメタデータと前記メタデータに続くメディアデー
タとからなるデータにおける切り出しをする切り出し手段と、前記切り出し手段が切り出
した前記データの先頭部分に相当する前記メタデータのISO14496に規定するフリ
ーボックス(free box)をSD-Video規格に規定する SD Profile Boxに置換する置換する置換手段とを備えた。
In order to solve the above-described problem, according to the information processing apparatus of the embodiment, the data structure defined in ISO 14496 is used to cut out data including data top metadata and media data following the metadata. Replacing means for replacing the free box defined in ISO 14496 of the metadata corresponding to the head portion of the data clipped by the clipping means with an SD Profile Box specified in the SD-Video standard; Equipped with.

本発明の一実施形態に係わるテレビ受信装置の構成を概略的に示すブロック図。1 is a block diagram schematically showing the configuration of a television receiver according to an embodiment of the present invention. ISOファイル形式のデータ構造を単純化して示す図。The figure which simplifies and shows the data structure of an ISO file format. 実施形態の切り出しを考慮したBox構造列を説明するために示す図。The figure shown in order to demonstrate the Box structure row | line | column which considered cutting-out of embodiment. 同実施形態の切り出し後のデータ列を示す図。The figure which shows the data sequence after the cutout of the embodiment. 同実施形態に用いられる切り出し区間のmoov構築フロー図。The moov construction | assembly flowchart of the cut-out area used for the embodiment. 同他の形態のtrak 内に free boxを挿入しておくケースを示す図。The figure which shows the case where the free box is inserted in trak of the other form.

以下、本発明の実施形態を説明する。
(第1の実施形態)
本発明による第1の実施形態を図1乃至図5を参照して説明する。
本発明は、映像・音声コンテンツの再生機能を有するデジタルテレビやカーナビゲーシ
ョン装置等、デジタルメディア再生機器全般に適用することができる。
(放送受信装置の構成と動作)
まず、本発明の一実施形態であるテレビ受信装置を、図1を用いて説明する。
図1は、後に述べる図3以下のシステムを適用する情報処理装置の一実施形態であるデ
ジタル放送受信装置等のテレビ受信装置の構成の一例を示すブロック図である。
Embodiments of the present invention will be described below.
(First embodiment)
A first embodiment of the present invention will be described with reference to FIGS.
The present invention can be applied to all digital media playback devices such as a digital television and a car navigation device having a video / audio content playback function.
(Configuration and operation of broadcast receiver)
First, a television receiver according to an embodiment of the present invention will be described with reference to FIG.
FIG. 1 is a block diagram showing an example of the configuration of a television receiver such as a digital broadcast receiver which is an embodiment of an information processing apparatus to which the system shown in FIG.

このテレビ受信装置は、地上アナログ放送波、並びにBS、CS及び地上デジタル放送
波を受信可能であり、マイクロプロセッサ10、デジタル用チューナ11、アナログ用チ
ューナ12、デジタル用復調器13、アナログ用復調器14及びTS復号器15を備えて
いる。
This television receiver can receive terrestrial analog broadcast waves, BS, CS, and terrestrial digital broadcast waves, and includes a microprocessor 10, a digital tuner 11, an analog tuner 12, a digital demodulator 13, and an analog demodulator. 14 and TS decoder 15 are provided.

BS、CS及び地上デジタル放送波は、アンテナ1で受信され、この受信信号がデジタ
ル用チューナ11に供給される。同様に、地上アナログ放送波は、アンテナ1で受信され
、この受信信号がアナログ用チューナ12に供給される。デジタル用チューナ11及びア
ナログ用チューナ12は、フェーズロックドループ(PLL)方式を採用し、マイクロプロ
セッサ10の制御により中心周波数及び帯域幅等の受信パラメータを指定してそれぞれ所
望の放送波を選局するために用いられる。
BS, CS, and terrestrial digital broadcast waves are received by the antenna 1, and this received signal is supplied to the digital tuner 11. Similarly, the terrestrial analog broadcast wave is received by the antenna 1, and this received signal is supplied to the analog tuner 12. The digital tuner 11 and the analog tuner 12 employ a phase-locked loop (PLL) system, and select desired broadcast waves by designating reception parameters such as a center frequency and a bandwidth under the control of the microprocessor 10. Used for.

デジタル用チューナ11で選局した放送波の受信信号は、例えば日本の地上デジタル放
送の場合にOFDM(orthogonal frequency division multiplexing)方式のデジタル用復
調器13及びTS復号器15に順次供給され、これらでデジタル映像信号及び音声信号に
復調及び復号される。アナログ用チューナ12で選局された受信信号は、アナログ用復調
器14に供給され、ここでアナログ映像信号及び音声信号に復調される。
For example, in the case of Japanese terrestrial digital broadcasting, the received signal of the broadcast wave selected by the digital tuner 11 is sequentially supplied to an OFDM (orthogonal frequency division multiplexing) digital demodulator 13 and a TS decoder 15. Demodulated and decoded into digital video and audio signals. The received signal selected by the analog tuner 12 is supplied to an analog demodulator 14 where it is demodulated into an analog video signal and an audio signal.

このテレビ受信装置は、更に、信号処理部16、グラフィック処理部17、OSD(on
screen display)信号生成部18、映像処理部19、ディスプレイ20、音声処理部21
、スピーカー22、操作パネル23、赤外線受光部24、リモコン25、フラッシュメモ
リ26、USB(Universal Serial Bus)コネクタ27、カードコネクタ28、及びネット
ワーク通信回路29を備える。信号処理部16は、TS復号器15からのデジタル映像信
号及び音声信号に対して選択的に所定のデジタル信号処理を施し、それぞれグラフィック
処理部17及び音声処理部21に出力する。また、信号処理部16は、アナログ用復調器
14からのアナログ映像信号及び音声信号を選択的にデジタル化し、このデジタル化され
た映像信号及び音声信号に対して所定のデジタル信号処理を施し、それぞれグラフィック
処理部17及び音声処理部21に出力する。
The television receiver further includes a signal processing unit 16, a graphic processing unit 17, an OSD (on
screen display) signal generator 18, video processor 19, display 20, audio processor 21
A speaker 22, an operation panel 23, an infrared light receiver 24, a remote controller 25, a flash memory 26, a USB (Universal Serial Bus) connector 27, a card connector 28, and a network communication circuit 29. The signal processing unit 16 selectively performs predetermined digital signal processing on the digital video signal and the audio signal from the TS decoder 15 and outputs them to the graphic processing unit 17 and the audio processing unit 21, respectively. The signal processing unit 16 selectively digitizes the analog video signal and the audio signal from the analog demodulator 14, performs predetermined digital signal processing on the digitized video signal and audio signal, The data is output to the graphic processing unit 17 and the audio processing unit 21.

グラフィック処理部17は、信号処理部16から出力されたデジタル映像信号にOSD
信号生成部18で生成されたOSD信号を選択的に重畳して出力する。映像処理部19は
、グラフィック処理部17から出力されたデジタル映像信号に対してディスプレイ20に
適合させる例えばサイズ調整等の変換を行う。ディスプレイ20は、映像処理部19から
出力された映像信号に対応する映像を表示する。音声処理部21は、信号処理部16から
出力されたデジタル音声信号をスピーカー22に適合させる音量調整等の変換を行う。ス
ピーカー22は、音声処理部21から出力された音声信号に対応する音声を再生する。
The graphic processing unit 17 applies OSD to the digital video signal output from the signal processing unit 16.
The OSD signal generated by the signal generator 18 is selectively superimposed and output. The video processing unit 19 performs conversion such as size adjustment for adapting to the display 20 with respect to the digital video signal output from the graphic processing unit 17. The display 20 displays a video corresponding to the video signal output from the video processing unit 19. The audio processing unit 21 performs conversion such as volume adjustment for adapting the digital audio signal output from the signal processing unit 16 to the speaker 22. The speaker 22 reproduces sound corresponding to the sound signal output from the sound processing unit 21.

マイクロプロセッサ10は、操作パネル23からの操作情報、またはリモコン25から
送出され赤外線受光部24で受信された操作情報を受けて、その操作内容が反映されるよ
うに各コンポーネントを制御する。ここで、操作パネル或いはキーボード23及びリモコ
ン25は、ユーザーインタフェースとして機能する操作モジュールに相当している。図1
に示すように、マイクロプロセッサ10は、様々な処理及び制御を行うCPU(central p
rocessing unit)31、このCPU31の制御プログラム及び様々な初期データを保持す
るROM(read only memory)32、CPU31の入出力情報を一時的に格納する作業エ
リアを提供するRAM(random access memory)33、ICバス等を介して各コンポー
ネントに対する設定情報及び制御情報を入出力するインタフェース34、及び放送波やネ
ットワーク経由で取得される時刻情報及び日付情報に従って補正される時計回路35を含
んでいる。
The microprocessor 10 receives the operation information from the operation panel 23 or the operation information transmitted from the remote controller 25 and received by the infrared light receiver 24, and controls each component so that the operation content is reflected. Here, the operation panel or keyboard 23 and the remote controller 25 correspond to an operation module that functions as a user interface. FIG.
As shown, the microprocessor 10 is a central processing unit (CPU) that performs various processes and controls.
rocessing unit) 31, a ROM (read only memory) 32 for holding the control program of the CPU 31 and various initial data, a random access memory (RAM) 33 for providing a work area for temporarily storing input / output information of the CPU 31, It includes an interface 34 for inputting / outputting setting information and control information for each component via an I 2 C bus or the like, and a clock circuit 35 which is corrected according to time information and date information acquired via a broadcast wave or a network.

USBコネクタ27は、様々なUSB機器を接続するために設けられている。カードコ
ネクタ28は、様々なメディアカードを接続するために設けられている。また、ネットワ
ーク通信回路29は、インターネットに直接あるいはLAN(local area network)経由で
接続されている。時刻情報を放送波から取得する場合は、アンテナ1で受信した信号から
、また時刻情報等基礎データをネットワークから取得する場合は、ネットワーク通信回路
29から、それぞれマイクロプロセッサ10に取り込まれる。
The USB connector 27 is provided for connecting various USB devices. The card connector 28 is provided for connecting various media cards. The network communication circuit 29 is connected to the Internet directly or via a LAN (local area network). When the time information is acquired from the broadcast wave, the signal is received by the antenna 1, and when the basic data such as time information is acquired from the network, the time information is acquired by the microprocessor 10 from the network communication circuit 29.

またUSBコネクタ27やカードコネクタ28は、外部からUSB機器(メモリ等)や
メディアカードを接続して動画、写真、音楽データを読み出すことができる。
マイクロプロセッサ10は、USBコネクタ27に接続されるUSBメモリやカードコ
ネクタ28に接続されるメディアカードにファイルとして保持される映像を取り込み、信
号処理部16、グラフィック処理部17、及び映像処理部19での処理を経て各映像をデ
ィスプレイ20に表示させる制御を行えるように構成されている。
The USB connector 27 and the card connector 28 can read a moving image, a photograph, and music data by connecting a USB device (memory or the like) or a media card from the outside.
The microprocessor 10 captures a video held as a file in a USB memory connected to the USB connector 27 or a media card connected to the card connector 28, and the signal processing unit 16, the graphic processing unit 17, and the video processing unit 19 Through this process, control is performed to display each image on the display 20.

なお次の図1に関し、ハードディスクHに相当する部分は記載を省略しているが、上記
USB機器として備えられていて記憶媒体を構成していてもよい。
図2は、ISOファイル形式のデータ構造を単純化して示す図である。
ISOファイル形式のBox構成は通常、図2で示されるように、動画像や音声サンプ
ルの管理情報のような、メディアデータのメタデータを格納するためのmoov201と、動
画像や音声のサンプルデータのような実際のメディアデータを格納するmdat202とから
構成される。
In addition, regarding the following FIG. 1, although the description corresponding to the hard disk H is omitted, it may be provided as the USB device and constitute a storage medium.
FIG. 2 is a diagram showing a simplified data structure of the ISO file format.
As shown in FIG. 2, the ISO file format Box configuration usually includes moov 201 for storing metadata of media data such as management information of moving images and audio samples, and moving image and audio sample data. Mdat 202 for storing such actual media data.

moov201内には、個々のメディアデータに対応するtrakと呼ばれるBox203が包
含される。また、mdat202内のメディアデータは、チャンク(chunk)と呼ばれる動画像
や音声の連続する複数サンプルのセットに分割されて格納されており、mdat202のdata
フィールドにはチャンクの配列が格納される。なお、このチャンクのサイズや含まれるサ
ンプルの個数には特に制約はなく、環境や状況に応じて任意の大きさやサンプル数を持つ
チャンクを構成し、格納することが出来る。
The moov 201 includes a box 203 called trak corresponding to each piece of media data. Further, the media data in the mdat 202 is divided and stored in a set of a plurality of samples of continuous moving images and sounds called chunks.
An array of chunks is stored in the field. The size of the chunk and the number of included samples are not particularly limited, and a chunk having an arbitrary size and number of samples can be configured and stored according to the environment and situation.

このようなISOファイル形式においては、ランダムアクセス(特殊再生) 処理用の
情報として、ランダムアクセスポイントを特定するためのデータ構造が規定されている。
In such an ISO file format, a data structure for specifying a random access point is defined as information for random access (special playback) processing.

ランダムアクセスは主にstbl204に含まれている子Boxを使うことによって行われ
る。
stts(time-to-sample)205は、トラックのサンプルがどの時刻と対応するかを示して
いる。与えられた時刻以前の最初のサンプルを見つけるために、このBoxを使用する。
Random access is performed mainly by using a child box included in stbl 204.
stts (time-to-sample) 205 indicates the time corresponding to the sample of the track. Use this Box to find the first sample before a given time.

尚、ここではstts205を例に挙げたが、図示せぬcttsと呼ばれるBoxを使用しても
、同様に与えられた時刻以前の最初のサンプルを見つけることが可能である。
Here, stts 205 is taken as an example, but even using a box called ctts (not shown), it is also possible to find the first sample before a given time.

しかし、見つかったサンプルはランダムアクセスポイントではないかもしれない為、最
も近いランダムアクセスポイントを見つけるには更に以下のBoxを調べる必要がある。
However, since the found sample may not be a random access point, it is necessary to examine the following Box in order to find the nearest random access point.

stss(sync sample table)206は、どのサンプルが実際のランダムアクセスポイント
であるかを示す。このBoxを使用すると、与えられた時刻以前の最初のサンプル番号を
探すことが出来る。stss206が無い場合は、すべてのサンプルがランダムアクセスポイ
ントであることを示しているため、ランダムアクセスは容易になる。
stss (sync sample table) 206 indicates which sample is an actual random access point. Using this Box, the first sample number before a given time can be found. When there is no stss 206, it indicates that all samples are random access points, and therefore random access is facilitated.

この時点で、ランダムアクセスのために使用すべきサンプル番号を見つけることができ
た。次に、このサンプル番号がどのチャンクに配置されているかを決定するため、stsc(s
ample-to-chunk)207を使用する。
At this point, the sample number to be used for random access could be found. Next, to determine which chunk this sample number is placed in, stsc (s
ample-to-chunk) 207.

更に、そのチャンクがどこで始まるかを解決するためにstco(chunk offset)208を使
用する。尚、ここではstcoを例に挙げたが、図示せぬco64( 64bit chunk offset)と呼ば
れるBoxを使用しても、同様にチャンクのオフセット位置を知ることが可能である。
Furthermore, stco (chunk offset) 208 is used to resolve where the chunk starts. Here, stco is taken as an example, but it is also possible to know the offset position of a chunk in the same manner by using a box called co64 (64-bit chunk offset) (not shown).

このオフセットから出発し、このチャンク内での目的のサンプルが配置されている位置
までの間に存在する各サンプルのサイズをstsz(sample size)209から取得し、サイズ
の総和を計算する。この総サイズを目的のチャンクオフセット位置に加えた位置が、目的
とするサンプルの開始位置となる。
Starting from this offset, the size of each sample existing up to the position where the target sample is arranged in this chunk is obtained from stsz (sample size) 209, and the sum of the sizes is calculated. The position obtained by adding the total size to the target chunk offset position is the start position of the target sample.

このようにして得られるサンプルの開始位置及びサイズを用いて、mdat202からラン
ダムアクセスに用いるサンプルデータを特定することが可能になる。
さて本実施形態の目的として、例えば長時間録画したテレビ番組(MP4形式)をSDカー
ドに入れて持ち出せるようにMP4データの切り出しを行う。例えばこの切り出し処理をソ
フトウェアで実現する場合、一般的な手法よりもメモリ使用量および処理負荷を削減する
The sample data used for random access can be specified from the mdat 202 using the sample start position and size obtained in this way.
Now, as an object of the present embodiment, for example, MP4 data is cut out so that a television program (MP4 format) recorded for a long time can be taken out on an SD card. For example, when this cut-out process is realized by software, the memory usage and the processing load are reduced as compared with a general method.

(概要)
ターゲットのMP4データから再生したい区間を抜き出して新たなMP4データを作成する場
合、分離したストリームから再生区間を選び再多重化を行うのが一般的な方法である。mo
ovを再構築すると元データの情報が失われがちで、しかし元データの情報を保ったまま再
多重化するにはデマルチプレクス(demux)処理時の処理負荷とメモリ使用量が増加する。m
datの部分を抜き出してMP4データを作成する場合、以下の手順が必要である。
(Overview)
When creating a new MP4 data by extracting a section to be reproduced from the target MP4 data, it is a general method to select a reproduction section from the separated stream and perform re-multiplexing. mo
If ov is reconstructed, the information of the original data tends to be lost. However, if remultiplexing is performed while maintaining the information of the original data, the processing load and the memory usage during demultiplexing (demux) processing increase. m
The following procedure is required when extracting dat and creating MP4 data.

(1)Audio/Videoストリームを分離する(≒demux)
(2)切り出し範囲のAudio/Videoストリームを取得する
(3)再多重化を行う
この手順によれば、詳細な切り出しが可能だが、使用メモリサイズが大きく、処理負荷
も高い。
しかし本実施形態の特徴として、再多重化を行わずに、元データのコピーによってMedi
a Dataの切り出し後のmoovを構築する。即ちストリームを分離せずに各トラックのstbl b
ox以下を作り直す。その他の情報は出来るだけオリジナルをそのままコピーし、moovを構
築する。(ただし各trakのstbl box以下(Mediaデータのサイズ・オフセットなどの情報
が格納された領域)のテーブル縮小処理やdurationの更新などは行う)
(1) Separate audio / video streams (≒ demux)
(2) Obtaining an audio / video stream in the clipping range (3) Re-multiplexing According to this procedure, detailed clipping is possible, but the memory size used is large and the processing load is high.
However, as a feature of this embodiment, the Medi is copied by copying the original data without re-multiplexing.
a Build moov after cutting out Data. That is, stbl b of each track without separating the streams
Recreate below ox. For other information, copy the original as much as possible and build moov. (However, table reduction processing and duration update below the stbl box of each trak (area storing information such as the size and offset of Media data)

図3は、実施形態の切り出しを考慮したBox構造列を説明するために示す図である。
フリーボックスは、ISO14496に規定するtrakと同位に列せられる。破線囲いで示
したのは、Audio/Video各trakの想定された減少データである(図4参照)。
FIG. 3 is a diagram for explaining the Box structure sequence in consideration of the cutout according to the embodiment.
Free boxes are lined up with trak as defined in ISO 14496. What is indicated by a broken line is the assumed reduced data of each audio / video trak (see FIG. 4).

SDカードにデータを移す際にSD Profile Box(sdvp)の挿入が必要になるが、事前(元
データの多重化時)に26[byte]分(User_data および Extra_data area のサイズを 0 と
した場合)の free box を挿入しておく。
SD Profile Box (sdvp) needs to be inserted when transferring data to the SD card, but 26 bytes in advance (when the original data is multiplexed) (when the size of User_data and Extra_data area is 0) Insert the free box.

図4は、実施形態の切り出し後のデータ列を示す図である。
破線囲いで示したtrakの減少データ分はsdvpの自由領域として利用できるようにする。
(フローチャートの説明)
図5は、実施形態に用いられる切り出し区間のmoov構築フロー図である。このフローチ
ャートは、図3のBox構造で多重化されたMP4データをSDカード用に切り出す場合を示した
。以下、マイクロプロセッサ10が主に制御するステップS1-1から順に詳細を述べる。
FIG. 4 is a diagram illustrating a data string after extraction according to the embodiment.
The reduced data of trak indicated by the broken line is made available as a free area of sdvp.
(Explanation of flowchart)
FIG. 5 is a moov construction flow diagram of a cut-out section used in the embodiment. This flowchart shows a case where MP4 data multiplexed with the Box structure of FIG. 3 is cut out for an SD card. Hereinafter, details will be described in order from step S1-1 mainly controlled by the microprocessor 10.

<事前準備>
ステップS1-1: 切り出したい範囲を時間単位で指定する。(この例では時間単位で指定
したが、切り出す範囲がstbl box上で検出できればどんな単位でも良い)
<Preparation>
Step S1-1: Designate a range to be cut out in time units. (In this example, the time unit is specified, but any unit is acceptable as long as the extraction range can be detected on the stbl box)

ステップS1-2: MP4データでは先頭からの通し番号でサンプルを管理しており、切り出
し後のstbl boxサイズを取得するため、切り出し範囲に対応するサンプル番号を取得する
Step S1-2: In MP4 data, samples are managed by serial numbers from the beginning, and in order to acquire the stbl box size after extraction, a sample number corresponding to the extraction range is acquired.

ステップS1-3: ステップS1-2で取得したサンプル番号を元にstbl box以下の各Boxのテ
ーブルサイズを見積もり、切り出し後のstbl boxサイズを取得する。
Step S1-3: The table size of each Box below the stbl box is estimated based on the sample number acquired in Step S1-2, and the cut out stbl box size is acquired.

(切り出し後のstbl box サイズ減少分) diff [bytes] は、(オリジナルの stbl box
サイズ)から(切り出し後の stbl Box サイズ)を差し引いたものである。
(Decrease in size of stbl box after clipping) diff [bytes] is (original stbl box
(Size) minus (stbl Box size after cut out).

なお上記のステップS1-2〜ステップS1-3は全トラックに対して実施し、ステップS1-3で
得られる diff は全トラック分の合計サイズである。
<切り出し後のmoov構築>
ステップS1-4: moov から mvhd の終端までをそのままコピーする。(なおdurationやmod
ification_timeなど、最新の情報で更新しなければならないパラメータは後段ステップS1
-9で対応する。)
The above steps S1-2 to S1-3 are performed for all tracks, and diff obtained in step S1-3 is the total size for all tracks.
<Moov construction after cutting out>
Step S1-4: Copy from moov to the end of mvhd. (Note that duration and mod
Parameters that must be updated with the latest information, such as ification_time, are step S1
Correspond with -9. )

ステップS1-5:事前に用意した free box を sdvp box で置き換える。事前に用意した fr
ee box は User_data_len = 0 および Extra_data_len = 0 の場合であるので、ステップ
S1-3で求めた diff 分の領域を User_data または Extra_data 用に利用する。
Step S1-5: Replace the prepared free box with sdvp box. Fr prepared in advance
Since ee box is for User_data_len = 0 and Extra_data_len = 0, step
The area for diff obtained in S1-3 is used for User_data or Extra_data.

free box の中身は sdvp box として記載すべきデータにしておく。これによってbox typ
e と box size のみ書き換えれば良い。
The contents of the free box should be data that should be described as an sdvp box. This makes box typ
Only e and box size need be rewritten.

<trak 毎の処理>
以下、(ステップS1-6からステップS1-8は挿入された trak 毎に処理を行う。
ステップS1-6: trak から stbl box (child box の直前まで)をそのままコピーする。
ステップS1-7: ステップS1-2およびステップS1-3で得られた情報を元に、stbl box 内の
child box を構築する。
ステップS1-8:全ての trak に対してステップS1-6からステップS1-7を実行する。
<必要データの更新>
ステップS1-9: stbl box 以下のサイズが小さくなった trak の各 box サイズを更新する
。その他、duration や modifictaion_time 等、必要に応じて更新する。
<Process for each trak>
Hereinafter (from step S1-6 to step S1-8, processing is performed for each inserted trak.
Step S1-6: Copy stbl box (just before child box) from trak.
Step S1-7: Based on the information obtained in Step S1-2 and Step S1-3,
Constructs a child box.
Step S1-8: Steps S1-6 to S1-7 are executed for all traks.
<Update required data>
Step S1-9: Update the size of each box of trak whose size is smaller than stbl box. In addition, duration, modifictaion_time, etc. are updated as necessary.

<終了処理>
ステップS1-10: moov 内に uuid 等が挿入されていれば、そのままコピーする。
ステップS1-11: moov の構築が完了。
以上の第1の実施形態では、trakと同位に単一のfree boxを構成するのみで効果をえる
ことができる。
(第2の実施形態)
本発明による第2の実施形態を図1乃至図2及び図6を参照して説明する。実施形態1
と共通する部分は説明を省略する。
図6は、trak 内に free boxを挿入しておくケースを示す図である。
切り出し後のstbl boxサイズについて、減少分が9[byte]以上である場合、free boxで
置き換えることが可能である(本願発明者による特許公開番号P2009-239861を参照)。fr
ee boxを挿入してオリジナルと同じサイズに保てば、trakの再配置などが不要になる。し
かし、減少分が 9 [byte] 未満の場合はfree boxで置換することが出来ない。
<End processing>
Step S1-10: If uuid etc. is inserted in moov, copy it as it is.
Step S1-11: Construction of moov is completed.
In the first embodiment described above, it is possible to obtain an effect simply by configuring a single free box that is the same as trak.
(Second Embodiment)
A second embodiment of the present invention will be described with reference to FIGS. 1 to 2 and FIG. Embodiment 1
A description of the same parts as those in FIG.
FIG. 6 is a diagram showing a case where a free box is inserted in trak.
Regarding the size of the stbl box after cutting, when the decrease is 9 [bytes] or more, it can be replaced with a free box (see Patent Publication No. P2009-239861 by the present inventor). fr
If you insert the ee box and keep it the same size as the original, you will not need to rearrange the trak. However, if the decrease is less than 9 [byte], it cannot be replaced with a free box.

そこで、事前に各trakの終端にboxサイズが9[byte] になるようなfree boxを挿入して
おく。これによって、減少分が9[byte]未満の場合でも、事前に挿入しておいたfree box
に吸収することが出来る。
Therefore, a free box with a box size of 9 [bytes] is inserted in advance at the end of each trak. As a result, even if the decrease is less than 9 [bytes], the free box inserted in advance
Can be absorbed.

上記のようにtrakを多重分離しないため、本実施形態ではソフトウェア処理に必要なメ
モリサイズが少なくて済む。特に長時間コンテンツの編集には有用である。
Since trak is not demultiplexed as described above, the memory size required for software processing is small in this embodiment. This is particularly useful for long-time content editing.

(1)MP4データから再生したい区間を部分的に抜き出し別のMP4データを作成する場合を
想定して、free boxを挿入しておく。切り出し後のMP4データをSDカードで持ち出す場合
、この挿入したfree boxのヘッダをSDカード向けの sdvp box で置き換えれば良い。これ
によって再多重化を行わずに、簡単なデータの置換で新たなMP4データを作成することが
出来る。
(1) A free box is inserted assuming that a section to be reproduced is partially extracted from MP4 data and another MP4 data is created. When taking out the cut-out MP4 data on an SD card, replace the inserted free box header with an sdvp box for the SD card. This makes it possible to create new MP4 data by simple data replacement without re-multiplexing.

(2)MP4データから再生したい区間を部分的に抜き出すと、各トラックの再生に関する
情報(stbl box以下のデータ)が削減される。この削減された領域をsdvp boxのUser_dat
a または Extra_dataとして利用するため、各トラックを後ろにずらし、sdvp boxのUser_
data または Extra_data領域を用意する。これによって、moovのサイズを維持したままSD
カード向けのMP4仕様を満たすことが出来る。
(2) When a section to be reproduced is partially extracted from MP4 data, information relating to reproduction of each track (data below the stbl box) is reduced. User_dat of the sdvp box
a or slide each track backwards for use as Extra_data, and User_ in the sdvp box
Prepare data or Extra_data area. This allows SD to remain moov size
Can meet MP4 specifications for cards.

即ち、moovに続いてmdatが存在するBox構造になっているMP4データの場合、moovのデー
タサイズが変わると格納先のオフセット値を更新しなければならない。Mdatの切り出しを
行なっても、moovの終端位置が同じであればmoovのデータ長を考慮しなくて済む。
That is, in the case of MP4 data having a Box structure in which mdat is present following moov, the storage destination offset value must be updated when the data size of moov changes. Even if Mdat is cut out, if the end position of moov is the same, there is no need to consider the data length of moov.

なお、この発明は上記実施形態に限定されるものではなく、この外その要旨を逸脱しな
い範囲で種々変形して実施することができる。
また、上記した実施の形態に開示されている複数の構成要素を適宜に組み合わせること
により、種々の発明を形成することができる。例えば、実施の形態に示される全構成要素
から幾つかの構成要素を削除しても良いものである。さらに、異なる実施の形態に係わる
構成要素を適宜組み合わせても良いものである。
In addition, this invention is not limited to the said embodiment, In the range which does not deviate from the summary, it can implement in various modifications.
Various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the above-described embodiments. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements according to different embodiments may be appropriately combined.

10…マイクロプロセッサ、16…信号処理部、17…グラフィック処理部、18…O
SD信号生成部、19…映像処理部、20…ディスプレイ、23…操作パネル、24…赤
外線受光部、25…リモコン、26…フラッシュメモリ、27…USBコネクタ、28…
カードコネクタ、29…ネットワーク通信回路、R…リモコン。
DESCRIPTION OF SYMBOLS 10 ... Microprocessor, 16 ... Signal processing part, 17 ... Graphic processing part, 18 ... O
SD signal generation unit, 19 ... Video processing unit, 20 ... Display, 23 ... Operation panel, 24 ... Infrared light receiving unit, 25 ... Remote control, 26 ... Flash memory, 27 ... USB connector, 28 ...
Card connector, 29... Network communication circuit, R.

Claims (4)

ISO14496に規定するデータ構造を有し、データ先頭のメタデータと前記メタデ
ータに続くメディアデータとからなるデータにおける切り出しをする切り出し手段と、
前記切り出し手段が切り出した前記データの先頭部分に相当する前記メタデータのIS
O14496に規定するフリーボックス(free box)をSD-Video規格に規定する SD
Profile Boxに置換する置換手段とを
備えた情報処理装置。
A cutout means for cutting out data in data having a data structure defined in ISO 14496 and consisting of metadata at the beginning of the data and media data following the metadata;
The IS of the metadata corresponding to the head portion of the data cut out by the cut-out means
SD that prescribes the free box specified in O14496 to the SD-Video standard
An information processing apparatus comprising replacement means for replacing with a Profile Box.
前記フリーボックスは、ISO14496に規定するtrakと同位に列せられる、請求項
1に記載の情報処理装置。
The information processing apparatus according to claim 1, wherein the free box is lined up with trak defined in ISO 14496.
前記フリーボックスは、ISO14496に規定するtrakの下位に列せられる、請求項
1に記載の情報処理装置。
The information processing apparatus according to claim 1, wherein the free boxes are arranged below a trak defined in ISO 14496.
切り出し手段が、ISO14496に規定するデータ構造を有し、データ先頭のメタデ
ータと前記メタデータに続くメディアデータとからなるデータにおける切り出しを実行し

更新手段が、前記切り出し手段が切り出した前記データの先頭部分に相当する前記メタ
データのISO14496に規定するフリーボックス(free box)をSD-Video規格に規定す
る SD
Profile Boxに置換する、情報処理方法。
The cutout means has a data structure defined in ISO 14496, and executes cutout in data composed of metadata at the head of data and media data following the metadata,
The update means defines a free box defined in ISO 14496 of the metadata corresponding to the head portion of the data cut out by the cutout means in the SD-Video standard.
Information processing method to replace with Profile Box.
JP2010143178A 2010-06-23 2010-06-23 Information processor and information processing method Pending JP2012010038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010143178A JP2012010038A (en) 2010-06-23 2010-06-23 Information processor and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010143178A JP2012010038A (en) 2010-06-23 2010-06-23 Information processor and information processing method

Publications (1)

Publication Number Publication Date
JP2012010038A true JP2012010038A (en) 2012-01-12

Family

ID=45540104

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010143178A Pending JP2012010038A (en) 2010-06-23 2010-06-23 Information processor and information processing method

Country Status (1)

Country Link
JP (1) JP2012010038A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003173625A (en) * 2001-12-04 2003-06-20 Hitachi Ltd Method and apparatus for file conversion, and file generation apparatus
JP2005347895A (en) * 2004-05-31 2005-12-15 Toshiba Corp Information recording device and information recording/reproducing system
JP2007109329A (en) * 2005-10-14 2007-04-26 Canon Inc Picture data recording apparatus, picture data reproducing apparatus, picture data recording method, program, and recording medium
JP2009239861A (en) * 2008-03-28 2009-10-15 Toshiba Corp Information processing apparatus, information processing method and information processing program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003173625A (en) * 2001-12-04 2003-06-20 Hitachi Ltd Method and apparatus for file conversion, and file generation apparatus
JP2005347895A (en) * 2004-05-31 2005-12-15 Toshiba Corp Information recording device and information recording/reproducing system
JP2007109329A (en) * 2005-10-14 2007-04-26 Canon Inc Picture data recording apparatus, picture data reproducing apparatus, picture data recording method, program, and recording medium
JP2009239861A (en) * 2008-03-28 2009-10-15 Toshiba Corp Information processing apparatus, information processing method and information processing program

Similar Documents

Publication Publication Date Title
JP4270379B2 (en) Efficient transmission and reproduction of digital information
CN101120590B (en) Method of live submitting a digital signal
CN105103540B (en) Document generating method, file creating apparatus and recording medium
US8189987B2 (en) Digital multimedia reproducing apparatus and method of providing digital multimedia broadcasting in the digital multimedia reproducing apparatus
CN103125123A (en) Playback device, playback method, integrated circuit, broadcasting system, and broadcasting method
CN110266985A (en) Reproducting method, content transmission method, transcriber, content transmission device
JP2007159107A (en) Method and apparatus for playing multimedia contents
JP2007306150A (en) Recording/reproducing apparatus, and program guide display method
JP2009534696A (en) Apparatus and method for encoding and decoding a plurality of digital data sets
JP2002152688A (en) Digital broadcast recording/reproducing device
JP2009301605A (en) Reproducing device, reproducing method, program, and data structure
JP4423551B2 (en) Broadcast recording / playback apparatus and broadcast recording / playback processing program
JP6415652B1 (en) VIDEO REPRODUCTION DEVICE, VIDEO RECORDING DEVICE, AND VIDEO RECORDING METHOD
JP6964436B2 (en) Video recording device and video playback device
US20050069289A1 (en) Transport stream recording/editing device and recording/editing method
JP2017183762A (en) Video stream generation method, reproduction device, and recording medium
JP6600059B2 (en) Video playback device and video recording device
JP2012010038A (en) Information processor and information processing method
JP2006217434A (en) Recording device, reproducing device, recording method, reproducing method, and recording and reproducing device
WO2015105037A1 (en) File generation method, file generation device and recording medium
JP2012235262A (en) Electronic apparatus
JP6991185B2 (en) Video playback device and video recording device
JP5870718B2 (en) Receiving device, receiving method and program
WO2016027426A1 (en) Video stream generation method, playback apparatus, and recording medium
JP4742326B2 (en) Broadcast recording / playback apparatus and broadcast recording / playback processing program

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20111125

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20111205

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130425

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130425

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140401

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140602

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20141209