JPH10210442A - Scramble method and device therefor, and dynamic image processor - Google Patents

Scramble method and device therefor, and dynamic image processor

Info

Publication number
JPH10210442A
JPH10210442A JP9010238A JP1023897A JPH10210442A JP H10210442 A JPH10210442 A JP H10210442A JP 9010238 A JP9010238 A JP 9010238A JP 1023897 A JP1023897 A JP 1023897A JP H10210442 A JPH10210442 A JP H10210442A
Authority
JP
Japan
Prior art keywords
start code
data
mpeg2
scrambling
encoding
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.)
Withdrawn
Application number
JP9010238A
Other languages
Japanese (ja)
Inventor
Hideaki Sato
英明 佐藤
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP9010238A priority Critical patent/JPH10210442A/en
Publication of JPH10210442A publication Critical patent/JPH10210442A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To easily apply scrambling to encoded video signals by applying scramble to video signals by means of plural start codes which are included in an encoded video stream. SOLUTION: An MPEG2 video data start code detection/change information output part 12 outputs the start code information on an MPEG2 video stream. The start code detection information and the start code change information, which are included in the start code information, are outputted to an MPEG2 video data start code detection part 13 and an MPEG2 video data start code change part 14, respectively. The part 13 detects a start code based on the start code detection information, and the part 14 changes the detected start code into another start code, based on the start code change information. Based on this start code change, the scramble is applied to the video data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、映像信号にスクラ
ンブルをかけるスクランブル方法、スクランブル装置及
び動画像処理装置に関し、詳細には、MPEG(Moving
Picture ExpertGroup)2システムのビデオストリーム
にスクランブルをかけるスクランブル方法、スクランブ
ル装置及び動画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a scrambling method for scrambling a video signal, a scrambling device, and a moving image processing device. More specifically, the present invention relates to an MPEG (Moving) device.
The present invention relates to a scramble method for scrambling a video stream of a Picture Expert Group 2 system, a scramble device, and a moving image processing device.

【0002】[0002]

【従来の技術】無線伝送路を用いて映像信号を伝送する
場合には、特定周波数へのエネルギ集中を避けるためス
クランブルが必須であり、またその他の伝送路を用いて
映像信号を伝送する場合にもクロック再生などのために
スクランブルが使用される。さらに、スクランブルは秘
匿の目的でも使用される。
2. Description of the Related Art When a video signal is transmitted using a wireless transmission path, scrambling is indispensable in order to avoid energy concentration on a specific frequency, and when a video signal is transmitted using another transmission path. Also, scrambling is used for clock recovery and the like. In addition, scrambling is used for confidentiality purposes.

【0003】映像のスクランブルは、信号の反転、同期
信号の抑圧などを時間的に変化させる方式が一般的であ
る。
[0003] Video scrambling is generally performed in such a manner that inversion of a signal, suppression of a synchronization signal, and the like are temporally changed.

【0004】従来の映像スクランブル技術には、下記の
ものがある。
[0004] Conventional video scrambling techniques include the following.

【0005】1.ラインパーミュテーション方式(走査
線転移方式):走査線の順序を入れ替えてスクランブル
を行う。
[0005] 1. Line permutation method (scanning line transfer method): scrambling is performed by changing the order of scanning lines.

【0006】2.ラインローテーション方式(走査線内
信号切り替え方式):各走査線内にカットポイントを設
け、その前後を入れ替えることによりスクランブルを行
う。
[0006] 2. Line rotation method (signal switching method within a scanning line): A scrambling is performed by providing a cut point in each scanning line and exchanging before and after the cut point.

【0007】3.スカイポート方式:全走査線をランダ
ムに入れ替えてスクランブルを行う。
[0007] 3. Skyport method: scrambling is performed by randomly replacing all scanning lines.

【0008】4.ビデオサイファー方式:同期信号除去
及び極性反転を併用した方式。
[0008] 4. Video cipher method: A method that uses both synchronization signal removal and polarity inversion.

【0009】5.B−MAC方式:各走査線長をランダ
ムに変更する。
[0009] 5. B-MAC method: Each scanning line length is changed at random.

【0010】[0010]

【発明が解決しようとする課題】上述したように、今ま
での方法は、映像信号に対してかけられるスクランブル
の方式であり、符号化データ、例えばMPEG2のビデ
オストリームに対してかけるスクランブル方式ではなか
った。
As described above, the conventional method is a scrambling method applied to a video signal, not a scramble method applied to encoded data, for example, an MPEG2 video stream. Was.

【0011】すなわち、従来のスクランブルシステムで
はΜPEGビデオストリームにスクランブルかけること
は考慮されていないという解決課題があった。
That is, the conventional scrambling system has a problem to be solved in that scrambling of the ΜPEG video stream is not considered.

【0012】本発明は、符号化された映像信号に簡単に
スクランブルをかけることができるスクランブル方法、
スクランブル装置及び動画像処理装置を提供することを
目的としている。
[0012] The present invention provides a scrambling method for easily scrambling an encoded video signal,
An object of the present invention is to provide a scramble device and a moving image processing device.

【0013】[0013]

【課題を解決するための手段】本発明に係るスクランブ
ル方法は、符号化されたビデオストリームにスクランブ
ルをかけるスクランブル方法であって、ビデオストリー
ムの中の複数のスタートコードを用いて映像信号にスク
ランブルをかけることを特徴とする。
A scrambling method according to the present invention is a scrambling method for scrambling an encoded video stream, wherein the scrambling is performed on a video signal using a plurality of start codes in the video stream. It is characterized by multiplying.

【0014】本発明に係るスクランブル方法は、符号化
されたビデオストリームにスクランブルをかけるスクラ
ンブル方法であって、まず、ビデオストリームの中に所
定のコード値、及び所定の順序で配置された複数のスタ
ートコードを検出し、検出したスタートコードを変更し
てスクランブルをかけることを特徴とする。
The scrambling method according to the present invention is a scrambling method for scrambling an encoded video stream. First, a predetermined code value and a plurality of start codes arranged in a predetermined order in the video stream are provided. It is characterized in that a code is detected, the detected start code is changed and scrambled.

【0015】上記符号化は、MPEG(Moving Picture
Expert Group)符号化方式若しくはH.261等の国
際標準符号化方式に準拠した符号化であってもよく、上
記スタートコードは、MPEG2ビデオストリームの中
のスタートコードであってもよい。
[0015] The above encoding is performed by MPEG (Moving Picture).
Expert Group) coding method or H.264. H.261 or the like, and the start code may be a start code in an MPEG2 video stream.

【0016】本発明に係るスクランブル装置は、符号化
されたビデオストリームにスクランブルをかけるスクラ
ンブル装置であって、ビデオストリームの中の複数のス
タートコードを用いて映像信号にスクランブルをかける
スクランブル手段を備えて構成する。
A scrambler according to the present invention is a scrambler for scrambling an encoded video stream, comprising scrambling means for scrambling a video signal using a plurality of start codes in the video stream. Configure.

【0017】上記スクランブル手段は、ビデオストリー
ムの中に所定のコード値、及び所定の順序で配置された
複数のスタートコードを変更してスクランブルをかける
ように構成してもよい。
The scrambling means may be configured to scramble by changing a predetermined code value and a plurality of start codes arranged in a predetermined order in the video stream.

【0018】上記符号化は、MPEG符号化方式若しく
はH.261等の国際標準符号化方式に準拠した符号化
であってもよく、スタートコードは、MPEG2ビデオ
ストリームの中のスタートコードであってもよい。
The above-mentioned encoding is performed according to the MPEG encoding method or H.264. H.261 or the like, and the start code may be a start code in an MPEG2 video stream.

【0019】本発明に係る動画像処理装置は、所定デー
タ構造のデータ列をストリームとして処理する動画像処
理装置において、ビデオストリームの中の処理開始を示
す複数のスタートコードを変更するスタートコード変更
手段と、変更したスタートコードを復元する復元手段と
を備えて構成する。
In the moving picture processing apparatus according to the present invention, in a moving picture processing apparatus for processing a data sequence having a predetermined data structure as a stream, start code changing means for changing a plurality of start codes indicating the start of processing in a video stream. And restoring means for restoring the changed start code.

【0020】上記動画像処理装置は、所定の符号化方式
により符号化を行う符号化装置と、符号化装置により符
号化した映像を復号化する復号化装置とを備え、符号化
装置は、符号化された映像データの中からスタートコー
ドを検出するスタートコード検出手段と、検出されたス
タートコードを、別のスタートコードに変更するスター
トコード変更手段と、変更されたスタートコード、ユー
ザデータ及び符号化された音声データを多重化しストリ
ームとして送出する多重化手段とを備え、復号化装置
は、送出されたストリームを映像データ、ユーザデータ
及び音声データに分離するデータ分離手段と、分離され
た映像データの中から変更スタートコードを検出する変
更スタートコード検出手段と、検出された変更スタート
コードを、元のスタートコードに復元する復元手段と、
復元されたスタートコードを含む映像データを復号化し
て映像信号として出力する復号化手段とを備えて構成し
てもよい。
The moving picture processing apparatus includes an encoding apparatus for performing encoding according to a predetermined encoding method, and a decoding apparatus for decoding a video encoded by the encoding apparatus. Start code detecting means for detecting a start code from the converted video data, start code changing means for changing the detected start code to another start code, changed start code, user data and encoding Multiplexing means for multiplexing the supplied audio data and transmitting the multiplexed audio data as a stream, wherein the decoding device comprises: a data separating means for separating the transmitted stream into video data, user data and audio data; A change start code detecting means for detecting a change start code from the inside; and And restoring means for restoring the Tokodo,
Decoding means for decoding the video data including the restored start code and outputting the decoded video data as a video signal.

【0021】上記スタートコード変更手段によるスター
トコードの変更は、スタートコードのコード値の変更で
あってもよく、また、上記スタートコード変更手段によ
るスタートコードの変更は、複数のスタートコードの出
現順序の変更であってもよい。
The change of the start code by the start code changing means may be a change of the code value of the start code, and the change of the start code by the start code changing means may be performed by changing the appearance order of a plurality of start codes. It may be a change.

【0022】上記符号化は、MPEG符号化方式若しく
はH.261等の国際標準符号化方式に準拠した符号化
であってもよく、上記スタートコードは、MPEG2ビ
デオストリームの中のスタートコードであってもよい。
The above-mentioned encoding is performed according to the MPEG encoding method or H.264. H.261 or the like, and the start code may be a start code in an MPEG2 video stream.

【0023】[0023]

【発明の実施の形態】本発明に係るスクランブル方法、
スクランブル装置及び動画像処理装置は、MPEG2ビ
デオストリームのスクランブルを行う動画像処理装置に
適用することができる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A scrambling method according to the present invention,
The scramble device and the moving image processing device can be applied to a moving image processing device that scrambles an MPEG2 video stream.

【0024】図1及び図2は本発明の実施形態に係るス
クランブル方法及びスクランブル装置を用いた動画像処
理装置の構成を示すブロック図であり、図1はそのMP
EG2符号化装置、図2はそのMPEG2復号化装置を
示す図である。また、図3はMPEG2ビデオストリー
ムの層構成を示す図である。説明の便宜上、図3のビデ
オストリームの層構成について述べる。
FIGS. 1 and 2 are block diagrams showing a structure of a moving picture processing apparatus using a scrambling method and a scrambling apparatus according to an embodiment of the present invention. FIG.
FIG. 2 is a diagram showing an EG2 encoding device, and FIG. FIG. 3 is a diagram showing a layer structure of an MPEG2 video stream. For convenience of explanation, the layer configuration of the video stream in FIG. 3 will be described.

【0025】動画像、特に、蓄積メディア用の動画像符
号化の国際標準としては、MPEG(Moving Picture E
xpert Group)がある。
An international standard for coding moving pictures, especially moving pictures for storage media, is MPEG (Moving Picture E).
xpert Group).

【0026】MPEGのデータ構造は、図3に示すよう
に下位の層から、ブロック層、マクロブロック層、スラ
イス層、ピクチャ層、GOP(Group of Pictures)層
及びビデオシーケンス層となっており、その内容は、以
下のとおりである。
As shown in FIG. 3, the MPEG data structure includes a block layer, a macroblock layer, a slice layer, a picture layer, a GOP (Group of Pictures) layer, and a video sequence layer. The contents are as follows.

【0027】ブロック層は、輝度または色差の隣り合っ
た8ライン×8画素の画素から構成され、DCT(Disc
rete Cosine Transform)は、この単位で実行される。
The block layer is composed of pixels of 8 lines × 8 pixels adjacent to each other in luminance or color difference.
Rete Cosine Transform) is performed in this unit.

【0028】マクロブロック層は、左右及び上下に隣り
合った4つの輝度ブロックY0、Y1、Y2、Y3と、
画像上では同じ位置にあたるCb、Crそれぞれの色差
ブロックの全部で6つのブロックで構成される。動きベ
クトルは、このマクロブロック単位で取り扱われる。
The macroblock layer includes four luminance blocks Y0, Y1, Y2, and Y3 adjacent to each other in the left, right, up, and down directions.
On the image, each of the color difference blocks of Cb and Cr at the same position is composed of a total of six blocks. The motion vector is handled on a macroblock basis.

【0029】スライス層は、画像の走査順に連なる1つ
又は複数のマクロブロックで構成される。
The slice layer is composed of one or a plurality of macro blocks connected in the scanning order of the image.

【0030】ピクチャ層は、上記少なくとも1つ又は複
数のスライスから構成され、その符号化される方式によ
り、Iピクチャ、Pピクチャ及びBピクチャ等に分類さ
れる。
The picture layer is composed of at least one or a plurality of slices described above, and is classified into an I picture, a P picture, a B picture and the like according to the encoding method.

【0031】GOP層は、1枚または複数枚のIピクチ
ャと0枚または複数枚の非Iピクチャから構成される。
The GOP layer is composed of one or more I pictures and zero or more non-I pictures.

【0032】ビデオシーケンス層は、画像サイズ、画像
レートなどが同じ1又は複数のGOPから構成される。
The video sequence layer is composed of one or a plurality of GOPs having the same image size and image rate.

【0033】また、MPEGでは、早送り、巻き戻し、
途中からの再生が基本となっているため、ある単位の動
画像をまとめてGOP(Group of Pictures )を形成
し、その単位での独立再生ができるようにしている。
In MPEG, fast forward, rewind,
Since playback from the middle is fundamental, moving pictures of a certain unit are collectively formed to form a GOP (Group of Pictures) so that independent playback can be performed in that unit.

【0034】このGOPでは、途中からの再生を可能に
するため、シーケンス・ヘッダ(SH)を付けることが
可能であり、シーケンス・ヘッダには、画像の大きさ、
画素縦横比など、データの再生に必要とする初期データ
が入っている。
In this GOP, a sequence header (SH) can be added in order to enable reproduction from the middle of the GOP.
Contains initial data required for data reproduction, such as pixel aspect ratio.

【0035】ところで、MPEGビデオやMPEGオー
ディオの符号化されたストリーム(ビット列)、さらに
他の符号化ストリームも含めて実際のアプリケーション
に適用する場合には、同期を含めて統合し1本化すると
ともに、そのストリームを蓄積メディアやネットワーク
等が持つ、固有の物理フォーマットやプロトコルに適合
したデータ形式にする必要がある。
By the way, when the present invention is applied to an actual application including an encoded stream (bit string) of MPEG video and MPEG audio, and other encoded streams, they are integrated into one unit including synchronization and integrated into one. It is necessary to convert the stream into a data format conforming to a unique physical format or protocol of a storage medium or a network.

【0036】MPEGストリームは、1ビットのフラグ
も多数あるがヘッダなどの各単位ごとにバイト整列され
たバイト・ストリームである。MPEGシステム全体に
共通した構造として固定長でないデータ部分には、長さ
を示す情報が先行して置かれ、不要な場合はその部分を
スキップしたり、次のデータ群の先頭を確認して信頼性
の高い分離処理ができるデータ構造となっている。
The MPEG stream is a byte stream that has many 1-bit flags but is byte-aligned for each unit such as a header. As a structure common to the entire MPEG system, information indicating the length is placed before the data portion that is not fixed length, and when unnecessary, the portion is skipped, and the head of the next data group is checked and reliable. It has a data structure that enables highly-separable separation processing.

【0037】上記図3に示すMPEG2におけるビデオ
データの層構成をもとに本実施形態の基本的な考え方を
説明する。
The basic concept of this embodiment will be described based on the layer structure of video data in MPEG2 shown in FIG.

【0038】図3に示すように、MPEG2のビデオデ
ータは、7つの個別のスタートコードを持っている。す
なわち、シーケンス層におけるシーケンスヘッダコー
ト、イクステンションスタートコード及びユーザデータ
スタートコードと、GOP層におけるグループスタート
コードと、ピクチャ層におけるピクチャースタートコー
ド及びイクステンションスタートコードと、スライス層
におけるスライススタートコードと、ビデオストリーム
最後のシーケンスエンドコードである。なお、図中の数
値(H)は、スタートコードの16進コード値を示す。
As shown in FIG. 3, MPEG2 video data has seven individual start codes. That is, a sequence header coat, extension start code and user data start code in the sequence layer, a group start code in the GOP layer, a picture start code and extension start code in the picture layer, a slice start code in the slice layer, and a video This is the last sequence end code of the stream. The numerical value (H) in the figure indicates the hexadecimal code value of the start code.

【0039】シーケンスヘッダコードは、シーケンス層
の最初に現れ、シーケンス層以下のデータがこの後に続
くことを示す。
The sequence header code appears at the beginning of the sequence layer, and indicates that data below the sequence layer follows.

【0040】イクステンションスタートコードは、シー
ケンス層とピクチャ層の中に現れ、この後に拡張データ
が続くことを示す。
The extension start code appears in the sequence layer and the picture layer, and indicates that extension data follows.

【0041】ユーザデータスタートコードは、シーケン
ス層の中に現れ、この後にユーザデータが続くことを示
す。
The user data start code appears in the sequence layer and indicates that user data follows.

【0042】グループスタートコードは、GOP層の最
初に現れ、この後にGOP層以下のデータが続くことを
示す。
The group start code appears at the beginning of the GOP layer, and indicates that data following the GOP layer follows.

【0043】ピクチャスタートコードは、ピクチャ層の
最初に現れ、この後にピクチャ層以下のデータが続くこ
とを示す。
The picture start code appears at the beginning of the picture layer, and indicates that data following the picture layer follows.

【0044】スライススタートコードは、スライス層の
最初に現れ、この後にスライス層以下のデータが続くこ
とを示す。
The slice start code appears at the beginning of the slice layer, and indicates that data following the slice layer follows.

【0045】シーケンスエンドコードは、ビデオストリ
ームの最後に現れ、このビデオストリームが完結したこ
とを示す。
The sequence end code appears at the end of the video stream and indicates that the video stream has been completed.

【0046】これらのコードは、図3に示すように上位
24ビットまでは同じコードで下位8ビットの違いによ
り、どのコードであるかを識別できる。また、これらの
スタートコードは、図3に示される層に現れ、現れる順
番も図3に示すような順番に従っており、この順番にな
らないと復号化側でビデオデータとして認識できずにエ
ラーを起こし、映像信号に変換できなくなる。
As shown in FIG. 3, these codes are the same codes up to the upper 24 bits and can be identified by the difference of the lower 8 bits. Also, these start codes appear in the layer shown in FIG. 3, and the order in which they appear also follows the order shown in FIG. 3. If this order is not satisfied, the decoding side will not be able to recognize as video data, causing an error, It cannot be converted to a video signal.

【0047】このことを利用して復号化側でMPEG2
ビデオストリームを映像信号に変換できないようにして
スクランブルをかけるものとする。
By taking advantage of this fact, the decoding side uses MPEG2
The video stream is scrambled so that it cannot be converted to a video signal.

【0048】図1は上述した基本的な考え方に基づいて
スクランブルをかけるMPEG2符号化装置のブロック
図である。
FIG. 1 is a block diagram of an MPEG2 encoder for scrambling based on the above-described basic concept.

【0049】図1において、MPEG2符号化装置10
は、MPEG2映像データ符号化部11、MPEG2映
像データスタートコード検出・変更情報出力部12、M
PEG2映像データスタートコード検出部13(スター
トコード検出手段)、MPEG2映像データスタートコ
ード変更部14(スタートコード変更手段)、MPEG
2ユーザデータ部15、MPEG2音声データ符号化部
16及びMPEG2データ多重化部17(多重化手段)
から構成される。
In FIG. 1, an MPEG2 encoding device 10
Are MPEG2 video data encoding unit 11, MPEG2 video data start code detection / change information output unit 12, M
PEG2 video data start code detecting section 13 (start code detecting means), MPEG2 video data start code changing section 14 (start code changing means), MPEG
2 user data section 15, MPEG2 audio data encoding section 16, and MPEG2 data multiplexing section 17 (multiplexing means)
Consists of

【0050】上記MPEG2映像データ符号化部11
は、MPEG2符号化方式に準拠して映像信号を符号化
しMPEG2映像データとして出力する。
The MPEG2 video data encoding unit 11
Encodes a video signal in accordance with the MPEG2 encoding method and outputs the encoded video signal as MPEG2 video data.

【0051】上記MPEG2映像データスタートコード
検出・変更情報出力部12は、前記図3に示す、MPE
G2ビデオストリームのスタートコード情報を出力す
る。スタートコード情報のうち、スタートコード検出情
報はMPEG2映像データスタートコード検出部13
に、スタートコード変更情報はMPEG2映像データス
タートコード変更部14にそれぞれ出力する。
The MPEG2 video data start code detection / change information output unit 12 is provided with the MPE shown in FIG.
The start code information of the G2 video stream is output. Among the start code information, the start code detection information is an MPEG2 video data start code detection unit 13.
Then, the start code change information is output to the MPEG2 video data start code change unit 14, respectively.

【0052】上記MPEG2映像データスタートコード
検出部13は、上記スタートコード検出情報により、符
号化されたMPEG2映像データの中からスタートコー
ドを検出する。
The MPEG2 video data start code detection unit 13 detects a start code from the encoded MPEG2 video data based on the start code detection information.

【0053】上記MPEG2映像データスタートコード
変更部14は、検出されたスタートコードを、上記スタ
ートコード変更情報により別のスタートコードに変更す
る。このスタートコード変更によって映像データにスク
ランブルをかけるものである。
The MPEG2 video data start code change unit 14 changes the detected start code to another start code based on the start code change information. The scramble is applied to the video data by changing the start code.

【0054】上記MPEG2ユーザデータ部15は、ユ
ーザデータに、上記スタートコード検出情報及び上記ス
タートコード変更情報をのせて出力する。
The MPEG2 user data section 15 outputs the start data detection information and the start code change information on the user data.

【0055】上記MPEG2音声データ符号化部16
は、MPEG2符号化方式に準拠して音声信号を符号化
しMPEG2音声データとして出力する。
The MPEG2 audio data encoding unit 16
Encodes an audio signal according to the MPEG2 encoding method and outputs the encoded audio signal as MPEG2 audio data.

【0056】上記MPEG2データ多重化部17は、変
更されたスタートコード、ユーザデータ及び符号化され
た音声データを多重化しMPEG2多重化データとして
回線上に送出する。
The MPEG2 data multiplexing section 17 multiplexes the changed start code, user data, and coded audio data, and sends the multiplexed data to the line as MPEG2 multiplexed data.

【0057】図2は上記MPEG2符号化側でスクラン
ブルをかけて伝送されたMPEG2多重化データを復号
化するMPEG2復号化装置のブロック図である。
FIG. 2 is a block diagram of an MPEG2 decoding apparatus for decoding the MPEG2 multiplexed data which has been scrambled and transmitted on the MPEG2 encoding side.

【0058】図2において、MPEG2復号化装置20
は、MPEG2データ分離部21(データ分離手段)、
パスワード入力部22、セレクタ23,24、MPEG
2ユーザデータ部25、MPEG2映像データ変更スタ
ートコード検出部26(変更スタートコード検出手
段)、MPEG2映像データスタートコード復元部27
(復元手段)、MPEG2映像データ復号化部28(復
号化手段)及びMPEG2音声データ復号化部29から
構成される。
In FIG. 2, the MPEG2 decoding device 20
Is an MPEG2 data separation unit 21 (data separation means),
Password input unit 22, selectors 23 and 24, MPEG
2 user data section 25, MPEG2 video data change start code detection section 26 (change start code detection means), MPEG2 video data start code restoration section 27
(Decompression means), an MPEG2 video data decoding section 28 (decoding means) and an MPEG2 audio data decoding section 29.

【0059】上記MPEG2データ分離部21は、回線
から受け取ったMPEGストリームデータを映像デー
タ、ユーザデータ及び音声データに分離する。
The MPEG2 data separation section 21 separates the MPEG stream data received from the line into video data, user data and audio data.

【0060】上記パスワード入力部22は、スクランブ
ルを解除する場合のパスワードを入力するもので、例え
ば、英数字、平仮名等を入力するキーや、カーソル移動
キー、実行キー等のファンクションキーが配置されたキ
ーボードを使用する。キーボード上のいずれかのキーが
操作された場合、キーボードコントローラによってその
キーに対応する所定のキーコードに変換され、セレクタ
23,24を切り換える。
The password input unit 22 is for inputting a password for descrambling. For example, keys for inputting alphanumeric characters, hiragana, etc., and function keys such as a cursor movement key and an execution key are arranged. Use the keyboard. When any key on the keyboard is operated, it is converted into a predetermined key code corresponding to the key by the keyboard controller, and the selectors 23 and 24 are switched.

【0061】上記セレクタ23,24は、パスワード入
力部22からの指示に従って、スタートコード変更によ
りスクランブルがかかったMPEG2映像データのスタ
ートコードを復元する、若しくはそのまま出力する選択
をする。
According to the instructions from the password input unit 22, the selectors 23 and 24 restore the start code of the MPEG2 video data scrambled by the change of the start code, or select to output the start code as it is.

【0062】上記MPEG2ユーザデータ部25は、ユ
ーザデータの中から、前記スタートコード検出情報及び
前記スタートコード変更情報を検出し、変更スタートコ
ード情報としてMPEG2映像データ変更スタートコー
ド検出部26に、またスタートコード復元情報としてM
PEG2映像データスタートコード復元部27にそれぞ
れ出力する。
The MPEG2 user data section 25 detects the start code detection information and the start code change information from the user data, and outputs the start code detection information and the start code change information to the MPEG2 video data change start code detection section 26 as change start code information. M as code recovery information
The data is output to the PEG2 video data start code restoration unit 27, respectively.

【0063】上記MPEG2映像データ変更スタートコ
ード検出部26は、上記変更スタートコード検出情報に
より、分離されたMPEG2映像データの中から変更ス
タートコードを検出する。
The MPEG2 video data change start code detecting section 26 detects a change start code from the separated MPEG2 video data based on the change start code detection information.

【0064】上記MPEG2映像データスタートコード
復元部27は、検出された変更スタートコードを、上記
スタートコード復元情報により元のスタートコードに復
元する。
The MPEG2 video data start code restoring unit 27 restores the detected changed start code to the original start code based on the start code restoration information.

【0065】上記MPEG2映像データ復号化部28
は、MPEG2方式に準拠して映像データを復号化しM
PEG2映像信号として出力する。
The MPEG2 video data decoding section 28
Decodes video data in accordance with the
Output as a PEG2 video signal.

【0066】上記MPEG2音声データ復号化部29
は、MPEG2方式に準拠して音声データを復号化しM
PEG2音声信号として出力する。
The MPEG2 audio data decoding section 29
Decodes audio data according to the MPEG2 system and
Output as PEG2 audio signal.

【0067】次に、上述のように構成されたMPEG2
符号化装置10及びMPEG2復号化装置20の動作を
説明する。
Next, the MPEG2 constructed as described above is used.
The operation of the encoding device 10 and the MPEG2 decoding device 20 will be described.

【0068】図1において、映像信号は、MPEG2映
像データ符号化部11に入力され、入力された映像信号
は、MPEG2映像データ符号化部11によりMPEG
2の方式に基づいて符号化される。
In FIG. 1, a video signal is input to an MPEG2 video data encoding unit 11, and the input video signal is converted into an MPEG2 video data by an MPEG2 video data encoding unit 11.
Encoding is performed based on the second method.

【0069】MPEG2映像データスタートコード検出
部13では、この符号化されたデータの中からスタート
コードを検出する。
The MPEG2 video data start code detector 13 detects a start code from the encoded data.

【0070】このとき検出するスタートコードは、MP
EG2映像データスタートコード検出・変更情報出力部
12からのスタートコード検出情報を受け取り、その情
報によってどのスタートコードを検出するか決定する。
The start code detected at this time is MP
It receives start code detection information from the EG2 video data start code detection / change information output unit 12 and determines which start code is to be detected based on the information.

【0071】検出したスタートコードは、MPEG2映
像データ変更部14に入力され、MPEG2映像データ
変更部14では、この検出したスタートコードを別なコ
ードに変更してMPEG2データ多重化部17に出力す
る。
The detected start code is input to the MPEG2 video data changing unit 14, which changes the detected start code to another code and outputs it to the MPEG2 data multiplexing unit 17.

【0072】このときMPEG2ユーザデータ部15で
は、MPEG2映像データスタートコード検出・変更情
報出力部12からMPEG2映像データスタートコード
検出部13、MPEG2映像データスタートコード変更
部14で行った検出、変更情報を、ユーザデータにのせ
てMPEG2データ多重化部17に送出する。
At this time, in the MPEG2 user data section 15, the detection and change information performed by the MPEG2 video data start code detection / change information output section 12 to the MPEG2 video data start code detection section 13 and the MPEG2 video data start code change section 14 are transmitted. Is transmitted to the MPEG2 data multiplexing unit 17 along with the user data.

【0073】一方、音声信号は、MPEG2音声データ
符号化部16に入力され、入力された音声信号は、MP
EG2音声データ符号化部16によりMPEG2の方式
に基づいて符号化されてMPEG2データ多重化部17
に出力される。
On the other hand, the audio signal is input to the MPEG2 audio data encoding unit 16, and the input audio signal is
The EG2 audio data encoding unit 16 encodes the data based on the MPEG2 method, and the MPEG2 data multiplexing unit 17
Is output to

【0074】MPEG2データ多重化部17では、別な
コードに変更したスタートコードと音声データ及び、ユ
ーザデータとを多重化して回線側に送出する。
The MPEG2 data multiplexing section 17 multiplexes the start code changed to another code, audio data, and user data and sends them to the line side.

【0075】したがって、回線上に伝送されるMPEG
2ストリームデータは、スタートコード変更によってス
クランブルがかけられたものとなっている。
Therefore, the MPEG transmitted on the line
The two-stream data has been scrambled by changing the start code.

【0076】図2の復号化側では、回線側から受け取っ
たMPEGストリームデータを、MPEG2データ分離
部21で映像データ、音声データ、ユーザデータに分離
する。
On the decoding side in FIG. 2, the MPEG stream data received from the line side is separated by the MPEG2 data separation section 21 into video data, audio data, and user data.

【0077】分離されたユーザデータは、MPEG2ユ
ーザデータ部25に入力され、MPEG2ユーザデータ
部25では、ユーザデータの中から、映像データのスタ
ートコードを変更した情報を検出し、変更スタートコー
ド情報としてMPEG2映像データ変更スタートコード
検出部26に、またスタートコード復元情報としてMP
EG2映像データスタートコード復元部27にそれぞれ
出力する。
The separated user data is input to the MPEG2 user data section 25. The MPEG2 user data section 25 detects, from the user data, information in which the start code of the video data has been changed. The MPEG2 video data change start code detection unit 26 receives the MP
The EG2 image data is output to the start code restoring unit 27.

【0078】MPEG2映像データ変更スタートコード
検出部26では、変更スタートコード情報をもとに変更
されているスタートコードを検出し、検出したスタート
コードをMPEG2映像データスタートコード復元部2
7に出力する。
The MPEG2 video data change start code detecting section 26 detects the changed start code based on the changed start code information, and converts the detected start code into the MPEG2 video data start code restoring section 2.
7 is output.

【0079】MPEG2映像データスタートコード復元
部27では、MPEG2ユーザデータ部25によって検
出されたスタートコード復元情報により、検出したスタ
ートコードを元のスタートコードに復元し、MPEG2
映像データ復号化部28へ送る。MPEG2映像データ
復号化部28では、復元されたスタートコードに従って
映像信号を再生し、モニターなどの映像出力機器に出力
する。
In the MPEG2 video data start code restoring section 27, the detected start code is restored to the original start code based on the start code restoring information detected by the MPEG2 user data section 25.
The data is sent to the video data decoding unit 28. The MPEG2 video data decoding unit 28 reproduces the video signal according to the restored start code, and outputs it to a video output device such as a monitor.

【0080】また、符号化された音声データは、MPE
G2音声データ復号化部29により復号され、音声信号
として出力される。
The encoded audio data is stored in the MPE
The signal is decoded by the G2 sound data decoding unit 29 and output as a sound signal.

【0081】復号化側でスクランブルをかけるときに
は、セレクタ23,24で信号経路の選択をする。セレ
クタ23,24は、パスワード入力部22からの指示に
従って切換える。
When scrambling is performed on the decoding side, signal paths are selected by the selectors 23 and 24. The selectors 23 and 24 switch according to an instruction from the password input unit 22.

【0082】スクランブルをかけるときには、ビデオス
トリームは、MPEG2映像データ変更スタートコード
検出部26、MPEG2映像データスタートコード復元
部27を通過し、MPEG2映像データ復号化部28に
達する。MPEG2映像データ復号化部28に達したビ
デオデータは、MPEG2符号化装置10のMPEG2
映像データスタートコード変更部14で変更したスター
トコードを元にもどしていないのでMPEG2の符号化
方式にないコードが現れるために復号化できなくなり、
正確な映像信号として出力できなくなるのでスクランブ
ルがかかったことになる。
When scrambling, the video stream passes through the MPEG2 video data change start code detecting section 26 and the MPEG2 video data start code restoring section 27 and reaches the MPEG2 video data decoding section 28. The video data that has reached the MPEG2 video data decoding unit 28 is stored in the MPEG2
Since the start code changed by the video data start code changing unit 14 is not restored, a code that is not in the MPEG2 encoding system appears, and decoding cannot be performed.
Since an accurate video signal cannot be output, scrambling is performed.

【0083】通常は、符号化側においてMPEG2映像
データスタートコード検出部13で、スタートコードを
検出し、MPEG2映像データスタートコード変更部1
4でスタートコードの変更を行い、変更したスタートコ
ードを音声データ、ユーザデータと多重してMPEG2
ストリームとして送出する。
Normally, on the encoding side, the start code is detected by the MPEG2 video data start code detecting section 13 and the MPEG2 video data start code changing section 1 is detected.
In step 4, the start code is changed, and the changed start code is multiplexed with audio data and user data to form an MPEG2
Send it out as a stream.

【0084】復号化側では、このMPEG2ストリーム
を受け取ると映像データ、音声データ、ユーザデータに
分離し、映像データは、MPEG2映像データ変更スタ
ートコード検出部26及びMPEG2映像データスター
トコード復元部27をバイパスして通過するように設定
しておき、MPEG2映像データ復号化部28で映像信
号に復号できないようにしておく。
On the decoding side, upon receiving this MPEG2 stream, it is separated into video data, audio data and user data, and the video data bypasses the MPEG2 video data change start code detecting section 26 and the MPEG2 video data start code restoring section 27. So that the MPEG2 video data decoding unit 28 cannot decode it into a video signal.

【0085】スクランブルを解除するときは、復号化側
でパスワード入力などによってMPEG2映像データ変
更スタートコード検出部26、MPEG2映像データス
タートコード復元部27が動作するようにしておき、変
更されているスタートコードを元にもどし、MPEG2
映像データ復号化部28へビデオストリームを送り、正
確に映像信号に復号できるようにする。
When the descrambling is released, the MPEG2 video data change start code detecting section 26 and the MPEG2 video data start code restoring section 27 are operated by inputting a password or the like on the decoding side. MPEG2
The video stream is sent to the video data decoding unit 28 so that it can be accurately decoded into a video signal.

【0086】以上説明したように、本実施形態に係るス
クランブル方法、スクランブル装置及び動画像処理装置
として、MPEG2符号化装置10及びMPEG2復号
化装置20を備え、MPEG2符号化装置10は、MP
EG2映像データ符号化部11、MPEG2映像データ
スタートコード検出・変更情報出力部12、符号化され
た映像データの中からスタートコードを検出するMPE
G2映像データスタートコード検出部13、検出された
スタートコードを、別のスタートコードに変更するMP
EG2映像データスタートコード変更部14、MPEG
2ユーザデータ部15、MPEG2音声データ符号化部
16及び変更されたスタートコード、ユーザデータ及び
符号化された音声データを多重化しストリームとして送
出するMPEG2データ多重化部17により構成し、M
PEG2復号化装置20は、送出されたストリームを映
像データ、ユーザデータ及び音声データに分離するMP
EG2データ分離部21、パスワード入力部22、セレ
クタ23,24、MPEG2ユーザデータ部25、分離
された映像データの中から変更スタートコードを検出す
るMPEG2映像データ変更スタートコード検出部2
6、検出された変更スタートコードを、元のスタートコ
ードに復元するMPEG2映像データスタートコード復
元部27、復元されたスタートコードを含む映像データ
を復号化して映像信号として出力するMPEG2映像デ
ータ復号化部28及びMPEG2音声データ復号化部2
9により構成したので、MPEG2のビデオストリーム
に対してスクランブルをかけることができ、また、復号
化側においてもスクランブルをかけることができる。
As described above, the scramble method, the scramble device, and the moving image processing device according to the present embodiment include the MPEG2 encoding device 10 and the MPEG2 decoding device 20, and the MPEG2 encoding device 10
EG2 video data encoding unit 11, MPEG2 video data start code detection / change information output unit 12, MPE for detecting a start code from encoded video data
G2 video data start code detector 13, MP for changing the detected start code to another start code
EG2 video data start code change unit 14, MPEG
A MPEG-2 data multiplexing unit 17 for multiplexing the modified start code, the user data and the coded audio data and transmitting the multiplexed audio data as a stream;
The PEG2 decoding device 20 separates the transmitted stream into video data, user data, and audio data.
EG2 data separation unit 21, password input unit 22, selectors 23 and 24, MPEG2 user data unit 25, MPEG2 video data change start code detection unit 2 for detecting a change start code from the separated video data
6. MPEG2 video data start code restoring unit 27 for restoring the detected changed start code to the original start code, MPEG2 video data decoding unit for decoding video data including the restored start code and outputting it as a video signal 28 and MPEG2 audio data decoding unit 2
9, the MPEG-2 video stream can be scrambled, and the decoding side can also be scrambled.

【0087】特に、入力された映像信号は、MPEG2
符号化装置10で符号化されるとともに、MPEG2の
ビデオストリームのスタートコードを利用してスクラン
ブルがかけられ、MPEG2復号化装置20でスクラン
ブル解除とともに、復号化される。すなわち、映像信号
を入力するだけで、簡単に映像信号にスクランブルをか
けることができる。
In particular, the input video signal is MPEG2
The data is encoded by the encoding device 10, scrambled using the start code of the MPEG2 video stream, and is decoded and decoded by the MPEG2 decoding device 20. That is, it is possible to easily scramble the video signal only by inputting the video signal.

【0088】したがって、上記優れた特長を有するスク
ランブル方法、スクランブル装置及び動画像処理装置
を、例えば、ΜPEG2ビデオストリームを生成するΜ
PEGシステムに適用して好適である。ΜPEGストリ
ームとしては映画やTV番組をΜPEGストリーム化し
たものが考えられる。
Therefore, a scramble method, a scramble device and a moving image processing device having the above-mentioned excellent features can be provided by, for example, {generating a PEG2 video stream}.
It is suitable for application to a PEG system. As the ΜPEG stream, a movie or TV program that is converted into a ΜPEG stream can be considered.

【0089】なお、上記実施形態においては、スクラン
ブル方法、スクランブル装置を、MPEGビデオストリ
ームを生成する動画像処理装置に適用しているが、ビデ
オストリームの中の複数のスタートコードを利用して映
像信号にスクランブルをかけるものであれば、動画像処
理装置に限るものでなく、スクランブル方法、またはス
クランブル装置そのものであってもよいことは言うまで
もない。換言すれば、従来の映像信号にスクランブルを
かけるスクランブル方法、及びスクランブル装置に置き
換えて適用することができる。
In the above embodiment, the scramble method and the scramble device are applied to the moving picture processing device for generating the MPEG video stream. However, the video signal is transmitted using a plurality of start codes in the video stream. It is needless to say that the scrambling method or the scrambling device itself may be used as long as the scramble is applied to the video data. In other words, the present invention can be applied to a conventional scrambling method for scrambling a video signal and a scrambling device.

【0090】また、本実施形態ではMPEGシステム
を、MPEG2により行っているが、MPEGアルゴリ
ズムやその他の符号化方式に基づく動画像処理装置には
すべて適用でき、例えばこの手法を実現するために必要
な環境としてはコンピュータ以外にΜPEGデコーダな
どを外付けにした専用マシンでもよい。
In the present embodiment, the MPEG system is implemented by MPEG2. However, the present invention can be applied to any moving image processing apparatus based on the MPEG algorithm or other encoding methods, and for example, necessary for realizing this method. The environment may be a dedicated machine externally equipped with a ΜPEG decoder or the like in addition to the computer.

【0091】また、MPEGストリームのスタートコー
ドの変更はどのような形態でもよく、例えばコード値の
変更、スタートコードの出現順序の変更、両者の併用で
あってもよい。
The start code of the MPEG stream may be changed in any manner, for example, by changing the code value, changing the appearance order of the start code, or using both of them.

【0092】さらに、上記MPEG2符号化装置10及
びMPEG2復号化装置20を構成する回路や部材の
数、種類などは前述した実施形態に限られないことは言
うまでもなく、ソフトウェアにより実現するようにして
もよい。
Further, it goes without saying that the number and types of circuits and members constituting the MPEG2 encoding device 10 and the MPEG2 decoding device 20 are not limited to the above-described embodiment, and may be realized by software. Good.

【0093】[0093]

【発明の効果】本発明に係るスクランブル方法及びスク
ランブル装置は、符号化されたビデオストリームの中の
複数のスタートコードを用いて映像信号にスクランブル
をかけるようにしたので、ビデオストリームに対してス
クランブルをかけることができ、映像信号にスクランブ
ルをかけることができる。
The scrambling method and the scrambling apparatus according to the present invention scramble a video signal by using a plurality of start codes in an encoded video stream. The video signal can be scrambled.

【0094】本発明に係る動画像処理装置は、ビデオス
トリームの中の処理開始を示す複数のスタートコードを
変更するスタートコード変更手段と、変更したスタート
コードを復元する復元手段とを備えて構成したので、映
像信号を入力するだけで、簡単に映像信号にスクランブ
ルをかけることができ、復号化側においても簡単にスク
ランブルをかけることができる。
The moving picture processing apparatus according to the present invention comprises start code changing means for changing a plurality of start codes indicating the start of processing in a video stream, and restoring means for restoring the changed start code. Therefore, the scrambling can be easily applied to the video signal only by inputting the video signal, and the scrambling can be easily applied to the decoding side.

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

【図1】本発明を適用した実施の形態に係るスクランブ
ル方法、スクランブル装置及び動画像処理装置の符号化
装置の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a scrambling method, a scrambling device, and a coding device of a moving image processing device according to an embodiment to which the present invention is applied.

【図2】上記スクランブル方法、スクランブル装置及び
動画像処理装置の復号化装置の構成を示すブロック図で
ある。
FIG. 2 is a block diagram illustrating a configuration of the scrambling method, the scrambling device, and a decoding device of the moving image processing device.

【図3】上記スクランブル方法、スクランブル装置及び
動画像処理装置のMPEG2ビデオストリームの層構成
を示す図である。
FIG. 3 is a diagram illustrating a layer configuration of an MPEG2 video stream of the scramble method, the scramble device, and the moving image processing device.

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

10 MPEG2符号化装置、11 MPEG2映像デ
ータ符号化部、12MPEG2映像データスタートコー
ド検出・変更情報出力部、13 MPEG2映像データ
スタートコード検出部(スタートコード検出手段)、1
4 MPEG2映像データスタートコード変更部(スタ
ートコード変更手段)、15 MPEG2ユーザデータ
部、16 MPEG2音声データ符号化部、17 MP
EG2データ多重化部、20 MPEG2復号化装置、
21 MPEG2データ分離部(データ分離手段)、2
2 パスワード入力部、23,24 セレクタ、25M
PEG2ユーザデータ部、26 MPEG2映像データ
変更スタートコード検出部(変更スタートコード検出手
段)、27 MPEG2映像データスタートコード復元
部(復元手段)、28 MPEG2映像データ復号化部
(復号化手段)、29 MPEG2音声データ復号化部
10 MPEG2 encoding device, 11 MPEG2 video data encoding unit, 12 MPEG2 video data start code detection / change information output unit, 13 MPEG2 video data start code detection unit (start code detection means), 1
4 MPEG2 video data start code changing section (start code changing means), 15 MPEG2 user data section, 16 MPEG2 audio data encoding section, 17 MP
EG2 data multiplexing unit, 20 MPEG2 decoding device,
21 MPEG2 data separation unit (data separation means), 2
2 Password input unit, 23, 24 selector, 25M
PEG2 user data section, 26 MPEG2 video data change start code detection section (change start code detection section), 27 MPEG2 video data start code restoration section (recovery section), 28 MPEG2 video data decoding section (decoding section), 29 MPEG2 Audio data decoding unit

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 符号化されたビデオストリームにスクラ
ンブルをかけるスクランブル方法であって、 前記ビデオストリームの中の複数のスタートコードを用
いて映像信号にスクランブルをかけることを特徴とする
スクランブル方法。
1. A scrambling method for scrambling an encoded video stream, comprising scrambling a video signal using a plurality of start codes in the video stream.
【請求項2】 符号化されたビデオストリームにスクラ
ンブルをかけるスクランブル方法であって、 まず、ビデオストリームの中に所定のコード値、及び所
定の順序で配置された複数のスタートコードを検出し、 検出したスタートコードを変更してスクランブルをかけ
ることを特徴とするスクランブル方法。
2. A scrambling method for scrambling an encoded video stream, comprising: first detecting a predetermined code value and a plurality of start codes arranged in a predetermined order in the video stream; A scrambling method characterized by applying a scramble by changing a start code.
【請求項3】 前記符号化は、MPEG(Moving Pictu
re Expert Group)符号化方式若しくはH.261等の
国際標準符号化方式に準拠した符号化であることを特徴
とする請求項1又は2の何れかに記載のスクランブル方
法。
3. The method according to claim 1, wherein the encoding is performed by a moving picture (MPEG).
re Expert Group) coding method or H.264. 3. The scrambling method according to claim 1, wherein the encoding is based on an international standard encoding system such as H.261.
【請求項4】 前記スタートコードは、MPEG2ビデ
オストリームの中のスタートコードであることを特徴と
する請求項1又は2の何れかに記載のスクランブル方
法。
4. The scrambling method according to claim 1, wherein the start code is a start code in an MPEG2 video stream.
【請求項5】 符号化されたビデオストリームにスクラ
ンブルをかけるスクランブル装置であって、 前記ビデオストリームの中の複数のスタートコードを用
いて映像信号にスクランブルをかけるスクランブル手段
を備えたことを特徴とするスクランブル装置。
5. A scrambler for scrambling an encoded video stream, comprising: a scrambler for scrambling a video signal using a plurality of start codes in the video stream. Scramble device.
【請求項6】 前記スクランブル手段は、 前記ビデオストリームの中に所定のコード値、及び所定
の順序で配置された複数のスタートコードを変更してス
クランブルをかけるように構成したことを特徴とする請
求項5記載のスクランブル装置。
6. The apparatus according to claim 1, wherein said scrambling means is configured to scramble the video stream by changing a predetermined code value and a plurality of start codes arranged in a predetermined order. Item 6. The scrambler according to Item 5.
【請求項7】 前記符号化は、MPEG(Moving Pictu
re Expert Group)符号化方式若しくはH.261等の
国際標準符号化方式に準拠した符号化であることを特徴
とする請求項5記載のスクランブル装置。
7. The method according to claim 1, wherein the encoding is performed by MPEG (Moving Pictu).
re Expert Group) coding method or H.264. The scrambler according to claim 5, wherein the encoding is based on an international standard encoding system such as H.261.
【請求項8】 前記スタートコードは、MPEG2ビデ
オストリームの中のスタートコードであることを特徴と
する請求項5又は6の何れかに記載のスクランブル装
置。
8. The scrambler according to claim 5, wherein the start code is a start code in an MPEG2 video stream.
【請求項9】 所定データ構造のデータ列をストリーム
として処理する動画像処理装置において、 ビデオストリームの中の処理開始を示す複数のスタート
コードを変更するスタートコード変更手段と、 前記変更したスタートコードを復元する復元手段とを備
えたことを特徴とする動画像処理装置。
9. A moving image processing apparatus for processing a data sequence having a predetermined data structure as a stream, comprising: start code changing means for changing a plurality of start codes indicating the start of processing in a video stream; A moving image processing apparatus comprising: a restoration unit for restoring.
【請求項10】 上記請求項9記載の動画像処理装置に
おいて、 所定の符号化方式により符号化を行う符号化装置と、 前記符号化装置により符号化した映像を復号化する復号
化装置とを備え、 前記符号化装置は、 符号化された映像データの中からスタートコードを検出
するスタートコード検出手段と、 前記検出されたスタートコードを、別のスタートコード
に変更するスタートコード変更手段と、 前記変更されたスタートコード、ユーザデータ及び符号
化された音声データを多重化しストリームとして送出す
る多重化手段とを備え、 前記復号化装置は、 送出されたストリームを映像データ、ユーザデータ及び
音声データに分離するデータ分離手段と、 前記分離された映像データの中から変更スタートコード
を検出する変更スタートコード検出手段と、 前記検出された変更スタートコードを、元のスタートコ
ードに復元する復元手段と、 前記復元されたスタートコードを含む映像データを復号
化して映像信号として出力する復号化手段とを備えたこ
とを特徴とする動画像処理装置。
10. The moving picture processing device according to claim 9, wherein: a coding device that performs coding by a predetermined coding method; and a decoding device that decodes a video coded by the coding device. The encoding device further includes: a start code detecting unit that detects a start code from encoded video data; a start code changing unit that changes the detected start code to another start code; Multiplexing means for multiplexing the modified start code, user data, and encoded audio data and transmitting the multiplexed audio data as a stream, wherein the decoding device separates the transmitted stream into video data, user data, and audio data. Data separation means for detecting a change start code from the separated video data Detecting means, restoring means for restoring the detected changed start code to the original start code, and decoding means for decoding video data including the restored start code and outputting the decoded data as a video signal. A moving image processing device characterized by the above-mentioned.
【請求項11】 前記スタートコード変更手段によるス
タートコードの変更は、スタートコードのコード値の変
更であることを特徴とする請求項9又は10の何れかに
記載の動画像処理装置。
11. The moving image processing apparatus according to claim 9, wherein the change of the start code by the start code changing means is a change of a code value of the start code.
【請求項12】 前記スタートコード変更手段によるス
タートコードの変更は、複数のスタートコードの出現順
序の変更であることを特徴とする請求項9、10又は1
1の何れかに記載の動画像処理装置。
12. The method according to claim 9, wherein the change of the start code by the start code changing means is a change of an appearance order of a plurality of start codes.
The moving image processing device according to any one of claims 1 to 7.
【請求項13】 前記符号化は、MPEG(Moving Pic
ture Expert Group)符号化方式若しくはH.261等
の国際標準符号化方式に準拠した符号化であることを特
徴とする請求項9又は10の何れかに記載の動画像処理
装置。
13. The encoding method according to claim 1, wherein the encoding is MPEG (Moving Pic).
ture Expert Group) coding method or H.264. The moving image processing apparatus according to claim 9, wherein the encoding is based on an international standard encoding method such as H.261.
【請求項14】 前記スタートコードは、MPEG2ビ
デオストリームの中のスタートコードであることを特徴
とする請求項9、10、11又は13の何れかに記載の
動画像処理装置。
14. The moving picture processing apparatus according to claim 9, wherein the start code is a start code in an MPEG2 video stream.
JP9010238A 1997-01-23 1997-01-23 Scramble method and device therefor, and dynamic image processor Withdrawn JPH10210442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9010238A JPH10210442A (en) 1997-01-23 1997-01-23 Scramble method and device therefor, and dynamic image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9010238A JPH10210442A (en) 1997-01-23 1997-01-23 Scramble method and device therefor, and dynamic image processor

Publications (1)

Publication Number Publication Date
JPH10210442A true JPH10210442A (en) 1998-08-07

Family

ID=11744729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9010238A Withdrawn JPH10210442A (en) 1997-01-23 1997-01-23 Scramble method and device therefor, and dynamic image processor

Country Status (1)

Country Link
JP (1) JPH10210442A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6373898B1 (en) * 1999-04-06 2002-04-16 Ravisent Technologies, Inc. High-speed start code scanner for MPEG-2 data streams
JP2008016922A (en) * 2006-07-03 2008-01-24 Nec Corp Apparatus and method for allocating start code
JP2011211756A (en) * 2004-11-03 2011-10-20 Sony Electronics Inc Data transmission system, transmission digital processing system, and reception digital processing system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6373898B1 (en) * 1999-04-06 2002-04-16 Ravisent Technologies, Inc. High-speed start code scanner for MPEG-2 data streams
JP2011211756A (en) * 2004-11-03 2011-10-20 Sony Electronics Inc Data transmission system, transmission digital processing system, and reception digital processing system
JP2008016922A (en) * 2006-07-03 2008-01-24 Nec Corp Apparatus and method for allocating start code
JP4640652B2 (en) * 2006-07-03 2011-03-02 日本電気株式会社 Start code assigning apparatus and start code assigning method

Similar Documents

Publication Publication Date Title
Liu et al. A survey of video encryption algorithms
EP0582122B1 (en) Scramble apparatus and descramble apparatus
US7680269B2 (en) Method for ciphering a compressed audio or video stream with error tolerance
JP4812117B2 (en) Content encryption apparatus and program thereof, and content decryption apparatus and program thereof
JPH08163533A (en) Method and device for ciphering processing of motion image, and method and device for deciphering processing of ciphered motion image
US7221761B1 (en) Error resilient digital video scrambling
CN1852443B (en) Data processing device
Spanos et al. Security for real-time MPEG compressed video in distributed multimedia applications
JP2002523809A (en) Secure information distribution system using scrambled information segments
JP3840026B2 (en) Image processing apparatus and method, and storage medium
Zeng et al. Fast self-synchronous content scrambling by spatially shuffling codewords of compressed bitstreams
JP3340157B2 (en) Scramble device
JPH10210442A (en) Scramble method and device therefor, and dynamic image processor
Babatunde et al. Survey of video encryption algorithms
JPH09182050A (en) Scramble transmitter, scramble device and descramble device
US20050013438A1 (en) Method for ciphering a compressed audio or video stream preserving the coding syntax
JP4466425B2 (en) MPEG stream processing method and MPEG stream processing apparatus
JPH1188857A (en) Image enciphering device
JPH07115414A (en) Scramble transmission equipment
JP2006050491A (en) Multichannel image codec apparatus
JP2001203683A (en) Data processing unit and its method, and storage medium
JP2001258003A (en) Transmission device with active standby switching for scrambled digital broadcast signal
JP2001275111A (en) Moving image coding decoding method and moving image coder and decoder
KR100371868B1 (en) Object mask tracking apparatus for object-based access in image encoding/decoding system
JPH0767096A (en) Scramble device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040406