[go: up one dir, main page]

JP2001238169A - Image editing device - Google Patents

Image editing device

Info

Publication number
JP2001238169A
JP2001238169A JP2000042697A JP2000042697A JP2001238169A JP 2001238169 A JP2001238169 A JP 2001238169A JP 2000042697 A JP2000042697 A JP 2000042697A JP 2000042697 A JP2000042697 A JP 2000042697A JP 2001238169 A JP2001238169 A JP 2001238169A
Authority
JP
Japan
Prior art keywords
data
screen
encoded
moving image
editing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000042697A
Other languages
Japanese (ja)
Other versions
JP3976979B2 (en
Inventor
Keiichi Hibi
慶一 日比
Masahiro Shioi
正宏 塩井
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2000042697A priority Critical patent/JP3976979B2/en
Publication of JP2001238169A publication Critical patent/JP2001238169A/en
Application granted granted Critical
Publication of JP3976979B2 publication Critical patent/JP3976979B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

(57)【要約】 【課題】 大幅なデータパケットの書換を伴わずに、比
較的簡単な処理によって自由な時間位置で動画像ファイ
ルの分割編集が可能な画像編集装置を提供する。 【解決手段】 本発明に従う画像編集装置は、分割編集
後の画面が画面間予測を用いて符号化されている場合に
は、一旦復号化した後に、画面間予測を用いないモード
で符号化する。再符号化された動画像符号化データが格
納されたデータパケットのタイムスタンプ値は、動画像
分割制御部33によって更新される。タイムスタンプ値
の更新は、再符号化によるデータ符号量の増加分に応じ
て実行される。再符号化された動画像符号化データを含
まないデータパケットについては、内容の書換は実行さ
れない。
(57) [Summary] [PROBLEMS] To provide an image editing apparatus capable of dividing and editing a moving image file at a free time position by relatively simple processing without rewriting large data packets. SOLUTION: An image editing apparatus according to the present invention, when a screen after divided editing is encoded using inter-picture prediction, performs decoding once, and then encodes in a mode not using inter-picture prediction. . The time stamp value of the data packet in which the re-encoded moving image encoded data is stored is updated by the moving image division control unit 33. The update of the time stamp value is executed in accordance with the increase in the data code amount due to the re-encoding. For data packets that do not include the re-encoded moving picture encoded data, the content is not rewritten.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、音声および動画
像などのマルチメディア情報を記録した動画像ファイル
の編集装置に関し、より特定的には、動画像データを符
号化して記録メディアに格納した動画像ファイルに対す
る時間的な編集処理、特にファイルの分割編集を行なう
ための画像編集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving image file editing apparatus in which multimedia information such as sound and moving image is recorded, and more particularly to a moving image file in which moving image data is encoded and stored in a recording medium. The present invention relates to a temporal editing process for an image file, and more particularly, to an image editing apparatus for performing file division editing.

【0002】[0002]

【従来の技術】画像処理技術の発展と、パーソナルコン
ピュータ(以下、単にPCとも称する)の性能向上によ
って、家庭のPCでも手軽にマルチメディア情報が扱え
るようになってきた。このため、音声および動画像等の
マルチメディア情報を、たとえばDOSファイル形式な
どに従った通常のPC上のファイルとして記録しかつ利
用できることが求められている。マルチメディア情報を
PC上でのファイルとして記録、管理することによっ
て、ワープロや表計算等の他のアプリケーションのファ
イルと同様に手軽に取扱うことが可能となる。
2. Description of the Related Art With the development of image processing technology and the improvement of the performance of personal computers (hereinafter, also simply referred to as PCs), multimedia information can be easily handled even by a home PC. For this reason, it is required that multimedia information such as audio and moving images can be recorded and used as a file on a normal PC according to, for example, a DOS file format. By recording and managing the multimedia information as a file on the PC, it becomes possible to handle the information as easily as a file of another application such as a word processor or a spreadsheet.

【0003】動画像を記録したファイルが簡単に利用で
きるようになると、動画像ファイルに対する編集機能を
提供する必要が生じる。動画像の編集としては、ファイ
ルの分割、ファイルの結合、ファイルの一部分だけを抜
き出すトリミング等の時間的な編集が主である。これら
の中で、動画像の撮影時に余分に記録した部分をカット
したり、注目したい部分だけを抽出するための分割編集
は、特に重要な機能である。なお、トリミングは、2回
ファイル分割を組合せれば実現できるため、機能的には
ファイルの分割と同様の処理で実行できる。
[0003] When a file in which a moving image is recorded can be easily used, it becomes necessary to provide an editing function for the moving image file. Editing of a moving image mainly includes temporal editing such as file division, file combination, and trimming for extracting only a part of a file. Among these, the division editing for cutting a part recorded extra when a moving image is captured or extracting only a part to be focused on is a particularly important function. Note that trimming can be realized by combining two file divisions, and thus can be functionally executed by processing similar to file division.

【0004】しかしながら、動画像データは、そのデー
タ量が多いため、ファイルに記録する際には符号化によ
る情報量の圧縮を行なう必要がある。このため、ファイ
ルの分割編集処理も単純に実行することができない。一
般に、動画像データの符号化においては、フレーム/フ
ィールド間予測を用いて、画面間で変化があった情報の
みを抽出して利用している。したがって、ある画面に対
しては、予測の際に参照した以前の画面からの差分情報
のみが符号化データとしてファイルに記録されている。
このため、動画像ファイルに対して分割などの編集を行
なうと、分割した後半のファイルに含まれる画面に対す
る予測の参照画面がなくなり、正常な画像を復元できな
くなってしまうというケースが生じるおそれがある。
However, since moving image data has a large data amount, it is necessary to compress the amount of information by encoding when recording the moving image data in a file. For this reason, the file division editing process cannot be simply executed. Generally, in coding moving image data, only information that has changed between screens is extracted and used by using inter-frame / field prediction. Therefore, for a certain screen, only the difference information from the previous screen referred at the time of prediction is recorded in the file as encoded data.
For this reason, if editing such as division is performed on a moving image file, there is a possibility that a case where a reference image for prediction for a screen included in the latter half of the divided file disappears and a normal image cannot be restored may occur. .

【0005】図8は、動画像データの符号化における画
面間の予測処理を説明する図である。
FIG. 8 is a diagram for explaining a prediction process between screens in coding moving image data.

【0006】図8を参照して、符号化された動画像デー
タの各画面は、他の画面からの予測を用いない画面内符
号化画面(図中Iで表記し、以下イントラ符号化画面と
も称する)と、1つ前の画面を参照して予測符号化され
た画面間符号化画面(図中においてPで表記)とから構
成されている。ここで、たとえば(a)に示すように、
画面間符号化画面である画面62の直前で動画像データ
を分割する場合について説明する。画面62は、画面6
1からの予測を用いて符号化が行なわれている。
Referring to FIG. 8, each screen of the coded moving image data is an intra-screen coded screen that uses no prediction from other screens (indicated by I in the figure, and hereinafter referred to as an intra-coded screen). ) And an inter-coded screen (noted by P in the figure) that is predictively coded with reference to the immediately preceding screen. Here, for example, as shown in (a),
A case where moving image data is divided immediately before a screen 62 which is an inter-screen coding screen will be described. Screen 62 is screen 6
The encoding is performed using the prediction from 1.

【0007】このとき、(b)に示す分割後の動画像デ
ータにおいては、画面62が先頭に位置することとなる
ため、画面62が予測の際に参照していた画面61が存
在しなくなり、画面62を正しく復号することができな
くなってしまう。
At this time, in the moving image data after the division shown in (b), since the screen 62 is positioned at the head, the screen 61 referred to at the time of the prediction of the screen 62 does not exist. The screen 62 cannot be correctly decoded.

【0008】従来の画像編集装置においては、このよう
な問題が生じるのを避けるために、以前の画面からの予
測を用いずに符号化されている、イントラ符号化画面の
直前においてのみ分割編集が行なわれることとしてい
た。すなわち、図8の例でいえば、イントラ符号化画面
である画面63の直前においてのみ分割が可能である。
In the conventional image editing apparatus, in order to avoid such a problem, division editing is performed only immediately before an intra-coded screen, which is coded without using prediction from a previous screen. Was to be done. That is, in the example of FIG. 8, division is possible only immediately before the screen 63 which is an intra-coded screen.

【0009】図9は、従来の画像編集装置において動画
像データを分割した場合におけるファイル内のデータパ
ケットの書換を説明する図である。
FIG. 9 is a diagram for explaining rewriting of a data packet in a file when moving image data is divided in a conventional image editing apparatus.

【0010】詳細は後ほど説明するが、1画面に対応す
る動画像符号化データ(VOP)および音声符号化デー
タは複数個に分割され、分割されたそれぞれのデータは
データパケットを構成する。図9においては、イントラ
符号化画面の動画像符号化データI−VOP6は、I−
IVOP6−1、I−VOP6−2およびI−VOP6
−3の3つに分割されて、データパケットに格納されて
いる。
Although the details will be described later, the moving picture coded data (VOP) and the voice coded data corresponding to one screen are divided into a plurality of pieces, and each of the divided data forms a data packet. In FIG. 9, moving image encoded data I-VOP6 of the intra-encoded screen is I-VOP6.
IVOP6-1, I-VOP6-2 and I-VOP6
-3 and stored in the data packet.

【0011】ここで、I−VOP6に対応するイントラ
符号化画面の直前で動画像ファイルを分割する場合にお
いては、これ以前の動画像符号化データおよび音声符号
化データは不要である。そこで、先頭の符号化データI
−VOP6−1が格納されているデータパケットの中
で、I−VOP6−1より前に位置するデータを破棄
し、当該I−VOP6−1の符号化データを前に詰め
る。
Here, when a moving image file is divided immediately before an intra-coded screen corresponding to I-VOP 6, the preceding moving image encoded data and audio encoded data are unnecessary. Therefore, the first encoded data I
-Discard the data located before the I-VOP 6-1 in the data packet storing the VOP 6-1 and pack the encoded data of the I-VOP 6-1 forward.

【0012】したがって、データパケット201中に格
納されていた1つ前の画面間符号化画面に対応する動画
像データP−VOP5−2は破棄され、分割前のデータ
パケット201に対応する分割後のデータパケット20
2においては、I−VOP6−1の符号化データが前に
詰められ、空いた部分にはパケットデータ長を一定とす
るためのダミーのデータバイトであるパディング情報が
埋められる。
Therefore, the moving picture data P-VOP 5-2 corresponding to the immediately preceding inter-coded picture stored in the data packet 201 is discarded, and the divided video data P-VOP 5-2 corresponding to the data packet 201 before division is discarded. Data packet 20
In 2, the coded data of the I-VOP 6-1 is stuffed to the front, and padding information, which is a dummy data byte for keeping the packet data length constant, is filled in the vacant portion.

【0013】このように、分割後の先頭パケットである
202は書換られるが、その後に続くデータパケット2
03および205についてはパケットデータの書換は不
要である。
As described above, although the first packet 202 after division is rewritten, the subsequent data packet 2
For 03 and 205, rewriting of packet data is unnecessary.

【0014】このように、動画像ファイルの分割位置を
イントラ符号化画面の直前に限定し、動画像符号化デー
タ自体を操作して分割処理を行なう画像編集装置として
は、たとえば特開平8−149408号公報に開示され
た動画編集方法および装置がある。当該編集装置におい
ては、MPEG−1、MPEG−2などで採用されるG
OP(グループ・オブ・ピクチャ)単位で分割編集を行
なうこととしている。
As described above, as an image editing apparatus for limiting the division position of a moving image file immediately before an intra-encoded screen and operating the moving image encoded data itself to perform division processing, for example, Japanese Patent Laid-Open No. 8-149408 There is a moving image editing method and apparatus disclosed in Japanese Patent Application Laid-Open Publication No. H10-26095. In the editing apparatus, G used in MPEG-1, MPEG-2, etc.
Divided editing is performed in OP (group of picture) units.

【0015】一般に、GOPの最初の画面はイントラ符
号化画面となるように構成されているため、GOP単位
で分割編集を行なうこととすれば、分割後の先頭の画面
においては、正しい復号データを得ることが可能であ
る。
In general, the first picture of a GOP is configured to be an intra-coded picture. Therefore, if divisional editing is to be performed in GOP units, correct decoded data cannot be obtained in the first picture after division. It is possible to get.

【0016】図10は、従来の技術の画像編集装置20
0の構成を説明する概略ブロック図である。
FIG. 10 shows a conventional image editing apparatus 20.
FIG. 2 is a schematic block diagram illustrating a configuration of a zero.

【0017】図10を参照して、画像編集装置200
は、編集の対象となる動画像ファイルデータパケットを
動画像符号化データと音声符号化データとに分解するパ
ケット分解部51と、分解されたパケットデータのうち
動画像符号化データを編集するための、符号化データ分
割部52、符号化データ再構成部55、符号化データ解
析制御部57、ダミー符号化データ作成部53およびス
タッフィング符号化データ作成部54と、分割後の動画
像符号化データと音声符号化データとを動画像ファイル
データパケットに再構成するためのパケット再構成部5
6とを備える。
Referring to FIG. 10, image editing apparatus 200
A packet decomposer 51 for decomposing a video file data packet to be edited into video encoded data and audio encoded data; and a packet decomposer 51 for editing the video encoded data among the decomposed packet data. Coded data division unit 52, coded data reconstruction unit 55, coded data analysis control unit 57, dummy coded data creation unit 53 and stuffing coded data creation unit 54, A packet reconstructing unit 5 for reconstructing audio encoded data into a moving image file data packet
6 is provided.

【0018】パケット分解部51は、動画像データのパ
ケットファイルを分割して、音声符号化データおよび動
画像符号化データを取り出して出力する。
The packet decomposing unit 51 divides a packet file of moving picture data, extracts voice encoded data and moving picture encoded data, and outputs them.

【0019】符号化データ分解部52は、動画像符号化
データを分割位置がGOPの先頭となるように分割す
る。
The coded data decomposing unit 52 divides the coded moving picture data so that the dividing position is at the head of the GOP.

【0020】しかし、MPEG−1やMPEG−2の場
合、GOPの中には、先頭のイントラ符号化画面の直後
の双方向の予想画面など、時間的に前に位置するGOP
内の画面を参照している画面も存在する。このように、
分割後に予測参照画面がなくなった画面の符号化データ
が含まれていた場合には、ダミー符号化データ作成部5
3において、画面間で全く変化がなかったことを示すダ
ミーの符号化データを作成する。そして、符号化データ
再構成部55において、当該符号化データをダミー符号
化データに置き換える。このような置き換えを行なった
としても、その影響としては、GOP先頭画面と同一の
画面が数画面分の時間続けて表示されるだけであり、視
覚的に異常な画面が表示されることはない。
However, in the case of MPEG-1 or MPEG-2, the GOP includes a GOP located temporally ahead such as a bidirectional prediction screen immediately after the first intra-coded screen.
Some screens refer to the screens in the list. in this way,
If the encoded data of the screen in which the prediction reference screen disappears after the division is included, the dummy encoded data creation unit 5
In step 3, dummy encoded data indicating that there is no change between screens is created. Then, the coded data reconstruction unit 55 replaces the coded data with dummy coded data. Even if such replacement is performed, the only effect is that the same screen as the GOP top screen is displayed continuously for several screens, and no visually abnormal screen is displayed. .

【0021】さらに、従来の画像編集装置200におい
ては、分割編集が行なわれた動画像符号化データを復号
する際に、デコーダのバッファ状態が、分割以前の動画
像符号化データに対するバッファ状態と同一となるよう
にスタッフィング符号化データ作成部54でスタッフィ
ングデータを生成して、符号発生量が予定より少ない場
合には、アンダーフローを防ぐために動画像符号化デー
タに挿入するように、再構成処理を行なう。
Further, in the conventional image editing apparatus 200, when decoding the divided and encoded moving image data, the buffer state of the decoder is the same as the buffer state for the moving image encoded data before division. The stuffing data generation unit 54 generates the stuffing data so that the code generation amount is smaller than expected, and the reconstruction processing is performed so that the stuffing data is inserted into the moving image coded data in order to prevent underflow. Do.

【0022】符号化データ解析制御部57は、編集制御
情報に応じて、動画像符号化データの分割位置がGOP
の先頭となるように制御して、符号化データ分割部52
における分割位置を指定する。
The encoded data analysis control unit 57 determines whether the divided position of the encoded moving image data is a GOP according to the edit control information.
Of the encoded data dividing unit 52
Specify the division position in.

【0023】パケット再構成部56は、符号化データ再
構成部55から出力された分割後の動画像符号化データ
とこれに対応する音声符号化データとを併せて動画像フ
ァイルデータパケットを再構成する。
The packet reconstructing unit 56 reconstructs a moving image file data packet by combining the divided moving image encoded data output from the encoded data reconstructing unit 55 and the corresponding audio encoded data. I do.

【0024】パケット再構成部56は、分割後のデータ
パケットを出力する。符号化データ解析制御部57は、
たとえば外部からの分割位置指示情報を含む編集制御情
報を受けて動画像符号化データの分割処理を制御する。
符号化データ分割部52は、符号化データ解析制御部5
7に制御されて、指示された位置において動画像符号化
データを分割する。
The packet reconfiguration unit 56 outputs the divided data packet. The encoded data analysis control unit 57
For example, it receives the editing control information including the dividing position indication information from the outside and controls the dividing process of the moving picture encoded data.
The coded data division unit 52 includes a coded data analysis control unit 5
7 to divide the moving image encoded data at the designated position.

【0025】符号化データ解析制御部57は、編集制御
情報に従って、符号化データ分割部52における分割位
置の制御、符号化データ再構成部55におけるダミー符
号化データへの置き換え、スタッフィングデータの挿入
量の制御などを行なう。こうして、再構成された動画像
符号化データは、パケット再構成部56において、動画
像ファイルに格納するための音声符号化データとの多重
化処理を行なって、分割後のデータパケットを構成して
出力する。
The encoded data analysis control unit 57 controls the division position in the encoded data division unit 52, replaces the encoded data with the dummy encoded data in the encoded data reconstruction unit 55, and inserts the stuffing data in accordance with the editing control information. And so on. The coded moving picture data thus reconstructed is subjected to multiplexing processing with the coded sound data to be stored in the moving picture file in the packet reconstructing unit 56 to form a data packet after division. Output.

【0026】また、動画像ファイルに予めスタッフィン
グデータを埋込んでおくのではなく、動画像ファイルを
読出して再生する時点でデコーダのバッファ状態を調整
する方法として、特開平7−184176号公報に開示
された技術も存在する。当該公報においては記録された
動画像符号化データを読出して、受信端末へ送出する際
に、受信端末のデコーダバッファがオーバーフローやア
ンダーフローを起こさないように、画像データの情報量
を監視しながらフィルビットを挿入してデータ量を調整
する蓄積画像再生装置が開示されている。
Japanese Patent Laid-Open No. 7-184176 discloses a method for adjusting the buffer state of a decoder when a moving image file is read and reproduced, instead of embedding stuffing data in the moving image file in advance. Some technologies have been developed. In this publication, when the recorded moving picture encoded data is read out and transmitted to the receiving terminal, the buffer is monitored while monitoring the information amount of the image data so that the decoder buffer of the receiving terminal does not overflow or underflow. A stored image reproducing apparatus that adjusts the amount of data by inserting bits is disclosed.

【0027】さらに、その他の従来技術として特開平7
−184189号公報において、端末から受信した動画
像符号化データを記録する際に、先頭画面をイントラ符
号化することによって、任意の画面を先頭として記録で
きるようにした映像情報蓄積制御装置が開示されてい
る。
Further, as another prior art, Japanese Patent Application Laid-Open
Japanese Patent Application Publication No. 184189 discloses a video information accumulation control device in which, when recording moving image encoded data received from a terminal, an arbitrary screen can be recorded as the top by intra-coding the top screen. ing.

【0028】[0028]

【発明が解決しようとする課題】しかしながら、これら
の従来技術においては、分割位置をイントラ符号化画面
やGOPの境界部分だけに制限するため、ユーザがファ
イルの分割位置を自由に選択することができず、記録し
た動画像のシーンに応じた自由な分割編集を行なうこと
ができない。
However, in these prior arts, since the division position is limited to only the boundary between the intra-coded screen and the GOP, the user can freely select the division position of the file. In addition, it is not possible to perform free division editing according to the scene of the recorded moving image.

【0029】また、イントラ符号化画面が挿入される間
隔や位置は、エンコーダが適当に選択して決定するもの
であり、ユーザが見たいシーンの開始位置等の動画像の
内容を反映したものとはなっていない。
The intervals and positions at which the intra-coded screens are inserted are determined by the encoder appropriately selecting the intervals and positions reflecting the contents of the moving image such as the start position of the scene desired by the user. Not.

【0030】特に、動画像が数kbit/s〜数百kb
it/sのような低レートで符号化されている場合に
は、情報量を削減するためのコマ落し処理や、イントラ
符号化によるデータ量の増加を回避するためにイントラ
符号化画面に挿入間隔を数秒〜十数秒と長く確保する必
要があるため、分割の許容位置が極度に制限されること
となる。したがって、ユーザが所望の画面位置で動画像
ファイルを分割することができないという問題が生じ
る。
In particular, when the moving image is several kbit / s to several hundred kb
In the case of encoding at a low rate such as it / s, the frame drop processing for reducing the amount of information and the insertion interval in the intra-encoded screen in order to avoid an increase in the amount of data due to intra-encoding. Is required to be as long as several seconds to several tens of seconds, so that the allowable position of division is extremely limited. Therefore, there is a problem that the user cannot divide the moving image file at a desired screen position.

【0031】また、動画像符号化データの構造上は、無
理に画面間予測符号化画面の位置で分割することも可能
であるが、このように分割した動画像符号化データを再
生すると、画面間予測における参照画像が存在しなくな
る。このため、次のイントラ符号化画面を復号して正し
い予測参照画面が得られるまでは、正常な復号画像を得
ることができない。したがって、正常な復号画像を得る
には次のイントラ符号化画面まで待たなければならない
ため、表示される動画像としては、前述のようにイント
ラ符号化画面の位置で分割した場合と同様になってしま
う。
Further, according to the structure of the coded moving picture data, it is possible to forcibly divide the data at the position of the inter prediction coding screen. There is no reference image in inter prediction. For this reason, a normal decoded image cannot be obtained until a correct prediction reference screen is obtained by decoding the next intra-coded screen. Therefore, in order to obtain a normal decoded image, it is necessary to wait until the next intra-coded screen, so that the moving image to be displayed is the same as that when the image is divided at the position of the intra-coded screen as described above. I will.

【0032】さらに、分割した先頭画面を単にイントラ
符号化画面に再符号化するだけでは、分割処理前の画面
間予測符号化に比べてデータ量が増加してしまうため、
バッファのオーバーフローもしくはアンダーフローが生
じて、デコーダが正常に動作できなくなってしまう可能
性がある。
Furthermore, simply re-encoding the divided top screen into an intra-coded screen increases the data amount as compared with the inter-picture prediction coding before the division processing.
The buffer may overflow or underflow, and the decoder may not operate properly.

【0033】そこで、スタッフィングの挿入処理などを
行なうために、従来の画像編集装置200などのように
符号化データを直接操作すると、再構成後の動画像符号
化データをファイル構造に従うように再度フォーマット
してからファイルに書込む処理が必要となり、ファイル
全体の書換処理が必要となる。これにより、動画像カメ
ラなど、処理操作の制約が大きい小型携帯機上での編集
処理や、長時間の動画像ファイルのように非常に大きな
サイズのファイルを処理する場合などには、ファイル読
み書きの負荷が大きいため処理時間も非常に長くなって
しまう。したがって、このような分割方法を実現するこ
とは非常に困難となる。特に、上述したように再符号化
によってデータ量が増える場合には、スタッフィングの
挿入だけで対応することは不可能である。
Therefore, when the encoded data is directly manipulated as in the conventional image editing apparatus 200 in order to perform a stuffing insertion process or the like, the reconstructed moving image encoded data is again formatted so as to conform to the file structure. Then, a process of writing to the file is required, and a process of rewriting the entire file is required. This makes it possible to read / write files when editing on a small portable device such as a moving image camera, which has large restrictions on processing operations, or when processing a very large file such as a long moving image file. Since the load is large, the processing time becomes very long. Therefore, it is very difficult to realize such a dividing method. In particular, as described above, when the data amount increases due to re-encoding, it is impossible to cope with the stuffing only.

【0034】さらに、スタッフィング、フィルビットな
どの挿入処理においては、挿入すべきデータ量を決定す
るために、デコーダバッファの状態を推定する処理が必
要となる。この推定処理においては、動画像ファイル内
の符号化データのビットフレーム、フレームレートおよ
び符号化方式などの条件をすべて考慮して、デコーダの
振る舞いを想定する必要があるため、ファイル内部の符
号化データの詳細な解析が必要である。このような推定
処理は複雑であるだけでなく、既知の符号化方式以外の
任意の符号化方式には対応できないため自由度を欠く結
果になるという問題点があった。
Further, in the insertion processing such as stuffing and fill bit, processing for estimating the state of the decoder buffer is required in order to determine the amount of data to be inserted. In this estimation process, it is necessary to assume the behavior of the decoder in consideration of all the conditions such as the bit frame, frame rate, and encoding method of the encoded data in the moving image file. Detailed analysis is required. Such an estimation process is not only complicated, but also cannot cope with an arbitrary coding system other than a known coding system, and thus has a problem that the result lacks flexibility.

【0035】本発明はこのような問題点を解決するため
になされたものであって、この発明の目的は、大幅なデ
ータパケットの書換を伴わずに、比較的簡単な処理によ
って自由な時間位置で動画像ファイルの分割編集が可能
な画像編集装置を提供することである。
The present invention has been made to solve such a problem, and an object of the present invention is to provide a free time position by relatively simple processing without rewriting large data packets. The present invention provides an image editing apparatus capable of dividing and editing a moving image file.

【0036】[0036]

【課題を解決するための手段】請求項1記載の画像編集
装置は、動画像符号化データを格納する複数のデータパ
ケットから構成される動画像ファイルを分割編集するた
めの画像編集装置であって、動画像符号化データを復号
して動画像データを出力するための復号処理手段と、デ
ータパケットの分割編集処理を制御する分割編集制御手
段と、分割編集後に先頭となる動画像の画面である先頭
画面に対応する動画像データを復号処理手段から受け
て、時間的に前の画面からの予測を用いないモードで再
符号化して動画像符号化データを出力する分割画面再符
号化手段と、動画像符号化データと再生時におけるデー
タパケットの送出時刻を示すタイムスタンプ値とを結合
して、分割編集処理後のデータパケットを生成するパケ
ット再構成手段とを備える。
According to a first aspect of the present invention, there is provided an image editing apparatus for dividing and editing a moving image file including a plurality of data packets storing moving image encoded data. A decoding processing unit for decoding moving image encoded data and outputting moving image data, a division editing control unit for controlling a division editing process of a data packet, and a moving image screen to be the first after the division editing. A divided screen re-encoding unit that receives moving image data corresponding to the first screen from the decoding processing unit, re-encodes in a mode that does not use prediction from a temporally previous screen, and outputs moving image encoded data, Packet reconstructing means for combining the encoded video data and a time stamp value indicating the transmission time of the data packet at the time of reproduction to generate a data packet after the division and editing processing; Obtain.

【0037】請求項2記載の画像編集装置は、請求項1
記載の画像編集装置であって、分割画面再符号化手段と
パケット再構成手段との間に配置されるデータ切換回路
をさらに備え、データ切換回路は、分割編集制御手段に
制御されて、分割画面再符号化手段の出力する動画像符
号化データおよび復号処理手段で復号される前の動画像
符号化データのいずれか一方をパケット再構成手段に与
える。
The image editing apparatus according to the second aspect is the first aspect of the invention.
The image editing device according to the above, further comprising a data switching circuit disposed between the divided screen re-encoding means and the packet reconstructing means, wherein the data switching circuit is controlled by the divided editing control means, One of the encoded video data output from the re-encoding unit and the encoded video data before being decoded by the decoding processing unit is provided to the packet reconstructing unit.

【0038】請求項3記載の画像編集装置は、請求項2
記載の画像編集装置であって、パケット再構成手段は、
先頭画面に対応する動画像符号化データが分割編集処理
前において時間的に前の画面からの予測を用いるモード
で符号化されている場合においては、分割編集処理後の
データパケットのうちの先頭画面に対応する動画像符号
化データを分割画面再符号化手段の出力する動画像符号
化データを用いて生成する。
The image editing apparatus according to the third aspect is the second aspect.
The image editing apparatus according to the above, wherein the packet reconstructing unit comprises:
If the moving picture encoded data corresponding to the first screen is encoded in a mode using prediction from a temporally previous screen before the divided editing processing, the first screen of the data packet after the divided editing processing is used. Is generated using the encoded video data output from the divided screen re-encoding means.

【0039】請求項4記載の画像編集装置は、請求項2
記載の画像編集装置であって、パケット再構成手段は、
先頭画面に対応する動画像符号化データが分割編集処理
前において時間的に前の画面からの予測を用いないモー
ドで符号化されている場合においては、分割編集処理後
のデータパケットのうちの先頭画面に対応する動画像符
号化データを復号処理手段で復号される前の動画像符号
化データをそのまま用いて生成する。
The image editing apparatus according to the fourth aspect is the second aspect of the invention.
The image editing apparatus according to the above, wherein the packet reconstructing unit comprises:
If the encoded video data corresponding to the first screen is coded in a mode that does not use prediction from the temporally previous screen before the divided editing processing, the leading part of the data packet after the divided editing processing is used. The encoded video data corresponding to the screen is generated using the encoded video data before being decoded by the decoding processing unit as it is.

【0040】請求項5記載の画像編集装置は、請求項1
記載の画像編集装置であって、分割編集制御手段は、分
割編集処理前において先頭画面に対応する動画像符号化
データを含まないデータパケットに対しては内容の書換
を指示しない。
An image editing apparatus according to a fifth aspect of the present invention provides the image editing apparatus according to the first aspect.
In the image editing apparatus described above, the divided editing control unit does not instruct the rewriting of the contents of the data packet that does not include the moving picture encoded data corresponding to the first screen before the divided editing processing.

【0041】請求項6記載の画像編集装置は、請求項1
記載の画像編集装置であって、分割編集制御手段は、分
割画面再符号化手段によって再符号化された動画像符号
化データが格納される分割編集処理後のデータパケット
のタイムスタンプ値を設定するためのタイムスタンプ値
更新手段を含み、タイムスタンプ値更新手段は、再符号
化された動画像符号化データのデータ量と、動画像符号
化データの伝送ビットレートとに基いて、タイムスタン
プ値を設定する。
According to a sixth aspect of the present invention, there is provided an image editing apparatus.
In the image editing apparatus described above, the divided editing control unit sets a time stamp value of a data packet after the divided editing process in which the moving image encoded data re-encoded by the divided screen re-encoding unit is stored. The time stamp value updating means for updating the time stamp value based on the data amount of the re-encoded moving image encoded data and the transmission bit rate of the encoded moving image data. Set.

【0042】請求項7記載の画像編集装置は、請求項6
記載の画像編集装置であって、タイムスタンプ値更新手
段は、再符号化された動画像符号化データのデータ量お
よび動画像符号化データの伝送ビットレートから、先頭
画面の再生時におけるデコーダのバッファ量を推定し、
推定されたバッファ量に基いて、デコーダにおいてオー
バーフローもしくはアンダーフローが生じないようにタ
イムスタンプ値を設定する。
According to a seventh aspect of the present invention, there is provided the image editing apparatus according to the sixth aspect.
The timestamp value updating means, based on a data amount of the re-encoded moving image encoded data and a transmission bit rate of the encoded moving image data, a buffer of a decoder at the time of reproducing the first screen. Estimate the amount,
Based on the estimated buffer amount, a time stamp value is set so that overflow or underflow does not occur in the decoder.

【0043】請求項8記載の画像編集装置は、請求項6
記載の画像編集装置であって、タイムスタンプ値更新手
段は、先頭画面に対応する動画像符号化データの再符号
化に伴うデータ量増加分に対応する時間分だけ、先頭画
面に対応する動画像符号化データを先行して送出するよ
うにタイムスタンプ値を設定する。
[0043] The image editing apparatus according to claim 8 provides the image editing apparatus according to claim 6.
The time stamp value updating means includes a moving image corresponding to the first screen for a time corresponding to a data amount increase accompanying re-encoding of the moving image encoded data corresponding to the first screen. The time stamp value is set so that the encoded data is transmitted first.

【0044】請求項9記載の画像編集装置は、請求項8
記載の画像編集装置であって、タイムスタンプ値更新手
段は、データ量増加分を、再符号化された動画像符号化
データのデータ量と分割編集処理前の動画像ファイルに
ついての先頭画面の再生時におけるデコーダのバッファ
量との差および、伝送ビットレートによって算出する。
An image editing apparatus according to a ninth aspect is the eighth aspect of the invention.
The timestamp value updating means is configured to reproduce the data amount of the re-encoded moving image encoded data and the first screen of the moving image file before the divided editing process. It is calculated from the difference from the buffer amount of the decoder at the time and the transmission bit rate.

【0045】請求項10記載の画像編集装置は、請求項
6記載の画像編集装置であって、パケット再構成手段
は、先頭画面に対応する動画像符号化データを含まない
データパケットに対しては、分割編集処理前のタイムス
タンプ値をそのまま用いて分割編集処理後のデータパケ
ットを生成する。
An image editing apparatus according to a tenth aspect is the image editing apparatus according to the sixth aspect, wherein the packet reconstructing means is configured to perform processing on a data packet that does not include encoded moving image data corresponding to the first screen. Then, the data packet after the division editing process is generated using the time stamp value before the division editing process as it is.

【0046】請求項11記載の画像編集装置は、請求項
1記載の画像編集装置であって、複数のセクタに分割さ
れた記憶媒体を有するファイル記憶部と、複数のセクタ
に格納されたデータから動画像ファイルを構成するため
の管理情報を制御するファイル管理部と、ファイル格納
部にデータを書込むためのファイル書込部とをさらに備
え、ファイル書込部は、分割編集処理に伴って必要とな
るデータ書換をセクタ単位ごとに実行する。
An image editing apparatus according to an eleventh aspect is the image editing apparatus according to the first aspect, wherein a file storage unit having a storage medium divided into a plurality of sectors and a data stored in the plurality of sectors are provided. It further includes a file management unit for controlling management information for composing a moving image file, and a file writing unit for writing data to a file storage unit. Is performed for each sector unit.

【0047】請求項12記載の画像編集装置は、請求項
11記載の画像編集装置であって、ファイル管理部は、
分割編集処理に伴って動画像ファイルについてのセクタ
の構成が変化した場合においては、管理情報を更新す
る。
An image editing apparatus according to a twelfth aspect is the image editing apparatus according to the eleventh aspect, wherein:
When the configuration of the sector of the moving image file changes due to the division editing process, the management information is updated.

【0048】[0048]

【発明の実施の形態】以下において、本発明の実施の形
態について図面を参照して詳しく説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0049】図1は、本発明に従う画像編集装置におけ
る動画像データの分割処理の概要を説明する図である。
FIG. 1 is a diagram for explaining an outline of a moving image data dividing process in the image editing apparatus according to the present invention.

【0050】図1を参照して、図8の場合と同様に、イ
ントラ符号化画面はI、予測符号化を伴う画面間符号化
画面はPで表記される。既に説明したように、(a)に
示すようにイントラ符号化画面61を参照して予測符号
化される画面間符号化画面62の直前で動画像ファイル
を分割すると、(b)に示すように、画面62の予測参
照画面が存在しなくなるため、画面62を正しく復号す
ることができなくなってしまう。
Referring to FIG. 1, as in the case of FIG. 8, an intra-coded screen is denoted by I, and an inter-coded screen accompanied by predictive coding is denoted by P. As described above, when a moving image file is divided just before an inter-picture coding screen 62 that is predictively coded with reference to the intra-coding screen 61 as shown in FIG. Since the prediction reference screen of the screen 62 no longer exists, the screen 62 cannot be correctly decoded.

【0051】そこで、本発明に従う画像編集装置におい
ては、(c)に示すように、分割処理において、分割の
先頭となる画面62を一旦復号して、復号画像データ6
2dを得る。ここで、画面62を復号するためには、動
画像符号化データを先頭から順次復号していくか、もし
くは画面62の直前にある単独で復号可能なイントラ符
号化画面(図1中の画面59)から始めて、画面62ま
で復号していけばよい。
Therefore, in the image editing apparatus according to the present invention, as shown in (c), in the dividing process, the screen 62 at the beginning of the division is temporarily decoded and the decoded image data 6 is decoded.
2d is obtained. Here, in order to decode the screen 62, the moving picture coded data is sequentially decoded from the head, or an independently coded intra coded screen immediately before the screen 62 (screen 59 in FIG. 1). ), Decoding up to the screen 62.

【0052】次に、画像データに復元された画面62d
を以前の画面からの予測を用いないようにイントラ符号
化画面に再符号化する。このような一連の動作によっ
て、画面内符号化されたイントラ符号化画面64の動画
像符号化データが得られる。画面64に続く画面65に
ついては、再符号化された画面64を参照して予測が行
なわれるため、元の画面間予測を反映した符号化データ
のままでよい。
Next, the screen 62d restored to the image data
Is re-encoded into an intra-coded screen so as not to use the prediction from the previous screen. Through such a series of operations, the moving picture encoded data of the intra-coded screen 64 that has been intra-coded is obtained. For a screen 65 subsequent to the screen 64, prediction is performed with reference to the re-encoded screen 64, so that the encoded data reflecting the original inter-picture prediction may be used.

【0053】図2は、本発明に従う画像編集装置100
の構成を示す概略ブロック図である。
FIG. 2 shows an image editing apparatus 100 according to the present invention.
FIG. 2 is a schematic block diagram showing the configuration of FIG.

【0054】図2を参照して、画像編集装置100は、
動画像ファイルを格納するファイル記憶部21と、ファ
イル記憶部21の記憶領域の管理および動画像ファイル
に対するアクセスの制御等を行なうファイル管理部22
と、動画像ファイルを再生する場合において、動画像フ
ァイルの読出および動画像ファイルの内容の解読を実行
するファイル読出部27およびファイル解読部28と、
動画像データの分割編集を行なうための分割編集処理ブ
ロック40と、動画像ファイルに対する分割編集処理等
のユーザ指示を処理するためのユーザ入力処理部26
と、音声符号化データおよび動画像符号化データの復号
結果をもとに音声および動画像をそれぞれ出力するため
の音声出力部52および動画像出力部55とを備える。
Referring to FIG. 2, image editing apparatus 100 includes:
A file storage unit 21 for storing a moving image file, and a file management unit 22 for managing a storage area of the file storage unit 21 and controlling access to the moving image file and the like.
A file reading unit 27 and a file decrypting unit 28 that execute reading of the moving image file and decrypting the contents of the moving image file when reproducing the moving image file;
A divided editing processing block 40 for performing divided editing of moving image data, and a user input processing unit 26 for processing a user instruction such as divided editing processing for a moving image file
And a sound output unit 52 and a moving image output unit 55 for outputting a sound and a moving image, respectively, based on decoding results of the sound coded data and the moving image coded data.

【0055】分割編集処理ブロック40は、ファイル解
読部28から出力されたデータパケットを音声符号化デ
ータと動画像符号化データとに分割するパケット分解部
29と、パケット分解部29より出力された動画像符号
化データを復号化するための動画像データ復号化部30
と、ユーザ入力処理部26に入力されたユーザからの分
割位置指定などの編集制御情報および動画像データ復号
化部30の出力を受けて分割編集処理を行なうファイル
分割処理部25とを含む。
The division / edit processing block 40 comprises a packet decomposing unit 29 for dividing the data packet output from the file decoding unit 28 into audio encoded data and moving image encoded data, and a moving image output from the packet decomposing unit 29. Moving image data decoding unit 30 for decoding image encoded data
And a file division processing unit 25 that receives the edit control information such as the designation of the division position from the user input to the user input processing unit 26 and the output of the moving image data decoding unit 30 and performs the division editing process.

【0056】動画像ファイルを再生する場合において
は、ファイル記憶部21に格納されている動画像ファイ
ルは、ファイル管理部22の制御に基づいてァイル読出
部27によって読出される。ファイル解読部28は、動
画像ファイルの内容を解読して属性・制御情報等を読取
るとともに、マルチメディア情報の本体であるデータパ
ケットを取り出して出力する。なお、動画像ファイルの
構成については、後程詳細に説明する。
When reproducing a moving image file, the moving image file stored in the file storage unit 21 is read by the file reading unit 27 under the control of the file management unit 22. The file decryption unit 28 decrypts the content of the moving image file to read the attribute / control information and the like, and extracts and outputs the data packet which is the main body of the multimedia information. The structure of the moving image file will be described later in detail.

