[go: up one dir, main page]

JPH1175156A - Stream editer and stream decoder - Google Patents

Stream editer and stream decoder

Info

Publication number
JPH1175156A
JPH1175156A JP23449997A JP23449997A JPH1175156A JP H1175156 A JPH1175156 A JP H1175156A JP 23449997 A JP23449997 A JP 23449997A JP 23449997 A JP23449997 A JP 23449997A JP H1175156 A JPH1175156 A JP H1175156A
Authority
JP
Japan
Prior art keywords
stream
picture
group
pictures
gop
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
JP23449997A
Other languages
Japanese (ja)
Other versions
JP3876943B2 (en
Inventor
Satoshi Yuya
聡 油谷
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP23449997A priority Critical patent/JP3876943B2/en
Publication of JPH1175156A publication Critical patent/JPH1175156A/en
Application granted granted Critical
Publication of JP3876943B2 publication Critical patent/JP3876943B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the stream editer that edits a moving image data stream so as to be reproduced without disturbing a video image. SOLUTION: In the case of editing a stream with a structure of a group of picture GOP by the editer 2, an edit reception means 3 receives an input command of edit class with respect to the stream 1. Furthermore, edit processing means 4-6 apply edit processing to the stream, based on the edit class, and a header information read means 7 reads independent information of a GOP directly from header information of the GOP just after the GOP arranged just before is changed attended with the edit processing Then a header information update means 8 receives an instruction input of pattern selection information with respect to the just-after GOP when the just-after GOP is not independent, and adds the pattern selection information instructed to the header information of the just-after GOP to update the header information.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はストリーム編集装置
及び動画像データ復号装置に関し、特にグループ・オブ
・ピクチャ(以下場合によってGOPと記載する。)構
造を持つストリームを編集するストリーム編集装置及び
グループ・オブ・ピクチャ構造を持つストリームを復号
するストリーム復号装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a stream editing apparatus and a moving picture data decoding apparatus, and more particularly to a stream editing apparatus and a group editing apparatus for editing a stream having a group of pictures (hereinafter sometimes referred to as GOP) structure. The present invention relates to a stream decoding device that decodes a stream having an of-picture structure.

【0002】[0002]

【従来の技術】現在、カラー動画像のデータを圧縮する
符号化方法として、CD−ROM等の蓄積メディアを対
象としたMPEG(Moving Picture Coding Experts Gr
oup )1、また、MPEG1を拡張して通信メディア、
放送、通信で共通に利用できるようにしたMPEG2が
標準化されている。
2. Description of the Related Art At present, as an encoding method for compressing data of a color moving image, a moving picture coding expert (MPEG) for a storage medium such as a CD-ROM is used.
oup) 1 and communication media by extending MPEG1;
MPEG2 has been standardized so that it can be commonly used for broadcasting and communication.

【0003】MPEG1では動画像データから切り出し
たフレームを圧縮する際、規定されているIピクチャ、
Pピクチャ、Bピクチャという3つの画像タイプのうち
任意の画像タイプで符号化を行い、圧縮効率を高めてい
る。
In MPEG1, when a frame cut out from moving image data is compressed, a specified I picture,
Encoding is performed with an arbitrary image type among the three image types of a P picture and a B picture to increase the compression efficiency.

【0004】このうち、Iピクチャでは画面のすべてを
イントラ符号化(フレーム内符号化)する。また、Pピ
クチャでは先に出現しているIピクチャもしくはPピク
チャに基づいたフレーム間順方向予測符号化を行う。そ
してBピクチャでは先に出現しているIピクチャもしく
はPピクチャと、後に出現しているIピクチャもしくは
Pピクチャとに基づいた双方向予測符号化を行う。
[0004] Among them, in the case of an I picture, the entire screen is intra-coded (intra-frame coding). For P pictures, inter-frame forward prediction coding is performed based on the I picture or P picture that has appeared earlier. Then, in the B picture, bidirectional predictive encoding is performed based on the I picture or P picture that appears first and the I picture or P picture that appears later.

【0005】ところで、一連の動画像のすべてが相互に
依存し合っている場合には、単純な再生のみが可能であ
る。すなわち、早送りや巻き戻し、途中からの再生、逆
転再生等のトリックモードには対応できない。そこでM
PEG1では、少なくとも1枚のIピクチャを含む、規
定の枚数のピクチャデータをひとまとめにして、これを
グループ・オブ・ピクチャ(Group Of Picture)と呼
ぶ。そして、このGOPを単位として、トリックモード
の再生を行う。各GOPには、そのGOPの性質を示す
ヘッダ情報が付加されている。デコーダでは、このヘッ
ダ情報によって、トリックモードのためのランダム・ア
クセスが可能となる。
[0005] When all of a series of moving images depend on each other, only simple reproduction is possible. That is, trick modes such as fast forward, rewind, halfway play, and reverse play cannot be supported. So M
In PEG1, a prescribed number of pieces of picture data including at least one I picture are collectively referred to as a group of pictures. Then, trick mode reproduction is performed using this GOP as a unit. Each GOP is added with header information indicating the property of the GOP. At the decoder, this header information allows random access for trick mode.

【0006】ヘッダ情報には、GOPの開始コードや、
そのGOPのストリーム先頭からの時間を示すタイムコ
ードが含まれている。また、そのGOPが独立であるか
否かを示すクローズドGOPフラグや、そのGOPの再
生にあたり直前のGOPのデータが使用できるか否かを
示すブロークン・リンク・フラグが含まれている。
The header information includes a GOP start code,
A time code indicating the time from the head of the stream of the GOP is included. Also included are a closed GOP flag indicating whether the GOP is independent and a broken link flag indicating whether data of the immediately preceding GOP can be used in reproducing the GOP.

【0007】生成されたストリームに含まれたGOPの
ヘッダ情報にクローズドGOPフラグが立っていると
き、そのGOPは独立である。これは、そのGOPが、
他のGOPに含まれたピクチャデータからの予想に基づ
いて符号化されるピクチャデータ(Bピクチャ)を持た
ないことを示す。従って、画質よりも独立性を重視した
ストリームとなり、編集性が高い。
When a closed GOP flag is set in the header information of a GOP included in a generated stream, the GOP is independent. This is because the GOP
This indicates that there is no picture data (B picture) encoded based on the prediction from the picture data included in another GOP. Accordingly, the stream emphasizes independence rather than image quality, and has high editability.

【0008】また、独立していないGOPが編集によっ
て切り取られ、つなげられた場合、そのヘッダ情報には
ブロークン・リンク・フラグが立てられる。このような
場合、独立していないBピクチャに関しては、そのGO
P内のI、Pピクチャからの逆方向予測のみにて復号を
行う。
When GOPs that are not independent are cut out by editing and are connected, a broken link flag is set in the header information. In such a case, for the B picture that is not independent, its GO
Decoding is performed only by backward prediction from I and P pictures in P.

【0009】[0009]

【発明が解決しようとする課題】しかし、独立していな
いにも関らず、再生にあたって直前のGOPのデータが
使用できないGOPがある場合、そのGOPに含まれる
Bピクチャのために、映像が乱れてしまうことがあると
いう問題点があった。
However, if there is a GOP in which the data of the immediately preceding GOP cannot be used for reproduction in spite of the fact that the GOP is not independent, the video is distorted due to the B picture included in the GOP. There was a problem that it might be.

【0010】本発明はこのような点に鑑みてなされたも
のであり、映像を乱すことなく再生できるように動画像
データのストリームを編集できるストリーム編集装置を
提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide a stream editing apparatus capable of editing a stream of moving image data so that the stream can be reproduced without disturbing the video.

【0011】また、本発明の別の目的は、ブロークン・
リンク・フラグが立っていても映像を乱すことなく、符
号化された動画像データのストリームを再生できるスト
リーム復号装置を提供することである。
Another object of the present invention is to provide a
An object of the present invention is to provide a stream decoding device capable of reproducing a stream of encoded moving image data without disturbing video even when a link flag is set.

【0012】[0012]

【課題を解決するための手段】本発明では上記課題を解
決するために、グループ・オブ・ピクチャ構造を持つス
トリームを編集するストリーム編集装置において、前記
ストリームに対する編集種類の入力指示を受け付ける編
集受付手段と、前記編集種類に基づいて前記ストリーム
に対する編集処理を行う編集処理手段と、前記編集処理
に伴い、直前に配置されるグループ・オブ・ピクチャに
変更が生じた直後グループ・オブ・ピクチャのヘッダ情
報から、前記直後グループ・オブ・ピクチャの独立性情
報を読み取るヘッダ情報読み取り手段と、前記直後グル
ープ・オブ・ピクチャが独立していない場合には、前記
直後グループ・オブ・ピクチャに対する画柄選択情報の
指示入力を受け付け、前記直後グループ・オブ・ピクチ
ャのヘッダ情報に前記画柄選択情報を付加して前記ヘッ
ダ情報を更新するヘッダ情報更新手段と、を有すること
を特徴とするストリーム編集装置が提供される。
According to the present invention, in order to solve the above-mentioned problems, in a stream editing apparatus for editing a stream having a group-of-picture structure, edit accepting means for accepting an input instruction of an edit type for the stream. Editing processing means for performing editing processing on the stream based on the editing type; and header information of a group of picture immediately after a change occurs in a group of pictures arranged immediately before the editing processing. A header information reading means for reading the independence information of the immediately following group of pictures, and, if the immediately following group of pictures is not independent, the header information reading means of the picture selection information for the immediately following group of pictures. Accepts an instruction input and adds the header information of the immediately following group of pictures. Stream editing device is provided, characterized in that it comprises a header information updating means for updating the header information by adding Kigagara selection information.

【0013】このようなストリーム編集装置にて、グル
ープ・オブ・ピクチャ構造を持つストリームを編集する
場合、編集受付手段は、ストリームに対する編集種類の
入力指示を受け付ける。また、編集処理手段は、前記編
集種類に基づいてストリームに対する編集処理を行う。
ヘッダ情報読み取り手段は、編集処理に伴い、直前に配
置されるグループ・オブ・ピクチャに変更が生じた直後
グループ・オブ・ピクチャのヘッダ情報から、直後グル
ープ・オブ・ピクチャの独立性情報を読み取る。そし
て、ヘッダ情報更新手段は、直後グループ・オブ・ピク
チャが独立していない場合には、直後グループ・オブ・
ピクチャに対する画柄選択情報の指示入力を受け付け、
直後グループ・オブ・ピクチャのヘッダ情報に指示入力
された画柄選択情報を付加してヘッダ情報を更新する。
When editing a stream having a group-of-picture structure with such a stream editing apparatus, the edit accepting means accepts an edit type input instruction for the stream. The editing processing means performs an editing process on the stream based on the editing type.
The header information reading means reads the independence information of the immediately succeeding group of pictures from the header information of the immediately following group of pictures in which the group of pictures arranged immediately before the editing process is changed. Then, if the immediately following group of pictures is not independent, the header information updating means determines that the immediately following group of pictures
Accepts an instruction input of picture selection information for a picture,
Immediately after, the pattern selection information instructed and input is added to the header information of the group of pictures to update the header information.

【0014】このように、本発明のストリーム編集装置
では独立していない直後グループ・オブ・ピクチャの直
前のグループ・オブ・ピクチャが編集によって変更とな
った場合に、直後グループ・オブ・ピクチャに含まれた
非独立ピクチャデータ(Bピクチャ)に対する代替表現
を指示する画柄選択情報を、この直後GOPのヘッダ情
報に付加するので、動画像のストリームを、映像を乱す
ことなく再生できるように編集することが可能となる。
As described above, in the stream editing apparatus of the present invention, when a group of picture immediately before a group of pictures that is not independent is changed by editing, it is included in the group of pictures immediately after. Since the pattern selection information designating the alternative expression for the non-independent picture data (B picture) thus added is immediately added to the header information of the GOP, the moving picture stream is edited so that it can be reproduced without disturbing the video. It becomes possible.

【0015】また、本発明では上記課題を解決するため
に、グループ・オブ・ピクチャ構造を持つストリームを
復号するストリーム復号装置において、前記ストリーム
を分離してグループ・オブ・ピクチャを抽出するストリ
ーム分離手段と、前記グループ・オブ・ピクチャのヘッ
ダ情報から前記グループ・オブ・ピクチャの独立性情
報、依存性情報及び画柄選択情報を読み取るヘッダ情報
読み取り手段と、前記グループ・オブ・ピクチャが、他
のグループ・オブ・ピクチャに依存できず、画柄選択情
報を持つ場合には、前記グループ・オブ・ピクチャを、
前記画柄選択情報に基づいて復号する動画像復号手段
と、を有することを特徴とするストリーム復号装置が提
供される。
According to another aspect of the present invention, there is provided a stream decoding apparatus for decoding a stream having a group of pictures structure, wherein the stream separating unit extracts the group of pictures by separating the stream. Header information reading means for reading independence information, dependency information and picture selection information of the group of pictures from the header information of the group of pictures, and the group of pictures is -If it cannot depend on the picture of picture and has picture selection information, the group of picture is
A stream decoding device comprising: a moving image decoding means for decoding based on the pattern selection information.

【0016】このようなストリーム復号装置にてグルー
プ・オブ・ピクチャ構造を持つストリームを復号する場
合、ストリーム分離手段はストリームを分離してグルー
プ・オブ・ピクチャを抽出する。また、ヘッダ情報読み
取り手段は、グループ・オブ・ピクチャのヘッダ情報か
らグループ・オブ・ピクチャの独立性情報、依存性情報
及び画柄選択情報を読み取る。そして動画像復号手段は
グループ・オブ・ピクチャが、独立していないにも関ら
ず、他のグループ・オブ・ピクチャに依存できず、画柄
選択情報を持つ場合には、グループ・オブ・ピクチャ
を、画柄選択情報に基づいて復号する。
When a stream having a group of picture structure is decoded by such a stream decoding device, the stream separating means separates the stream and extracts a group of picture. The header information reading means reads independence information, dependency information, and picture selection information of the group of pictures from the header information of the group of pictures. If the group of pictures is independent and cannot depend on other groups of pictures and has picture selection information, the video decoding means Is decoded based on the picture selection information.

【0017】このように、本発明のストリーム復号装置
では、符号化された動画像データのストリームを復号す
る際、ストリームのグループ・オブ・ピクチャが、独立
していないにも関らず、復号にあたって直前のグループ
・オブ・ピクチャに依存できない(ブロークン・リンク
・フラグが立っている)場合でも、このグループ・オブ
・ピクチャを、ヘッダ情報から抽出した画柄選択情報に
基づいて復号するので、映像を乱すことなく、再生する
ことが可能となる。
As described above, in the stream decoding apparatus of the present invention, when decoding a stream of encoded moving image data, the group of pictures of the stream are not independent of each other. Even when it is not possible to depend on the immediately preceding group of pictures (the broken link flag is set), since the group of pictures is decoded based on the picture selection information extracted from the header information, the video is decoded. It is possible to reproduce without disturbing.

【0018】[0018]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。図1は、本発明のストリーム編集
装置の原理構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the principle configuration of the stream editing device of the present invention.

【0019】本発明のストリーム編集装置2は、グルー
プ・オブ・ピクチャ(GOP)構造を持つストリーム1
を編集するにあたって、編集受付手段3、GOP削除手
段4、GOP挿入手段5、ストリーム切替え手段6、ヘ
ッダ情報読み取り手段7、ヘッダ情報更新手段8を持
つ。
The stream editing apparatus 2 of the present invention provides a stream 1 having a group of pictures (GOP) structure.
In order to edit the file, there are editing accepting means 3, GOP deleting means 4, GOP inserting means 5, stream switching means 6, header information reading means 7, and header information updating means 8.

【0020】ここで、編集受付手段3はストリーム1に
対する編集種類の入力指示を受け付ける。そして、受け
付けた編集種類が、削除であった場合にはGOP削除手
段4に、挿入であった場合にはGOP挿入手段5に、切
替えであった場合にはストリーム切替え手段6に、動作
指令を出力する。
Here, the edit accepting means 3 accepts an edit type input instruction for the stream 1. If the received editing type is deletion, the operation command is sent to the GOP deletion means 4, if it is inserted, to the GOP insertion means 5, and if it is switching, the operation command is sent to the stream switching means 6. Output.

【0021】GOP削除手段4は、編集受付手段3から
動作指令を、ユーザからストリーム1における削除適用
GOP範囲の指定を受け付けると、削除処理を行う。す
なわち、ストリーム1に含まれている削除適用GOP範
囲のGOPを削除する。それから、ストリーム1におい
て削除適用GOP範囲の直後に配置されていたGOPを
直後GOPとして、ヘッダ情報読み取り部7に通知す
る。
The GOP deletion means 4 performs a deletion process when an operation command is received from the edit reception means 3 and a designation of a GOP range to be deleted in the stream 1 is received from the user. That is, the GOP included in the stream 1 in the range of the GOP to be deleted is deleted. Then, the GOP placed immediately after the deletion applicable GOP range in the stream 1 is notified to the header information reading unit 7 as the immediately following GOP.

【0022】GOP挿入手段5は、編集受付手段3から
動作指令を、ユーザからストリーム1における挿入位置
の指定と挿入GOPの入力とを受け付けると、ストリー
ム1に対して挿入処理を行う。すなわち、受け付けた挿
入位置でストリーム1を切断して、受け付けた挿入GO
Pを挿入する。それから、ストリーム1において挿入位
置の直後に配置されていたGOPと、挿入GOPの先頭
のGOPとを、直後GOPとして、ヘッダ情報読み取り
部7に通知する。
The GOP insertion means 5 performs an insertion process on the stream 1 upon receiving an operation command from the edit reception means 3 from the user to specify an insertion position in the stream 1 and to input an insertion GOP. That is, the stream 1 is cut at the received insertion position, and the received insertion GO
Insert P. Then, the header information reading unit 7 is notified of the GOP placed immediately after the insertion position in the stream 1 and the GOP at the head of the insertion GOP as the immediately following GOP.

【0023】ストリーム切替え手段6は、編集受付手段
3から動作指令を、ユーザからストリーム1における切
替え位置の指定と切替えストリームの入力とを受け付け
ると、ストリーム1に対して切替え処理を行う。すなわ
ち、受け付けた切替え位置でストリーム1を切断して、
受け付けた切替えストリームを接続する。それから、切
替えストリームで先頭に配置されているGOPを、直後
GOPとして、ヘッダ情報読み取り手段7に通知する。
When the stream switching means 6 receives an operation command from the editing receiving means 3 and receives a designation of a switching position in the stream 1 and an input of the switching stream from the user, it performs a switching process on the stream 1. That is, stream 1 is cut off at the accepted switching position,
Connect the received switching stream. Then, the header information reading unit 7 is notified of the GOP located at the head of the switching stream as the immediately following GOP.

【0024】ヘッダ情報読み取り手段7は、通知された
直後GOPのヘッダ情報から、その直後GOPの独立性
情報を読み取る。そして、直後GOPが独立していない
場合には、ヘッダ情報更新手段8にこれを通知する。な
お、ここでヘッダ情報読み取り手段7にて読み取られる
独立性情報は、そのGOPが、他のGOPに含まれるピ
クチャデータに依存して符号化された非独立ピクチャデ
ータ(Bピクチャ)を持つか否かを示すフラグである。
The header information reading means 7 reads, from the header information of the GOP immediately after the notification, the independence information of the GOP immediately thereafter. If the GOPs are not independent immediately, the header information updating means 8 is notified of this. Here, the independence information read by the header information reading means 7 is whether or not the GOP has non-independent picture data (B picture) encoded depending on picture data included in another GOP. Is a flag indicating

【0025】ヘッダ情報更新手段8は、ヘッダ情報読み
取り手段7から直後GOPが独立していないことを通知
され、ユーザから画柄選択情報の指示入力を受け付ける
と、直後GOPのヘッダ情報に画柄選択情報を付加して
このヘッダ情報を更新する。画柄選択情報は、直後GO
Pに含まれた非独立ピクチャデータ(Bピクチャ)に対
する代替表現を指示するものであって、ユーザは、非独
立ピクチャデータ(Bピクチャ)の代わりに黒画像を表
示するよう指示する黒画像指示等を選択することができ
る。
When the header information updating means 8 is notified by the header information reading means 7 that the GOP is not independent and receives an input of design selection information from the user, the pattern information is added to the header information of the GOP immediately after. The header information is updated by adding information. The pattern selection information is immediately after GO
A black image instruction or the like for instructing an alternative expression for the non-independent picture data (B picture) included in P, wherein the user instructs to display a black image instead of the non-independent picture data (B picture). Can be selected.

【0026】なお、ヘッダ情報はそのGOPの依存性情
報を含むことができるので、ヘッダ情報更新手段8で
は、この更新の際、直後GOPが他のGOPに依存しな
いことを示す依存性情報も、このヘッダ情報に記録す
る。
Since the header information can include the dependency information of the GOP, the header information updating means 8 also updates the dependency information indicating that the GOP does not depend on another GOP at the time of this update. Record in this header information.

【0027】このように、本発明のストリーム編集装置
2では、独立していない直後GOPの直前のGOPが編
集によって変更となった場合に、直後GOPに含まれた
非独立ピクチャデータ(Bピクチャ)に対する代替表現
を指示する画柄選択情報を、この直後GOPのヘッダ情
報に付加するので、動画像のストリームを、映像を乱す
ことなく再生できるように編集することが可能となる。
As described above, in the stream editing apparatus 2 of the present invention, when the GOP immediately before the GOP that is not independent is changed by editing, the non-independent picture data (B picture) included in the immediately following GOP is changed. Immediately after this, the pattern selection information indicating the alternative expression is added to the header information of the GOP, so that the moving image stream can be edited so as to be reproduced without disturbing the video.

【0028】ここで、ストリーム編集装置2にて動画像
データのストリーム1を編集する際の手順について説明
する。図2は、図1に示したストリーム編集装置2にて
動画像データのストリーム1を編集する手順を示したフ
ローチャートである。以下、ステップ番号に沿って説明
を行う。 [S1]編集受付手段3は、ユーザから入力される編集
種類を受け付ける。 [S2]受け付けた編集種類の内容を判断する。編集種
類が「削除」であれば、編集受付手段3はGOP削除手
段4に動作指令を出し、ステップS3へ進む。編集種類
が「挿入」であれば、編集受付手段3はGOP挿入手段
5に動作指令を出し、ステップS5へ進む。編集種類が
「切替え」であれば、編集受付手段3はストリーム切替
え手段6に動作指令を出し、ステップS8へ進む。 [S3]GOP削除手段4は、ユーザから入力されるス
トリーム1における削除適用GOP範囲を受け付ける。 [S4]GOP削除手段4は、受け付けた削除適用GO
P範囲のGOPを削除する。それから、ストリーム1に
おいて削除適用GOP範囲の直後に配置されていたGO
Pを「直後GOP」として、ヘッダ情報読み取り部7に
通知する。 [S5]GOP挿入手段5は、ユーザから入力されるス
トリーム1における挿入位置の指定を受け付ける。 [S6]GOP挿入手段5は、ユーザから入力される挿
入GOPを受け付ける。 [S7]GOP挿入手段5は、ステップS5で受け付け
た挿入位置でストリーム1を切断して、ステップS6で
受け付けた挿入GOPを挿入する。それから、ストリー
ム1において挿入位置の直後に配置されていたGOP
と、挿入GOPの先頭のGOPとを、「直後GOP」と
して、ヘッダ情報読み取り部7に通知する。 [S8]ストリーム切替え手段6は、ユーザから入力さ
れるストリーム1における切替え位置の指定を受け付け
る。 [S9]ストリーム切替え手段6は、ユーザから入力さ
れる切替えストリームを受け付ける。 [S10]ストリーム切替え手段6は、ステップS8で
受け付けた切替え位置でストリーム1を切断して、ステ
ップS9で受け付けた切替えストリームを接続する。そ
れから、切替えストリームで先頭に配置されているGO
Pを、「直後GOP」として、ヘッダ情報読み取り手段
7に通知する。 [S11]ヘッダ情報読み取り手段7は、通知された直
後GOPのヘッダ情報から、その直後GOPの独立性情
報を読み取る。 [S12]ヘッダ情報読み取り手段7は、読み取った独
立性情報から、直後GOPが独立しているか否か判断す
る。直後GOPが独立している場合には、このフローチ
ャートの処理は終了する。また、直後GOPが独立して
いない場合には、これをヘッダ情報更新手段8に通知
し、ステップS13へ進む。 [S13]ヘッダ情報更新手段8は、ユーザから画柄選
択情報の指示入力を受け付ける。 [S14]ヘッダ情報更新手段8は、ステップS13で
受け付けた画柄選択情報を直後GOPのヘッダ情報に付
加してこのヘッダ情報を更新する。なお、ヘッダ情報は
そのGOPの依存性情報を含むことができるので、ヘッ
ダ情報更新手段8では、この更新の際、直後GOPが他
のGOPに依存しないことを示す依存性情報も、このヘ
ッダ情報に記録する。
Here, a procedure when the stream editing apparatus 2 edits the stream 1 of the moving image data will be described. FIG. 2 is a flowchart showing a procedure for editing the stream 1 of the moving image data by the stream editing apparatus 2 shown in FIG. Hereinafter, description will be given along the step numbers. [S1] The edit accepting means 3 accepts an edit type input by a user. [S2] The content of the accepted editing type is determined. If the edit type is "delete", the edit accepting means 3 issues an operation command to the GOP deleting means 4, and proceeds to step S3. If the editing type is "insertion", the editing accepting means 3 issues an operation command to the GOP inserting means 5, and proceeds to step S5. If the editing type is "switching", the editing accepting unit 3 issues an operation command to the stream switching unit 6, and proceeds to step S8. [S3] The GOP deletion unit 4 receives a deletion application GOP range in the stream 1 input from the user. [S4] The GOP deletion means 4 receives the received deletion application GO.
The GOP in the P range is deleted. Then, GO 1 placed immediately after the deletion application GOP range in stream 1
P is set to “immediately after GOP” and is notified to the header information reading unit 7. [S5] The GOP insertion means 5 receives designation of an insertion position in the stream 1 input from the user. [S6] The GOP insertion means 5 receives an insertion GOP input from the user. [S7] The GOP insertion means 5 cuts the stream 1 at the insertion position received in step S5, and inserts the insertion GOP received in step S6. Then, the GOP placed immediately after the insertion position in stream 1
And the first GOP of the insertion GOP as the “immediately after GOP” to the header information reading unit 7. [S8] The stream switching unit 6 accepts a designation of a switching position in the stream 1 input from the user. [S9] The stream switching unit 6 receives a switching stream input from the user. [S10] The stream switching means 6 disconnects the stream 1 at the switching position received in step S8, and connects the switching stream received in step S9. Then, GO at the beginning of the switching stream
P is notified to the header information reading means 7 as “immediately after GOP”. [S11] The header information reading means 7 reads, from the header information of the GOP immediately after the notification, the independence information of the GOP immediately thereafter. [S12] The header information reading means 7 determines whether or not the immediately following GOP is independent from the read independence information. If the GOPs are immediately independent, the processing of this flowchart ends. If the immediately following GOPs are not independent, the GOP is notified to the header information updating means 8, and the process proceeds to step S13. [S13] The header information updating means 8 receives an instruction input of the pattern selection information from the user. [S14] The header information updating means 8 updates the header information by adding the pattern selection information received in step S13 to the header information of the immediately following GOP. Since the header information can include the dependency information of the GOP, the header information updating means 8 also includes, at the time of this update, the dependency information indicating that the immediately following GOP does not depend on another GOP. To record.

【0029】このように、本発明のストリーム編集装置
2では、独立していない直後GOPの直前のGOPが編
集によって変更となった場合に、直後GOPに含まれた
非独立ピクチャデータ(Bピクチャ)に対する代替表現
を指示する画柄選択情報を、この直後GOPのヘッダ情
報に付加するので、動画像のストリームを、映像を乱す
ことなく再生できるように編集することが可能となる。
As described above, in the stream editing apparatus 2 of the present invention, when the GOP immediately before the GOP which is not independent is changed by editing, the non-independent picture data (B picture) included in the immediately following GOP is changed. Immediately after this, the pattern selection information indicating the alternative expression is added to the header information of the GOP, so that the moving image stream can be edited so as to be reproduced without disturbing the video.

【0030】ここで、本発明のストリーム編集装置が編
集の対象とするGOP構造を持つストリームについて説
明する。図3は、動画像を符号化して、GOP構造を持
つストリームを生成した場合、及びストリームを復号し
て再生画を得る場合に、ピクチャの配置の順序が変化す
る様子を示した図である。
Here, a stream having a GOP structure to be edited by the stream editing apparatus of the present invention will be described. FIG. 3 is a diagram illustrating a manner in which the order of arrangement of pictures changes when a stream having a GOP structure is generated by encoding a moving image and when a stream is decoded to obtain a reproduced image.

【0031】一連の動画像10から切り出したフレーム
を符号化してストリーム20を生成する場合、双方向予
測を使用するBピクチャは、依存しているIピクチャや
Pピクチャの符号化及び配置の後で、符号化及び配置を
行う。また、ストリーム20を復号して再生画30を再
生する場合には、フレームの順序を動画像10と同じに
なるよう置き換えていく。なお、ここでは流れを説明す
るために、符号化してIピクチャとするフレームは、動
画像10〜再生画30を通してIピクチャとして示す。
また、符号化してPピクチャとするフレームも、動画像
10〜再生画30を通してPピクチャとして示し、同様
に符号化してBピクチャとするフレームも、動画像10
〜再生画30を通じてBピクチャとして示す。さらに、
ここで示した動画像10は編集処理を一切行っていない
一連のものであり、GOPn-1 とGOPn 、GOPn+1
とは連続した動画像であるとする。
When encoding a frame cut out from a series of moving images 10 to generate a stream 20, a B picture using bidirectional prediction is encoded after the dependent I picture or P picture is encoded and arranged. , Encoding and placement. When the stream 20 is decoded and the playback image 30 is played, the order of the frames is replaced so as to be the same as that of the moving image 10. Here, in order to explain the flow, a frame that is coded to be an I picture is shown as an I picture through a moving image 10 to a reproduced image 30.
A frame that is coded to be a P picture is also shown as a P picture through the moving images 10 to 30, and a frame that is similarly coded to be a B picture is also a moving image 10.
-Shown as a B picture through the reproduced picture 30. further,
The moving image 10 shown here is a series of images that have not been edited at all, and includes GOP n-1 and GOP n , GOP n + 1
Is a continuous moving image.

【0032】動画像10を符号化してストリーム20を
生成する場合、Pピクチャは、前に出現したIピクチャ
に依存して符号化される。またBピクチャは、直前の
I、Pピクチャと、直後のI,Pピクチャとの双方に依
存して符号化される。例えば、図3に示したフレーム1
2は、Pピクチャ11とPピクチャ13とに依存して生
成される。従って、フレーム12は、Pピクチャ11と
Pピクチャ13とが配置された後でBピクチャとして配
置される。
When the stream 10 is generated by encoding the moving picture 10, the P picture is encoded depending on the I picture that has appeared before. The B picture is coded depending on both the immediately preceding I and P pictures and the immediately succeeding I and P pictures. For example, the frame 1 shown in FIG.
2 is generated depending on the P picture 11 and the P picture 13. Therefore, the frame 12 is arranged as a B picture after the P picture 11 and the P picture 13 are arranged.

【0033】また、フレーム14は、Pピクチャ13と
Iピクチャ15とに依存して符号化される。従って、フ
レーム14は、Pピクチャ13とIピクチャ15とが配
置された後でBピクチャとして配置される。
The frame 14 is coded depending on the P picture 13 and the I picture 15. Therefore, the frame 14 is arranged as a B picture after the P picture 13 and the I picture 15 are arranged.

【0034】このように、ストリーム20に配置されて
いるピクチャの順番は符号化前の動画像10と異なって
いる。そこで、ストリーム20を復号して再生画30を
再生する場合には、この順番を元に戻しながら再生す
る。なお、図3において動画像10のフレーム11、1
2、13、14、15は、再生画30のフレーム31、
32、33、34、35に対応する。
As described above, the order of the pictures arranged in the stream 20 is different from that of the moving picture 10 before encoding. Therefore, when decoding the stream 20 and reproducing the reproduced image 30, the reproduction is performed while the order is restored. Note that in FIG. 3, the frames 11, 1
2, 13, 14, and 15 are frames 31 of the playback image 30,
32, 33, 34, and 35.

【0035】ここで、本発明のストリーム編集装置を適
用したストリーム切替え装置について説明する。図4
は、本発明のストリーム編集装置を適用したストリーム
切替え装置の詳細構成を示す図である。
Here, a stream switching device to which the stream editing device of the present invention is applied will be described. FIG.
FIG. 1 is a diagram showing a detailed configuration of a stream switching device to which a stream editing device of the present invention is applied.

【0036】本発明のストリーム編集装置を適用したス
トリーム切替え装置40は、ストリームAとストリーム
Bとを切替え制御信号に従って切替え、ストリームCを
生成する。ここで、ストリーム切替え装置40は、GO
Pヘッダ情報読み取り部41、42と、タイミング情報
生成部43と、タイミング調整用メモリ44、45と、
GOPヘッダ情報生成部46と、黒画面生成部47と、
GOPヘッダ情報書き換え部48、49と、多重化スト
リーム生成手段50とを有している。
The stream switching device 40 to which the stream editing device of the present invention is applied switches between the stream A and the stream B according to a switching control signal, and generates a stream C. Here, the stream switching device 40
P header information reading units 41 and 42, a timing information generation unit 43, timing adjustment memories 44 and 45,
A GOP header information generator 46, a black screen generator 47,
It has GOP header information rewriting sections 48 and 49 and multiplexed stream generation means 50.

【0037】GOPヘッダ情報読み取り部41、42
は、ストリームA、BのGOPのヘッダ情報から各GO
Pのピクチャ数NとGOPの独立性情報とを読み取る。
読み取ったピクチャ数Nはタイミング情報生成部43に
通知する。また、読み取った独立性情報はGOPヘッダ
情報生成部46に通知する。
GOP header information reading units 41 and 42
Is based on the header information of the GOPs of the streams A and B.
The number of pictures N of P and the independence information of GOP are read.
The number N of read pictures is notified to the timing information generation unit 43. The read independence information is notified to the GOP header information generation unit 46.

【0038】タイミング情報生成部43は、ストリーム
の切替えを指示する切替え制御信号を受け付ける。ま
た、このタイミング情報生成部43は、通知される各G
OPのピクチャ数Nから、ストリームAとストリームB
との時間関係を常時計算している。そして、計算してい
る両ストリームの時間関係と、切替え制御信号とから、
切替えのためのタイミング情報を生成する。
The timing information generator 43 receives a switching control signal for instructing switching of streams. Further, the timing information generation unit 43 transmits each G to be notified.
From the number of pictures N of the OP, the stream A and the stream B
The time relationship with is always calculated. Then, from the time relationship between the two streams being calculated and the switching control signal,
Generate timing information for switching.

【0039】タイミング調整用メモリ44、45は、切
替えやGOPのヘッダ情報の書き換えのための時間調節
を行う。GOPヘッダ情報生成部46には、ユーザ等か
ら画柄選択情報が入力される。このGOPヘッダ情報生
成部46は、タイミング情報生成部43から入力される
タイミング情報と、GOPヘッダ情報読み取り部41、
42から入力される独立性情報とからヘッダ情報の書き
換えが必要か否か判断する。そして、書き換えが必要で
あれば、画柄選択情報に基づいて、新たなヘッダ情報を
生成する。
The timing adjustment memories 44 and 45 perform time adjustment for switching and rewriting of GOP header information. The GOP header information generation unit 46 receives image selection information from a user or the like. The GOP header information generator 46 includes a timing information input from the timing information generator 43 and a GOP header information reader 41.
It is determined whether or not the header information needs to be rewritten based on the independence information input from. If rewriting is necessary, new header information is generated based on the pattern selection information.

【0040】ここでヘッダ情報について説明する。MP
EGの場合、GOPのヘッダ情報は、GSC(Group St
art Code:GOPの開始コード)と、TC(Time Code
:タイムコード)と、CG(Closed GOP:GOP内の
画像が他のGOPから独立して再生可能であることを示
す独立性情報)と、BL(Broken Link :先行するGO
Pデータが編集のためには使用不可であることを示す依
存性情報)とを含む。また、GOPのヘッダ情報には、
ESC(Extension Start Code:将来用の拡張データ開
始コード)とGED(Group Extension Data:拡張デー
タ)や、UDSC(User Data Start Code:ユーザデー
タの開始コード)とUD(User Data :ユーザデータ)
を含むことができる。
Here, the header information will be described. MP
In the case of EG, the header information of the GOP is GSC (Group St.
art Code: GOP start code) and TC (Time Code)
: Time code), CG (Closed GOP: Independence information indicating that an image in a GOP can be reproduced independently of another GOP), and BL (Broken Link: Previous GO)
Dependency information indicating that the P data cannot be used for editing). Also, GOP header information includes
ESC (Extension Start Code: extension data start code for the future) and GED (Group Extension Data: extension data), UDSC (User Data Start Code: user data start code) and UD (User Data: user data)
Can be included.

【0041】本発明のストリーム編集装置を適用したス
トリーム切替え装置40のGOPヘッダ情報生成部46
では、ストリームの切替えによって、独立していない
(CG=0)にも拘らず、先行するGOPデータを復号
の際に使用できない(BL=1)GOPが発生してしま
った場合に、このGOPのヘッダ情報のUD領域に画柄
選択情報を付加することで、新たなヘッダ情報を生成す
る。
The GOP header information generator 46 of the stream switching device 40 to which the stream editing device of the present invention is applied.
In the case where the switching of streams causes a GOP that cannot be used in decoding the preceding GOP data (BL = 1) despite being independent (CG = 0), the GOP of this GOP New header information is generated by adding the pattern selection information to the UD area of the header information.

【0042】黒画像生成部47は、GOPヘッダ情報生
成部46から黒画像の生成指示があった場合に、画面全
体が黒で塗り潰された静止画である黒画像を生成し、こ
れを多重化ストリーム生成部50に入力する。GOPヘ
ッダ情報書き換え部48、49は、GOPヘッダ情報生
成部46から特定のGOPのヘッダ情報書き換えの指示
があった場合に、該当するGOPのヘッダ情報を、入力
される新たなヘッダ情報で書き換える。
When a black image generation instruction is given from the GOP header information generation unit 46, the black image generation unit 47 generates a black image which is a still image in which the entire screen is filled with black, and multiplexes the black image. It is input to the stream generation unit 50. The GOP header information rewriting units 48 and 49 rewrite the header information of the corresponding GOP with new header information that is input when the GOP header information generation unit 46 instructs to rewrite the header information of a specific GOP.

【0043】そして多重化ストリーム生成部50は、タ
イミング情報生成部43から入力されるタイミング情報
に基づいて、黒画像、ストリームA及びストリームBの
切替えを行って、ストリームCを生成する。
The multiplexed stream generator 50 switches the black image, the stream A and the stream B based on the timing information input from the timing information generator 43, and generates a stream C.

【0044】このように、本発明のストリーム編集装置
を適用したストリーム切替え装置40では、切替え処理
によって、独立していないにも拘らず先行するGOPデ
ータを復号の際に使用できないGOPが発生してしまう
場合に、そのGOPに含まれた非独立ピクチャデータ
(Bピクチャ)に対する代替表現を指示する画柄選択情
報をこのGOPのヘッダ情報に付加するので、動画像の
ストリームを、映像を乱すことなく再生できるように切
替えて新たなストリームを生成することが可能である。
As described above, in the stream switching device 40 to which the stream editing device of the present invention is applied, a GOP which is not independent but cannot be used for decoding preceding GOP data is generated due to the switching process. In this case, picture selection information indicating an alternative expression for the non-independent picture data (B picture) included in the GOP is added to the header information of the GOP, so that the moving image stream can be transmitted without disturbing the video. It is possible to generate a new stream by switching to be able to reproduce.

【0045】本発明のストリーム編集装置にて編集され
たストリームを復号して再生画を得るストリーム復号装
置は、GOPのヘッダ情報からそのGOPの依存性情報
及び画柄選択情報を読み取るヘッダ情報読み取り手段
と、そのGOPが、独立していない(CG=0)にも拘
らず、他のGOPに依存できず(BL=1)、画柄選択
情報を持つ場合には、そのGOPを、読み取った画柄選
択情報に基づいて復号する動画像復号手段と、を有す
る。
A stream decoding apparatus for decoding a stream edited by the stream editing apparatus of the present invention to obtain a reproduced image is provided by a header information reading means for reading, from header information of a GOP, dependency information and picture selection information of the GOP. If the GOP is not independent (CG = 0) but cannot depend on another GOP (BL = 1) and has pattern selection information, the GOP is read Moving image decoding means for decoding based on the pattern selection information.

【0046】図5は、本発明のストリーム編集装置を適
用したストリーム切替え装置40にて新たに生成された
ストリームを復号して再生画を得る場合の、ピクチャの
配置の順序が変化する様子を示した図である。
FIG. 5 shows how the arrangement order of pictures changes when a stream generated by the stream switching device 40 to which the stream editing device of the present invention is applied is decoded to obtain a reproduced image. FIG.

【0047】ここでストリーム50は、2種類のストリ
ームを切替え位置50aで接続したものであって、GO
x とGOPn との間に関連性はないため、フレーム6
2の復号の際、フレーム61に当たるPピクチャは利用
できない。
Here, the stream 50 is obtained by connecting two types of streams at the switching position 50a.
Since there is no relationship between P x and GOP n , frame 6
When decoding 2, the P picture corresponding to the frame 61 cannot be used.

【0048】本発明ではGOPn のヘッダ情報に画柄選
択情報が付加されているので、復号の際、付加されてい
る画柄選択情報が黒画像指示であった場合には、Bピク
チャであったフレーム62の代替表現として、黒画像を
表示して、再生画60を得る。
In the present invention, since the pattern selection information is added to the header information of GOP n , if the added pattern selection information is a black image instruction at the time of decoding, it is a B picture. As a substitute expression of the frame 62, a black image is displayed to obtain a reproduced image 60.

【0049】また、付加されている画柄選択情報がフリ
ーズ指示であった場合には、Bピクチャであったフレー
ム62の代替表現として、再度フレーム61を表示して
再生画60を得る。
When the added picture selection information is a freeze instruction, the reproduced picture 60 is obtained by displaying the frame 61 again as an alternative expression of the frame 62 which is a B picture.

【0050】更に、付加されている画柄選択情報が不完
全指示であった場合には、GOPn-1 に含まれていた筈
のI、Pピクチャと、Iピクチャ63とに双方向に依存
するBピクチャであったフレーム62の代替表現とし
て、Iピクチャ63のみに逆方向に依存する不完全表現
を生成、これを表示して、再生画60を得る。
Further, when the added picture selection information is an incomplete instruction, the picture selection information bidirectionally depends on the I and P pictures and the I picture 63 that should have been included in GOP n-1. As an alternative expression of the frame 62, which was a B-picture, an incomplete expression that depends only on the I-picture 63 in the reverse direction is generated and displayed to obtain a reproduced image 60.

【0051】そして、付加されている画柄選択情報が擬
似ピクチャ指示であった場合には、Bピクチャであった
フレーム62の代替表現として、Pピクチャ61とIピ
クチャ63とから静止画のクロスディゾルブを生成、こ
れを表示して、再生画60を得る。
If the added picture selection information is a pseudo picture instruction, a cross dissolve of a still picture from the P picture 61 and the I picture 63 is used as an alternative expression of the frame 62 which was a B picture. Is generated and displayed, and a reproduced image 60 is obtained.

【0052】このように、本発明のストリーム編集装置
では独立していないにも拘らず、他のGOPに依存でき
ないGOPに含まれた非独立ピクチャデータ(Bピクチ
ャ)に対する代替表現を指示する画柄選択情報を、この
GOPのヘッダ情報に付加するので、動画像のストリー
ムを、映像を乱すことなく再生できるように編集するこ
とが可能となる。
As described above, although the stream editing apparatus of the present invention is not independent, a picture indicating an alternative expression for non-independent picture data (B picture) included in a GOP that cannot be dependent on another GOP. Since the selection information is added to the header information of this GOP, it is possible to edit the moving image stream so that it can be reproduced without disturbing the video.

【0053】また、本発明のストリーム復号装置では、
ストリームのGOPが、独立していないにも拘らず、そ
の復号にあたり、他のGOPに依存できない場合でも、
符号化された動画像データのストリームを、付加された
画柄選択情報に基づき、映像を乱すことなく、再生する
ことが可能となる。
In the stream decoding device of the present invention,
Even if the GOPs of the stream are not independent but cannot be dependent on other GOPs for decoding,
The stream of the encoded moving image data can be reproduced based on the added picture selection information without disturbing the video.

【0054】なお、本発明のストリーム編集装置で編集
した画柄選択情報を含んだストリームでは、データの互
換性が保たれているので、画柄選択情報に基づいて再生
画を再生する機能を持たない復号装置にて復号される際
にも不都合はない。
The stream containing the pattern selection information edited by the stream editing apparatus of the present invention has a function of reproducing a reproduced image based on the pattern selection information because data compatibility is maintained. There is no inconvenience when decoding is performed by a decoding device that does not have the same function.

【0055】[0055]

【発明の効果】以上説明したように本発明のストリーム
編集装置は、独立していない直後グループ・オブ・ピク
チャの直前のGOPが編集によって変更となった場合
に、直後GOPに含まれた非独立ピクチャデータ(Bピ
クチャ)に対する代替表現を指示する画柄選択情報を、
この直後GOPのヘッダ情報に付加する構成としたの
で、動画像のストリームを、映像を乱すことなく再生で
きるように編集することが可能となる。
As described above, according to the stream editing apparatus of the present invention, when the GOP immediately before the immediately following group of pictures that is not independent is changed by editing, the non-independent Picture selection information indicating an alternative expression for picture data (B picture)
Immediately after this, the configuration is added to the header information of the GOP, so that the moving image stream can be edited so that it can be reproduced without disturbing the video.

【0056】また、以上説明したように、本発明の本発
明のストリーム復号装置では、符号化された動画像デー
タのストリームを復号する際、ストリームのグループ・
オブ・ピクチャ(GOP)が、独立していないにも拘ら
ず、復号にあたって直前のGOPに依存できない(ブロ
ークン・リンク・フラグが立っている)場合でも、この
GOPを、ヘッダ情報から抽出した画柄選択情報に基づ
いて復号する構成としたので、映像を乱すことなく、再
生することが可能となる。
As described above, in the stream decoding apparatus of the present invention, when decoding a stream of encoded moving image data, the stream group
Even if the picture of interest (GOP) is not independent, but cannot depend on the immediately preceding GOP for decoding (the broken link flag is set), this GOP is extracted from the header information. Since the decoding is performed based on the selection information, the video can be reproduced without disturbing the video.

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

【図1】本発明のストリーム編集装置の原理構成を示す
ブロック図である。
FIG. 1 is a block diagram showing the principle configuration of a stream editing device according to the present invention.

【図2】図1に示したストリーム編集装置にて動画像デ
ータのストリームを編集する手順を示したフローチャー
トである。
FIG. 2 is a flowchart showing a procedure for editing a stream of moving image data by the stream editing apparatus shown in FIG. 1;

【図3】動画像を符号化して、GOP構造を持つストリ
ームを生成した場合、及びストリームを復号して再生画
を得る場合に、ピクチャの配置の順序が変化する様子を
示した図である。
FIG. 3 is a diagram illustrating a manner in which the arrangement order of pictures changes when a stream having a GOP structure is generated by encoding a moving image and when a stream is decoded to obtain a reproduced image.

【図4】本発明のストリーム編集装置を適用したストリ
ーム切替え装置の詳細構成を示す図である。
FIG. 4 is a diagram showing a detailed configuration of a stream switching device to which the stream editing device of the present invention is applied.

【図5】本発明のストリーム編集装置を適用したストリ
ーム切替え装置にて新たに生成されたストリームを復号
して再生画を得る場合の、ピクチャの配置の順序が変化
する様子を示した図である。
FIG. 5 is a diagram illustrating a situation where the order of arrangement of pictures changes when a stream switching device to which the stream editing device of the present invention is applied decodes a newly generated stream to obtain a reproduced image. .

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

1……ストリーム、2……ストリーム編集装置、3……
編集受付手段、4……GOP削除手段、5……GOP挿
入手段、6……ストリーム切替え手段、7……ヘッダ情
報読み取り手段、8……ヘッダ情報更新手段。
1 stream 2 stream editing device 3
Edit accepting means, 4 GOP deleting means, 5 GOP inserting means, 6 Stream switching means, 7 Header information reading means, 8 Header information updating means.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 グループ・オブ・ピクチャ構造を持つス
トリームを編集するストリーム編集装置において、 前記ストリームに対する編集種類の入力指示を受け付け
る編集受付手段と、 前記編集種類に基づいて前記ストリームに対する編集処
理を行う編集処理手段と、 前記編集処理に伴い、直前に配置されるグループ・オブ
・ピクチャに変更が生じた直後グループ・オブ・ピクチ
ャのヘッダ情報から、前記直後グループ・オブ・ピクチ
ャの独立性情報を読み取るヘッダ情報読み取り手段と、 前記直後グループ・オブ・ピクチャが独立していない場
合には、前記直後グループ・オブ・ピクチャに対する画
柄選択情報の指示入力を受け付け、前記直後グループ・
オブ・ピクチャのヘッダ情報に前記画柄選択情報を付加
して前記ヘッダ情報を更新するヘッダ情報更新手段と、 を有することを特徴とするストリーム編集装置。
1. A stream editing apparatus for editing a stream having a group-of-picture structure, comprising: an edit receiving unit for receiving an input instruction of an edit type for the stream; and performing an edit process on the stream based on the edit type. Editing processing means for reading the independence information of the immediately following group of pictures from the header information of the immediately following group of pictures after the change of the group of pictures arranged immediately before the editing processing When the header information reading means and the immediately following group of pictures are not independent, an instruction input of picture selection information for the immediately following group of picture is received, and the immediately following group of picture is received.
A stream editing apparatus, comprising: header information updating means for updating the header information by adding the pattern selection information to the header information of the picture.
【請求項2】 前記編集処理手段は、前記ストリームに
おける切替え位置の指定及び切替えストリームの入力を
受け付け、前記切替え位置で前記ストリームを切断して
前記切替えストリームを接続し、前記切替えストリーム
の先頭のグループ・オブ・ピクチャを直後グループ・オ
ブ・ピクチャとするストリーム切替え手段であることを
特徴とする請求項1記載のストリーム編集装置。
2. The editing processing means receives a designation of a switching position in the stream and an input of a switching stream, disconnects the stream at the switching position, connects the switching stream, and sets a first group of the switching stream. 2. The stream editing apparatus according to claim 1, wherein the stream editing unit is a stream switching unit that sets an of picture as a group of pictures immediately after.
【請求項3】 前記編集処理手段は、前記ストリームに
おける不要箇所である削除適用グループ・オブ・ピクチ
ャ範囲の指定を受け付け、前記削除適用グループ・オブ
・ピクチャ範囲を削除し、前記ストリームにおける前記
削除適用グループ・オブ・ピクチャ範囲の直後に位置す
るグループ・オブ・ピクチャを直後グループ・オブ・ピ
クチャとするグループ・オブ・ピクチャ削除手段である
ことを特徴とする請求項1記載のストリーム編集装置。
3. The editing processing means receives designation of a deletion application group of picture range, which is an unnecessary portion in the stream, deletes the deletion application group of picture range, and deletes the deletion application group of picture in the stream. 2. The stream editing apparatus according to claim 1, wherein the stream editing device is a group of picture deleting unit that sets a group of picture located immediately after the group of picture range as a group of picture immediately after.
【請求項4】 前記編集処理手段は、前記ストリームに
おける挿入位置の指定及び前記挿入グループ・オブ・ピ
クチャの入力を受け付け、前記挿入位置で前記ストリー
ムを切断して前記挿入グループ・オブ・ピクチャを挿入
し、前記ストリームにおいて前記挿入位置の直後に位置
したグループ・オブ・ピクチャと前記挿入グループ・オ
ブ・ピクチャの先頭のグループ・オブ・ピクチャとを直
後グループ・オブ・ピクチャとするグループ・オブ・ピ
クチャ挿入手段であることを特徴とする請求項1記載の
ストリーム編集装置。
4. The editing processing means receives designation of an insertion position in the stream and input of the insertion group of pictures, cuts off the stream at the insertion position, and inserts the insertion group of pictures. And inserting a group of picture in which the group of picture positioned immediately after the insertion position in the stream and the first group of picture of the insertion group of picture are set as the immediately following group of picture. 2. The stream editing apparatus according to claim 1, wherein said stream editing apparatus is a means.
【請求項5】 前記ヘッダ情報読み取り手段が読み取る
前記独立性情報は、前記直後グループ・オブ・ピクチャ
に、他のグループ・オブ・ピクチャに含まれるピクチャ
データに依存して符号化された、非独立ピクチャデータ
が存在するか否かを示していることを特徴とする請求項
1記載のストリーム編集装置。
5. The independence information read by the header information reading means is a non-independent information encoded in the immediately following group of pictures depending on picture data included in another group of pictures. 2. The stream editing apparatus according to claim 1, wherein the stream editing apparatus indicates whether picture data exists.
【請求項6】 前記ヘッダ情報更新手段が指示入力を受
け付ける前記画柄選択情報は、前記直後グループ・オブ
・ピクチャに含まれた非独立ピクチャデータに対する代
替表現を指示するものであることを特徴とする請求項1
記載のストリーム編集装置。
6. The picture selection information for which the header information updating means accepts an instruction input indicates an alternative expression for non-independent picture data included in the immediately following group of pictures. Claim 1
The stream editing device as described.
【請求項7】 画面全体が黒で塗り潰された静止画であ
る黒画像ピクチャを生成する黒画像生成手段を有し、前
記ヘッダ情報更新手段が指示入力を受け付ける画柄選択
情報は、前記直後グループ・オブ・ピクチャに含まれた
前記非独立ピクチャデータの代替表現として、黒画像ピ
クチャを指示する黒画像指示、前記非独立ピクチャデー
タの直前のピクチャデータを指示するフリーズ指示、前
記非独立ピクチャデータの不完全表現を指示する不完全
指示、前記編集ストリームにおいて、前記直後グループ
・オブ・ピクチャの直前に位置するグループ・オブ・ピ
クチャに含まれ、規定以上のデータ量を持つ第1有効ピ
クチャと、前記直後グループ・オブ・ピクチャに含ま
れ、規定以上のデータ量を持つ第2有効ピクチャと、か
ら生成する擬似ピクチャを指示する擬似ピクチャ指示、
のいずれかであることを特徴とする請求項1記載のスト
リーム編集装置。
7. An image processing apparatus comprising: a black image generation unit that generates a black image picture that is a still image in which the entire screen is filled with black; A black image instruction indicating a black image picture, a freeze instruction indicating picture data immediately before the non-independent picture data, and a non-independent picture data as an alternative expression of the non-independent picture data included in the non-independent picture data. An incomplete instruction indicating an incomplete expression, a first effective picture having a data amount equal to or greater than a prescribed value, which is included in a group of pictures located immediately before the immediately following group of pictures in the edit stream, and Immediately after, a pseudo picture generated from a second effective picture that is included in the group of pictures and has a data amount larger than a specified value Pseudo-picture instruction to instruct the
The stream editing device according to claim 1, wherein the stream editing device is any one of the following.
【請求項8】 グループ・オブ・ピクチャ構造を持つス
トリームを復号するストリーム復号装置において、 前記ストリームを分離してグループ・オブ・ピクチャを
抽出するストリーム分離手段と、 前記グループ・オブ・ピクチャのヘッダ情報から前記グ
ループ・オブ・ピクチャの独立性情報、依存性情報及び
画柄選択情報を読み取るヘッダ情報読み取り手段と、 前記グループ・オブ・ピクチャが、他のグループ・オブ
・ピクチャに依存できず、画柄選択情報を持つ場合に
は、前記グループ・オブ・ピクチャを、前記画柄選択情
報に基づいて復号する動画像復号手段と、 を有することを特徴とするストリーム復号装置。
8. A stream decoding device for decoding a stream having a group of picture structure, comprising: a stream separation unit for separating the stream to extract a group of picture; and header information of the group of picture. Header information reading means for reading independence information, dependency information and pattern selection information of the group of pictures from the group of pictures, wherein the group of pictures cannot depend on another group of pictures, A stream decoding device, comprising: moving picture decoding means for decoding the group of pictures based on the picture selection information, when having the selection information.
【請求項9】 前記ヘッダ情報読み取り手段が読み取る
前記依存性情報は、前記グループ・オブ・ピクチャを、
直前のグループ・オブ・ピクチャに依存して復号すべき
か否かを示していることを特徴とする請求項8記載のス
トリーム復号装置。
9. The dependency information read by the header information reading means includes the group of pictures,
9. The stream decoding apparatus according to claim 8, wherein whether or not decoding is to be performed depends on the immediately preceding group of pictures.
JP23449997A 1997-08-29 1997-08-29 Stream editing apparatus and method, and stream decoding apparatus and method Expired - Fee Related JP3876943B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23449997A JP3876943B2 (en) 1997-08-29 1997-08-29 Stream editing apparatus and method, and stream decoding apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23449997A JP3876943B2 (en) 1997-08-29 1997-08-29 Stream editing apparatus and method, and stream decoding apparatus and method

Publications (2)

Publication Number Publication Date
JPH1175156A true JPH1175156A (en) 1999-03-16
JP3876943B2 JP3876943B2 (en) 2007-02-07

Family

ID=16971993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23449997A Expired - Fee Related JP3876943B2 (en) 1997-08-29 1997-08-29 Stream editing apparatus and method, and stream decoding apparatus and method

Country Status (1)

Country Link
JP (1) JP3876943B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8194751B2 (en) 2003-02-19 2012-06-05 Panasonic Corporation Moving picture coding method and moving picture decoding method
JP2014049846A (en) * 2012-08-30 2014-03-17 Renesas Electronics Corp Moving image decoding device and operation method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8194751B2 (en) 2003-02-19 2012-06-05 Panasonic Corporation Moving picture coding method and moving picture decoding method
JP2014049846A (en) * 2012-08-30 2014-03-17 Renesas Electronics Corp Moving image decoding device and operation method thereof

Also Published As

Publication number Publication date
JP3876943B2 (en) 2007-02-07

Similar Documents

Publication Publication Date Title
KR100606150B1 (en) Recording apparatus and method, reproducing apparatus and method, recording / reproducing apparatus and method, and recording medium
JP3491365B2 (en) Encoded data decoding method and decoding device
JP4421156B2 (en) Image reproducing apparatus and image recording / reproducing apparatus
US7403567B2 (en) Decoding method and apparatus and recording method and apparatus for moving picture data
US5870521A (en) Edited coded data decoding apparatus with substitute image replacement
EP2186340B1 (en) A video data reproduction system
US5802240A (en) Video editing apparatus
JP3204192B2 (en) Data recording / reproducing apparatus and data recording / reproducing method
KR20000023495A (en) Method and apparatus for digital recording/reproduction of video with superimposed sub-information
JP3932546B2 (en) MPEG video editing apparatus and MPEG video editing method
JPH09238347A (en) Image data processing method and device therefor
JP4704972B2 (en) Stream editing method and stream editing apparatus
JP2004201100A (en) Additional information inserting device and its method
WO2002058384A1 (en) Reproducing apparatus and reproducing method
KR20010050137A (en) Digital signal recording apparatus and recording medium
JPH11187310A (en) Digital data transmitting method and its device
WO2003036967A1 (en) Video signal processing apparatus, video signal processing method, program, and recording medium
JP3918332B2 (en) Multiplexer, multiplexing method, and recording medium
JP3876943B2 (en) Stream editing apparatus and method, and stream decoding apparatus and method
JP4468497B2 (en) Method and apparatus for reproducing original data of digitally encoded video film
JPH09116866A (en) Encoding method, encoding/decoding method and recording /reproducing device
JPH08149408A (en) Digital moving image editing method and apparatus
JP3273640B2 (en) Editing device and editing signal decoding device
JPH08130712A (en) Data editing method and editing device
JP3384162B2 (en) Digital video signal recording / reproducing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040420

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040420

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060718

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060804

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060912

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060919

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061011

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061024

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

Free format text: PAYMENT UNTIL: 20091110

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101110

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111110

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111110

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121110

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees