JP2003037816A - Moving picture coding method - Google Patents

Moving picture coding method

Info

Publication number
JP2003037816A
JP2003037816A JP2001221629A JP2001221629A JP2003037816A JP 2003037816 A JP2003037816 A JP 2003037816A JP 2001221629 A JP2001221629 A JP 2001221629A JP 2001221629 A JP2001221629 A JP 2001221629A JP 2003037816 A JP2003037816 A JP 2003037816A
Authority
JP
Japan
Prior art keywords
encoding
coding
picture
reproduction
delay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001221629A
Other languages
Japanese (ja)
Inventor
Masaaki Hyodo
正晃 兵頭
Tadao Matsuura
忠男 松浦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2001221629A priority Critical patent/JP2003037816A/en
Publication of JP2003037816A publication Critical patent/JP2003037816A/en
Pending 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 improve the response to an operation by reducing the amount of coding delay without reducing the amount of information transmitted to audience. SOLUTION: When start of coding is designated, it is determined in a step 101 whether usual reproduction is designated. If the usual reproduction is not continued, a sequence end processing is performed in a step 105. It is determined in a step 106 whether or not the coding is continued. When the coding is continued, since a special reproduction is instructed, special reproduction processing is started in a step 107. Also, in the case that it is determined that the usual reproduction is not designated, special reproduction is started in the step 107. In the step 107, a value of low- delay as a parameter is set at 1, and sequence start processing is started as GOP which does not include a B-picture. Then, input processing of an I-picture is performed, and the picture which is already inputted is coded in a step 108.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、符号化を行う映像
信号のソース(発生源)の動作モードによって、通常の
符号化と低遅延の符号化とを切り替える動画像符号化方
法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture coding method for switching between normal coding and low-delay coding depending on an operation mode of a source of a video signal to be coded. .

【0002】[0002]

【従来の技術】映像信号を無線伝送路や有線伝送路を介
して伝送する場合、限られた伝送路容量を有効活用する
ために、映像信号を高能率符号化することが一般的であ
る。高能率符号化すると符号化器での符号化遅延と復号
器での復号遅延が生じるために、映像ソース側と視聴者
側で映像信号にずれが発生する。
2. Description of the Related Art When a video signal is transmitted via a wireless transmission line or a wired transmission line, it is common to encode the video signal with high efficiency in order to effectively utilize the limited transmission line capacity. High-efficiency coding causes a coding delay in the encoder and a decoding delay in the decoder, so that a video signal shifts between the video source side and the viewer side.

【0003】一例として図16に示す無線伝送系の場合
の例を示す。図16は動画像再生装置21で再生した映
像信号を動画像符号化装置22で高能率符号化し、符号
化データを無線送受信機23から無線送受信機24に伝
送し、受信した符号化データを動画像復号装置25で復
号するもので、動画像再生装置21の制御は視聴者が再
生モード指示手段26(例えばリモコン)で行う。
As an example, a case of the wireless transmission system shown in FIG. 16 is shown. FIG. 16 shows that the video signal reproduced by the moving image reproducing device 21 is highly efficiently encoded by the moving image encoding device 22, the encoded data is transmitted from the wireless transceiver 23 to the wireless transceiver 24, and the received encoded data is a moving image. The image is decoded by the image decoding device 25, and the viewer controls the moving image reproduction device 21 by the reproduction mode instruction means 26 (for example, a remote controller).

【0004】図16で視聴者27が見ている復号映像
は、動画像再生装置21から出力された映像が、動画像
符号化装置22での符号化遅延及び動画像復号装置25
での復号遅延だけ遅れた映像である。即ち、同一時刻で
は動画像再生装置21から出力される映像信号は、視聴
者27が見ている復号映像よりも時間的に先に進んでい
ることになる。符号化遅延及び復号遅延時間は符号化方
式及び回路の実装手段等によって大きく異なるが、IS
O/IEC13818−2で規定されたMPEGビデオ
方式の場合6〜15フレーム程度である。
In the decoded video viewed by the viewer 27 in FIG. 16, the video output from the moving picture reproducing apparatus 21 is the coding delay in the moving picture coding apparatus 22 and the moving picture decoding apparatus 25.
The video is delayed by the decoding delay in. That is, at the same time, the video signal output from the moving image reproducing apparatus 21 is ahead of the decoded video viewed by the viewer 27 in time. The encoding delay and the decoding delay time vary greatly depending on the encoding method, the circuit mounting means, etc.
In the case of the MPEG video system defined by O / IEC13818-2, it is about 6 to 15 frames.

【0005】このような状況で、例えば視聴者27が高
速再生で好みの映像シーンを探す場合、視聴者27が再
生モード指示手段26で高速再生を指定すると、高速再
生を示すコマンドが動画像復号装置25、無線伝送路、
動画像符号化装置22を介して動画像再生装置21に伝
わる。動画像再生装置21は高速再生コマンドを受ける
と高速再生映像を出力する。そして、視聴者27が所望
の映像シーンを見つけて通常再生に戻る場合、再生モー
ド指示手段26で通常再生に戻る指示を出すが、この時
点では動画像再生装置21では視聴者27が通常再生を
開始したいシーンよりも先に進んでおり、視聴者27の
所望の映像シーンよりも先のシーンから通常再生が行わ
れることになる。即ち、視聴者27は再生モード指示手
段26で指示を出してから符号化遅延と復号遅延分だけ
時間が経ってから指示した動作モードの映像を見ること
になり、操作レスポンスが悪いという問題がある。
In such a situation, for example, when the viewer 27 searches for a desired video scene in high speed reproduction, when the viewer 27 specifies high speed reproduction by the reproduction mode instructing means 26, the command indicating high speed reproduction is a moving image decoding command. Device 25, wireless transmission line,
It is transmitted to the moving image reproducing device 21 via the moving image encoding device 22. Upon receiving the high speed reproduction command, the moving image reproduction device 21 outputs a high speed reproduction image. Then, when the viewer 27 finds a desired video scene and returns to normal reproduction, the reproduction mode instructing means 26 issues an instruction to return to normal reproduction. At this point, the viewer 27 performs normal reproduction in the moving image reproduction device 21. The scene is ahead of the scene to be started, and normal reproduction is performed from a scene prior to the video scene desired by the viewer 27. In other words, the viewer 27 will see the video of the instructed operation mode after a time corresponding to the encoding delay and the decoding delay after the instruction is given by the reproduction mode instructing means 26, and there is a problem that the operation response is poor. .

【0006】リアルタイムで符号化、復号を行うシステ
ムでの操作レスポンスを向上させる従来技術として特開
平9−9233号公報に記載の装置がある。特開平9−
9233号公報は、テレビ会議システムにおける操作レ
スポンスを向上させる技術で、カメラの遠隔操作を行っ
ている間は伝送する画面領域を通常よりも小さくし、伝
送符号量を削減してフレームレートの向上や符号化遅延
の減少を実現するものである。
As a conventional technique for improving the operation response in a system which performs encoding and decoding in real time, there is an apparatus described in Japanese Patent Laid-Open No. 9-9233. JP-A-9-
Japanese Patent No. 9233 is a technique for improving the operation response in a video conference system, in which a screen area to be transmitted is made smaller than usual during a remote operation of a camera, and a transmission code amount is reduced to improve a frame rate. It realizes a reduction in coding delay.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、特開平
9−9233号公報に記載の技術は視聴者側の映像の更
新を画面の一部に限定することでフレームレートの向上
や符号化遅延の減少を実現しているもので、視聴者に伝
わる情報量が減少している。そのため、例えば画面上で
視聴者が確認したい箇所が更新されないという問題が発
生しうる。
However, in the technique disclosed in Japanese Patent Laid-Open No. 9-9233, the video rate on the viewer side is limited to a part of the screen to improve the frame rate and reduce the coding delay. The amount of information transmitted to viewers is decreasing. Therefore, for example, a problem may occur in that the portion that the viewer wants to confirm is not updated on the screen.

【0008】本発明の目的は、視聴者に伝わる情報量を
削減することなく符号化遅量を小さくし、操作レスポン
スを向上させる動画像符号化方法を提供することにあ
る。
An object of the present invention is to provide a moving picture coding method for reducing the coding delay amount and improving the operation response without reducing the amount of information transmitted to the viewer.

【0009】[0009]

【課題を解決するための手段】本発明は、映像信号を出
力する動画像出力手段と、該映像信号を高能率符号化す
る動画像符号化手段と、該動画像符号化手段で符号化さ
れた符号化データを復号する動画像復号手段と、前記動
画像出力手段に動作モードを指示する動作モード指示手
段とで構成される映像符号化復号装置に用いる動画像符
号化方法であって、前記動作モード指示手段が特殊再生
を指示した場合に、前記動画像符号化手段は、符号化遅
延時間及び復号遅延時間が短縮される符号化法に切り替
えることを特徴とする。
According to the present invention, a moving picture output means for outputting a video signal, a moving picture coding means for high efficiency coding the video signal, and a moving picture coding means for coding the moving picture coding means. And a moving picture decoding method for decoding the coded data, and an operation mode instructing means for instructing an operation mode to the moving picture output means. When the operation mode instructing means instructs special reproduction, the moving picture encoding means switches to an encoding method in which the encoding delay time and the decoding delay time are shortened.

【0010】前記符号化法は、MPEG方式の符号化法
であり、低遅延モードであることを特徴としてもよい
し、符号化バッファ容量を小さくするか、もしくは符号
化バッファでの遅延時間を短縮することを特徴としても
よい。また、前記符号化法は、MPEG方式の符号化法
であり、BピクチャあるいはBピクチャとPピクチャを
用いないGOP構成で符号化することを特徴してもよい
し、フィールド単位に符号化を行うことを特徴としても
よいし、全ピクチャをPピクチャとして符号化し、各P
ピクチャでは一部分をフレーム内符号化し、ピクチャ毎
にフレーム内符号化する領域を変えて、複数の連続する
ピクチャでピクチャの全領域がフレーム内符号化される
ようにすることを特徴としてもよい。
The encoding method is an MPEG encoding method and may be characterized by a low delay mode, or the capacity of the encoding buffer may be reduced or the delay time in the encoding buffer may be shortened. It may be characterized by doing. The encoding method is an MPEG encoding method and may be characterized by encoding with a GOP configuration that does not use B pictures or B pictures and P pictures, or performs encoding in field units. That is, all the pictures are coded as P pictures and each P picture is
A part of the picture may be intra-coded, and the area to be intra-coded may be changed for each picture so that the entire area of the picture is intra-coded in a plurality of consecutive pictures.

【0011】また、本発明の動画像符号化方法が、前記
動画像出力手段は記録媒体を備えた動画像記録再生装置
もしくは動画像再生装置で構成され、前記特殊再生が静
止もしくはコマ送り再生もしくはスロー再生もしくは高
速再生の場合にも適用できる。
Further, in the moving picture coding method of the present invention, the moving picture output means is composed of a moving picture recording / reproducing apparatus or a moving picture reproducing apparatus having a recording medium, and the special reproduction is still or frame advance reproduction or It can also be applied to slow or high speed playback.

【0012】また、本発明の動画像符号化方法は、前記
動画像出力手段はビデオカメラであり、前記特殊再生は
該ビデオカメラ本体の移動、もしくはビデオカメラの向
きの移動、もしくはビデオカメラの撮影範囲のズームイ
ン及びズームアウト、もしくはビデオカメラの撮影パラ
メータの変更の場合にも適用できる。
Further, in the moving picture coding method of the present invention, the moving picture output means is a video camera, and the special reproduction is carried out by moving the main body of the video camera, moving the direction of the video camera, or photographing by the video camera. It can also be applied when zooming in and out of a range, or when changing the shooting parameters of a video camera.

【0013】本発明においては、動画像出力手段からの
映像にリアルタイム性が要求される場合に、符号化遅延
や復号遅延を短縮できる符号化を行うことで、操作レス
ポンスを向上させる。
In the present invention, when the video from the moving image output means is required to have real-time characteristics, the coding response and the decoding delay are shortened to improve the operation response.

【0014】[0014]

【発明の実施の形態】以下図面を参照しながら、本発明
の実施の形態を詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.

【0015】〔第1の実施形態〕図1は、本発明に係る
動画像符号化方法に用いる映像符号化復号装置の第1の
実施形態を示すブロック図である。この図は、VTRで
再生した映像をMPEG方式で符号化し、無線で伝送し
た符号化データを視聴者側で復号し、視聴者がリモコン
でVTRの操作を行う場合の構成を示す。
[First Embodiment] FIG. 1 is a block diagram showing a first embodiment of a video encoding / decoding apparatus used in a moving image encoding method according to the present invention. This figure shows a configuration in which a video reproduced by a VTR is encoded by an MPEG system, encoded data transmitted by radio is decoded by a viewer, and the viewer operates the VTR with a remote controller.

【0016】図1において、視聴者8がリモコン7で再
生を指示すると、VTR(動画像出力手段)1は再生を
開始し、再生した映像がMPEG符号化器(動画像符号
化手段)2で高能率符号化され、無線送受信機3、無線
伝送路4、無線送受信機5を介してMPEG復号器(動
画像復号手段)6で復号される。視聴者8はMPEG復
号器6で復号された映像を見ながら、リモコン(動作モ
ード指示手段)7で停止、再生、早送り、巻き戻し、静
止、コマ送り、スロー再生、高速再生等の制御を行う。
リモコン7からの指示コマンドは、MPEG復号器6が
受信し、無線送受信機5、無線伝送路4、無線送受信機
3を介してMPEG符号化器2に伝わり、VTR1に入
力される。
In FIG. 1, when the viewer 8 instructs the remote controller 7 to reproduce, the VTR (moving image output means) 1 starts the reproduction, and the reproduced image is reproduced by the MPEG encoder (moving image encoding means) 2. It is encoded with high efficiency and is decoded by the MPEG decoder (moving image decoding means) 6 via the wireless transceiver 3, the wireless transmission path 4, and the wireless transceiver 5. The viewer 8 controls the remote control (operation mode instruction means) 7 such as stop, play, fast forward, rewind, still, frame advance, slow play, and high speed play while watching the video decoded by the MPEG decoder 6. .
The instruction command from the remote controller 7 is received by the MPEG decoder 6, transmitted to the MPEG encoder 2 via the wireless transceiver 5, the wireless transmission path 4, and the wireless transceiver 3, and input to the VTR 1.

【0017】通常の再生ではMPEG符号化器2は高画
質になるような符号化を行う。即ち、例えば図2(a)
に示すように、15フレームを1GOP(Group
OfPictures)とする符号化を行う。図2で、
Iはフレーム内符号化するピクチャ(以下ではIピクチ
ャと呼称する)、Pは既に符号化されたI、Pピクチャ
から前方向予測符号化するピクチャ(以下ではPピクチ
ャと呼称する)、Bは既に符号化された前後のI、Pピ
クチャから双方向予測符号化するピクチャ(以下ではB
ピクチャと呼称する)である。なお、括弧内の番号0〜
14はGOP内の入力順のフレーム番号を示す。
In normal reproduction, the MPEG encoder 2 performs encoding so as to obtain high image quality. That is, for example, in FIG.
As shown in FIG.
Of Pictures) are encoded. In Figure 2,
I is a picture to be intra-frame coded (hereinafter referred to as I picture), P is a coded I, P picture from which forward predictive coding is performed (hereinafter referred to as P picture), and B is already Pictures to be bidirectionally predictively coded from I and P pictures before and after being coded (hereinafter, referred to as B
It is called a picture). The numbers in parentheses 0
Reference numeral 14 indicates a frame number in the input order in the GOP.

【0018】図2(a)のGOPを符号化する場合の符
号化順を図2(b)に示す。Bピクチャは後に入力され
るIピクチャ、もしくはPピクチャの復号画像から予測
符号化するため、一旦フレームメモリに記憶しておき、
後に入力されるIピクチャもしくはPピクチャを符号化
した後に符号化を行う。従って、符号化順はI(2)、
B(0)、B(1)、P(5)…の順になる。復号順は
図2(c)に示す通りで、図2(b)の符号化順と同一
である。図2(d)に復号データの出力順を示す。出力
順は図2(a)の入力順と同一でなければならない。そ
のためIピクチャ、Pピクチャを一旦フレームメモリに
記録しておき、後から復号したBピクチャを先に出力す
る。
FIG. 2B shows the coding order when the GOP shown in FIG. 2A is coded. Since the B picture is predictively encoded from the decoded image of the I picture or P picture that is input later, it is stored in the frame memory once,
The I picture or P picture to be input later is encoded and then encoded. Therefore, the encoding order is I (2),
B (0), B (1), P (5), ... The decoding order is as shown in FIG. 2 (c), which is the same as the coding order in FIG. 2 (b). FIG. 2D shows the output order of the decoded data. The output order must be the same as the input order in FIG. Therefore, the I picture and P picture are temporarily recorded in the frame memory, and the B picture decoded later is output first.

【0019】図2(a)から(d)での遅延をIピクチ
ャで見てみると、まず図2(a)でIピクチャの入力が
完了されてから図2(b)で符号化を開始するために、
1フレームの遅延が発生し、図2(c)でBピクチャの
復号が完了する。さらに図2(d)でBピクチャ出力が
完了してからIピクチャが出力されるため、4フレーム
の遅延が発生する。即ち符号化と復号だけで5フレーム
の遅延が発生することになる。
Looking at the delays in FIGS. 2A to 2D for I pictures, first, the input of I pictures in FIG. 2A is completed, and then the encoding is started in FIG. 2B. In order to
One frame of delay occurs, and decoding of the B picture is completed in FIG. Further, since the I picture is output after the B picture output is completed in FIG. 2D, a delay of 4 frames occurs. That is, a delay of 5 frames occurs only by encoding and decoding.

【0020】さらにMPEG符号化器2で符号化データ
を一旦バッファに蓄積してから無線送受信機3に送るこ
とによる遅延、無線送受信機3での送信処理に要する遅
延、無線送受信機5での受信処理に要する遅延、MPE
G復号器6で符号化データを一旦バッファに蓄積してか
ら復号を開始することによる遅延が発生する。
Further, the MPEG encoder 2 temporarily stores the encoded data in a buffer and then sends it to the wireless transceiver 3, the delay required for the transmission process in the wireless transceiver 3, and the reception in the wireless transceiver 5. Processing delay, MPE
A delay occurs because the G decoder 6 temporarily stores the encoded data in the buffer and then starts decoding.

【0021】本実施形態は、視聴者8によって高速再
生、静止、コマ送り、スロー再生等の特殊再生が指定さ
れた場合に、MPEG符号化器2での符号化法を指示す
るパラメータを変更し、通常の再生より遅延時間が短縮
される符号化法に切り替えることを特徴とするものであ
る。特殊再生が指示されたことは、リモコン7からのコ
マンドをMPEG復号器6が受信し、無線送受信機5、
無線伝送路4、無線送受信機3を介してMPEG符号化
器2に伝わる。本実施形態では特殊再生が指示された場
合に、MPEG符号化器2はMPEGのパラメータlo
w_delayフラグを1とすることを特徴とする。l
ow_delay=1は低遅延モードであることを示
し、Bピクチャを用いないGOP構成となる。図3に特
殊再生が指示された場合のGOP構成の一例を示す。
In this embodiment, when the viewer 8 designates special reproduction such as high-speed reproduction, still picture, frame advance, and slow reproduction, the parameter for instructing the encoding method in the MPEG encoder 2 is changed. The method is characterized by switching to an encoding method in which the delay time is shortened compared to normal reproduction. The fact that the trick play is instructed means that the MPEG decoder 6 receives the command from the remote controller 7,
It is transmitted to the MPEG encoder 2 via the wireless transmission line 4 and the wireless transceiver 3. In this embodiment, when special reproduction is instructed, the MPEG encoder 2 uses the MPEG parameter lo.
The w_delay flag is set to 1. l
ow_delay = 1 indicates the low delay mode, and the GOP structure does not use B pictures. FIG. 3 shows an example of the GOP structure when special reproduction is instructed.

【0022】低遅延モードでは、Bピクチャを用いずに
I、PピクチャのみでGOPを構成する。この場合、符
号化側、復号側ともにピクチャの並べ替えが不要になる
ため、MPEG符号化器2では入力が完了したフレーム
をすぐに符号化でき、符号化遅延は1フレームになる。
MPEG復号器6でも復号が完了したフレームをすぐに
出力できるので復号遅延が1フレームになる。従って、
符号化、復号処理での遅延時間は、通常再生時の5フレ
ーム期間から2フレーム期間へと短くなる。
In the low delay mode, a GOP is composed of only I and P pictures without using B pictures. In this case, since neither the encoding side nor the decoding side needs to rearrange the pictures, the MPEG encoder 2 can immediately encode the input-completed frame, and the encoding delay becomes one frame.
The MPEG decoder 6 can immediately output the frame that has been decoded, so that the decoding delay becomes one frame. Therefore,
The delay time in the encoding / decoding processing is shortened from 5 frame periods during normal reproduction to 2 frame periods.

【0023】図4に本実施形態のMPEG符号化器2の
動作をフローチャートで示す。図4おいて、再生の開始
が指定されるとステップ101で通常再生かどうかを判
定する。通常再生の場合はステップ102でシーケンス
の開始処理を行う。この際、low_delayの値は
0で、Bピクチャを含むGOPとして符号化を行う。次
にステップ103で1ピクチャの入力処理を行うととも
に、既に入力されているピクチャの符号化を行う。そし
てステップ104で通常再生を継続するかどうかを判定
する。
FIG. 4 is a flowchart showing the operation of the MPEG encoder 2 of this embodiment. In FIG. 4, when the start of reproduction is designated, it is determined in step 101 whether it is normal reproduction. In the case of normal reproduction, a sequence start process is performed in step 102. At this time, the value of low_delay is 0, and encoding is performed as a GOP including a B picture. Next, in step 103, input processing of one picture is performed, and the already input picture is encoded. Then, in step 104, it is determined whether or not the normal reproduction is continued.

【0024】通常再生を継続する間はステップ103、
ステップ104を繰り返す。通常再生を継続しない場合
はステップ105でシーケンス終了処理を行う。そして
ステップ106で符号化を継続するかどうかを判定す
る。符号化を継続する場合は特殊再生が指示されている
ので、ステップ107で特殊再生の処理を開始する。ま
たステップ101で通常再生でないと判定された場合も
ステップ107で特殊再生の処理を開始する。
While continuing normal reproduction, step 103,
Repeat step 104. When the normal reproduction is not continued, the sequence end process is performed in step 105. Then, in step 106, it is determined whether the encoding is continued. If the special reproduction is instructed to continue the encoding, the special reproduction process is started in step 107. Also, when it is determined in step 101 that the normal reproduction is not performed, the special reproduction process is started in step 107.

【0025】ステップ107では、パラメータであるl
ow_delayの値は1で、Bピクチャを含まないG
OPとしてシーケンスの開始処理を行う。次にステップ
108で1ピクチャの入力処理を行うとともに、既に入
力されているピクチャの符号化を行う。そしてステップ
109で特殊再生を継続するかどうかを判定する。特殊
再生を継続する間はステップ108、ステップ109を
繰り返す。特殊再生を継続しない場合、ステップ110
でシーケンス終了処理を行う。そしてステップ111で
符号化を継続するかどうかを判定する。符号化を継続す
る場合は通常再生が指示されているので、ステップ10
2で通常再生の処理を開始する。
In step 107, the parameter l
The value of ow_delay is 1 and G does not include B picture.
Sequence start processing is performed as OP. Next, at step 108, input processing of one picture is performed, and the already input picture is encoded. Then, in step 109, it is determined whether or not the trick play is to be continued. Steps 108 and 109 are repeated while the trick play is continued. When the trick play is not continued, step 110
The sequence end processing is performed with. Then, in step 111, it is determined whether or not the encoding is continued. When encoding is continued, normal reproduction is instructed, so step 10
At 2, the normal reproduction process is started.

【0026】図4のフローチャートでは、通常再生と特
殊再生が切り替わる場合には、シーケンスの終了処理を
行った後に新しいシーケンスの開始処理を行う。これは
MPEGの規格で同一シーケンス内ではlow_del
ayの値は同一でなければならないという制限があり、
low_delayの値を変更するためには新しいシー
ケンスとする必要があるためである。
In the flowchart of FIG. 4, when the normal reproduction and the special reproduction are switched, the sequence ending process is performed and then the new sequence starting process is performed. This is an MPEG standard and is low_del in the same sequence.
There is a restriction that the values of ay must be the same,
This is because it is necessary to set a new sequence in order to change the value of low_delay.

【0027】以上の構成、動作により通常再生時に比べ
て、特殊再生時に符号化遅延を短縮する符号化方法を用
いた符号化装置が実現できる。なお、本実施形態は、特
殊再生時にフレームの並べ替えがなくなること、及び低
遅延モードとすることで復号が完了したフレームからす
ぐに出力することで、符号化遅延時間が短縮される。従
って、GOPを構成するフレーム数、GOPを構成する
I、P、Bピクチャの枚数は本例に限るものではない。
GOPを構成するフレーム数も通常再生と特殊再生とで
異なっても構わない。
With the above configuration and operation, it is possible to realize an encoding device using an encoding method that shortens the encoding delay during special reproduction as compared with normal reproduction. In the present embodiment, the coding delay time is shortened by eliminating the rearrangement of frames during special reproduction and by outputting the frame immediately after decoding is completed by setting the low delay mode. Therefore, the number of frames that make up the GOP and the number of I, P, and B pictures that make up the GOP are not limited to this example.
The number of frames forming a GOP may be different between normal reproduction and special reproduction.

【0028】また、本実施形態ではリモコン7からの特
殊再生の指示コマンドは、MPEG復号器6が受信し、
無線送受信機5、無線伝送路4、無線送受信機3を介し
てMPEG符号化器2に伝わるが、リモコン7から直接
MPEG符号化器2やVTR1に伝わっても構わない。
In this embodiment, the MPEG decoder 6 receives the special reproduction instruction command from the remote controller 7,
Although it is transmitted to the MPEG encoder 2 via the wireless transceiver 5, the wireless transmission path 4, and the wireless transceiver 3, it may be transmitted directly from the remote controller 7 to the MPEG encoder 2 or the VTR 1.

【0029】〔第2の実施形態〕本実施形態のブロック
構成は、図1に示した第1の実施形態と同一であるが、
第1の実施形態では特殊再生時に低遅延モードとした
が、本実施形態では符号化データを蓄積する符号化バッ
ファ容量、もしくは符号化バッファでの遅延時間を小さ
くすることで符号化遅延を少なくする。MPEGでは符
号化器に符号化データを蓄積する符号化バッファを備
え、符号化バッファに入力されるデータ量とピクチャ毎
の符号量を制御し、復号器で滞りなく復号処理されるこ
とを保証することが一般的である。符号化バッファ容量
はMPEGのパラメータvbv_buffer_siz
e_valueで、符号化バッファでの遅延時間はvb
v_de1ayで指定する。
[Second Embodiment] The block configuration of this embodiment is the same as that of the first embodiment shown in FIG.
In the first embodiment, the low delay mode is set at the time of special reproduction, but in the present embodiment, the coding delay is reduced by reducing the capacity of the coding buffer for storing the coded data or the delay time in the coding buffer. . In MPEG, an encoder is provided with an encoding buffer for accumulating encoded data, the amount of data input to the encoding buffer and the amount of code for each picture are controlled, and it is guaranteed that the decoder will perform decoding processing without delay. Is common. The encoding buffer capacity is an MPEG parameter vbv_buffer_siz.
e_value, the delay time in the encoding buffer is vb
It is specified by v_de1ay.

【0030】図5にMPEG符号化器2での符号化バッ
ファ容量と符号化バッファでの遅延時間の関係の概略を
示す。MPEGの規格では符号化データのうちの一部の
ヘッダはvbv_delayの値に影響しないなどの細
かい点を図5では正確に表していないが、本願の特徴を
説明するのに必要はないので省略している。
FIG. 5 shows an outline of the relationship between the encoding buffer capacity in the MPEG encoder 2 and the delay time in the encoding buffer. According to the MPEG standard, some of the headers of the encoded data do not accurately show details such as not affecting the value of vbv_delay. However, it is not necessary to explain the features of the present application, and therefore omitted. ing.

【0031】図5は符号化バッファ容量とバッファ残量
を示しており、一定レートで符号が入力され、一瞬に1
ピクチャの符号化データが符号化バッファからなくなる
モデルを用いている。図5において、符号化開始時刻T
startでは、バッファ残量はバッファ容量と同一
で、時間とともにバッファ残量が減っていき、時刻T0
でバッファ残量が0になる。そしてT0のタイミングで
最初のIピクチャの符号化データ(d1)が符号化バッ
ファからなくなり、それ以降、符号は一定レートで入力
され、1ピクチャ期間毎に1ピクチャの符号化データが
符号化バッファからなくなること繰り返す。そして、バ
ッファ残量が常に0以上、符号化バッファ容量以下にな
るように1ピクチャの符号量を制御する。
FIG. 5 shows the encoding buffer capacity and the buffer remaining amount, in which the code is input at a constant rate,
A model in which coded data of a picture disappears from the coding buffer is used. In FIG. 5, the encoding start time T
In the start, the remaining buffer amount is the same as the remaining buffer amount, and the remaining buffer amount decreases with time.
The buffer remaining amount becomes zero. Then, at the timing of T0, the encoded data (d1) of the first I picture disappears from the encoding buffer, and thereafter, the code is input at a constant rate, and the encoded data of one picture is output from the encoding buffer every one picture period. Repeat that it disappears. Then, the code amount of one picture is controlled so that the buffer remaining amount is always 0 or more and equal to or less than the encoding buffer capacity.

【0032】図5において、最初のIピクチャの符号化
バッファでの遅延時間はt(I)、次のBピクチャの符
号化バッファでの遅延時間はt(B)で示す時間にな
る。MPEG復号器6では、符号化バッファでの遅延時
間で示された値だけ符号化データをバッファで遅延して
から復号を開始する。これはMPEG復号器6でも図5
で示したバッファ残量の関係を保ち、符号化バッファが
オーバーフローもアンダーフローもしないことを保証す
るためである。
In FIG. 5, the delay time of the first I picture in the coding buffer is t (I), and the delay time of the next B picture in the coding buffer is t (B). The MPEG decoder 6 delays the encoded data in the buffer by the value indicated by the delay time in the encoding buffer and then starts decoding. This is also shown in FIG.
This is to maintain the relationship of the buffer remaining amount shown in, and to ensure that the encoding buffer does not overflow or underflow.

【0033】図6に特殊再生時の符号化バッファ容量と
バッファ残量の関係を示す。図6では図5からバッファ
容量だけを小さくしている。バッファ容量を小さくする
ことで、最初のIピクチャの符号化バッファでの遅延時
間t(I)、次のBピクチャの符号化バッファでの遅延
時間t(B)ともに小さくなる。即ち、MPEG復号器
6でのバッファで遅延させる時間も少なくなる。
FIG. 6 shows the relationship between the encoding buffer capacity and the buffer remaining capacity during special reproduction. In FIG. 6, only the buffer capacity is smaller than that in FIG. By reducing the buffer capacity, both the delay time t (I) of the first I picture in the encoding buffer and the delay time t (B) of the next B picture in the encoding buffer are reduced. That is, the time required for the buffer in the MPEG decoder 6 to delay is reduced.

【0034】図7に本実施形態のMPEG符号化器2の
動作をフローチャートで示す。図7のフローチャート
と、図4に示した本発明の第1の実施形態のMPEG符
号化器2の動作を示すフローチャートでは、図4のステ
ップ102,107だけが異なるので、同一の動作を行
うステップには同一の番号を付し、説明を省略する。
FIG. 7 is a flowchart showing the operation of the MPEG encoder 2 of this embodiment. In the flowchart of FIG. 7 and the flowchart showing the operation of the MPEG encoder 2 of the first embodiment of the present invention shown in FIG. 4, only steps 102 and 107 of FIG. The same number is attached to each and the description is omitted.

【0035】図7において、ステップ101で通常再生
と判定された場合はステップ121で通常再生時のシー
ケンスの開始処理を行う。この際、vbv_buffe
r_sizeは通常の値Aを設定する。ステップ101
で通常再生と判定されなかった場合にはステップ122
で特殊再生時のシーケンスの開始処理を行う。この際、
vbv_buffer_sizeはステップ121で設
定したの値Aよりも小さな値Bを設定する。ステップ1
21、122以外は図4とフローチャートと同一の動作
を行う。
In FIG. 7, if it is determined in step 101 that normal reproduction is performed, step 121 is executed to start the sequence for normal reproduction. At this time, vbv_buffer
r_size sets a normal value A. Step 101
If it is not determined to be normal reproduction in step 122,
Starts the sequence during special playback with. On this occasion,
For vbv_buffer_size, a value B smaller than the value A set in step 121 is set. Step 1
Except 21 and 122, the same operation as the flowchart in FIG. 4 is performed.

【0036】図7のフローチャートでも、通常再生と特
殊再生が切り替わる場合には、シーケンスの終了処理を
行った後に新しいシーケンスの開始処理を行う。これは
MPEGの規格で同一シーケンス内ではvbv_buf
fer_sizeの値は同一でなければならないという
制限があり、vbv_buffer_sizeの値を変
更するためには新しいシーケンスとする必要があるため
である。
Also in the flow chart of FIG. 7, when the normal reproduction and the special reproduction are switched, the sequence ending process is performed and then the new sequence starting process is performed. This is an MPEG standard and is vbv_buf in the same sequence.
This is because there is a restriction that the values of fer_size must be the same, and it is necessary to use a new sequence to change the value of vbv_buffer_size.

【0037】以上の構成、動作により通常再生時に比べ
て、特殊再生時に符号化遅延を小さくする符号化方法を
用いた符号化装置が実現できる。なお、本実施形態は特
殊再生時に符号化バッファ容量を小さくするか、もしく
は符号化バッファでの遅延時間を短縮することに特徴が
ある。本実施形態では符号化バッファの容量だけ変更
し、各ピクチャの符号量は変更していない。即ち符号化
制御は通常再生と特殊再生で同一であるが、符号化制御
方法は本例に限るものではなく、例えば符号化バッファ
容量をより小さくし、小さい符号化バッファ容量に合わ
せてピクチャ毎の符号量を制御する符号化制御を行って
もよい。
With the above configuration and operation, it is possible to realize an encoding device using an encoding method that reduces the encoding delay during special reproduction as compared with normal reproduction. The present embodiment is characterized in that the capacity of the encoding buffer is reduced during the special reproduction or the delay time in the encoding buffer is shortened. In this embodiment, only the capacity of the encoding buffer is changed, and the code amount of each picture is not changed. That is, the encoding control is the same for normal reproduction and special reproduction, but the encoding control method is not limited to this example. For example, the encoding buffer capacity is made smaller, and each picture is adjusted according to the small encoding buffer capacity. You may perform the encoding control which controls a code amount.

【0038】〔第3の実施形態〕本実施形態のブロック
構成は、図1に示した第1の実施形態と同一であるが、
第1の実施形態では特殊再生時に低遅延モードとした
が、本実施形態では低遅延モードとせずにGOP構成だ
けを変更するものである。本実施形態の通常再生時のG
OP構成及び符号化順、復号順も図2に示した第1の実
施形態と同一である。図8に特殊再生時のGOP構成及
び符号化順、復号順を示す。図3に示した第1の実施形
態での特殊再生時のGOP構成及び符号化傾、復号順と
は(d)のデータ出力段での遅延が異なる。低遅延モー
ドの場合は予めI、Pピクチャしかないことがわかって
いるので、フレームの並べ替えが必要なく、復号が完了
したピクチャからすぐに出力することができる。しかし
ながら低遅延モードでない場合は、Bピクチャが含まれ
る可能性があるので、フレームの並べ替えを考慮した制
御を行う必要がある。即ち、I、Pピクチャは、次のI
もしくはPピクチャが復号されてから出力する必要があ
る。これは通常再生と同一の制御である。従って、本実
施形態の特殊再生時の復号器での遅延は2フレームとな
り、符号化器、復号器で合わせて3フレームの遅延とな
る。即ち、通常モードの5フレームよりは2フレーム分
遅延時間が小さくなることになる。
[Third Embodiment] The block configuration of this embodiment is the same as that of the first embodiment shown in FIG.
In the first embodiment, the low delay mode is set during special playback, but in the present embodiment, only the GOP configuration is changed without setting the low delay mode. G during normal reproduction in this embodiment
The OP configuration, the encoding order, and the decoding order are also the same as in the first embodiment shown in FIG. FIG. 8 shows the GOP structure, the encoding order, and the decoding order during special playback. The delay in the data output stage of (d) is different from the GOP configuration, the encoding gradient, and the decoding order in the special reproduction in the first embodiment shown in FIG. In the low-delay mode, since it is known in advance that there are only I and P pictures, it is not necessary to rearrange the frames, and it is possible to immediately output the decoded pictures. However, when the mode is not the low-delay mode, B-pictures may be included, so it is necessary to perform control in consideration of frame rearrangement. That is, the I and P pictures are
Alternatively, it is necessary to output after the P picture is decoded. This is the same control as the normal reproduction. Therefore, the delay at the decoder at the time of special reproduction of this embodiment is 2 frames, and the total delay at the encoder and the decoder is 3 frames. That is, the delay time is shorter by 2 frames than the 5 frames in the normal mode.

【0039】図9に本実施形態のMPEG符号化器2の
動作をフローチャートで示す。図9のフローチャート
と、図4に示した本発明の第1の実施形態のMPEG符
号化器2の動作を示すフローチャートでは、図4のステ
ップ102、107に相当する部分だけが異なる動作
(ステップ231、232、235、236)となり、
ステップ105と106、ステップ110と111の部
分の処理順が入れ替わる点は異なる(それぞれステップ
233、234、237、238)が、それ以外は同一
の動作となるので、同一の動作を行うステップには同一
の番号を付し、説明を省略する。
FIG. 9 is a flowchart showing the operation of the MPEG encoder 2 of this embodiment. In the flowchart of FIG. 9 and the flowchart of FIG. 4 showing the operation of the MPEG encoder 2 of the first embodiment of the present invention, only the operation corresponding to steps 102 and 107 of FIG. 4 is different (step 231). , 232, 235, 236),
The difference is that the processing order of steps 105 and 106 and steps 110 and 111 is switched (steps 233, 234, 237, and 238, respectively), but otherwise the operation is the same, so steps that perform the same operation are not The same numbers are attached and the description is omitted.

【0040】図9において、ステップ101で通常再生
と判定された場合はステップ231で通常再生時のシー
ケンスの開始処理を行う。そしてステップ232でBピ
クチャありのGOPとして処理を行う。そして、ステッ
プ104で通常再生を継続しないと判定された場合は、
ステップ233で符号化を継続するかどうかを判定し、
符号化を継続しないと判定された場合はステップ234
でシーケンスの終了処理を行い処理を終了する。
In FIG. 9, when it is determined in step 101 that the normal reproduction is performed, step 231 is executed to start the sequence for the normal reproduction. Then, in step 232, processing is performed as a GOP with a B picture. When it is determined in step 104 that the normal reproduction is not continued,
In step 233, it is determined whether the encoding is continued,
When it is determined that the encoding is not continued, step 234
The sequence end processing is performed with and the processing ends.

【0041】ステップ101で通常再生と判定されなか
った場合にはステップ235で特殊再生時のシーケンス
の開始処理を行う。そしてステップ236でBピクチャ
なしのGOPとして処理を行う。そして、ステップ10
9で特殊再生を継続しないと判定された場合は、ステッ
プ237で符号化を継続するかどうかを判定し、符号化
を継続しないと判定された場合はステップ238でシー
ケンスの終了処理を行い処理を終了する。それ以外のス
テップは図4とフローチャートと同一の動作を行う。
If it is not determined in step 101 that the normal reproduction is performed, step 235 is executed to start the sequence for special reproduction. Then, in step 236, processing is performed as a GOP without B picture. And step 10
If it is determined in step 9 that the trick play is not to be continued, it is determined in step 237 whether or not the encoding is to be continued. If it is determined that the encoding is not to be continued, the sequence ending process is performed in step 238 to perform the process. finish. The other steps perform the same operations as in the flowchart of FIG.

【0042】図9のフローチャートでは、通常再生と特
殊再生が切り替わる場合にはシーケンスの終了処理を行
わず、同一のシーケンスとして符号化を継続する。これ
は、MPEGの規格で同一シーケンスのGOP構成を固
定する制限はないためである。
In the flowchart of FIG. 9, when the normal reproduction and the special reproduction are switched, the sequence ending process is not performed and the encoding is continued as the same sequence. This is because the MPEG standard does not limit the GOP structure of the same sequence to be fixed.

【0043】以上の構成、動作により通常再生時に比べ
て、特殊再生時に符号化遅延を小さくする符号化方法を
用いた符号化装置が実現できる。なお、本実施形態は特
殊再生時にフレームの並べ替えがなくなることで符号化
遅延時間が短縮されることに特徴がある。従って、GO
Pを構成するフレーム数、GOPを構成するI、P、B
ピクチャの枚数は本例に限るものではない。また、GO
Pを構成するフレーム数は通常再生と特殊再生とで異な
っても構わない。
With the above configuration and operation, it is possible to realize an encoding device using an encoding method for reducing the encoding delay during special reproduction as compared with normal reproduction. Note that the present embodiment is characterized in that the coding delay time is shortened by eliminating the rearrangement of frames during special reproduction. Therefore, GO
Number of frames forming P, I, P, B forming GOP
The number of pictures is not limited to this example. Also, GO
The number of frames forming P may be different between normal reproduction and special reproduction.

【0044】〔第4の実施形態〕本実施形態のブロック
構成は、図1に示した第1の実施形態と同一であるが、
第1の実施形態では特殊再生時に低遅延モードとした
が、本実施形態ではフィールドピクチャとして符号化す
るものである。本実施形態の通常再生時のGOP構成及
び符号化順、復号順も図2に示した第1の実施形態と同
一である。
[Fourth Embodiment] The block configuration of this embodiment is the same as that of the first embodiment shown in FIG.
In the first embodiment, the low-delay mode is used during special reproduction, but in the present embodiment, it is encoded as a field picture. The GOP configuration, the encoding order, and the decoding order during normal reproduction of this embodiment are also the same as those of the first embodiment shown in FIG.

【0045】図10に特殊再生時のGOP構成及び符号
化順、復号順を示す。本実施形態では、特殊再生時にフ
レームを構成する2フィールドをそれぞれ1ピクチャ
(フィールドピクチャ)として符号化する。図10
(a)は1フレーム期間に第1フィールド、第2フィー
ルドの2フィールドが入力されることを示す。図10
(b)に符号化順と符号化タイミングを示す。フィール
ドピクチャの場合、I、Pフレームの第1フィールドが
入力されると符号化を開始できるので、フレームピクチ
ャを符号化する場合よりも半フレーム期間だけ早く符号
化を開始できる。図10(d)に出力順及び出力タイミ
ングを示す。出力タイミングも、フィールドピクチャの
場合はフレームを構成する片フィールドの復号が完了す
ると出力を開始できるので、フレームピクチャを復号す
る場合よりも半フレーム期間だけ早く出力することがで
きる。従って、本実施形態の特殊再生時の符号化遅延は
4フレームとなり、通常モードの5フレームよりは1フ
レーム分遅延時間が小さくなる。
FIG. 10 shows the GOP structure, encoding order, and decoding order during special reproduction. In the present embodiment, each of the two fields constituting the frame at the time of special reproduction is encoded as one picture (field picture). Figure 10
(A) shows that two fields, a first field and a second field, are input in one frame period. Figure 10
The coding order and the coding timing are shown in (b). In the case of the field picture, the encoding can be started when the first fields of the I and P frames are input, so that the encoding can be started by a half frame period earlier than the case of encoding the frame picture. FIG. 10D shows the output order and output timing. As for the output timing, in the case of a field picture, the output can be started when the decoding of one field forming a frame is completed, so that the output can be performed by a half frame period earlier than the case of decoding a frame picture. Therefore, the coding delay at the time of special reproduction in this embodiment is 4 frames, which is one frame shorter than the 5 frames in the normal mode.

【0046】図11に本実施形態のMPEG符号化器2
の動作をフローチャートで示す。図11のフローチャー
トは、図9に示した本発明の第3の実施形態のMPEG
符号化器2の動作を示すフローチャートとほぼ同様の動
作をするが、図9のステップ232、236に相当する
部分だけが図11と異なる動作(ステップ241〜24
2)となるので、同一の動作を行うステップには同一の
番号を付し、説明を省略する。
FIG. 11 shows the MPEG encoder 2 of this embodiment.
The operation of is shown in a flowchart. The flowchart of FIG. 11 is the MPEG of the third embodiment of the present invention shown in FIG.
Although the operation is almost the same as the flowchart showing the operation of the encoder 2, only the portions corresponding to steps 232 and 236 in FIG. 9 are different from those in FIG. 11 (steps 241 to 24).
2), the same numbers are given to the steps that perform the same operation, and the description thereof will be omitted.

【0047】図11において、ステップ101で通常再
生と判定された場合はステップ231で通常再生時のシ
ーケンスの開始処理を行う。そしてステップ241でフ
レームピクチャとして符号化処理を行う。ステップ10
1で通常再生と判定されなかった場合には、ステップ2
35で特殊再生時のシーケンスの開始処理を行う。そし
てステップ242でフィールドピクチャとして符号化処
理を行う。それ以外のステップは図9とフローチャート
と同一の動作を行う。
In FIG. 11, when it is determined in step 101 that the normal reproduction is performed, step 231 is executed to start the sequence for the normal reproduction. Then, in step 241, encoding processing is performed as a frame picture. Step 10
If it is not determined to be normal reproduction in step 1, step 2
At 35, the start processing of the sequence during special reproduction is performed. Then, in step 242, encoding processing is performed as a field picture. The other steps perform the same operations as in the flowchart of FIG.

【0048】以上の構成、動作により通常再生時に比べ
て、特殊再生時に符号化遅延を小さくする符号化方法を
用いた符号化装置が実現できる。なお、本実施形態は特
殊再生時にフィールドピクチャとすることで、符号化遅
延時間が短縮されることに特徴がある。従って、GOP
を構成するフレーム数、GOPを構成するI、P、Bピ
クチャの枚数は本例に限るものではない。
With the above configuration and operation, an encoding device using an encoding method that reduces the encoding delay during special reproduction as compared with normal reproduction can be realized. It should be noted that the present embodiment is characterized in that the coding delay time is shortened by using a field picture during special reproduction. Therefore, GOP
The number of frames that make up G, and the number of I, P, and B pictures that make up GOP are not limited to this example.

【0049】〔第5の実施形態〕本実施形態のブロック
構成は、図1に示した第1の実施形態と同一であるが、
第1の実施形態では特殊再生時に低遅延モードとした
が、本実施形態ではPピクチャでイントラスライスとし
て符号化するものである。図12にイントラスライス符
号化の概要を示す。イントラスライスでは全てをPピク
チャとして符号化し、ピクチャの一部をフレーム内符号
化する。そしてフレーム内符号化する場所をピクチャ毎
にずらしていき、ある部分についてみると複数フレーム
で1回はフレーム内符号化されるようにするものであ
る。
[Fifth Embodiment] The block configuration of this embodiment is the same as that of the first embodiment shown in FIG.
In the first embodiment, the low-delay mode is set during special reproduction, but in the present embodiment, P pictures are encoded as intra slices. FIG. 12 shows an outline of intra slice coding. In the intra slice, all are coded as P pictures, and part of the pictures is intra-frame coded. Then, the position for intra-frame encoding is shifted for each picture, and regarding a certain portion, intra-frame encoding is performed once in a plurality of frames.

【0050】図12において、ピクチャP(0)ではP
ピクチャとして符号化し、ピクチャの上部(イントラス
ライスと図示した斜線部分)をフレーム内符号化する。
次のピクチャP(1)もPピクチャとして符号化し、ピ
クチャP(0)でフレーム内符号化した箇所よりも下の
箇所をフレーム内符号化する。このようにピクチャ毎に
フレーム内符号化する位置をずらしていく。本実施形態
の通常再生での動作は、第1の実施形態と同一である。
In FIG. 12, in the picture P (0), P
It is encoded as a picture, and the upper part of the picture (the intra slice and the hatched portion shown) is intra-frame encoded.
The next picture P (1) is also encoded as a P picture, and the portion below the portion that has been intra-coded with the picture P (0) is intra-frame encoded. In this way, the position for intra-frame coding is shifted for each picture. The operation in normal reproduction of this embodiment is the same as that of the first embodiment.

【0051】図13に特殊再生時の符号化バッファ容量
とバッファ残量の関係を示す。イントラスライス符号化
では、全てのPピクチャとして符号化するため、ピクチ
ャ毎の発生符号量が大きく変動しない。そのため符号化
バッファ容量をより少なくすることができる。例えば図
6に示した第2の実施形態の符号化バッファ容量とバッ
ファ残量の関係では、Iピクチャの符号量d1が他のピ
クチャの符号量に比べて多く、符号化バッファ容量をd
1より小さくすることはできないが、本実施形態では全
てのピクチャの発生符号量を均一化しやすいので、より
小さなバッファ容量とすることができる。その結果、符
号化バッファでの遅延時間t(p)もより小さくなる。
FIG. 13 shows the relationship between the encoding buffer capacity and the buffer remaining capacity during special reproduction. In intra slice coding, since all P pictures are coded, the generated code amount for each picture does not change significantly. Therefore, the encoding buffer capacity can be further reduced. For example, in the relationship between the coding buffer capacity and the buffer remaining capacity of the second embodiment shown in FIG. 6, the code amount d1 of an I picture is larger than the code amounts of other pictures, and the coding buffer capacity is d.
Although it cannot be made smaller than 1, in the present embodiment, the generated code amounts of all pictures are easily equalized, so that a smaller buffer capacity can be obtained. As a result, the delay time t (p) in the encoding buffer becomes smaller.

【0052】図14に本実施形態のMPEG符号化器2
の動作をフローチャートで示す。図7に示した第2の実
施形態のMPEG符号化器2のフローチャートと、図1
4に示した本実施形態のMPEG符号化器2の動作を示
すフローチャートでは、図4のステップ121,122
だけが異なるので、同一の動作を行うステップには同一
の番号を付し、説明を省略する。
FIG. 14 shows the MPEG encoder 2 of this embodiment.
The operation of is shown in a flowchart. 1 is a flowchart of the MPEG encoder 2 of the second embodiment shown in FIG.
In the flowchart showing the operation of the MPEG encoder 2 of the present embodiment shown in FIG. 4, steps 121 and 122 of FIG.
However, the same numbers are given to the steps that perform the same operation, and the description thereof will be omitted.

【0053】図14において、ステップ101で通常再
生と判定された場合はステップ141で通常再生時のシ
ーケンスの開始処理を行う。この際、vbv_buff
er_sizeは通常の値Aを設定し、I、P、Bピク
チャを含むGOP構成で符号化する。ステップ101で
通常再生と判定されなかった場合には、ステップ142
で特殊再生時のシーケンスの開始処理を行う。この際、
vbv_buffer_sizeはステップ141で設
定したの値Aよりも小さな値Cを設定し、全てをPピク
チャとしてGOPを構成し、イントラスライス符号化を
行う。ステップ141、142以外は図7とフローチャ
ートと同一の動作を行う。
In FIG. 14, if it is determined in step 101 that normal reproduction is performed, step 141 is executed to start the sequence for normal reproduction. At this time, vbv_buff
er_size is set to a normal value A and is encoded with a GOP structure including I, P, and B pictures. If it is not judged as normal reproduction in step 101, step 142
Starts the sequence during special playback with. On this occasion,
For vbv_buffer_size, a value C that is smaller than the value A set in step 141 is set, all of which are P pictures to configure a GOP, and intra slice coding is performed. Except for steps 141 and 142, the same operation as the flowchart in FIG. 7 is performed.

【0054】図14のフローチャートでも、通常再生と
特殊再生が切り替わる場合には、シーケンスの終了処理
を行った後に、新しいシーケンスの開始処理を行う。こ
れはMPEG29の規格で同一シーケンス内ではvbv
_bufer_sizeの値を変更するためには新しい
シーケンスとする必要があるためである。
Also in the flowchart of FIG. 14, when the normal reproduction and the special reproduction are switched, the sequence ending process is performed and then the new sequence starting process is performed. This is a standard of MPEG29, and vbv in the same sequence.
This is because a new sequence is required to change the value of _buffer_size.

【0055】以上の構成、動作により通常再生時に比べ
て、特殊再生時に符号化遅延を小さくする符号化方法を
用いた符号化装置が実現できる。
With the above configuration and operation, an encoding device using an encoding method that reduces the encoding delay during special reproduction as compared with normal reproduction can be realized.

【0056】〔第6の実施形態〕図15に本発明の第6
の実施形態のブロック図を示す。本実施形態は第1〜第
5の実施形態の変形例である。第1の実施形態では動画
像出力手段としてVTRを用いていたが、図15に示す
本実施形態ではビデオカメラ11を用いる。そして、第
1〜第5の実施形態では特殊再生を静止、スロー、コマ
送り、高速再生等の特殊再生としていたが、本実施形態
ではビデオカメラ本体の移動、ビデオカメラの向きの移
動、ビデオカメラの撮影範囲のズームイン及びズームア
ウト、焦点合わせ、ホワイトバランス専のビデオカメラ
の撮影パラメータの変更とする。それ以外は、本実施形
態と第1〜第5の実施形態は同一の動作を行う。
[Sixth Embodiment] FIG. 15 shows a sixth embodiment of the present invention.
2 shows a block diagram of an embodiment of FIG. The present embodiment is a modification of the first to fifth embodiments. Although the VTR is used as the moving image output means in the first embodiment, the video camera 11 is used in the present embodiment shown in FIG. In addition, in the first to fifth embodiments, the special reproduction is special reproduction such as still, slow, frame-advance, and high-speed reproduction, but in the present embodiment, movement of the video camera body, movement of the video camera direction, video camera The zoom-in and zoom-out of the shooting range, focus adjustment, and change of shooting parameters of the video camera dedicated to white balance. Other than that, the present embodiment and the first to fifth embodiments perform the same operation.

【0057】〔第1〜第6の実施形態の変形例〕第1〜
第6の実施形態は、いずれも特殊再生時に符号化遅延を
小さくして操作レスポンスを向上させるものである。第
1の実施形態では,低遅延モードにすることによって符
号化遅延を小さくし、第2の実施形態では符号化バッフ
ァ容量もしくは符号化バッファでの遅延時間を短縮する
ことによって符号化遅延を小さくし、第3の実施形態で
はGOP構成を変更することによって符号化遅延を小さ
くし、第4の実施形態ではフィールドピクチャとして符
号化することで符号化遅延を小さくする。これらは独立
して制御できるので、単一で制御するだけでなく、複数
の制御を同時に行ってもよい。例えば高速再生時に低遅
延モードにして、かつ符号化バッファ容量を少なくして
もよい。或は低遅延モードにして、かつ符号化バッファ
容量を少なくし、さらにフィールドピクチャとして符号
化してもよい。
[Modifications of First to Sixth Embodiments] First to First
In all of the sixth embodiments, the coding response is reduced during special reproduction to improve the operation response. In the first embodiment, the low-delay mode is set to reduce the coding delay, and in the second embodiment, the coding buffer capacity or the delay time in the coding buffer is shortened to reduce the coding delay. In the third embodiment, the coding delay is reduced by changing the GOP structure, and in the fourth embodiment, the coding delay is reduced by coding as a field picture. Since these can be controlled independently, not only a single control but a plurality of controls may be performed simultaneously. For example, the low-delay mode may be set during high-speed reproduction, and the encoding buffer capacity may be reduced. Alternatively, the mode may be set to the low-delay mode, the capacity of the coding buffer may be reduced, and the field picture may be coded.

【0058】さらに、第2、第5の実施形態では、通常
再生と特殊再生時が切り替わる場合、一旦それまでのシ
ーケンスを終了し、新しいシーケンスをして処理を行っ
ていたが、vbv_buffer_sizeの値を変え
ずに、vbv_delayの値だけを小さくすることも
可能である。その場合にはシーケンスを終了する必要は
なく、同一のシーケンスで通常再生と特殊再生の切り替
えが可能である。さらに、本発明は特殊再生時に符号化
遅延を小さくすることに特徴があるので、本例のように
符号化器と復号器の間の伝送は無線伝送路に限定するも
のではなく、インターネット等の有線伝送路でも構わな
い。
Further, in the second and fifth embodiments, when the normal reproduction and the special reproduction are switched, the sequence up to then is ended and a new sequence is performed for processing, but the value of vbv_buffer_size is changed. It is possible to reduce only the value of vbv_delay without changing it. In that case, it is not necessary to end the sequence, and normal reproduction and special reproduction can be switched in the same sequence. Furthermore, since the present invention is characterized in that the coding delay is reduced during special reproduction, the transmission between the encoder and the decoder is not limited to the wireless transmission path as in this example, and it is not limited to the Internet. A wired transmission line may be used.

【0059】[0059]

【発明の効果】本発明によれば、特殊再生時に符号化遅
延を短縮する符号化とするので、動画像再出力手段から
出力される画像と動画像復号手段での復号画像の時間差
が少なくなり、特殊再生時の操作レスポンスが向上す
る。特殊再生時においてもフレームレートや符号化する
画面領域は変えないので、視聴者に伝わる情報量が欠け
ることがなく、視覚的な劣化なく操作レスポンスだけを
向上させることができる。また、符号化遅延を少なくす
るのは特殊再生時のみなので、通常再生時には符号化パ
ラメータに制限がない高画質な符号化を実現できる。ま
た、符号化遅延を少なくするのは特殊再生時のみであ
り、一般的には特殊再生時の高画質化要求は緩い。した
がって、特殊再生時に符号化パラメータに制限を加えて
も視覚的に問題は発生しない。さらに、符号化遅延を少
なくすると符号化遅延の変化点で一部の映像を表示する
ことができなくなり、符号化遅延を多くすると変化点で
表示すべき映像がなくなることがあるが、いずれの場合
も通常再生と特殊再生の切り替えタイミングで発生する
ので、視覚的に問題にはならないという効果がある。
According to the present invention, since the encoding is shortened during the special reproduction, the time difference between the image output from the moving image re-outputting means and the decoded image in the moving image decoding means is reduced. , The operation response during special playback is improved. Since the frame rate and the screen area to be encoded are not changed even during special reproduction, the amount of information transmitted to the viewer is not lost, and only the operation response can be improved without visual deterioration. Further, since the coding delay is reduced only in the special reproduction, it is possible to realize the high-quality coding in which the coding parameters are not limited in the normal reproduction. Further, the encoding delay is reduced only in special reproduction, and in general, the demand for high image quality in special reproduction is loose. Therefore, even if the encoding parameters are limited during special reproduction, no visual problem occurs. Furthermore, if the coding delay is reduced, it may not be possible to display part of the video at the change point of the coding delay, and if the coding delay is increased, there may be no video to be displayed at the change point. Occurs at the timing of switching between normal playback and special playback, so there is an effect that it does not cause a visual problem.

【0060】また、本発明によれば、MPEGの規格に
準拠して符号化遅延を少なくしているので、復号器では
特別な回路は必要ない。また符号化器も符号化パラメー
タの変更だけであり、一般的にはソフト処理で済み特別
な回路は必要なしに実現できるという効果がある。
Further, according to the present invention, since the coding delay is reduced in accordance with the MPEG standard, no special circuit is required in the decoder. Further, the encoder only changes the encoding parameter, and generally has the effect that it can be realized by software processing without the need for a special circuit.

【0061】また、本発明によれば、フィールドピクチ
ャとして符号化した場合、符号化バッファのオーバーフ
ロー、アンダーフロー判定をフィールド毎に行うことが
できる。即ち、より細かな制御が可能であり、バッファ
容量や符号化バッファでの遅延量を少なくすることが可
能になるという効果もある。
Further, according to the present invention, when encoded as a field picture, overflow / underflow determination of the encoding buffer can be performed for each field. That is, there is an effect that finer control can be performed and the buffer capacity and the delay amount in the encoding buffer can be reduced.

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

【図1】本発明に係る動画像符号化方法に用いる映像符
号化復号装置の第1の実施形態を示すブロック図であ
る。
FIG. 1 is a block diagram showing a first embodiment of a video encoding / decoding device used in a moving image encoding method according to the present invention.

【図2】第1の実施形態における通常再生時のGOP構
成及び符号化順、復号順を示す図である。
FIG. 2 is a diagram showing a GOP configuration, a coding order, and a decoding order during normal reproduction according to the first embodiment.

【図3】第1の実施形態における特殊再生時のGOP構
成及び符号化順、復号順を示す図である。
FIG. 3 is a diagram showing a GOP structure, an encoding order, and a decoding order at the time of special playback in the first embodiment.

【図4】第1の実施形態のMPEG符号化器の動作を示
すフローチャートである。
FIG. 4 is a flowchart showing an operation of the MPEG encoder of the first embodiment.

【図5】通常再生時の符号化バッファ容量と符号化バッ
ファでの遅延時間を説明する図である。
FIG. 5 is a diagram illustrating a coding buffer capacity and a delay time in the coding buffer during normal reproduction.

【図6】特殊再生時の符号化バッファ容量と符号化バッ
ファでの遅延時間を説明する図である。
FIG. 6 is a diagram illustrating a coding buffer capacity and a delay time in the coding buffer during special reproduction.

【図7】第2の実施形態のMPEG符号化器2の動作を
示すフローチャートである。
FIG. 7 is a flowchart showing an operation of the MPEG encoder 2 of the second embodiment.

【図8】第3の実施形態における特殊再生時のGOP構
成及び符号化順、復号順を示す図である。
FIG. 8 is a diagram showing a GOP structure, an encoding order, and a decoding order during trick play in the third embodiment.

【図9】第3の実施形態のMPEG符号化器2の動作を
示すフローチャートである。
FIG. 9 is a flowchart showing the operation of the MPEG encoder 2 of the third embodiment.

【図10】第4の実施形態における特殊再生時のGOP
構成及び符号化順、復号順を示す図である。
FIG. 10 is a GOP during special playback according to the fourth embodiment.
It is a figure which shows a structure, an encoding order, and a decoding order.

【図11】第4の実施形態のMPEG符号化器2の動作
を示すフローチャートである。
FIG. 11 is a flowchart showing an operation of the MPEG encoder 2 of the fourth embodiment.

【図12】イントラスライス符号化の概要を説明する図
である。
[Fig. 12] Fig. 12 is a diagram for describing the outline of intra slice encoding.

【図13】第5の実施形態における特殊再生時の符号化
バッファ容量と符号化バッファでの遅延時間を説明する
図である。
FIG. 13 is a diagram illustrating an encoding buffer capacity and a delay time in the encoding buffer at the time of special reproduction in the fifth embodiment.

【図14】第5の実施形態のMPEG符号化器の動作を
示すフローチャートである。
FIG. 14 is a flowchart showing an operation of the MPEG encoder of the fifth embodiment.

【図15】本発明に係る動画像符号化方法に用いる映像
符号化復号装置の第6の実施形態を示すブロック図であ
る。
FIG. 15 is a block diagram showing a sixth embodiment of a video encoding / decoding device used in the moving image encoding method according to the present invention.

【図16】従来の動画像符号化方法に用いる映像符号化
復号装置を示すブロック図である。
FIG. 16 is a block diagram showing a video encoding / decoding device used in a conventional moving image encoding method.

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

1 VTR 2 MPEG符号化器 3 無線送受信機 4 無線伝送路 5 無線送受信機 6 MPEG復号器 7 リモコン 8 視聴者 11 ビデオカメラ 1 VTR 2 MPEG encoder 3 wireless transceiver 4 wireless transmission path 5 wireless transceiver 6 MPEG decoder 7 remote control 8 viewers 11 video camera

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C053 FA21 GB29 GB37 HA22 HA23 HA24 KA04 LA01 LA15 5C059 KK11 MA00 PP05 PP06 PP07 SS06 SS12 SS14 SS16 SS17 TA17 TA25 TB03 TB06 TC45 UA02 UA33    ─────────────────────────────────────────────────── ─── Continued front page    F term (reference) 5C053 FA21 GB29 GB37 HA22 HA23                       HA24 KA04 LA01 LA15                 5C059 KK11 MA00 PP05 PP06 PP07                       SS06 SS12 SS14 SS16 SS17                       TA17 TA25 TB03 TB06 TC45                       UA02 UA33

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 映像信号を出力する動画像出力手段と、
該映像信号を高能率符号化する動画像符号化手段と、該
動画像符号化手段で符号化された符号化データを復号す
る動画像復号手段と、前記動画像出力手段に動作モード
を指示する動作モード指示手段とで構成される映像符号
化復号装置に用いる動画像符号化方法であって、 前記動作モード指示手段が特殊再生を指示した場合に、
前記動画像符号化手段は、符号化遅延時間及び復号遅延
時間が短縮される符号化法に切り替えることを特徴とす
る動画像符号化方法。
1. A moving image output means for outputting a video signal,
A moving picture coding means for coding the video signal with high efficiency, a moving picture decoding means for decoding the coded data coded by the moving picture coding means, and an operating mode to the moving picture output means. A moving image encoding method used in a video encoding / decoding device configured with an operation mode instruction unit, wherein the operation mode instruction unit instructs special reproduction,
The moving picture coding method, wherein the moving picture coding means switches to a coding method in which a coding delay time and a decoding delay time are shortened.
【請求項2】 前記符号化法は、MPEG方式の符号化
法であり、低遅延モードであることを特徴とする請求項
1記載の動画像符号化方法。
2. The moving image encoding method according to claim 1, wherein the encoding method is an MPEG encoding method and a low delay mode.
【請求項3】 前記符号化法は、MPEG方式の符号化
法であり、符号化バッファ容量を小さくするか、もしく
は符号化バッファでの遅延時間を短縮することを特徴と
する請求項1記載の動画像符号化方法。
3. The encoding method according to claim 1, wherein the encoding method is an MPEG encoding method, and the capacity of the encoding buffer is reduced or the delay time in the encoding buffer is shortened. Video coding method.
【請求項4】 前記符号化法は、MPEG方式の符号化
法であり、BピクチャあるいはBピクチャとPピクチャ
を用いないGOP構成で符号化することを特徴とする請
求項1記載の動画像符号化方法。
4. The moving image code according to claim 1, wherein the encoding method is an MPEG encoding method, and encoding is performed with a GOP structure that does not use B pictures or B pictures and P pictures. Method.
【請求項5】 前記符号化法は、MPEG方式の符号化
法であり、フィールド単位に符号化を行うことを特徴と
する請求項1記載の動画像符号化方法。
5. The moving picture coding method according to claim 1, wherein the coding method is a coding method of an MPEG system, and the coding is performed in field units.
【請求項6】 前記符号化法は、MPEG方式の符号化
法であり、全ピクチャをPピクチャとして符号化し、各
Pピクチャでは一部分をフレーム内符号化し、ピクチャ
毎にフレーム内符号化する領域を変えて、複数の連続す
るピクチャでピクチャの全領域がフレーム内符号化され
るようにすることを特徴とする請求項1記載の動画像符
号化方法。
6. The encoding method is an MPEG encoding method, in which all pictures are encoded as P pictures, a part of each P picture is intra-frame encoded, and an area for intra-frame encoding is performed for each picture. The moving picture coding method according to claim 1, characterized in that the whole area of the picture is intra-coded in a plurality of consecutive pictures.
【請求項7】 前記動画像出力手段は記録媒体を備えた
動画像記録再生装置もしくは動画像再生装置で構成さ
れ、前記特殊再生は静止もしくはコマ送り再生もしくは
スロー再生もしくは高速再生であることを特徴とする請
求項1〜6記載の動画像符号化方法。
7. The moving image output means is composed of a moving image recording / reproducing device or a moving image reproducing device having a recording medium, and the special reproduction is still, frame-by-frame reproduction, slow reproduction or high-speed reproduction. The moving image encoding method according to claim 1.
【請求項8】 前記動画像出力手段はビデオカメラであ
り、前記特殊再生は該ビデオカメラ本体の移動、もしく
はビデオカメラの向きの移動、もしくはビデオカメラの
撮影範囲のズームイン及びズームアウト、もしくはビデ
オカメラの撮影パラメータの変更であることを特徴とす
る請求項1〜6記載の動画像符号化方法。
8. The moving image output means is a video camera, and the special reproduction is performed by moving the main body of the video camera, moving the orientation of the video camera, zooming in and out of a shooting range of the video camera, or the video camera. 7. The moving picture coding method according to claim 1, wherein the shooting parameter is changed.
JP2001221629A 2001-07-23 2001-07-23 Moving picture coding method Pending JP2003037816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001221629A JP2003037816A (en) 2001-07-23 2001-07-23 Moving picture coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001221629A JP2003037816A (en) 2001-07-23 2001-07-23 Moving picture coding method

Publications (1)

Publication Number Publication Date
JP2003037816A true JP2003037816A (en) 2003-02-07

Family

ID=19055268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001221629A Pending JP2003037816A (en) 2001-07-23 2001-07-23 Moving picture coding method

Country Status (1)

Country Link
JP (1) JP2003037816A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013255129A (en) * 2012-06-07 2013-12-19 Canon Inc Image encoder
US9277119B2 (en) 2013-02-28 2016-03-01 Samsung Electronics Co., Ltd. Electronic apparatus, method for controlling the same, and computer readable recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013255129A (en) * 2012-06-07 2013-12-19 Canon Inc Image encoder
US9277119B2 (en) 2013-02-28 2016-03-01 Samsung Electronics Co., Ltd. Electronic apparatus, method for controlling the same, and computer readable recording medium

Similar Documents

Publication Publication Date Title
KR100796085B1 (en) Decoder, decoding method, and recorded medium
JP4649615B2 (en) Video encoding / decoding device, video encoding / decoding method, and program thereof
JP2008167061A (en) Encoding device and encoding method
KR100975170B1 (en) Image data reproducing device and method
JP2002218472A (en) Device and method for decoding variable image rate
JP2003037816A (en) Moving picture coding method
JP2001238182A (en) Image reproduction device and image reproduction method
JP2001352524A (en) Reproduction device and reproduction method
JP2005175974A (en) Imaging device
JP2003179867A (en) Data processing apparatus, data processing method, information storage medium, and computer program
JPH11252507A (en) Video signal reproducing device, its method, video signal recording and reproducing device and its method
JP4700992B2 (en) Image processing device
KR20040010173A (en) Image data reproducing device and method
EP1067793A2 (en) Digital video decoding method
JP4867872B2 (en) Image processing apparatus, control method for the image processing apparatus, and program
JPH1093969A (en) Moving image encoder
JPH08275152A (en) Digital video signal decoder
JP2005159525A (en) Digital reproducing apparatus or reproducing method
JPH10327417A (en) Image processor
JP2005236386A (en) Image processing apparatus
JP2003244643A (en) Information reproducing apparatus and information reproducing method
JP2001320653A (en) Image decoder and image decoding method
JP2001268513A (en) Moving image reproducing device and moving image recording/reproducing system
JP2003299095A (en) Moving image processing apparatus, method therefor and moving image recording apparatus
JP2000069426A (en) Digital compression image changeover device