【0057】さらに、パケット分解部29は、ファイル
解読部28からデータパケットを受取り、多重化されて
いる音声符号化データおよび動画像符号化データを分離
してそれぞれ出力する。音声符号化データは、音声デー
タ復号部50に送られて復号処理を施され、音声データ
が復元されて音声出力部52から出力される。動画像符
号化データは、動画像データ復号化部30に送られて復
号処理を施され、動画像データが復元されて動画像出力
部55から出力されて表示される。
Further, the packet decomposing unit 29 receives the data packet from the file deciphering unit 28 and separates and outputs the multiplexed audio encoded data and moving image encoded data. The encoded audio data is sent to the audio data decoding unit 50 and subjected to a decoding process. The audio data is restored and output from the audio output unit 52. The encoded moving image data is sent to the moving image data decoding unit 30 and subjected to a decoding process. The moving image data is restored, output from the moving image output unit 55, and displayed.

【0058】画像編集装置100は、さらに分割編集処
理を実行した後に、分割編集後の動画像ファイルを生成
するファイル生成部24と、ファイル生成部24によっ
て生成された分割編集後の動画像ファイルをファイル記
憶部に書込むためのファイル書込部23とをさらに備え
る。
The image editing apparatus 100 further executes the divided editing process, and thereafter, generates a divided and edited moving image file, and the divided and edited moving image file generated by the file generating unit 24. And a file writing unit 23 for writing to the file storage unit.

【0059】動画像ファイルに対して分割編集処理を行
なう場合には、ユーザ入力処理部26において分割する
位置の指定等のユーザからの指示が処理され、編集制御
情報としてファイル分割処理部25へ送出される。
In the case of performing a division editing process on a moving image file, an instruction from a user such as designation of a division position is processed in a user input processing unit 26 and transmitted to the file division processing unit 25 as edit control information. Is done.

【0060】ファイル分割処理部25には、編集制御情
報、動画像符号化データ、および音声符号化データが入
力されて、分割編集作業によって再構成されたデータパ
ケットが出力される。ファイル分割処理部25から出力
される編集後のデータパケットは、ファイル生成部24
において、ヘッダ情報およびフッタ制御情報等の必要な
情報が付加される。このように、定められた形式に従っ
て構成された動画像ファイルは、ファイル書込部23に
よってファイル管理部22を介してファイル記憶部21
に格納される。
The file division processing section 25 receives the edit control information, the encoded video data, and the encoded audio data, and outputs a data packet reconstructed by the division editing operation. The edited data packet output from the file division processing unit 25 is
, Necessary information such as header information and footer control information is added. The moving image file constructed in accordance with the predetermined format as described above is stored in the file storage unit 21 via the file management unit 22 by the file writing unit 23.
Is stored in

【0061】図3は、分割編集処理部25の構成を詳細
に説明するブロック図である。図3を参照して、動画像
データ復号化部30によって復号化された動画像データ
を再符号化する分割画面再符号化部31と、編集制御情
報に基づいて分割編集処理を制御するための動画像分割
制御部33と、動画像分割制御部33に制御されて、動
画像データ復号化部30および分割画面再符号化部31
をバイパスするための経路を設定するためのマルチプレ
クサ35と、マルチプレクサ35を介して分割画面再符
号化部31およびパケット分解部29のいずれか一方か
ら動画像符号化データを受け、さらにパケット分解部2
9から音声符号化データを受けて分割編集後のデータパ
ケットを生成するパケット再構成部32とを含む。
FIG. 3 is a block diagram for explaining in detail the configuration of the division edit processing unit 25. Referring to FIG. 3, a divided screen re-encoding unit 31 for re-encoding the moving image data decoded by the moving image data decoding unit 30, and a control unit for controlling the divided editing process based on the edit control information. The moving image division control unit 33 and the moving image data decoding unit 30 and the divided screen re-encoding unit 31 controlled by the moving image division control unit 33
35 for setting a path for bypassing the video data, and moving picture coded data from one of the split screen re-encoding unit 31 and the packet decomposing unit 29 via the multiplexer 35,
And a packet reconstructing unit 32 that receives the audio coded data from 9 and generates a divided and edited data packet.

【0062】パケット分解部29は、動画像ファイルの
データパケットを受けて、音声符号化データと動画像符
号化データとに分解して出力する。音声符号化データ
は、パケット再構成部32に対して出力される。動画像
データはファイル分割処理部25および動画像データ復
号化部30に対して送出される。さらに、パケット分解
部29は、データパケットからタイムスタンプ値TSを
抽出して動画像分割制御部33に与える。タイムスタン
プ値TSについては、後程詳細に説明する。
The packet decomposing unit 29 receives a data packet of a moving image file, decomposes the data packet into audio encoded data and moving image encoded data, and outputs them. The voice coded data is output to the packet reconstruction unit 32. The moving image data is sent to the file division processing unit 25 and the moving image data decoding unit 30. Further, the packet decomposing unit 29 extracts the time stamp value TS from the data packet and supplies the extracted time stamp value TS to the moving image division control unit 33. The time stamp value TS will be described later in detail.

【0063】動画像分割制御部33は、入力された編集
制御情報に従って、分割画面再符号化部31で再符号化
する画面の指定および動画像データ復号化部30におい
て復号される画面の指定等の制御を実行する。
The moving image division control section 33 specifies a screen to be re-encoded by the divided screen re-encoding section 31 and a screen to be decoded by the moving image data decoding section 30 according to the input editing control information. Execute the control of.

【0064】動画像分割制御部33は、各画面を再符号
化する必要があるかどうかに応じて、マルチプレクサ3
5の出力を切換える。
The moving image division control unit 33 determines whether or not each picture needs to be re-encoded.
5 is switched.

【0065】すなわち、分割後の先頭画面について、図
1中の(c)で説明したように再符号化が必要な場合に
おいては、マルチプレクサ35は、先頭画面に対応する
動画像符号化データを動画像データ復号化部30で復号
化した後に分割画面再符号化部31によって再符号化し
てパケット再構成部32に送出する。
That is, when re-encoding is necessary for the divided top screen as described in (c) of FIG. 1, the multiplexer 35 converts the moving picture coded data corresponding to the top screen into a moving picture. After being decoded by the image data decoding unit 30, the image data is re-encoded by the divided screen re-encoding unit 31 and transmitted to the packet reconstruction unit 32.

【0066】一方、分割後の先頭画面について再符号化
が必要でない場合においては、先頭画面に対応するデー
タパケットに対して内容を書換る必要がないので、マル
チプレクサ35は、パケット分解部29が出力した動画
像データを、動画像データ復号化部30および分割画面
再符号化部31をバイパスして直接パケット再構成部3
2に送出する。このとき、同時に動画像データ復号化部
30および分割画面再符号化部31の少なくとも一方を
非動作状態とすれば、消費電力の削減が可能である。
On the other hand, when it is not necessary to re-encode the first screen after division, the content does not need to be rewritten for the data packet corresponding to the first screen. The moving picture data obtained by the moving picture data decoding section 30 and the divided picture re-encoding section 31 are directly bypassed by the packet reconstructing section 3.
Send to 2. At this time, if at least one of the moving image data decoding unit 30 and the split screen re-encoding unit 31 is inactive, power consumption can be reduced.

【0067】また、分割後の先頭画面以外の画面に対応
するデータパケットについては、内容の書換が不要であ
るので、マルチプレクサ35は、パケット分解部29が
出力した動画像データを、動画像データ復号化部30お
よび分割画面再符号化部31をバイパスして直接パケッ
ト再構成部32に送出する。同様に、このとき動画像デ
ータ復号化部30および分割画面再符号化部31の少な
くとも一方を非動作状態とすれば、消費電力の削減が可
能である。
Since data packets corresponding to screens other than the first screen after division do not need to be rewritten, the multiplexer 35 converts the moving image data output from the packet decomposing unit 29 into moving image data decoding data. The packet is directly transmitted to the packet reconstruction unit 32 by bypassing the encoding unit 30 and the divided screen re-encoding unit 31. Similarly, at this time, if at least one of the moving image data decoding unit 30 and the divided screen re-encoding unit 31 is set to the non-operation state, power consumption can be reduced.

【0068】このような構成とすることにより、分割編
集時において、再符号化の必要の有無を動画像分割制御
部33において編集制御情報等をもとに判断することに
よって、分割後のデータパケットを構成する動画像デー
タを適切に切換えることが可能となる。
With such a configuration, at the time of divided editing, the moving image division control unit 33 determines whether or not re-encoding is necessary based on the edit control information and the like. Can be appropriately switched.

【0069】動画像分割制御部33は、分割後の先頭画
面を再符号化した場合に、再符号化された動画像符号化
データを格納するデータパケットのタイムスタンプ値を
更新するためのタイムスタンプ値更新回路34を含む。
タイムスタンプ値更新回路34は、分割画面再符号化部
31によって得られる再符号化画面の符号化データ量B
L、分割編集前のタイムスタンプ値TS、動画像符号化
データの伝送ビットレートBRおよび分割後の先頭画面
のタイプに基づいたタイムスタンプ値更新の必要の有無
判断FLに応じて、必要に応じてタイムスタンプ値を更
新しパケット再構成部32に送出する。
The moving image division control unit 33 updates the time stamp value of the data packet storing the re-encoded moving image encoded data when the divided first screen is re-encoded. A value updating circuit 34 is included.
The time stamp value updating circuit 34 calculates the encoded data amount B of the re-encoded screen obtained by the divided-screen re-encoding unit 31.
L, the time stamp value TS before the divided editing, the transmission bit rate BR of the moving picture encoded data, and the time stamp value updating necessity determination FL based on the type of the first screen after the division FL. The time stamp value is updated and sent to the packet reconstruction unit 32.

【0070】パケット再構成部32は、タイムスタンプ
値更新回路34から出力されるタイムスタンプ値、パケ
ット分解部29から送信される音声符号化データおよ
び、マルチプレクサ35を介して出力される動画像符号
化データを受けて、分割編集後のデータパケットを再構
成してファイル生成部24に送出する。
The packet reconstructing section 32 includes a time stamp value output from the time stamp value updating circuit 34, encoded voice data transmitted from the packet decomposing section 29, and moving picture encoding output through the multiplexer 35. Upon receiving the data, the data packet after the division and editing is reconstructed and transmitted to the file generation unit 24.

【0071】次に、画像編集装置100において分割編
集を行なう際の一連の処理について説明する。ユーザ
は、適当なユーザインターフェイスによって、選択した
動画像ファイルに対して分割したい位置を決定して指定
する。この分割時の情報はユーザ入力処理部26で処理
されて、編集制御情報としてファイル分割処理部25内
の動画像分割制御部33へ送出される。
Next, a series of processes performed when the image editing apparatus 100 performs divided editing will be described. The user determines and designates a position to be divided for the selected moving image file by using an appropriate user interface. The information at the time of division is processed by the user input processing unit 26 and sent to the moving image division control unit 33 in the file division processing unit 25 as edit control information.

【0072】動画像分割制御部33は、分割位置の画面
が画面間予測を用いて符号化されている場合には、再符
号化が必要と判定し、動画像データ復号部30によって
復号された動画像データを分割画面再符号化部31にお
いてイントラモードで再符号化するように指示する。マ
ルチプレクサ35は、分割画面再符号化部31の出力を
パケット再構成部32に送出する。
If the screen at the division position is encoded using inter-picture prediction, the moving image division control unit 33 determines that re-encoding is necessary, and the moving image data decoding unit 30 decodes the image. Instructs the divided screen re-encoding unit 31 to re-encode the moving image data in the intra mode. The multiplexer 35 sends the output of the split screen re-encoding unit 31 to the packet re-constructing unit 32.

【0073】ここで、たとえば、ユーザインターフェイ
ス上、動画像ファイルを再生して復元された動画像デー
タを表示しながら、ユーザが分割位置の表示を指定する
ような場合には、ユーザにこのような情報を提示するた
めに既に分割位置の画面の動画像データが得られている
ため、その動画像データを分割画面再符号化部31で入
力すればよく、このような画面を改めて復号する必要は
ない。
Here, for example, when the user designates the display of the division position while reproducing the moving image file and displaying the restored moving image data on the user interface, the user is prompted to give such a message. Since the moving image data of the screen at the division position has already been obtained in order to present the information, the moving image data may be input by the divided screen re-encoding unit 31, and it is not necessary to decode such a screen again. Absent.

【0074】一方、画像編集装置100に対して、動画
像ファイルの分割位置が、タイムコード、画面番号、動
画像ファイル中のデータ位置等で指定される場合におい
ては、動画像データ復号化部30において、分割位置の
画面を復号することが必要である。画面間予測を用いて
符号化されている当該画面を復号する際においては、直
前の画面内符号化画面など単独で復号化可能な画面から
各画面を順次復号していくことによってこの画面を復号
することができる。
On the other hand, when the division position of the moving image file is specified by the time code, the screen number, the data position in the moving image file, or the like to the image editing apparatus 100, the moving image data decoding unit 30 In, it is necessary to decode the screen at the division position. When decoding the screen that is coded using inter-screen prediction, this screen is decoded by sequentially decoding each screen from a screen that can be decoded independently such as the immediately previous intra-screen. can do.

【0075】パケット再構成部32は、再符号化した画
面に対する元の動画像符号化データを再符号化後の動画
像符号化データで置き換える処理、分割処理以前の符号
化データの廃棄処理等を行なって分割編集後の動画像フ
ァイルのデータパケットを作成する。また、再符号化が
実行された画面以外の画面に対応する動画像符号化デー
タを格納するデータパケットに対しては、内容の書換は
実行されない。
The packet reconstructing unit 32 performs a process of replacing the original encoded video data for the re-encoded screen with the encoded video data after re-encoding, a process of discarding the encoded data before the division process, and the like. A line is created to create a data packet of the moving image file after the divided editing. In addition, the content is not rewritten for a data packet storing moving image encoded data corresponding to a screen other than the screen on which re-encoding has been performed.

【0076】再符号化に伴って作成された分割編集後の
データパケットに対しては、タイムスタンプ値更新回路
34によって設定された送出タイムスタンプ値が各デー
タパケットに付与される。再符号化に関連しない動画像
符号化データのみから構成されるデータパケットについ
ては、タイムスタンプ値の更新は行なわれない。
For the divided and edited data packet created by the re-encoding, the transmission time stamp value set by the time stamp value updating circuit 34 is added to each data packet. The time stamp value is not updated for a data packet composed only of moving image encoded data not related to re-encoding.

【0077】図4は、本発明の画像編集装置100で取
扱われる動画像ファイルの構成例を説明する図である。
FIG. 4 is a view for explaining a configuration example of a moving image file handled by the image editing apparatus 100 of the present invention.

【0078】音声動画像などのマルチメディア情報は、
ある単位ごとに1つの完結したファイルとして、それぞ
れ独立に格納されている。図4(d)に示されるよう
に、動画像ファイル中には、当該ファイル内のマルチメ
ディア情報全体の属性および性質等を示すヘッダ制御情
報およびフッタ制御情報と、マルチメディアのデータ本
体とを含み、これらは1つのファイル中で分類されて独
立的に格納されている。ヘッダ制御情報中には、たとえ
ば、下記のような動画像ファイルに含まれるマルチメデ
ィア情報全体に関する制御情報を含む。
Multimedia information such as audio and video is
Each file is stored independently as one complete file. As shown in FIG. 4D, the moving image file includes header control information and footer control information indicating the attributes and properties of the entire multimedia information in the file, and a multimedia data body. , Are classified and stored independently in one file. The header control information includes, for example, control information relating to the entire multimedia information included in a moving image file as described below.

【0079】・ファイルを特定するためのファイル識別
子(ファイルID)、 ・マルチメディアデータ本体の長さ、 ・全体の再生にかかる時間、 ・平均/最大ビットレート、 ・データ本体に含まれるメディアの種別と数、また、ヘ
ッダ制御情報には、下記のような動画像に関する制御情
報も含まれている。
File identifier (file ID) for specifying a file; length of multimedia data body; time required for overall reproduction; average / maximum bit rate; type of media included in the data body In addition, the header control information also includes the following control information on a moving image.

【0080】・映像の画面再生/解像度、 ・符号化方式(たとえば、ITU−T H.261,
H.262,H.263,H.26L、ISO標準11
172(MPEG−1),13818(MPEG−
2),14696(MPEG−4)の識別など)、 ・符号化方式におけるパラメータ(プロファイル、レベ
ル、オプションモードの選択など)、さらには、ヘッダ
制御情報もしくはフッタ制御情報として、ランダムアク
セス可能な位置を指定するためのインデックス情報や、
時間的に連続するマルチメディア情報の適当な位置を指
定して記憶しておくためのマーカ情報など、マルチメデ
ィア情報の位置を記録しておくための情報も含まれる。
Screen reproduction / resolution of video; coding method (for example, ITU-T H.261,
H. 262, H .; 263, H .; 26L, ISO standard 11
172 (MPEG-1), 13818 (MPEG-
2), 14696 (MPEG-4) identification, etc. ・ Parameters in the encoding method (selection of profile, level, option mode, etc.), and a position at which random access is possible as header control information or footer control information Index information to specify,
Information for recording the position of multimedia information, such as marker information for designating and storing an appropriate position of temporally continuous multimedia information, is also included.

【0081】インデックス情報は、動画像符号化データ
を参照する場合において、画面内符号化画面などを指定
して、ランダムアクセスの際にアクセス位置の決定およ
び高速再生などのマルチメディア情報をとびとびに再生
する場合の再生対象とする情報の決定等に利用される。
The index information designates an intra-screen coded screen when referring to coded video data, and determines the access position and randomly reproduces multimedia information such as high-speed reproduction at random access. It is used for determining the information to be reproduced in the case where the information is reproduced.

【0082】動画像ファイルのデータ本体は、図4
(c)に示すように、データパケットと呼ばれる適当な
大きさのパケットに分割されて、パケット化された情報
として格納されている。したがって、動画像ファイルの
データ本体は、データパケットの列で構成されている。
The data body of the moving image file is shown in FIG.
As shown in (c), the packet is divided into packets of an appropriate size called data packets and stored as packetized information. Therefore, the data body of the moving image file is composed of a sequence of data packets.

【0083】ここで、図4(a)の動画像符号化データ
および図4(b)の示す音声符号化データを多重化し
て、図4(c)のデータパケット列を構成する場合につ
いて説明する。
Here, a case will be described in which the encoded video data shown in FIG. 4A and the encoded audio data shown in FIG. 4B are multiplexed to form the data packet sequence shown in FIG. 4C. .

【0084】図4(c)の例は、1つのデータパケット
中に音声および動画像等の複数のメディアを多重化して
格納する場合の例を示す。
FIG. 4C shows an example in which a plurality of media such as voices and moving images are multiplexed and stored in one data packet.

【0085】図4(b)に示されるように、音声符号化
データは、連続する1つのデータ列である。実際には、
音声符号化データは、音声フレームと呼ばれる符号化処
理単位ごとの符号化データで構成されているが、一般に
その長さはデータパケット長に比べて非常に短いため、
連続するデータ列と考えることができる。
As shown in FIG. 4B, the speech coded data is one continuous data string. actually,
Speech coded data is composed of coded data for each coding processing unit called a voice frame, but since its length is generally much shorter than the data packet length,
It can be considered as a continuous data sequence.

【0086】この音声符号化データは、音声パケットと
いう適当な値に分割されて、データパケットに格納され
る。音声パケットの長さは、パケット化遅延時間、伝送
遅延時間およびパケット化効率を考慮して決定される。
固定ビットレートの音声符号化データに対しては、遅延
時間を一定にするために、通常は固定長の音声パケット
が用いられる。
[0086] The encoded voice data is divided into appropriate values called voice packets and stored in data packets. The length of the voice packet is determined in consideration of the packetization delay time, transmission delay time, and packetization efficiency.
For voice encoded data at a fixed bit rate, voice packets of a fixed length are usually used in order to keep the delay time constant.

【0087】一方、図4(a)の各画面の動画像符号化
データは、さらに分割されてデータパケットに格納され
る。なお、これらの動画像符号化データは、MPEG−
4ビデオ符号化方式を利用する場合は、VOP(Video
Object Plane)とも呼ばれる。
On the other hand, the moving picture coded data of each screen in FIG. 4A is further divided and stored in data packets. It should be noted that these encoded video data are MPEG-
When using the 4-video encoding method, VOP (Video
Object Plane).

【0088】これにより、図4(c)に示すように、デ
ータパケットの内部には、音声符号化データと動画像符
号化データとが多重化されて格納される。ここで、デー
タパケットの長さは、固定長もしくは可変長のいずれで
もよい。固定長の場合、パケットの長さは、たとえば、
記録メディアのセクタ長、デコード長、トラック長、下
位プロトコルのPDU(SDU)長、送信/受信バッフ
ァサイズなどのシステム的な条件、あるいは時間あたり
のデータ量(ビットレート)が一定の場合、データパケ
ット送出間隔などの時間的な条件などに応じて定められ
る。データパケットの長さが可変長の場合においては、
パケット化の単位は、各メディアの符号化データの性質
に応じて決定することができる。
As a result, as shown in FIG. 4C, coded audio data and coded video data are multiplexed and stored in the data packet. Here, the length of the data packet may be either a fixed length or a variable length. For fixed length, the length of the packet is, for example,
When the system conditions such as the sector length of the recording medium, the decode length, the track length, the PDU (SDU) length of the lower protocol, the transmission / reception buffer size, or the data amount per time (bit rate) are constant, the data packet It is determined according to time conditions such as a transmission interval. If the data packet length is variable,
The unit of packetization can be determined according to the nature of the encoded data of each medium.

【0089】データパケットには、パケット長や内部に
多重化されているデータ数などの制御情報を示したパケ
ットヘッダが付加される。このパケットヘッダには、動
画像ファイルを読出して再生する際に、当該データパケ
ットを送出すべき時刻を記したタイムスタンプ値TSを
付加しておく。このように送出時刻を記録しておくこと
によって、動画像ファイルを記憶しているサーバが、ユ
ーザからのアクセスによって動画像ファイルのデータを
ネットワーク経由で送信する場合に、サーバは各データ
パケットのタイムスタンプ値を参照して指定された時刻
に送出するだけでよいため、サーバの負担が軽減でき非
常に有効である。このようなマルチメディア情報の送出
形態はストリーミング転送(ストリーミングタブ)と呼
ばれており、一般的に採用されている。
A data packet has a packet header indicating control information such as a packet length and the number of data multiplexed therein. When reading and reproducing a moving image file, a time stamp value TS describing the time at which the data packet should be transmitted is added to the packet header. By recording the transmission time in this way, when the server storing the moving image file transmits the data of the moving image file via the network by access from the user, the server can transmit the time of each data packet. Since it is only necessary to refer to the stamp value and send it out at the designated time, the load on the server can be reduced, which is very effective. Such a transmission form of multimedia information is called streaming transfer (streaming tab), and is generally adopted.

【0090】上述の例においては、1つのデータパケッ
トの中に複数の符号化データを多重化する場合について
説明したが、1つのデータパケットに、1つのメディア
復号化データ、すなわち図4に示される音声パケットあ
るいは動画像符号化データを分割した一部分のみが含ま
れるようにデータパケットを構成することもできる。こ
の場合においても、データパケットのパケットヘッダに
送出時刻を示すタイムスタンプ値を付加しておけば、サ
ーバにおいて上記と同様な処理だけでストリーミング転
送が実現できる。
In the above example, the case where a plurality of coded data are multiplexed in one data packet has been described. However, one media packet is shown in FIG. 4 in one data packet. The data packet may be configured so as to include only a part obtained by dividing the audio packet or the moving image encoded data. Also in this case, if a time stamp value indicating the transmission time is added to the packet header of the data packet, the server can realize the streaming transfer only by the same processing as described above.

【0091】図5は、分割編集処理時のパケット再構成
を説明する図である。なお、データパケット以外のヘッ
ダ制御情報およびフッタ制御情報については、動画像フ
ァイルの長さ、データパケット数および再生時間等、動
画像ファイル全体に関する情報が書かれているため、分
割によってその内容を変更することが必要となる。この
ため、図2に示されるファイル生成部24において、新
たにヘッダ制御情報およびフッタ制御情報を生成する
か、分割前の動画像ファイルの当該情報を複製して、必
要な部分を変更する処理が行なわれる。
FIG. 5 is a diagram for explaining the packet reconstruction at the time of the division editing process. As for header control information and footer control information other than data packets, since information about the entire moving image file, such as the length of the moving image file, the number of data packets, and the reproduction time, is written, the contents are changed by division. It is necessary to do. For this reason, in the file generation unit 24 shown in FIG. 2, a process of newly generating header control information and footer control information or duplicating the information of the moving image file before division and changing necessary parts is performed. Done.

【0092】ここで、タイムスタンプ値の初期値(たと
えば0秒)が、予め規定されているシステムにおいて
は、動画像ファイルを再生する際に、初期値の時刻から
先頭のデータパケットのタイムスタンプ値で示された時
刻まで待つこととなる。この待ち時間を避けるために
は、分割後の動画像ファイルのヘッダ制御情報に、タイ
ムスタンプオフセット値を付与しておけばよい。具体的
には、タイムスタンプ値のオフセット値として、分割し
た動画像ファイルの先頭データパケットの送出時刻スタ
ンプ値を指定すればよい。
Here, in a system in which the initial value of the time stamp value (for example, 0 second) is specified in advance, when reproducing a moving image file, the time stamp value of the first data packet from the time of the initial value is reproduced. Will wait until the time indicated by. In order to avoid this waiting time, a time stamp offset value may be added to the header control information of the divided moving image file. Specifically, the transmission time stamp value of the leading data packet of the divided moving image file may be specified as the offset value of the time stamp value.

【0093】このように、本発明の画像編集装置100
において、分割編集処理の際に書換の必要がないデータ
パケットの送出時刻タイムスタンプ値は元のままにして
おく場合であっても、分割後の動画像ファイルの再生時
にヘッダ制御情報で指定したオフセット値をすべてのタ
イムスタンプ値から減算するか、時刻の初期値をオフセ
ット値に合わせることによって待たずに再生を開始する
ことが可能となる。
As described above, the image editing apparatus 100 of the present invention
Even if the transmission time stamp value of a data packet that does not need to be rewritten during the division editing process is left as it is, the offset specified by the header control information when playing back the divided moving image file It is possible to start reproduction without waiting by subtracting the value from all the time stamp values or adjusting the initial value of the time to the offset value.

【0094】上述したように、動画像ファイルのデータ
パケットには音声符号化データおよび動画像符号化デー
タが多重化されて格納されており、先頭には送出時刻タ
イムスタンプを含んだパケットヘッダ16が付加されて
いる。
As described above, in the data packet of the moving image file, the coded audio data and the coded moving image data are multiplexed and stored, and the packet header 16 including the transmission time stamp is placed at the head. Has been added.

【0095】ここで、図5に示した分割位置、すなわち
動画像符号化データP−VOP6に対応する画面間符号
化画面の直前で分割する場面について説明する。
Here, the division position shown in FIG. 5, that is, the case where the image is divided immediately before the inter-picture coded screen corresponding to the moving picture coded data P-VOP6 will be described.

【0096】元の動画像ファイルにおいては、動画像符
号化データP−VOP6は、P−VOP6−1およびP
−VOP6−2の2つに分割されて、データパケット2
11および212にそれぞれ格納されている。ここで、
動画像符号化データP−VOP6に対応する画面は画面
間予測符号化されているため、動画像ファイルを分割す
る際に動画像符号化データP−VOP6を一旦復号し、
イントラモードで再符号化して、イントラ符号化画面に
対応する動画像符号化データI−VOP6を得る。
In the original video file, the video coded data P-VOP6 is composed of P-VOP6-1 and P-VOP6-1.
-VOP 6-2, divided into two data packets 2
11 and 212 respectively. here,
Since the screen corresponding to the moving picture coded data P-VOP6 has been subjected to the inter-picture prediction coding, the moving picture coded data P-VOP6 is temporarily decoded when the moving picture file is divided,
Re-encoding is performed in the intra mode to obtain encoded video data I-VOP6 corresponding to the intra-coded screen.

【0097】動画像符号化データP−VOP6−2が格
納されていたデータパケット212に対しては、音声符
号化データ14はそのままで、動画像符号化データI−
VOP6の最後から、動画像符号化データP−VOP6
−2に相当する長さの動画像符号化データI−VOP6
−3(符号1c)を切出して、前記のP−VOP6−2
を置き換えてデータパケットを構成する。
For the data packet 212 in which the coded video data P-VOP 6-2 has been stored, the coded video data I-
From the end of VOP6, moving picture encoded data P-VOP6
-2 encoded video data I-VOP6 having a length corresponding to -2
-3 (symbol 1c), and the above P-VOP6-2
To form a data packet.

【0098】次の画面に対応する動画像符号化データP
−VOP7−1が格納されたデータパケット213以降
のデータパケットについては、動画像符号化データおよ
び音声符号化データなどの変更が必要なく、データパケ
ット自体の書換が不要であるため、そのままで分割した
動画像ファイルのデータパケットとすることができる。
Moving picture coded data P corresponding to the next screen
-Data packets subsequent to the data packet 213 storing the VOP 7-1 are divided as they are because there is no need to change moving picture encoded data and audio encoded data, and it is not necessary to rewrite the data packets themselves. It can be a data packet of a moving image file.

【0099】次に、動画像符号化データP−VOP6−
1が格納されていたデータパケット211については、
分割位置の直前の画面に対応する動画像符号化データP
−VOP5の一部であるP−VOP5−2、および動画
像符号化データP−VOP6に先行する音声符号化デー
タ12を破棄する。この結果、データパケット211は
空になるので、イントラ符号化画面の動画像符号化デー
タI−VOP6のうち、I−VOP6−3(1c)とし
て分割した部分の前の動画像符号化データをI−VOP
6−2として、データパケット211に格納する。
Next, the moving picture coded data P-VOP6-
1 is stored in the data packet 211.
Moving picture coded data P corresponding to the screen immediately before the division position
-Discard the P-VOP 5-2 which is a part of the VOP 5 and the encoded audio data 12 preceding the encoded video data P-VOP 6. As a result, the data packet 211 becomes empty. Therefore, of the moving image encoded data I-VOP6 of the intra-coded screen, the moving image encoded data before the portion divided as I-VOP6-3 (1c) is converted into I-VOP6-3 (1c). -VOP
As 6-2, it is stored in the data packet 211.

【0100】さらに、動画像符号化データI−VOP6
の残っている部分を、I−VOP6−1として新たなデ
ータパケット210に格納する。
Furthermore, the moving picture coded data I-VOP6
Are stored in the new data packet 210 as I-VOP 6-1.

【0101】このとき、データパケット210のうち埋
まらずに残った空きの部分にはパディングデータ19を
埋める。なお、ここではI−VOP6−1の後にパディ
ング19を詰める例を説明したが、これに限定されず、
I−VOP6−1でデータパケット全体を占めるように
して、I−VOP6−2の符号化データの後にパディン
グを埋めるようにしてもよいし、I−VOP6−1およ
びI−VOP6−2の双方ともに後にパディングを詰め
るようにしてもよい。
At this time, padding data 19 is buried in the vacant portion of the data packet 210 that has not been buried. Here, an example in which padding 19 is packed after I-VOP 6-1 has been described, but the present invention is not limited to this.
The entire data packet may be occupied by the I-VOP 6-1 so that padding is buried after the encoded data of the I-VOP 6-2, or both the I-VOP 6-1 and the I-VOP 6-2 The padding may be packed later.

【0102】また、データパケット212において、P
−VOP6−2の後に、次の画面に対応する動画像符号
化データP−VOP7−1が含まれていた場合において
も、同様にデータパケット212内でP−VOP6−2
に相当する部分のみを画面P−VOP6から分割した符
号化データで置き換えるようにしてデータパケットを再
構成することができる。
In the data packet 212, P
Even when the moving picture coded data P-VOP 7-1 corresponding to the next screen is included after the -VOP 6-2, the P-VOP 6-2 is similarly set in the data packet 212.
The data packet can be reconstructed by replacing only the portion corresponding to the above with the encoded data divided from the screen P-VOP6.

【0103】各データパケットのパケットヘッダ1aお
よび1b中において指定される送出タイムスタンプ値T
Sは、イントラ符号化モードで再符号化したために増加
したデータ量(P−VOP−6からI−VOP−6の増
加量)を考慮し、このデータ量の増加によって再生時に
デコーダバッファのオーバーフロー/アンダーフローが
生じないように決定される。
Transmission time stamp value T specified in packet headers 1a and 1b of each data packet
S takes into account the amount of data that has increased due to re-encoding in the intra-encoding mode (the amount of increase from P-VOP-6 to I-VOP-6). It is determined so that underflow does not occur.

【0104】図5において、P−VOP6−3を格納し
たデータパケット212のタイムスタンプ値は分割前の
ままの値であるT6とされ、データパケット211のパ
ケットヘッダ1aには上記T6に先行する時刻T5′が
付加され、およびデータパケット210のパケットヘッ
ダ1bには上記時刻T5′にさらに先行する時刻T4′
が付加される。
In FIG. 5, the time stamp value of the data packet 212 storing the P-VOP 6-3 is T6 which is the value before the division, and the packet header 1a of the data packet 211 has the time preceding the T6. T5 'is added, and the packet header 1b of the data packet 210 has a time T4' further preceding the time T5 '.
Is added.

【0105】このようなタイムスタンプ値の設定は図3
中のタイムスタンプ値更新回路34によって実行され
る。
The setting of such a time stamp value is shown in FIG.
This is executed by the inside time stamp value update circuit 34.

【0106】図6は、タイムスタンプ値更新回路34に
おけるタイムスタンプ値の設定方法を説明する図であ
る。
FIG. 6 is a diagram for explaining a method of setting a time stamp value in the time stamp value updating circuit 34.

【0107】図6(a)には、動画像ファイル分割前の
画面P0〜P5の処理に伴なうデコーダバッファ量の推
移が示される。図6(a)を参照して、横軸は時間経過
を示し、縦軸の上半分(正方向)は、デコーダのバッフ
ァ量を示す。縦軸の下半分(負方向)には、対応するエ
ンコーダのバッファ量が参考のために示される。グラフ
の傾きは、動画像符号化データの伝送ビットレートBR
に相当する。
FIG. 6A shows the transition of the decoder buffer amount accompanying the processing of the screens P0 to P5 before dividing the moving image file. Referring to FIG. 6 (a), the horizontal axis indicates time, and the upper half (positive direction) of the vertical axis indicates the buffer amount of the decoder. In the lower half (negative direction) of the vertical axis, the buffer amount of the corresponding encoder is shown for reference. The slope of the graph is the transmission bit rate BR of the encoded video data.
Is equivalent to

【0108】ここでは、固定ビットレートを前提とする
ため、グラフの傾きは一定となる。デコーダにおいて
は、一定のビットレートによって動画像符号化データが
入力されるため、それに従ってバッファ量が増加する。
たとえば、画面P0の復号時刻t0になると、画面P0
を復号するために、画面P0の復号化データをバッファ
から読出すため、画面P0の符号化データ量分だけバッ
ファ量が減少する。デコーダのバッファ量は、一定の割
合による増加と、画面の復号タイミングにおける1画面
分の符号化データの減少との繰返しである。
Here, since a fixed bit rate is assumed, the slope of the graph is constant. In the decoder, moving image encoded data is input at a constant bit rate, so that the buffer amount increases accordingly.
For example, at the decoding time t0 of the screen P0, the screen P0
Since the decoded data of the screen P0 is read from the buffer to decode the data, the buffer amount is reduced by the encoded data amount of the screen P0. The buffer amount of the decoder is a repetition of an increase at a fixed rate and a decrease in coded data for one screen at the decoding timing of the screen.

【0109】ここで、画面P2に注目すると、画面P2
の符号化データの先頭がデコーダバッファに入力される
時点は、図示するようにグラフの傾きを延長し、横軸と
交わった時刻t1で示される。また、画面P2を復号し
た時点におけるデコーダのバッファ量はBeで示され
る。
Here, paying attention to the screen P2, the screen P2
Is input to the decoder buffer at a time t1 at which the slope of the graph is extended as shown in FIG. The buffer amount of the decoder at the time when the screen P2 is decoded is indicated by Be.

【0110】すなわち、復号化データが一定のビットレ
ートで入力されるとき、画面P2の符号化データの先頭
が入力される時刻t1と、画面P2が復号される時刻t
2との差に応じて、P2復号後のバッファ量Beは決定
される。このバッファ量Beは、符号化の規格によって
は符号化データ中に予め情報として含まれているため、
この情報を利用することができる。また、符号化データ
中に当該情報が含まれていない場合でも、伝送ビットレ
ートBRと当該画面の表示時刻から予測計算を行なうこ
とも可能である。
That is, when the decoded data is input at a constant bit rate, the time t1 when the head of the encoded data of the screen P2 is input and the time t1 when the screen P2 is decoded
2, the buffer amount Be after the P2 decoding is determined. Since the buffer amount Be is included in the coded data as information in advance depending on the coding standard,
This information can be used. Further, even when the information is not included in the encoded data, the prediction calculation can be performed from the transmission bit rate BR and the display time of the screen.

【0111】図6(b)は、本発明の画像編集装置にお
いて分割位置の画面P2を再符号化した後におけるデコ
ーダバッファ量およびこれに対応するエンコーダバッフ
ァ量を示す。横軸および縦軸の表示は、図6(a)と同
様であるので説明は繰り返さない。
FIG. 6B shows the amount of decoder buffer and the corresponding amount of encoder buffer after re-encoding the screen P2 at the division position in the image editing apparatus of the present invention. The display of the horizontal axis and the vertical axis is the same as that of FIG.

【0112】図6(b)を参照して、分割位置の画面P
2はイントラモードで再符号化されるので、符号化デー
タ量が増加している。本発明の画像編集装置において
は、画面P2を復号した後(時刻t4)のデコーダバッ
ファ量が、分割処理を実行する前のバッファ量、ずなわ
ち図6(a)中の時刻t2におけるバッファ量Beと等
しくなるように、再符号化した画面P2の符号化データ
の送出開始時刻t3を調整する。
Referring to FIG. 6B, screen P at the division position
2 is re-encoded in the intra mode, so that the amount of encoded data increases. In the image editing apparatus of the present invention, the decoder buffer amount after decoding the screen P2 (time t4) is equal to the buffer amount before executing the dividing process, that is, the buffer amount at time t2 in FIG. The transmission start time t3 of the encoded data of the re-encoded screen P2 is adjusted to be equal to Be.

【0113】これにより、デコーダのバッファ量の推移
が分割処理を実行する前と等しくなるようにする。つま
り、バッファ量Beに画面P2の再符号化後の符号化デ
ータ量B2を加えた位置から、伝送ビットレートBRで
決まる傾きに従って直線を引いたときの横軸との交点、
すなわち時刻t3に画面P2の復号化データの先頭が送
出されるように送出時刻タイムスタンプ値が指定され
る。
Thus, the transition of the buffer amount of the decoder is made equal to that before the division processing is executed. That is, from the position obtained by adding the encoded data amount B2 after the re-encoding of the screen P2 to the buffer amount Be, the intersection with the horizontal axis when a straight line is drawn according to the gradient determined by the transmission bit rate BR,
That is, the transmission time stamp value is specified so that the head of the decoded data of the screen P2 is transmitted at time t3.

【0114】これは、再符号化後の画面P2の符号化デ
ータ量に応じて、画面P2復号後のバッファ量Beと、
伝送ビットレートBRによって決まるグラフの傾きとか
ら画面P2が復号される時刻と画面P2の符号化データ
先頭の入力時刻との差分を求めて、時刻t3を決定して
いることとなる。すなわち、再符号化された動画像符号
化データを格納するデータパケットのタイムスタンプ値
は、当該再符号化に伴う符号化データ量の増加分に応じ
て設定される時間分だけ、当該データパケットの送出時
刻が早くなるように更新される。
This is because the buffer amount Be after the decoding of the picture P2 and the buffer quantity Be after the decoding of the picture P2,
The time t3 is determined by calculating the difference between the time at which the screen P2 is decoded and the input time at the head of the encoded data of the screen P2 from the slope of the graph determined by the transmission bit rate BR. That is, the time stamp value of the data packet storing the re-encoded moving image encoded data is the time stamp value of the data packet for the time set according to the increase in the amount of encoded data accompanying the re-encoding. Updated so that the sending time is earlier.

【0115】たとえば、図5に示すようにデータパケッ
トの書換を行なう場合(図6(b)の画面P2が図5の
画面I−VOP6に相当する)においては、分割後の先
頭データパケット210のパケットヘッダ1bの送出時
刻タイムスタンプ値T4′には、上記の時刻t3に対応
する値が指定される。
For example, when rewriting a data packet as shown in FIG. 5 (screen P2 in FIG. 6 (b) corresponds to screen I-VOP6 in FIG. 5), the first data packet 210 after division is As the transmission time stamp value T4 'of the packet header 1b, a value corresponding to the above time t3 is specified.

【0116】このようにして、分割後の動画像ファイル
の先頭データパケットに対する送出時刻タイムスタンプ
値が決定されれば、この先頭データパケット以外で再符
号化された動画像符号化データが格納されるデータパケ
ットに対しては、動画像符号化データが一定ビットレー
トBRで送出されるようにタイムスタンプ値を決定すれ
ばよい。
If the transmission time stamp value for the leading data packet of the divided moving picture file is determined in this way, the moving picture coded data re-encoded by means other than the leading data packet is stored. For a data packet, the time stamp value may be determined so that the moving picture encoded data is transmitted at a constant bit rate BR.

【0117】つまり、次のデータパケット211のパケ
ットヘッダ1aに格納される送出時刻タイムスタンプ値
T5′には、データパケット211に格納される動画像
符号化データI−VOP6−2の先頭を送出すべき時刻
が、同様に図6(b)のグラフから求められ、対応する
値が指定される。
That is, the head of the coded video data I-VOP 6-2 stored in the data packet 211 is transmitted as the transmission time stamp value T5 'stored in the packet header 1a of the next data packet 211. A power time is similarly obtained from the graph of FIG. 6B, and a corresponding value is designated.

【0118】次に、動画像ファイルと、記憶媒体上での
物理的なデータ配置との関係の例について説明し、本発
明の分割処理において分割位置以外では物理的なデータ
の書換が不要であることについて説明する。
Next, an example of the relationship between the moving image file and the physical data arrangement on the storage medium will be described. In the division processing of the present invention, it is unnecessary to rewrite the physical data except at the division position. This will be described.

【0119】図7は、本発明に従う画像編集装置100
で取扱われる動画像ファイルデータの記憶媒体上での物
理的な配置および管理の一例を示す図である。
FIG. 7 shows an image editing apparatus 100 according to the present invention.
FIG. 2 is a diagram showing an example of physical arrangement and management of moving image file data handled in the storage medium on a storage medium.

【0120】図7を参照して、動画像ファイルのデータ
自体は、たとえばファイル記憶部21中の記憶媒体12
1上において、物理的フォーマットに従ったセクタと呼
ばれる、領域単位(図7中における符号1〜20)で格
納および管理されている。
Referring to FIG. 7, moving image file data itself is stored in, for example, storage medium 12 in file storage unit 21.
1, the information is stored and managed in units of areas (reference numerals 1 to 20 in FIG. 7) called sectors according to the physical format.

【0121】ばらばらのセクタに記録されたデータは、
FAT(File Allocation Table)と呼ばれる管理情報
によって、これらのセクタをどのような順序で連結して
ファイルが構成されているかが示される。本発明の画像
編集装置100において、動画像ファイルの分割処理を
行なう場合においては、分割位置の再構成されたデータ
パケットが格納されているセクタの内容が書換られる。
その他の書換が不要なデータパケットが格納されている
セクタに関しては、分割後のファイルでもそのまま利用
できる。
Data recorded in separate sectors is
Management information called FAT (File Allocation Table) indicates in what order these sectors are linked to form a file. In the image editing apparatus 100 of the present invention, when performing the dividing process of a moving image file, the contents of the sector storing the reconstructed data packet at the dividing position are rewritten.
Other sectors in which data packets that do not require rewriting are stored can be used as they are even in the file after division.

【0122】また、本発明の分割編集処理に伴なう再符
号化によって、動画像符号化データ量が増加して新規に
データパケットを作成する必要が生じ、元のセクタに収
まりきらなくなった場合には、新たな空きセクタを利用
して、当該空きセクタにデータパケットを書込む。
Also, in the case where the re-encoding associated with the divisional editing process of the present invention increases the amount of encoded video data and necessitates the creation of a new data packet, the data cannot be accommodated in the original sector. , A data packet is written in the empty sector using a new empty sector.

【0123】このようにして書換たセクタを、新たにデ
ータを書込んだセクタおよび書換なかったセクタ等と連
結して分割後の動画像ファイルを構成するようにFAT
の内容が変更される。したがって、分割編集処理に際し
て変更が不要であったデータパケットが格納されている
セクタに対しては、物理的な書換が完全に不要となる。
The sector rewritten in this way is linked to the sector in which data has been newly written and the sector in which data has not been rewritten, and the like, so that a FAT is formed so as to constitute a divided moving image file.
Is changed. Therefore, physical rewriting is completely unnecessary for a sector in which a data packet that has not been changed during the division editing process is stored.

【0124】上述の説明においては、主に元の動画像フ
ァイル自体を分割編集して、分割後に新たな動画像ファ
イルを作成する場合について述べてきたが、元の動画像
ファイルはそのまま残しておいて、その一部分を分割し
た動画像ファイルを新たに作成する場合も同様である。
この場合には、書換が不要であるデータパケットは、当
該データパケットごともしくはデータパケットが格納さ
れたセクタごとに単にコピーを行なえばよい。このよう
なデータをコピーする処理は、図2中のファイル管理部
22もしくはファイル読込部27、ファイル書込部23
における処理によって簡単に実行させることが可能であ
る。
In the above description, the case where the original moving image file itself is divided and edited and a new moving image file is created after the division has been described, but the original moving image file is left as it is. The same applies to the case where a moving image file in which a part thereof is divided is newly created.
In this case, a data packet that does not require rewriting may be simply copied for each data packet or each sector in which the data packet is stored. The process of copying such data is performed by the file management unit 22 or the file reading unit 27, the file writing unit 23 shown in FIG.
Can easily be executed by the processing in.

【0125】今回開示された実施の形態はすべての点で
例示であって制限的なものではないと考えられるべきで
ある。本発明の範囲は上記した説明ではなくて特許請求
の範囲によって示され、特許請求の範囲と均等の意味お
よび範囲内でのすべての変更が含まれることが意図され
る。
The embodiments disclosed this time are to be considered in all respects as illustrative and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

【0126】[0126]

【発明の効果】本発明の画像編集装置によれば、分割編
集後の先頭画面をイントラモードで再符号化するため、
ユーザが動画像ファイルを自由な位置で分割できること
になる。この結果、動画像の内容に応じて分割位置が決
定できるため、ユーザが見たいシーンが始まる瞬間など
ユーザの所望の位置で分割編集を行なうことができ、編
集の自由度を向上させることができる。このように、編
集の自由度が増すと、符号化時に後の編集時における利
便性を考慮する必要がなくなるので、イントラ符号化画
面の挿入位置および間隔などの符号化パラメータの選択
の自由度も向上する。また、動画像ファイルのうち不要
な部分を削除するために分割編集を行なう場合には、細
かな単位で分割して削除できるので、記録媒体の利用効
率を向上させることができる。これらの効果を享受する
ために必要となる処理量は、先頭画面1画面のみの再符
号化であり、非常に少なくてすむ。
According to the image editing apparatus of the present invention, the first screen after the divided editing is re-encoded in the intra mode.
The user can divide the moving image file at any position. As a result, since the division position can be determined according to the content of the moving image, the division editing can be performed at a position desired by the user, such as at the moment when a scene desired by the user starts, and the degree of freedom of editing can be improved. . As described above, when the degree of freedom of editing is increased, it is not necessary to consider the convenience at the time of editing at the time of encoding. Therefore, the degree of freedom of selection of encoding parameters such as an insertion position and an interval of an intra-encoded screen is also increased. improves. Further, in the case of performing divisional editing to delete an unnecessary part of a moving image file, the file can be divided and deleted in small units, so that the use efficiency of the recording medium can be improved. The amount of processing required to enjoy these effects is re-encoding only the first screen, which is very small.

【0127】本発明の画像編集装置によれば、動画像フ
ァイルの分割処理は、動画像符号化データに対して直接
行なわれるのではなく、所定のファイルフォーマットに
従ったデータパケットに対して実行される。したがっ
て、分割編集個所に位置する再符号化の対象画面の符号
化データが格納されたデータパケットだけを書き換えれ
ばよいため、ファイル全体の書換処理が不要となり処理
を簡単かつ高速に実行できる。この結果、たとえば、カ
メラなどの簡単な小型機器を用いる場合、長時間の動画
像ファイルを編集する場合や、アクセス速度が遅い蓄積
媒体を用いる場合等においても、短時間で容易に分割編
集処理を行なうことが可能となる。この効果は、元の動
画像ファイルは残してその一部分を分割した動画像ファ
イルを新たに作成する場合においても享受される。すな
わち、書換が不要なデータパケットに対しては単純なコ
ピー処理だけを行なえばよいため、非常に簡単な処理で
分割した動画像ファイルを新たに作成できる。
According to the image editing apparatus of the present invention, the dividing process of the moving image file is not performed directly on the coded moving image data, but is performed on a data packet according to a predetermined file format. You. Therefore, since only the data packet in which the coded data of the re-encoding target screen located at the division edit position is stored needs to be rewritten, the whole file does not need to be rewritten, and the processing can be executed simply and at high speed. As a result, for example, when a simple small device such as a camera is used, when a long-time moving image file is edited, or when a storage medium with a low access speed is used, the split editing process can be easily performed in a short time. It is possible to do. This effect can be enjoyed even when a new moving image file is created by partially dividing the original moving image file while leaving the original moving image file. In other words, only a simple copy process need be performed for a data packet that does not need to be rewritten, so that a divided moving image file can be newly created by a very simple process.

【0128】さらに、先頭画面の再符号化に伴うデータ
量の増大に対応して、データパケットの送出時刻を示す
タイムスタンプ値を制御するので、画像データの情報量
を監視しながらスタッフィングを挿入する等の面倒なデ
ータ操作を行なうことなく再生時のデコーダバッファ量
を制御して、オーバフローやアンダフローの発生を回避
することができる。タイムスタンプ値の制御に必要とさ
れる処理は非常に簡単であり、柔軟な制御を実行でき
る。
Furthermore, since the time stamp value indicating the transmission time of the data packet is controlled in response to the increase in the data amount accompanying the re-encoding of the top screen, stuffing is inserted while monitoring the information amount of the image data. It is possible to control the amount of the decoder buffer at the time of reproduction without performing a troublesome data operation such as that described above, thereby avoiding an overflow or an underflow. The processing required for controlling the time stamp value is very simple, and flexible control can be performed.

【0129】また、タイムスタンプ値は、分割した動画
像ファイル中に予め記録しておくため、動画像ファイル
を読み出して送出する際にフィルビット挿入等の処理が
不要であり、処理を簡単に実行できる。これにより、サ
ーバから動画像ファイルを同時に受信できる収容ユーザ
数の増加や、動画像配信サーバに必要とされる処理量の
低減を実現することができる。
Further, since the time stamp value is recorded in advance in the divided moving image file, it is not necessary to insert a fill bit or the like when reading and transmitting the moving image file, and the processing can be executed easily. it can. As a result, it is possible to realize an increase in the number of accommodated users who can simultaneously receive moving image files from the server and a reduction in the processing amount required for the moving image distribution server.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明に従う画像編集装置における動画像デ
ータの分割処理の概要を説明する図である。
FIG. 1 is a diagram illustrating an outline of a process of dividing moving image data in an image editing apparatus according to the present invention.

【図2】 本発明の実施の形態に従う画像編集装置10
0の構成を示す概略ブロック図である。
FIG. 2 is an image editing apparatus 10 according to the embodiment of the present invention.
FIG. 3 is a schematic block diagram illustrating a configuration of a zero.

【図3】 ファイル分割処理部25の構成を詳細に説明
するためのブロック図である。
FIG. 3 is a block diagram for explaining a configuration of a file division processing unit 25 in detail.

【図4】 本発明に従う画像編集装置で取扱われる動画
像ファイルの構成例を示す図である。
FIG. 4 is a diagram showing a configuration example of a moving image file handled by the image editing device according to the present invention.

【図5】 分割編集処理時のパケット再構成を説明する
図である。
FIG. 5 is a diagram illustrating packet reconfiguration at the time of a division editing process.

【図6】 タイムスタンプ値更新回路34によるタイム
スタンプ値の設定方法を説明する図である。
FIG. 6 is a diagram for explaining a method of setting a time stamp value by a time stamp value updating circuit 34;

【図7】 本発明の画像編集装置で取扱われる動画像フ
ァイルデータの記憶媒体上における物理的な配置および
管理の一例を示す図である。
FIG. 7 is a diagram showing an example of physical arrangement and management on a storage medium of moving image file data handled by the image editing apparatus of the present invention.

【図8】 動画像データの符号化における画面間の予測
処理を説明する図である。
FIG. 8 is a diagram illustrating a prediction process between screens in encoding of moving image data.

【図9】 従来の画像編集装置において動画像データを
分割した場合におけるファイル内のデータパケットの書
換を説明する図である。
FIG. 9 is a diagram illustrating rewriting of a data packet in a file when moving image data is divided in a conventional image editing apparatus.

【図10】 従来の画像編集装置200の構成を説明す
る概略ブロック図である。
FIG. 10 is a schematic block diagram illustrating a configuration of a conventional image editing device 200.

【符号の説明】[Explanation of symbols]

25 ファイル分割処理部、29 パケット分解部、3
0 動画像データ復号化部、31 分割画面再符号化
部、32 パケット再構成部、33 動画像分割制御
部、34 タイムスタンプ値構成回路。
25 file division processing unit, 29 packet decomposition unit, 3
0 moving image data decoding unit, 31 divided screen re-encoding unit, 32 packet reconstructing unit, 33 moving image division control unit, 34 time stamp value configuration circuit.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 動画像符号化データを格納する複数のデ
ータパケットから構成される動画像ファイルを分割編集
するための画像編集装置であって、 前記動画像符号化データを復号して動画像データを出力
するための復号処理手段と、 前記データパケットの分割編集処理を制御する分割編集
制御手段と、 前記分割編集後に先頭となる動画像の画面である先頭画
面に対応する前記動画像データを前記復号処理手段から
受けて、時間的に前の画面からの予測を用いないモード
で再符号化して前記動画像符号化データを出力する分割
画面再符号化手段と、 前記動画像符号化データと、再生時におけるデータパケ
ットの送出時刻を示すタイムスタンプ値とを結合して、
前記分割編集処理後のデータパケットを生成するパケッ
ト再構成手段とを備える、画像編集装置。
An image editing apparatus for dividing and editing a moving image file composed of a plurality of data packets storing moving image encoded data, wherein the moving image data is decoded by decoding the moving image file. Decoding processing means for outputting the data packet; divided editing control means for controlling the divided editing processing of the data packet; and the moving image data corresponding to the top screen which is the top moving image screen after the divided editing. Divided screen re-encoding means that receives from the decoding processing means and re-encodes in a mode that does not use prediction from a temporally previous screen to output the encoded video data, and the encoded video data, By combining with the time stamp value indicating the transmission time of the data packet at the time of reproduction,
An image editing apparatus comprising: a packet reconstructing unit configured to generate a data packet after the division editing process.
【請求項2】 前記分割画面再符号化手段と前記パケッ
ト再構成手段との間に配置されるデータ切換回路をさら
に備え、 前記データ切換回路は、前記分割編集制御手段に制御さ
れて、前記分割画面再符号化手段の出力する動画像符号
化データおよび前記復号処理手段で復号される前の動画
像符号化データのいずれか一方を前記パケット再構成手
段に与える、請求項1記載の画像編集装置。
2. The apparatus according to claim 1, further comprising a data switching circuit disposed between said divided screen re-encoding means and said packet reconstructing means, wherein said data switching circuit is controlled by said division editing control means, 2. The image editing apparatus according to claim 1, wherein one of the encoded video data output from the screen re-encoding unit and the encoded video data before being decoded by the decoding processing unit is provided to the packet reconstructing unit. .
【請求項3】 前記パケット再構成手段は、前記先頭画
面に対応する動画像符号化データが前記分割編集処理前
において前記時間的に前の画面からの予測を用いるモー
ドで符号化されている場合においては、前記分割編集処
理後のデータパケットのうちの前記先頭画面に対応する
動画像符号化データを前記分割画面再符号化手段の出力
する動画像符号化データを用いて生成する、請求項2記
載の画像編集装置。
3. The packet reconstructing means according to claim 1, wherein said moving picture encoded data corresponding to said first picture is encoded in a mode using prediction from said temporally previous picture before said divided editing processing. Wherein the encoded video data corresponding to the first screen in the data packet after the divided editing processing is generated using the encoded video data output from the divided screen re-encoding means. The image editing device according to the above.
【請求項4】 前記パケット再構成手段は、前記先頭画
面に対応する動画像符号化データが、前記分割編集処理
前において前記時間的に前の画面からの予測を用いない
モードで符号化されている場合においては、前記分割編
集処理後のデータパケットのうちの前記先頭画面に対応
する動画像符号化データを前記復号処理手段で復号され
る前の動画像符号化データをそのまま用いて生成する、
請求項2記載の画像編集装置。
4. The packet reconstructing means, wherein the moving image encoded data corresponding to the first screen is encoded in a mode that does not use prediction from the temporally previous screen before the divided editing processing. In the case of, the encoded video data corresponding to the first screen of the data packet after the divided editing process is generated using the encoded video data before being decoded by the decoding processing means as it is,
The image editing device according to claim 2.
【請求項5】 前記分割編集制御手段は、前記分割編集
処理前において先頭画面に対応する動画像符号化データ
を含まないデータパケットに対しては内容の書換を指示
しない、請求項1記載の画像編集装置。
5. The image according to claim 1, wherein the divided editing control unit does not instruct rewriting of the content of the data packet not including the moving picture encoded data corresponding to the first screen before the divided editing processing. Editing device.
【請求項6】 前記分割編集制御手段は、前記分割画面
再符号化手段によって再符号化された前記動画像符号化
データが格納される前記分割編集処理後のデータパケッ
トの前記タイムスタンプ値を設定するためのタイムスタ
ンプ値更新手段を含み、 前記タイムスタンプ値更新手段は、前記再符号化された
動画像符号化データのデータ量と、前記動画像符号化デ
ータの伝送ビットレートとに基いて、前記タイムスタン
プ値を設定する、請求項1記載の画像編集装置。
6. The divided editing control means sets the time stamp value of the data packet after the divided editing processing in which the moving picture encoded data re-encoded by the divided screen re-encoding means is stored. The time stamp value updating means, based on the data amount of the re-encoded moving image encoded data and the transmission bit rate of the moving image encoded data, The image editing apparatus according to claim 1, wherein the time stamp value is set.
【請求項7】 前記タイムスタンプ値更新手段は、前記
再符号化された動画像符号化データのデータ量および前
記動画像符号化データの伝送ビットレートから、前記先
頭画面の再生時におけるデコーダのバッファ量を推定
し、推定された前記バッファ量に基いて、前記デコーダ
においてオーバーフローもしくはアンダーフローが生じ
ないように前記タイムスタンプ値を設定する、請求項6
記載の画像編集装置。
7. The decoder according to claim 1, wherein the time stamp value updating unit is configured to determine a buffer of a decoder when reproducing the first screen based on a data amount of the re-encoded moving image encoded data and a transmission bit rate of the encoded moving image data. 7. The method according to claim 6, further comprising: estimating an amount of data, and setting the time stamp value based on the estimated amount of the buffer so that overflow or underflow does not occur in the decoder.
An image editing apparatus as described in the above.
【請求項8】 前記タイムスタンプ値更新手段は、前記
先頭画面に対応する動画像符号化データの前記再符号化
に伴うデータ量増加分に対応する時間分だけ、前記先頭
画面に対応する動画像符号化データを先行して送出する
ように前記タイムスタンプ値を設定する、請求項6記載
の画像編集装置。
8. The moving picture corresponding to the first screen for a time corresponding to the data amount increase accompanying the re-encoding of the moving picture encoded data corresponding to the first screen. 7. The image editing apparatus according to claim 6, wherein the time stamp value is set so that encoded data is transmitted earlier.
【請求項9】 前記タイムスタンプ値更新手段は、前記
データ量増加分を、前記再符号化された動画像符号化デ
ータのデータ量と前記分割編集処理前の動画像ファイル
についての前記先頭画面の再生時におけるデコーダのバ
ッファ量との差および、前記伝送ビットレートによって
算出する、請求項8記載の画像編集装置。
9. The time stamp value updating means may be configured to determine the amount of increase in the data amount by comparing the data amount of the re-encoded moving image encoded data with the data amount of the re-encoded moving image file before the divided editing process. The image editing apparatus according to claim 8, wherein the image editing apparatus calculates the difference based on a difference from a buffer amount of a decoder during reproduction and the transmission bit rate.
【請求項10】 前記パケット再構成手段は、前記先頭
画面に対応する動画像符号化データを含まないデータパ
ケットに対しては、前記分割編集処理前のタイムスタン
プ値をそのまま用いて前記分割編集処理後のデータパケ
ットを生成する、請求項6記載の画像編集装置。
10. The data processing apparatus according to claim 1, wherein the packet reconfiguring unit performs the division editing process on the data packet not including the moving picture encoded data corresponding to the first screen by using a time stamp value before the division editing process as it is. 7. The image editing apparatus according to claim 6, wherein a subsequent data packet is generated.
【請求項11】 複数のセクタに分割された記憶媒体を
有するファイル記憶部と、 前記複数のセクタに格納されたデータから前記動画像フ
ァイルを構成するための管理情報を制御するファイル管
理部と、 前記ファイル格納部にデータを書込むためのファイル書
込部とをさらに備え、 前記ファイル書込部は、前記分割編集処理に伴って必要
となるデータ書換を前記セクタ単位ごとに実行する、請
求項1記載の画像編集装置。
11. A file storage unit having a storage medium divided into a plurality of sectors, a file management unit for controlling management information for composing the moving image file from data stored in the plurality of sectors, A file writing unit for writing data to the file storage unit, wherein the file writing unit executes data rewriting necessary for the division editing process for each sector unit. 2. The image editing device according to 1.
【請求項12】 前記ファイル管理部は、前記分割編集
処理に伴って前記動画像ファイルについての前記セクタ
の構成が変化した場合においては、前記管理情報を更新
する、請求項11記載の画像編集装置。
12. The image editing apparatus according to claim 11, wherein the file management unit updates the management information when a configuration of the sector of the moving image file changes according to the division editing process. .
JP2000042697A 2000-02-21 2000-02-21 Image editing device Expired - Fee Related JP3976979B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000042697A JP3976979B2 (en) 2000-02-21 2000-02-21 Image editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000042697A JP3976979B2 (en) 2000-02-21 2000-02-21 Image editing device

Publications (2)

Publication Number Publication Date
JP2001238169A true JP2001238169A (en) 2001-08-31
JP3976979B2 JP3976979B2 (en) 2007-09-19

Family

ID=18565737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000042697A Expired - Fee Related JP3976979B2 (en) 2000-02-21 2000-02-21 Image editing device

Country Status (1)

Country Link
JP (1) JP3976979B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003083869A1 (en) * 2002-04-01 2003-10-09 Sony Corporation Editing method and device
WO2005043901A1 (en) * 2003-11-04 2005-05-12 Sharp Kabushiki Kaisha Resume reproduction system
JP2005165870A (en) * 2003-12-04 2005-06-23 Tsubasa System Co Ltd E-mail client program
US7061982B2 (en) 2000-09-13 2006-06-13 Nec Corporation Long-hour video/audio compression device and method thereof
JP2008010110A (en) * 2006-06-30 2008-01-17 Sony Corp File division apparatus, file division method, and file division program
WO2008044518A1 (en) * 2006-10-05 2008-04-17 Sony Corporation Data processing device, data processing method, and computer program
US7370146B2 (en) 2004-06-02 2008-05-06 Funai Electric Co., Ltd. Recording/reproducing control apparatus
JPWO2007043256A1 (en) * 2005-10-12 2009-04-16 日本電気株式会社 Moving picture conversion method, moving picture conversion apparatus, moving picture conversion system, server apparatus, and program
JP2009260437A (en) * 2008-04-11 2009-11-05 Sony Corp Information processing system and information processing method, and program

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7061982B2 (en) 2000-09-13 2006-06-13 Nec Corporation Long-hour video/audio compression device and method thereof
US7426158B2 (en) 2002-04-01 2008-09-16 Sony Corporation Management method and apparatus for a mini disc having recorded index audio data
WO2003083869A1 (en) * 2002-04-01 2003-10-09 Sony Corporation Editing method and device
WO2005043901A1 (en) * 2003-11-04 2005-05-12 Sharp Kabushiki Kaisha Resume reproduction system
CN100488246C (en) * 2003-11-04 2009-05-13 夏普株式会社 Resume reproduction system
JP2005165870A (en) * 2003-12-04 2005-06-23 Tsubasa System Co Ltd E-mail client program
US7370146B2 (en) 2004-06-02 2008-05-06 Funai Electric Co., Ltd. Recording/reproducing control apparatus
JP4853647B2 (en) * 2005-10-12 2012-01-11 日本電気株式会社 Moving picture conversion method, moving picture conversion apparatus, moving picture conversion system, server apparatus, and program
JPWO2007043256A1 (en) * 2005-10-12 2009-04-16 日本電気株式会社 Moving picture conversion method, moving picture conversion apparatus, moving picture conversion system, server apparatus, and program
US8229000B2 (en) 2005-10-12 2012-07-24 Nec Corporation Moving image conversion method, moving image conversion apparatus, moving image conversion system, and server apparatus, and program
JP2008010110A (en) * 2006-06-30 2008-01-17 Sony Corp File division apparatus, file division method, and file division program
WO2008044518A1 (en) * 2006-10-05 2008-04-17 Sony Corporation Data processing device, data processing method, and computer program
CN101536504B (en) * 2006-10-05 2010-12-22 索尼株式会社 Data processing device, data processing method and computer program
US8165455B2 (en) 2006-10-05 2012-04-24 Sony Corporation Data processing apparatus and data processing method, and computer program
JP2009260437A (en) * 2008-04-11 2009-11-05 Sony Corp Information processing system and information processing method, and program
US8358702B2 (en) 2008-04-11 2013-01-22 Sony Corporation Information processing system and information processing method, and program

Also Published As

Publication number Publication date
JP3976979B2 (en) 2007-09-19

Similar Documents

Publication Publication Date Title
KR100429745B1 (en) Time-varying image editing method, time-varying image editing device, and time-varying image reproducing device
CN100431354C (en) Method and apparatus for editing digital video recordings and recordings made by the method
JP4487374B2 (en) Encoding apparatus, encoding method, multiplexing apparatus, and multiplexing method
JP4833367B2 (en) Recording apparatus, recording method, reproducing apparatus, and reproducing method
EP1111612A1 (en) Method and device for managing multimedia file
JP3900050B2 (en) Data processing apparatus, video camera, and data processing method
KR101323472B1 (en) Edition device, edition method, recording medium of edition program, and edition system
JP2009005371A (en) Data recording method, data editing method, data decoding method, apparatus therefor, and recording medium
JPH10243342A (en) Video file editing method and apparatus, segment cutting from video file, method and apparatus for copying segment from video file, method and apparatus for pasting video file segment, computer readable medium
JP3976979B2 (en) Image editing device
JP2010022003A (en) Moving image file reproduction device, moving image file reproduction method, and program
KR19990072461A (en) Moving picture encoding method and apparatus and recording medium
JP4040343B2 (en) Moving image processing device
JPH1118051A (en) I frame extraction method
JP3182329B2 (en) Encoded data editing device and data decoding device
JP3918332B2 (en) Multiplexer, multiplexing method, and recording medium
JP2008167061A (en) Encoding apparatus and encoding method
US9025931B2 (en) Recording apparatus, recording method, and program
JP3876943B2 (en) Stream editing apparatus and method, and stream decoding apparatus and method
JP2008028793A (en) Stream edit method and stream editor
JP4207483B2 (en) Transmitter
JP2004228679A (en) Image processing apparatus, image processing method, and program
JP2005192239A (en) Data recording method, data editing method, data decoding method, apparatus therefor, and recording medium
JP2008066852A (en) Information processing apparatus and method, recording medium, and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040615

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040810

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050119

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20050124

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20050218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070518

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070620

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

Free format text: PAYMENT UNTIL: 20100629

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100629

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110629

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120629

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120629

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130629

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees