JPH09266562A - Mpeg file pseudo editing system - Google Patents

Mpeg file pseudo editing system

Info

Publication number
JPH09266562A
JPH09266562A JP7485696A JP7485696A JPH09266562A JP H09266562 A JPH09266562 A JP H09266562A JP 7485696 A JP7485696 A JP 7485696A JP 7485696 A JP7485696 A JP 7485696A JP H09266562 A JPH09266562 A JP H09266562A
Authority
JP
Japan
Prior art keywords
mpeg
file
virtual
mpeg file
entry
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
JP7485696A
Other languages
Japanese (ja)
Other versions
JP3091684B2 (en
Inventor
浩義 ▲高▼野
Hiroyoshi Takano
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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP7485696A priority Critical patent/JP3091684B2/en
Publication of JPH09266562A publication Critical patent/JPH09266562A/en
Application granted granted Critical
Publication of JP3091684B2 publication Critical patent/JP3091684B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/102Programmed access in sequence to addressed parts of tracks of operating record carriers
    • G11B27/105Programmed access in sequence to addressed parts of tracks of operating record carriers of operating discs

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Processing Or Creating Images (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable the display of an edited dynamic image by successively reproducing respective MPEG files just by a regenerative length from a reproduction starting position according to the index of a virtual MPEG file. SOLUTION: A virtual MPEG reproducing device 103 successively refers to the respective entries of an index 107 composed of an arrayed list from the top and repeats the reproducing processing of a real MPEG file 109 just by the number of entries. First of all, an initial value '1' is substituted for a parameter (i) showing a reference line of a list and the number of lines in the list is defined as (n). Next, a file name file1 of the real MPEG file 109 described in the i-th line, reproduction starting position from1 t and reproduction ending position to1 are read out of the list of the index 107. Afterwards, instruction is given to an MPEG decoder 108 to reproduce the partial dynamic images of the real MPEG file 109 file1 from the reproduction starting position from1 to the reproduction ending position to1 onto a display device 110, and these images are successively continuously reproduced while adding '1' to (i).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、MPEGファイル
を疑似的に編集するMPEGファイル疑似編集システム
に関し、特に、エンコードしたMPEGファイルを対象
として無駄な動画像部分の削除や、他の動画像ファイル
の任意の箇所への挿入・上書きを行い、整形された新た
な動画像を疑似的に生成して編集するMPEGファイル
疑似編集システムに適用して有効な技術に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an MPEG file pseudo-editing system for pseudo-editing an MPEG file, and in particular, it deletes useless moving image parts and encodes other moving image files. The present invention relates to a technique effectively applied to an MPEG file pseudo-editing system that inserts / overwrites in an arbitrary part and artificially generates and edits a shaped new moving image.

【0002】[0002]

【従来の技術】現在、MPEG形式はコンピュータ上の
動画フォーマットの標準になっており、コンピュータ上
の動画像は一般的に、静止画の「フレーム」を順に画面
上に表示することによって表現される。
2. Description of the Related Art At present, the MPEG format has become a standard for moving picture formats on computers, and moving pictures on computers are generally represented by sequentially displaying "frames" of still images on a screen. .

【0003】MPEG形式ではランダムアクセスを可能
とするために、各フレームにはそのフレームが再生され
るべき時刻を示す「タイムスタンプ」が付加されてい
る。
In the MPEG format, in order to enable random access, each frame is added with a "time stamp" indicating the time at which the frame should be reproduced.

【0004】また、MPEG形式では動画像の圧縮効率
を高めるため、フレーム内の情報圧縮だけで成り立つI
フレーム、現画面を前画面からの差分値で表すPフレー
ム、現画面を前後の画面からの差分値で表すBフレーム
という、3種類のフレームが使われている。
Further, in the MPEG format, in order to improve the compression efficiency of a moving image, it can be realized only by compressing information within a frame.
Three types of frames are used: a frame, a P frame that represents the current screen as a difference value from the previous screen, and a B frame that represents the current screen as a difference value from previous and subsequent screens.

【0005】特に、Bフレームでは、前後の画面を先に
復号し、その2枚の画面を元に復号化の処理を行わなけ
ればならないため、各フレームの表示上の並びとファイ
ル上での並びは一般的に一致していない。
In particular, in the B frame, the front and rear screens must be decoded first, and the decoding process must be performed based on the two screens. Therefore, the arrangement of each frame on the display and the arrangement on the file. Are generally not in agreement.

【0006】このため、MPEGファイルそのものを編
集するには、編集後のファイルに対してもランダムアク
セスを可能にするため、ファイルの全体にわたってタイ
ムスタンプを順に付け直さなければならなかった。
For this reason, in order to edit the MPEG file itself, it is necessary to re-attach the time stamps to the entire file in order to allow random access to the edited file.

【0007】このように、MPEGファイルそのものの
編集を実現することは、MPEGファイルの内部構造が
複雑なため困難であったが、従来では、例えば、VIT
EC社の”VIDEO CLIP MPEG”という製
品を用いることによって行われていた。
As described above, it has been difficult to realize the editing of the MPEG file itself because the internal structure of the MPEG file is complicated.
It was done by using a product called "VIDEO CLIP MPEG" of EC company.

【0008】[0008]

【発明が解決しようとする課題】上記製品では、タイム
スタンプを適切に設定するための編集対象のMPEGフ
ァイルを読み込む際に、その内部の解析を行っている
が、これには多大な時間がかかっている。
In the above products, when the MPEG file to be edited for setting the time stamp appropriately is read, the internal analysis is performed, but this takes a lot of time. ing.

【0009】また、編集された新たなファイルを生成す
る際にも時間がかかり、動画像の長さが数分程度のファ
イルを扱う場合にはさほど問題はないが、編集対象のフ
ァイルの大きさに比例して編集時間がかかるという問題
点があり、一般的にビデオテープなどを用いて行われて
いる数十分から数時間の大きな動画像を編集する用途に
は事実上使用できなかった。
Further, it takes time to generate a new edited file, and there is no problem when handling a file having a moving image length of several minutes, but the size of the file to be edited is large. However, there is a problem that it takes a long time to edit in proportion to, and it cannot be practically used for the purpose of editing a large moving image of several ten minutes to several hours which is generally performed using a video tape or the like.

【0010】本発明の目的は、MPEGファイルを短時
間で編集することが可能な技術を提供することにある。
An object of the present invention is to provide a technique capable of editing an MPEG file in a short time.

【0011】[0011]

【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
下記のとおりである。
SUMMARY OF THE INVENTION Among the inventions disclosed in the present application, the outline of a representative one will be briefly described.
It is as follows.

【0012】MPEG形式のファイルにおける部分的な
動画像の削除、挿入等の編集をMPEGファイル上に直
接行わず、仮想のMPEGファイルを生成して疑似的に
行うMPEGファイル疑似編集システムであって、前記
MPEGファイルを部分的に取り出した部分動画像を再
生順に並べ、その各部分動画像の取り出し位置の情報を
格納する前記仮想のMPEGファイルのインデクスと、
前記インデクスの部分動画像の位置情報を基に、前記M
PEGファイルから前記部分動画像を取り出して表示す
る手段と、前記インデクスの部分動画像の位置情報を書
き換え、前記仮想のMPEGの動画像の削除、挿入等の
編集を行う手段とを備える。
In this MPEG file pseudo editing system, a virtual MPEG file is generated and simulated in place of directly performing editing such as deletion or insertion of a partial moving image in the MPEG format file on the MPEG file. Partial virtual images in which the MPEG files are partially taken out are arranged in the order of reproduction, and indexes of the virtual MPEG files for storing information on the take-out positions of the respective partial moving images,
Based on the position information of the partial moving image of the index, the M
A means for extracting and displaying the partial moving image from the PEG file and a means for rewriting the position information of the partial moving image in the index and performing editing such as deletion and insertion of the virtual MPEG moving image are provided.

【0013】[0013]

【発明の実施の形態】図1は、本発明の実施形態にかか
るMPEGファイル疑似編集システムの構成を示した図
である。
1 is a diagram showing the configuration of an MPEG file pseudo-editing system according to an embodiment of the present invention.

【0014】図1に示す本実施形態のMPEG疑似編集
システム100は、実際にあるMPEGファイル109
(以下、実MPEGファイルと記す)を用い、ユーザが
再生したいように仮想的に編集したMPEGファイル
(以下、仮想MPEGファイル)を実MPEGとは別に
生成し、その生成された仮想MPEGファイルを再生し
ていくことにより、実MPEGファイル109を直接編
集することなく、MPEGファイルの編集を疑似的に行
うものである。
The MPEG pseudo-editing system 100 of this embodiment shown in FIG. 1 has an actual MPEG file 109.
(Hereinafter, referred to as a real MPEG file) is used to generate a virtually edited MPEG file (hereinafter referred to as a virtual MPEG file) that the user wants to play, and the created virtual MPEG file is played back. By doing so, the MPEG file is pseudo-edited without directly editing the actual MPEG file 109.

【0015】図1に示すように、本実施形態のMPEG
疑似編集システム100は、ユーザからの入力により、
仮想MPEGファイルの指定区間の削除、実MPEGフ
ァイル109の仮想MPEGファイルへの挿入や上書き
といった仮想MPEGファイルに対する編集コマンドを
入力するコマンド入力装置101と、コマンド入力装置
101から入力されたコマンドによって後述する仮想M
PEG再生装置103と仮想MPEG削除装置104
と、仮想MPEG挿入装置105と、仮想MPEG上書
き装置106とを呼び出すコマンド装置102と、仮想
MPEGファイルの構造を格納したインデクス107を
解釈し、再生すべき実MPEGファイル109のファイ
ル名とその再生開始位置、再生終了位置をインデクス1
07から取り出し、後述するMPEGデコーダにそれを
再生させる仮想MPEG再生装置103と、ユーザが入
力した仮想MPEGの編集コマンドに従ってインデスク
107を適切に書き換え、仮想MPEGファイルの編集
処理を行う仮想MPEG削除装置104、仮想MPEG
挿入装置105、及び仮想MPEG上書き装置106
と、仮想MPEG再生装置103から渡された実MPE
Gファイル109のファイル名に対するファイル本体を
取り出し、仮想MPEG再生装置103から渡された再
生開始位置から再生終了位置までデコードし、表示装置
110に動画像を渡すMPEGデコーダ108と、その
MPEGデコーダ108に渡された動画像を表示する表
示装置110とからなる。
As shown in FIG. 1, the MPEG of the present embodiment.
The pseudo-editing system 100 receives input from the user,
A command input device 101 for inputting an edit command for the virtual MPEG file, such as deletion of a specified section of the virtual MPEG file, insertion of the real MPEG file 109 into the virtual MPEG file, and overwriting, and a command input from the command input device 101 will be described later. Virtual M
PEG playback device 103 and virtual MPEG deletion device 104
, A command device 102 that calls the virtual MPEG insertion device 105 and the virtual MPEG overwrite device 106, an index 107 that stores the structure of the virtual MPEG file, and the file name of the real MPEG file 109 to be played and its playback start Position, playback end position index 1
07, a virtual MPEG playback device 103 for playing back the MPEG decoder described later, and a virtual MPEG deletion device for appropriately rewriting the desk 107 according to a virtual MPEG editing command input by the user to edit the virtual MPEG file. 104, virtual MPEG
Insertion device 105 and virtual MPEG overwrite device 106
And the actual MPE passed from the virtual MPEG playback device 103.
The main body of the file corresponding to the file name of the G file 109 is extracted, decoded from the reproduction start position passed from the virtual MPEG reproduction device 103 to the reproduction end position, and the moving image is passed to the display device 110. The display device 110 displays the passed moving image.

【0016】なお、本実施形態において、ユーザから入
力されるコマンドは、仮想MPEGファイルの再生コマ
ンドと、削除開始位置から削除終了位置を指定してその
間の動画像を削除する削除コマンドと、仮想MPEGフ
ァイルの指定位置に実MPEGファイル109を挿入す
る挿入コマンドと、仮想MPEGファイルの指定位置か
ら実MPEGファイル109を上書きする上書きコマン
ドとしている。
In the present embodiment, the commands input by the user are a playback command for the virtual MPEG file, a deletion command for designating a deletion end position from the deletion start position and deleting the moving image between them, and a virtual MPEG file. There are an insert command for inserting the real MPEG file 109 at the designated position of the file and an overwrite command for overwriting the real MPEG file 109 from the designated position of the virtual MPEG file.

【0017】また、仮想MPEG上書き装置106は、
図1に示すように、仮想MPEGファイルの削除、挿入
作業を伴うため、仮想MPEG削除装置104、仮想M
PEG挿入装置105を呼び出す構成になっている。
Further, the virtual MPEG overwrite device 106 is
As shown in FIG. 1, since the virtual MPEG file is deleted and inserted, the virtual MPEG deletion device 104 and the virtual M file are deleted.
It is configured to call the PEG insertion device 105.

【0018】図2は、上述したインデクス107の構成
を示した図である。インデクス107は、図2に示すよ
うに、配列によるリストを使用したデータ構造で示して
あり、これにより一つの仮想MPEGファイルを表して
いる。
FIG. 2 is a diagram showing the structure of the index 107 described above. As shown in FIG. 2, the index 107 is shown in a data structure using a list of arrays, which represents one virtual MPEG file.

【0019】インデクス107のリストの任意のエント
リ(行)は、実MPEGファイル109の部分的な動画
像を表す。例えば、図2に示すエントリiには、MPE
Gデコーダ108が再生すべき実MPEGファイル10
9のファイル名fileiと、そのファイルにおける再
生開始位置fromiと、再生終了位置toiとを格納す
る。
An arbitrary entry (row) in the list of the index 107 represents a partial moving image of the real MPEG file 109. For example, the entry i shown in FIG.
The actual MPEG file 10 to be reproduced by the G decoder 108
A file name file i of 9, a reproduction start position from i in the file, and a reproduction end position to i are stored.

【0020】次に、上述した図2のインデクス107を
用いて仮想MPEG再生装置103の動作について図3
を基に説明する。
Next, the operation of the virtual MPEG playback apparatus 103 using the index 107 of FIG. 2 described above will be described with reference to FIG.
This will be described based on FIG.

【0021】図3は、仮想MPEG再生装置103の動
作の流れを示すフローチャートである。
FIG. 3 is a flowchart showing the flow of operation of the virtual MPEG playback device 103.

【0022】仮想MPEG再生装置103は、配列によ
るリストで構成したインデクス107の各エントリを上
から順に参照し、実MPEGファイル109の再生処理
をエントリ数だけ繰り返す。
The virtual MPEG playback device 103 refers to each entry of the index 107 composed of the array-based list in order from the top, and repeats the playback processing of the real MPEG file 109 by the number of entries.

【0023】仮想MPEG再生装置103の動作は、は
じめに、リストの参照行を示す変数iに初期値1を代入
し、リストの行数を n とする(ステップ301)。
In the operation of the virtual MPEG playback apparatus 103, first, the initial value 1 is substituted into the variable i indicating the reference row of the list, and the number of rows in the list is set to n (step 301).

【0024】その後、インデクス107のリストから、
i行目に記述されている、実MPEGファイル109の
ファイル名filei、再生開始位置fromi、再生終
了位置toiを読み出す(ステップ302)。
Then, from the list of index 107,
The file name file i , the reproduction start position from i , and the reproduction end position to i of the actual MPEG file 109 described in the i-th line are read (step 302).

【0025】その後、MPEGデコーダ108に命令を
発行し、実MPEGファイル109fileiを再生開
始位置fromiから再生終了位置toiまでの部分動画
像を表示装置110により再生させる(ステップ30
3)。
After that, a command is issued to the MPEG decoder 108 so that the partial moving image from the reproduction start position from i to the reproduction end position to i of the actual MPEG file 109file i is reproduced by the display device 110 (step 30).
3).

【0026】そして、iに1を加え、iがn以下ならば
ステップ302に戻り、次の実MPEGファイル109
を表示装置110により再生する。
Then, 1 is added to i, and if i is n or less, the process returns to step 302 and the next real MPEG file 109
Is reproduced by the display device 110.

【0027】そうでなければ、リスト中の全ての実MP
EGファイル109を再生し終ったので終了する(ステ
ップ305)。
Otherwise, all real MPs in the list
Since the EG file 109 has been reproduced, the process ends (step 305).

【0028】このようにして、実MPEGファイル10
9の一部分を次々に連続して再生することにより、利用
者にとっては、単独のMPEGファイルを再生したのと
同様の連続した動画像が見える。
In this way, the actual MPEG file 10
By reproducing a part of 9 successively, the user can see a continuous moving image similar to the reproduction of a single MPEG file.

【0029】次に、本実施形態の仮想MPEG削除装置
104で行われる仮想MPEGファイルの削除手順につ
いて説明する。
Next, the procedure for deleting the virtual MPEG file performed by the virtual MPEG deleting apparatus 104 of this embodiment will be described.

【0030】図4は、仮想MPEGファイルの削除手順
を示すフローチャートである。
FIG. 4 is a flowchart showing a procedure for deleting a virtual MPEG file.

【0031】仮想MPEGファイル削除装置104の削
除は、まず、仮想MPEGファイルのどの位置からどの
位置まで削除するかを示すFROMとTOの二つのパラ
メータを伴った削除コマンドで開始される(ステップ4
01)。
Deletion of the virtual MPEG file deletion device 104 is first started by a deletion command having two parameters, FROM and TO, which indicate from which position of the virtual MPEG file the deletion is performed (step 4).
01).

【0032】このパラメータFROMとTOがFROM
<TOを満たす場合は、ステップ403に進み、満たさ
ない場合は全て削除されたものとして終了する(ステッ
プ402)。
This parameter FROM and TO are FROM
<If TO is satisfied, the process proceeds to step 403, and if not satisfied, it is considered that all are deleted and the process ends (step 402).

【0033】その後、インデクス107を参照するポイ
ンタiに最初のエントリを表す1をセットする(ステッ
プ403)。
After that, the pointer i which refers to the index 107 is set to 1 representing the first entry (step 403).

【0034】そのセットされたエントリ1からエントリ
iまでの動画像の長さ(エントリに記述した再生終了位
置から再生開始位置を減算して求める)を加算したもの
がFROMより小さければ、エントリiは仮想MPEG
ファイル上の位置FROMを含まないので、ステップ4
05に進み、そうでなければ、ステップ406に進む
(ステップ404)。
If the sum of the lengths of moving images from the set entry 1 to entry i (obtained by subtracting the playback start position from the playback end position described in the entry) is smaller than FROM, entry i is Virtual MPEG
Since the position FROM in the file is not included, step 4
If not, go to step 406 (step 404).

【0035】ステップ405では、iに1を加算し、ス
テップ404に戻る。
At step 405, 1 is added to i and the process returns to step 404.

【0036】ステップ406では、FROMを含むエン
トリでの削除開始位置fromをエントリ1からエント
リi−1までの動画像の長さの和をFROMから引いた
ものに、現エントリの再生開始位置fromiを加算す
ることによって求め、また、削除開始位置toをステッ
プ406で求めたfromに削除長(TO−FROM)
を加算して求め(ステップ407)、エントリが管理す
る動画像をその再生終了位置を超えて削除することがで
きないため、toがtoiより大きい場合は(ステップ
408)、エントリの再生終了位置をtoiとする(ス
テップ409)。
In step 406, the deletion start position from in the entry including FROM is subtracted from the sum of the lengths of the moving images from entry 1 to entry i-1 from FROM, and the reproduction start position from i of the current entry is calculated. Is calculated by adding, and the deletion start position to is added to the from calculated in step 406. The deletion length (TO-FROM)
Is added (step 407), the moving image managed by the entry cannot be deleted beyond its reproduction end position. Therefore, if to is larger than to i (step 408), the reproduction end position of the entry is set. to i (step 409).

【0037】削除区間がエントリの再生区間に一致する
場合(from=fromi かつto=toi)、エン
トリの先頭から途中までを削除する場合(from=f
romi かつ to<toi)、エントリの途中から最
後までを削除する場合(from>fromi かつ
to=toi)、エントリの途中から途中までを削除す
る場合(from>fromi かつ to<toi)に
分岐する(ステップ410)。
When the deletion section matches the reproduction section of the entry (from = from i and to = to i ), when deleting from the beginning to the middle of the entry (from = f
rom i and to <to i ) and deleting from the middle of the entry to the end (from> from i and
to = to i ), the process branches to the case of deleting the entry from the middle to the middle (from> from i and to <to i ) (step 410).

【0038】削除区間がエントリの再生区間に一致する
場合(from=fromi かつto=toi)は、単
純にそのエントリiを削除し(ステップ411)、エン
トリの先頭から途中までを削除する場合(from=f
romi かつ to<toi)は、削除後に残る区間は
toからtoiまでの間であるため、再生開始位置fr
omiをtoに変更し(ステップ412)、エントリの
途中から最後までを削除する場合(from>from
i かつ to=toi)は、削除後に残る区間は、fr
omiからfromまでの間であり、再生終了位置toi
をfromに変更し(ステップ413)、エントリの途
中から途中までを削除する場合(from>fromi
かつ to<toi)は、削除後に残る区間はfro
iからfromの部分とtoからtoiの部分の二つで
あり、エントリiの直後に新たなエントリi+1を挿入
し(ステップ414)、削除によって分断された二つの
区間をエントリiとエントリi+1に記述し、後側の区
間を表すエントリi+1のMPEGファイル名はエント
リiのものと同一なのでfilei+1にfileiをセッ
トし、fromi+1にtoをtoi+1にtoiをそれぞれ
セットし(ステップ415)、エントリiは前側の区間
を示すのでtoiにfromをセットする(ステップ4
16)。
When the deletion section matches the reproduction section of the entry (from = from i and to = to i ), the entry i is simply deleted (step 411), and the entry from the beginning to the middle is deleted. (From = f
rom i and to <to i ), since the section remaining after deletion is between to and to i , the reproduction start position fr
When changing om i to to (step 412) and deleting from the middle to the end of the entry (from> from)
i and to = to i ), the section remaining after deletion is fr
It is between om i and from, and the reproduction end position to i
To from (step 413) and delete from the middle of the entry to the middle (from> from i)
And to <to i ), the section remaining after deletion is fr
a two parts of the-to i from m i from from parts and-to, insert the new entry i + 1 immediately after the entry i (step 414), the entry of two sections which are separated by the deletion i and entry i + 1 described, MPEG file name of the entry i + 1, which represents the of the rear section sets the file i to file i + 1 because the same as that of the entry i, a to i to to to from i + 1 to to i + 1 each set (step 415), the entry i sets the from the-to i exhibits a front section (step 4
16).

【0039】なお、fileiとfromiは処理前のも
のをそのまま受け継ぐ。
The files i and from i inherit the unprocessed ones as they are.

【0040】そして、エントリ内での削除処理によって
実際に削除された動画の長さは、to−fromで表さ
れ、FROMに実際の削除長を加算し、ステップ402
に戻る。
Then, the length of the moving image actually deleted by the deletion process in the entry is represented by to-from, and the actual deletion length is added to FROM, and step 402 is executed.
Return to

【0041】次に、仮想MPEG挿入装置105で行わ
れる仮想MPEGファイルの挿入手順について説明す
る。
Next, a procedure for inserting a virtual MPEG file performed by the virtual MPEG inserting apparatus 105 will be described.

【0042】図5は、仮想MPEGファイルの挿入手順
を示すフローチャートである。
FIG. 5 is a flow chart showing the procedure for inserting a virtual MPEG file.

【0043】仮想MPEGファイルの挿入は、仮想MP
EGファイルのどの位置に実MPEGファイル109を
挿入するかを示すPと、仮想MPEGファイルに挿入す
る実MPEGファイル109名fileと、そのfil
eのどの位置からどの位置までの部分動画像を挿入する
かを示すfromとtoのパラメタを伴った挿入コマン
ドで開始され(ステップ501)、インデクス107を
参照するポインタiに最初のエントリを表す1をセット
する(ステップ502)。
Insertion of a virtual MPEG file is performed by a virtual MP
P indicating which position in the EG file the actual MPEG file 109 is inserted, the name of the actual MPEG file 109 to be inserted in the virtual MPEG file, and its file.
It is started by an insert command with parameters from and to which indicate from which position of e to which position the partial moving image is to be inserted (step 501), and the pointer i that refers to the index 107 indicates the first entry 1 Is set (step 502).

【0044】そのセットされたエントリ1からエントリ
iまでの動画像の長さを加算したものがPより小さけれ
ば、エントリiは仮想MPEGファイル上の位置を含ま
ないので、ステップ504に進み、そうでなければ、ス
テップ505に進む(ステップ503)。
If the sum of the lengths of the moving images from the set entry 1 to entry i is smaller than P, entry i does not include the position on the virtual MPEG file, so the process proceeds to step 504. If not, the process proceeds to step 505 (step 503).

【0045】ステップ504では、iに1を加算し、ス
テップ404に戻る。
At step 504, 1 is added to i and the process returns to step 404.

【0046】ステップ505は、仮想MPEGファイル
上の挿入位置pをエントリが管理する実MPEGファイ
ル109上の位置pに変換する処理を行い、Pを含むエ
ントリでの削除開始位置pをエントリ1からエントリi
−1までの動画像の長さの和をPから引いたものに、現
エントリの再生開始位置fromiを加算することによ
って求める。
In step 505, the insertion position p in the virtual MPEG file is converted into the position p in the real MPEG file 109 managed by the entry, and the deletion start position p in the entry including P is changed from entry 1 to entry 1. i
It is obtained by adding the reproduction start position from i of the current entry to the value obtained by subtracting the sum of the lengths of moving images up to -1 from P.

【0047】ここで、p=fromiならば挿入位置は
エントリとその直前のエントリの境界にあることが判り
ステップ507に進み、そうでなければ挿入位置は現エ
ントリが表す動画像部分の途中にあるため、ステップ5
09に進む(ステップ506)。
Here, if p = from i , it is found that the insertion position is at the boundary between the entry and the entry immediately preceding it, and the process proceeds to step 507. If not, the insertion position is in the middle of the moving image portion represented by the current entry. There is, so step 5
The process proceeds to 09 (step 506).

【0048】ステップ507では、エントリiの直前に
新たなエントリi−1を挿入する。
At step 507, a new entry i-1 is inserted immediately before the entry i.

【0049】そして、新たなエントリi−1のMPEG
ファイル名filei-1をfileとし、再生開始位置
fromi-1と再生終了位置toi-1をそれぞれfro
m、toとし、挿入処理を終了る(ステップ508)。
Then, the MPEG of the new entry i-1
The file name file i-1 is set as a file, and the reproduction start position from i-1 and the reproduction end position to i-1 are respectively set to from.
Then, the insertion process is completed (step 508).

【0050】ステップ509では、エントリiの後ろに
新たなエントリi+1とi+2を挿入し、エントリiと
i+2でそれぞれ分割した元のエントリの前半部分と後
半部分を記述し、エントリi+1に新MPEGファイル
を記述する。
In step 509, new entries i + 1 and i + 2 are inserted after the entry i, the first half and the second half of the original entry divided by the entries i and i + 2 are described, and a new MPEG file is created in the entry i + 1. Describe.

【0051】その後、エントリi+2にPで分割された
エントリiの後半部分を記述し、MPEGファイル名f
ilei+2は分割前のエントリのファイル名と同じであ
るため、これにfileiをセットし、再生区間は分割
前のエントリのpからtoiまでとなり、再生開始位置
fromi+2、再生終了位置toi+2にそれぞれp、to
iをセットする(ステップ510)。
After that, the latter half of the entry i divided by P is described in the entry i + 2, and the MPEG file name f
Since ile i + 2 is the same as the file name of the entry before division, set file i to this, and the playback section is from p to to i of the entry before division, and the playback start position from i + 2 , playback P, to the end position to i + 2 respectively
i is set (step 510).

【0052】続いて、エントリiに前半部分を記述し、
MPEGファイル名と再生開始位置は分割前と同様であ
るのでそのまま受け継ぎ、再生終了位置がpまで短縮さ
れるのでtoiにpをセットする(ステップ511)。
Subsequently, the first half part is described in the entry i,
Since the MPEG file name and the reproduction start position are the same as those before the division, they are inherited as they are, and the reproduction end position is shortened to p, so p is set to to i (step 511).

【0053】最後に、エントリi+1に新MPEGファ
イルを記述し、ステップ508と同様にMPEGファイ
ルのfilei-1にコマンドのパラメタのfileをセ
ットし、再生開始位置fromi-1、再生終了位置to
i+1にそれぞれfromとtoをセットし、挿入処理を
終了する。
Finally, the new MPEG file is described in the entry i + 1, the command parameter file is set in the file i-1 of the MPEG file as in step 508, and the reproduction start position from i-1 and the reproduction end position to
From and to are set to i + 1 , respectively, and the insertion process ends.

【0054】次に、仮想MPEG上書き装置106で行
われる仮想MPEGファイルの上書き手順について説明
する。
Next, the virtual MPEG file overwrite procedure performed by the virtual MPEG overwrite device 106 will be described.

【0055】図6は、仮想MPEGファイルの上書き手
順を示すフローチャートである。
FIG. 6 is a flowchart showing the procedure for overwriting a virtual MPEG file.

【0056】仮想MPEGファイルの上書きは、仮想M
PEGファイルのどの位置から実MPEGファイル10
9を上書きするかを示すPと、仮想MPEGファイルに
上書きする実MPEGファイル109名fileと、そ
のfileのどの位置からどの位置までの部分動画像を
上書きするかを示すfromとtoのパラメタを伴った
上書きコマンドで開始され(ステップ601)、上述の
仮想MPEG削除装置104にて仮想MPEGファイル
上の位置PからP+(to−from)までの区間を削
除し、(ステップ602)、上述した仮想MPEG挿入
装置105にて仮想MPEGファイル上の位置Pに、実
MPEGファイル109fileのfromからtoま
での区間を挿入し、上書き処理を終了する(ステップ6
02)。
The virtual MPEG file is overwritten by the virtual M
From which position in the PEG file the actual MPEG file 10
9 with P, the actual MPEG file 109 name file to be overwritten on the virtual MPEG file, and from and to parameters indicating from which position of the file to which partial moving image is overwritten. Is started by the overwriting command (step 601), the section from the position P to P + (to-from) on the virtual MPEG file is deleted by the above-mentioned virtual MPEG deleting apparatus 104 (step 602), and the above-mentioned virtual MPEG is deleted. The inserting device 105 inserts the section from "from" to "to" of the actual MPEG file 109file at the position P on the virtual MPEG file, and the overwrite process ends (step 6).
02).

【0057】したがって、説明してきたように、MPE
G形式のファイルにおける部分的な動画像の削除、挿入
等の編集をMPEGファイル上に直接行わず、仮想のM
PEGファイルを生成して疑似的に行うMPEGファイ
ル疑似編集システムであって、MPEGファイルを部分
的に取り出した部分動画像を再生順に並べ、その各部分
動画像の取り出し位置の情報を格納する仮想のMPEG
ファイルのインデクスと、インデクスの部分動画像の位
置情報を基に、MPEGファイルから部分動画像を取り
出して表示する手段と、インデクスの部分動画像の位置
情報を書き換え、仮想のMPEGの動画像の削除、挿入
等の編集を行う手段とを備えることにより、仮想のMP
EGファイルのインデクスにしたがって各MPEGファ
イルを順番に、その再生開始位置からその再生長分だけ
再生していくことにより、編集した動画像を表示するこ
とができ、また、動画像の部分的な削除や別のMPEG
ファイルの動画像中への挿入や上書きといった編集操作
をインデクスを適切に書き換えることで実現することに
より、MPEGファイルそのものの解析や書き換えを行
う必要がなくなるので、MPEGファイルを短時間で編
集することが可能となる。
Therefore, as described above, MPE
Editing such as partial deletion or insertion of a moving image in a G format file is not directly performed on the MPEG file, but a virtual M
An imaginary MPEG file pseudo-editing system for generating a PEG file and arranging the partial moving images in which the MPEG files are partially taken out in the order of reproduction, and storing a virtual position of each partial moving image. MPEG
A means for extracting and displaying a partial moving image from an MPEG file based on the index of the file and the position information of the partial moving image of the index, and rewriting the position information of the partial moving image of the index to delete the virtual moving image of MPEG. , A virtual MP
By editing each MPEG file in order according to the index of the EG file, from the playback start position by the playback length, the edited moving image can be displayed, and the moving image can be partially deleted. Or another MPEG
By implementing an editing operation such as inserting or overwriting a file in a moving image by appropriately rewriting the index, it is not necessary to analyze or rewrite the MPEG file itself, so that the MPEG file can be edited in a short time. It will be possible.

【0058】以上、本発明者によってなされた発明を、
前記実施形態に基づき具体的に説明したが、本発明は、
前記実施形態に限定されるものではなく、その要旨を逸
脱しない範囲において種々変更可能であることは勿論で
ある。
As described above, the invention made by the present inventor is:
Although specifically described based on the embodiment, the present invention
It is needless to say that the present invention is not limited to the above embodiment, and various changes can be made without departing from the scope of the invention.

【0059】[0059]

【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば、下
記のとおりである。仮想のMPEGファイルのインデク
スにしたがって各MPEGファイルを順番に、その再生
開始位置からその再生長分だけ再生していくことによ
り、編集した動画像を表示することができ、また、動画
像の部分的な削除や別のMPEGファイルの動画像中へ
の挿入や上書きといった編集操作をインデクスを適切に
書き換えることで実現することにより、MPEGファイ
ルそのものの解析や書き換えを行う必要がなくなるの
で、MPEGファイルを短時間で編集することが可能と
なる。
The effects obtained by the representative ones of the inventions disclosed in the present application will be briefly described as follows. By editing each MPEG file in order according to the index of the virtual MPEG file from the reproduction start position by the reproduction length, the edited moving image can be displayed, and a partial moving image can be displayed. It is not necessary to analyze or rewrite the MPEG file itself by implementing appropriate editing operations such as automatic deletion and insertion or overwriting of another MPEG file in the moving image, thus shortening the MPEG file. It will be possible to edit in time.

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

【図1】本発明の実施形態にかかるMPEGファイル疑
似編集システムの構成を示した図である。
FIG. 1 is a diagram showing a configuration of an MPEG file pseudo editing system according to an embodiment of the present invention.

【図2】インデクス107の構成を示した図である。FIG. 2 is a diagram showing a configuration of an index 107.

【図3】仮想MPEG再生装置103の動作の流れを示
すフローチャートである。
FIG. 3 is a flowchart showing a flow of operations of the virtual MPEG playback device 103.

【図4】仮想MPEGファイルの削除手順を示すフロー
チャートである。
FIG. 4 is a flowchart showing a procedure for deleting a virtual MPEG file.

【図5】仮想MPEGファイルの挿入手順を示すフロー
チャートである。
FIG. 5 is a flowchart showing a procedure for inserting a virtual MPEG file.

【図6】仮想MPEGファイルの上書き手順を示すフロ
ーチャートである。
FIG. 6 is a flowchart showing a procedure for overwriting a virtual MPEG file.

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

100…MPEG疑似編集システム、101…コマンド
入力装置、102…コマンド装置、103…仮想MPE
G再生装置、104…仮想MPEG削除装置、105…
仮想MPEG挿入装置、106…仮想MPEG上書き装
置、107…インデクス、108…MPEGデコーダ、
109…実MPEGファイル、110…表示装置。
100 ... MPEG pseudo-editing system, 101 ... Command input device, 102 ... Command device, 103 ... Virtual MPE
G playback device, 104 ... Virtual MPEG deletion device, 105 ...
Virtual MPEG insertion device, 106 ... Virtual MPEG overwrite device, 107 ... Index, 108 ... MPEG decoder,
109 ... Real MPEG file, 110 ... Display device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 MPEG形式のファイルにおける部分的
な動画像の削除、挿入等の編集をMPEGファイル上に
直接行わず、仮想のMPEGファイルを生成して疑似的
に行うMPEGファイル疑似編集システムであって、 前記MPEGファイルを部分的に取り出した部分動画像
を再生順に並べ、その各部分動画像の取り出し位置の情
報を格納する前記仮想のMPEGファイルのインデクス
と、 前記インデクスの部分動画像の位置情報を基に、前記M
PEGファイルから前記部分動画像を取り出して表示す
る手段と、 前記インデクスの部分動画像の位置情報を書き換え、前
記仮想のMPEGの動画像の削除、挿入等の編集を行う
手段とを備えたことを特徴とするMPEGファイル疑似
編集システム。
1. A pseudo-editing system for an MPEG file, which does not directly edit or delete a partial moving image in an MPEG format file but creates a virtual MPEG file to simulate it. The partial moving images in which the MPEG files are partially taken out are arranged in the order of reproduction, and the index of the virtual MPEG file that stores the information of the taking-out position of each partial moving image, and the position information of the partial moving image of the index are stored. Based on the above M
And a unit for retrieving and displaying the partial moving image from the PEG file, and a unit for rewriting the position information of the partial moving image in the index and performing editing such as deletion and insertion of the virtual MPEG moving image. Characteristic MPEG file pseudo editing system.
JP7485696A 1996-03-28 1996-03-28 MPEG file editing system and MPEG file editing method Expired - Fee Related JP3091684B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7485696A JP3091684B2 (en) 1996-03-28 1996-03-28 MPEG file editing system and MPEG file editing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7485696A JP3091684B2 (en) 1996-03-28 1996-03-28 MPEG file editing system and MPEG file editing method

Publications (2)

Publication Number Publication Date
JPH09266562A true JPH09266562A (en) 1997-10-07
JP3091684B2 JP3091684B2 (en) 2000-09-25

Family

ID=13559388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7485696A Expired - Fee Related JP3091684B2 (en) 1996-03-28 1996-03-28 MPEG file editing system and MPEG file editing method

Country Status (1)

Country Link
JP (1) JP3091684B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000018117A1 (en) * 1998-09-08 2000-03-30 Sharp Kabushiki Kaisha Time-varying image editing method and time-varying image editing device
JP2004072779A (en) * 2002-08-08 2004-03-04 Samsung Electronics Co Ltd Task-oriented nonlinear hypervideo editing method and apparatus therefor
GB2578191A (en) * 2018-10-14 2020-04-22 Adobe Inc Automatic and interactive animation driven by change-based heuristics

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000018117A1 (en) * 1998-09-08 2000-03-30 Sharp Kabushiki Kaisha Time-varying image editing method and time-varying image editing device
US6819394B1 (en) 1998-09-08 2004-11-16 Sharp Kabushiki Kaisha Time-varying image editing method and time-varying image editing device
JP2004072779A (en) * 2002-08-08 2004-03-04 Samsung Electronics Co Ltd Task-oriented nonlinear hypervideo editing method and apparatus therefor
GB2578191A (en) * 2018-10-14 2020-04-22 Adobe Inc Automatic and interactive animation driven by change-based heuristics
GB2578191B (en) * 2018-10-14 2021-03-10 Adobe Inc Automatic and interactive animation driven by change-based heuristics

Also Published As

Publication number Publication date
JP3091684B2 (en) 2000-09-25

Similar Documents

Publication Publication Date Title
US6628303B1 (en) Graphical user interface for a motion video planning and editing system for a computer
EP1486979B1 (en) Data recording method and data recording device
JPH11341350A (en) Multimedia information editing and reproducing device, recording medium with multimedia information reproduction program and recording medium with sequence information respectively recorded on them
JPH06150625A (en) Sound synchronized movie reproducing system
JPH056251A (en) Device for previously recording, editing and regenerating screening on computer system
JP2010022003A (en) Moving image file reproduction device, moving image file reproduction method, and program
US20040228619A1 (en) Recording apparatus, optical disk and computer-readable recording medium
JP2895064B2 (en) Still image file method, still image reproducing device, still image file storage medium system, and still image file device
US20030142954A1 (en) Moving image reproduction description method, moving image reproduction recording apparatus, storage medium and control program
JPH09266562A (en) Mpeg file pseudo editing system
KR100652763B1 (en) Method for editing moving images in a mobile terminal and apparatus therefor
JP2736070B2 (en) Still image file editing device
JP4250319B2 (en) REPRODUCTION DEVICE, REPRODUCTION METHOD, AND STORAGE MEDIUM
JP4549855B2 (en) Data recording method, data reproducing method, data recording device, data reproducing device, data structure, program, and recording medium storing the program
JP3125470B2 (en) Moving image compression data accumulation control method
JP3491981B2 (en) Multimedia presentation method and system, and multimedia data creation method and system
JPH08320945A (en) Moving image editing system and moving image reproducing system
US20240179366A1 (en) Mutable composite media
JP4197083B2 (en) Stream data recording and editing device
JP4255796B2 (en) DATA RECORDING DEVICE, DATA RECORDING METHOD, DATA RECORDING PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP3263443B2 (en) Animation editing equipment
JP3558051B2 (en) Movie editing / playback program, computer-readable recording medium recording movie editing / playback program, movie editing / playback apparatus and method
JP3730639B2 (en) Multimedia presentation method and system, multimedia data creation method and system
JP2005020202A (en) Reproduction apparatus, reproduction method, and recording medium and program for them
JP3329338B1 (en) Recording method, recording device, and computer-readable recording medium

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20120721

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees