JPH08289255A - Encoding device, decoding device and coding/decoding device - Google Patents

Encoding device, decoding device and coding/decoding device

Info

Publication number
JPH08289255A
JPH08289255A JP10908995A JP10908995A JPH08289255A JP H08289255 A JPH08289255 A JP H08289255A JP 10908995 A JP10908995 A JP 10908995A JP 10908995 A JP10908995 A JP 10908995A JP H08289255 A JPH08289255 A JP H08289255A
Authority
JP
Japan
Prior art keywords
data
compressed
decoding
video data
audio data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10908995A
Other languages
Japanese (ja)
Other versions
JP3651699B2 (en
Inventor
Satoshi Kawakami
智 河上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP10908995A priority Critical patent/JP3651699B2/en
Publication of JPH08289255A publication Critical patent/JPH08289255A/en
Application granted granted Critical
Publication of JP3651699B2 publication Critical patent/JP3651699B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To start the reproduction of each raw material at designated time and to reproduce plural raw materials successively by multiplexing compression data by attaching a specific code which supplies operating timings of start and completion according to a multiplex format depending on only the time length of the raw material and whose leading packet size is larger than that of the following packet by first buffet quantity. CONSTITUTION: When an encoder part 11 performs coding and multiplexing, a mark is attached at a 'position equivalent to a time when a demultiplexer 16 issues an operation instruction to decoders 17, 18' in a data file. Also, when the demultiplexer 16 detects the mark from the data file, a controller 20 sends out control signals S4, S5 to the video decoder 17 and the audio decoder 18 corresponding to the content of the mark based on a mark detection signal. In this way, the controller 20 drives the video decoder 17 and the audio decoder 18 at required timings, respectively in this coding/secoding device 10.

Description

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

【0001】[0001]

【目次】以下の順序で本発明を説明する。 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段 作用 実施例 発明の効果[Table of Contents] The present invention will be described in the following order. Field of Industrial Application Conventional Techniques Problems to be Solved by the Invention Means for Solving the Problems Action Example Effect of Invention

【0002】[0002]

【産業上の利用分野】本発明は符号化装置、復号化装置
及び符号化復号化装置に関し、例えばAVサーバシステ
ムに適用して好適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoding device, a decoding device and an encoding / decoding device, and is suitable for application to, for example, an AV server system.

【0003】[0003]

【従来の技術】従来、ビデオ信号及びオーデイオ信号の
デイジタル圧縮には種々の方式があるが、そのなかで現
在最も注目を集めている方式の1つにMPEG(Moving
Pictur Experts Group )規格がある。このMPEG規
格に従つて圧縮したAV(Audio Vidual:音響・映像)
データを再生(デコード)する場合、AV間の同期をと
る必要があるが、その方式には大きく分けて暗黙同期方
式とタイム・スタンプ方式の2つの方式がある。
2. Description of the Related Art Conventionally, there have been various methods for digital compression of video signals and audio signals. Among them, one of the methods that is currently receiving the most attention is MPEG (Moving).
Pictur Experts Group) standard. AV (Audio Visual: Audio / Video) compressed according to this MPEG standard
When reproducing (decoding) data, it is necessary to synchronize AVs, and there are roughly two types of methods, an implicit synchronization method and a time stamp method.

【0004】暗黙同期方式は、ほぼ同一の時刻、同一時
間長に相当する各AVデータをある単位で多重化してお
き、1つのAV素材(以下、これをクリツプと呼ぶ)の
先頭においてAVの頭が合うようにそれぞれのデコード
開始時刻を調節することによりAV同期をとる方式であ
る。一方タイム・スタンプ方式は、AVの多重化時に各
AVデータのある単位毎にその再生時刻を示すタイム・
スタンプ(DTS:Decoding Time Stamp 及びPTS:Presenta
tion Time Stamp )を付加し、さらにそのタイム・スタ
ンプの基準となる時刻を示すタイム・スタンプ(SCR:Sy
stem Clock Refernece 又はPCR:Program Clock Refern
ece )をある単位毎に付加しておき、各デコーダがこの
タイム・スタンプに従つて再生を実行することによつて
AV同期をとる方式である。なおMPEGシステム規格
はこの方式を採用している。
In the implicit synchronization method, AV data corresponding to almost the same time and the same time length are multiplexed in a certain unit, and the AV head is set at the head of one AV material (hereinafter referred to as clip). This is a method for achieving AV synchronization by adjusting the respective decoding start times so that On the other hand, the time stamp method is a time stamp indicating the reproduction time for each unit of AV data when the AV is multiplexed.
Stamps (DTS: Decoding Time Stamp and PTS: Presenta
option time stamp), and a time stamp (SCR: Sy
stem Clock Refernece or PCR: Program Clock Refern
ece) is added to each unit and each decoder executes reproduction in accordance with this time stamp to establish AV synchronization. The MPEG system standard adopts this method.

【0005】一般的にタイム・スタンプ方式は暗黙同期
方式に比べて精度は高いがしくみが複雑になるため実現
コストが高くなる特徴がある。タイム・スタンプの使用
方法についてもう少し追加説明する。図17に示すよう
に、デマルチプレクサ1は供給されるAV多重化データ
Avから基準時刻情報PCR を抽出し、この値に同期する
ようにシステムクロツクCL1を調整する。このシステ
ムクロツクCL1は、オーデイオデコーダ2及びビデオ
デコーダ3にそれぞれ与えられる。
Generally, the time stamp method has higher accuracy than the implicit synchronization method, but has a feature that the implementation cost becomes higher because the mechanism becomes complicated. A little more about how to use time stamps. As shown in FIG. 17, the demultiplexer 1 extracts the reference time information PCR from the supplied AV multiplexed data D Av and adjusts the system clock CL1 so as to synchronize with this value. The system clock CL1 is given to the audio decoder 2 and the video decoder 3, respectively.

【0006】またデマルチプレクサ1は、AV多重化デ
ータDAvから抽出したオーデイオデータDAdを再生時刻
情報DTS と共にオーデイオデコーダ2に供給し、かつ抽
出したビデオデータDViを再生時刻情報DTS 及びPTS と
共にビデオデコーダ3に供給する。これによりこれらオ
ーデイオデコーダ2及びビデオデコーダ3は、それぞれ
システムクロツクCL1と、再生時刻情報DTS 及びPTS
とに基づいてこれらを比較することによりいつ再生動作
を開始すればよいのかを判断するようになされている。
The demultiplexer 1 also supplies the audio data D Ad extracted from the AV multiplexed data D Av to the audio decoder 2 together with the reproduction time information DTS, and the extracted video data D Vi together with the reproduction time information DTS and PTS. It is supplied to the video decoder 3. As a result, the audio decoder 2 and the video decoder 3 have the system clock CL1 and the reproduction time information DTS and PTS, respectively.
It is arranged to judge when to start the reproducing operation by comparing these with each other.

【0007】[0007]

【発明が解決しようとする課題】ここで複数のクリツプ
を連続再生する場合を考える。タイム・スタンプ方式の
場合、図18に示すように、クリツプのつなぎめ付近の
時刻では、すでにデマルチプレクサ1には次のクリツプ
(クリツプ2)のデータが入力され始めており、システ
ムクロツクCL1もクリツプ2の基準時刻情報PCR に同
期しているが、オーデイオデコーダ2及びビデオデコー
ダ3ではまだ前のクリツプ(クリツプ1)の処理をして
いるという時間帯T0 が存在し得る。この場合各クリツ
プ1、2の基準時刻情報PCR はそれぞれ独立しているた
め、この時間帯T0 にオーデイオデコーダ2及びビデオ
デコーダ3がシステムクロツクCL1に従つてデコード
しようとすると正しく再生されない可能性がある。
Consider a case where a plurality of clips are continuously reproduced. In the case of the time stamp method, as shown in FIG. 18, the data of the next clip (clip 2) has already begun to be input to the demultiplexer 1 at the time near the clip connection, and the system clock CL1 is also clipped. Although it is synchronized with the reference time information PCR of 2, the audio decoder 2 and the video decoder 3 may have a time zone T 0 in which the previous clip (clip 1) is still being processed. In this case, since the reference time information PCR of each clip 1 and 2 is independent, if the audio decoder 2 and the video decoder 3 try to decode according to the system clock CL1 during this time zone T 0 , they may not be reproduced correctly. There is.

【0008】このように従来のタイムスタンプ方式で
は、複数のクリツプを連続して再生し難い問題があつ
た。かかる問題を解決するため、従来では複数のクリツ
プの連続再生を実現する方法として、オーデイオデコー
ダ2及びビデオデコーダ3を2組用意し、これら各組を
交互に使用して、デマルチプレクサ1の出力をスイツチ
ングする方法が広く用いられている。この方法によれ
ば、AV同期の方式にタイムス・タンプ方式を採用する
ことも可能である。
As described above, the conventional time stamp system has a problem that it is difficult to continuously reproduce a plurality of clips. In order to solve such a problem, conventionally, as a method of realizing continuous reproduction of a plurality of clips, two sets of audio decoders 2 and video decoders 3 are prepared, and these sets are alternately used to output the output of the demultiplexer 1. The method of switching is widely used. According to this method, it is also possible to adopt the time stamp method as the AV synchronization method.

【0009】しかしながらこのような方法では、オーデ
イオデコーダ2及びビデオデコーダ3を2組用意する必
要があり、またスイツチングを行う装置も必要となるな
どシステム規模が大きくなる問題があつた。本発明は以
上の点を考慮してなされたもので、各クリツプの再生を
指定時刻に開始でき、かつ複数のクリツプを連続的に再
生することのできる符号化装置、復号化装置及び符号化
復号化装置を提案しようとするものである。
However, with such a method, it is necessary to prepare two sets of the audio decoder 2 and the video decoder 3, and a device for performing switching is also required, which causes a problem that the system scale becomes large. The present invention has been made in consideration of the above points, and an encoding device, a decoding device, and an encoding / decoding device that can start reproduction of each clip at a designated time and can continuously reproduce a plurality of clips. It is intended to propose a digitalization device.

【0010】[0010]

【課題を解決するための手段】かかる課題を解決するた
め本発明においては、符号化側では、一連のビデオ信号
及びオーデイオ信号からなる素材の当該ビデオ信号及び
オーデイオ信号を圧縮符号化することにより得られた圧
縮ビデオデータ及び圧縮オーデイオデータを、素材の時
間長にのみ依存し、かつ先頭パケツトのサイズが続くパ
ケツトよりも第1のバツフア量だけ大きい所定の多重化
フオーマツトに従つて、動作開始及び動作停止のタイミ
ングを与える特殊コードを随所に入れながら多重化する
と共に、この際圧縮ビデオデータのデータ量がその時間
長に対する素材の圧縮ビデオデータとして発生できる最
大値に満たないときには、不足分だけダミーデータを圧
縮ビデオデータに付加して圧縮オーデイオデータと多重
化する一方、復号化側ではこの特殊コードに基づい圧縮
オーデイオデータに対する復号化処理を、圧縮ビデオデ
ータ及び圧縮オーデイオデータ間の再生時間差分だけ停
止させるようにした。
In order to solve such a problem, according to the present invention, on the encoding side, it is obtained by compressing and encoding the video signal and the audio signal of a material consisting of a series of the video signal and the audio signal. Start and operation of the compressed video data and compressed audio data, which are dependent only on the time length of the material, and in accordance with a predetermined multiplexing format which is larger by a first buffer amount than a packet in which the size of the first packet is continuous. The special code that gives the stop timing is put everywhere, and when the amount of compressed video data is less than the maximum value that can be generated as the compressed video data of the material for that time length, the dummy data is used for the shortage. Is added to compressed video data and multiplexed with compressed audio data, while decoding The decoding of the compressed audio data based on the special code is on the side, only the reproduction time difference between the compressed video data and compressed audio data to be stopped.

【0011】また本発明においては、符号化部からデー
タ供給部を介して供給される第1の素材を形成する多重
化された圧縮ビデオデータ及び圧縮オーデイオデータを
それぞれ復号する際、第1の素材の時間長に応じた圧縮
ビデオデータ及び圧縮オーデイオデータ間の再生時間差
分だけ第2の復号手段の圧縮オーデイオデータに対する
復号動作を停止させるようにした。
Further, according to the present invention, when decoding the multiplexed compressed video data and compressed audio data forming the first material supplied from the encoding unit via the data supply unit, the first material is decoded. The decoding operation for the compressed audio data by the second decoding means is stopped by the reproduction time difference between the compressed video data and the compressed audio data according to the length of time.

【0012】[0012]

【作用】圧縮ビデオデータ及び圧縮オーデイオデータ
を、素材の時間長にのみ依存し、かつ先頭パケツトのサ
イズが続くパケツトよりも第1のバツフア量だけ大きい
所定の多重化フオーマツトに従つて、動作開始及び動作
停止のタイミングを与える特殊コードを随所に入れなが
ら多重化すると共に、この際圧縮ビデオデータのデータ
量がその時間長に対する素材の圧縮ビデオデータとして
発生できる最大値に満たないときには、不足分だけダミ
ーデータを圧縮ビデオデータに付加して圧縮オーデイオ
データと多重化する一方、復号化側ではこの特殊コード
に基づい圧縮オーデイオデータに対する復号化処理を、
圧縮ビデオデータ及び圧縮オーデイオデータ間の再生時
間差分だけ停止させるようにしたことにより、一連の各
素材の先頭の素材の再生を指定時刻に開始し、その後こ
れら複数の素材を連続的に再生することができる。
The operation of the compressed video data and the compressed audio data is started according to a predetermined multiplexing format which depends only on the time length of the material and which is larger than the succeeding packet by the first buffer amount by the first packet size. A special code that gives the timing of operation stop is put everywhere while being multiplexed, and when the amount of compressed video data is less than the maximum value that can be generated as the compressed video data of the material for that time length, a dummy amount is added. While adding data to compressed video data and multiplexing with compressed audio data, the decoding side performs decoding processing for compressed audio data based on this special code.
By stopping the playback time difference between the compressed video data and compressed audio data, the playback of the first material of a series of each material is started at the specified time, and then these multiple materials are played continuously. You can

【0013】また符号化部からデータ供給部を介して供
給される第1の素材を形成する多重化された圧縮ビデオ
データ及び圧縮オーデイオデータをそれぞれ復号する
際、第1の素材の時間長に応じた圧縮ビデオデータ及び
圧縮オーデイオデータ間の再生時間差分だけ第2の復号
手段の圧縮オーデイオデータに対する復号動作を停止さ
せるようにしたことにより、複数の第1の素材を連続的
に再生することができる。
Further, when decoding the multiplexed compressed video data and compressed audio data forming the first material supplied from the encoding unit through the data supply unit, respectively, depending on the time length of the first material, By stopping the decoding operation for the compressed audio data by the second decoding means by the difference in the reproduction time between the compressed video data and the compressed audio data, it is possible to continuously reproduce the plurality of first materials. .

【0014】[0014]

【実施例】以下図面について、本発明の一実施例を詳述
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0015】〔1〕第1実施例 (1)利用技術 (1−1)MPEG規格でのビデオ圧縮 (1−1−1)仮想バツフアについて MPEG規格によるビデオデータの圧縮では、各フレー
ム(画像)によつて発生するビツト量が変化する。この
ビツト量が多すぎたり少なすぎたりすると、デコーダ側
のバツフアがオーバーフローしたりアンダーフローした
りする可能性がある。このため、一般的にはデコーダの
バツフアをある量に想定し、このバツフアが破綻しない
ようにエンコーダを駆動制御しながら、供給されるビデ
オデータを符号化(エンコード)している。以下、この
ようなバツフアを仮想バツフアと呼ぶ。
[1] First Embodiment (1) Utilization Technology (1-1) Video Compression According to MPEG Standard (1-1-1) Virtual Buffer When compressing video data according to the MPEG standard, each frame (image) is compressed. The bit amount generated due to the change. If this bit amount is too large or too small, the buffer on the decoder side may overflow or underflow. For this reason, generally, the buffer of the decoder is assumed to be a certain amount, and the supplied video data is encoded while driving and controlling the encoder so that the buffer does not fail. Hereinafter, such a buffer will be referred to as a virtual buffer.

【0016】(1−1−2)スタートアツプデイレイに
ついて デコード時において、デコーダバツフアにデータが入力
されると直ちに画像が再生されるわけではなく、ある時
間が経過したのち再生が開始される。これはデコーダバ
ツフアが破綻するのを防ぐためである。以下、この時間
のことをスタート・アツプ・デイレイと呼ぶものとす
る。スタート・アツプ・デレイは、どのようにビデオ素
材を圧縮しても同じになるわけではなく、一般的にはビ
デオ素材によつてそれぞれ異なる。図1に仮想バツフア
4とスタート・アツプ・デイレイについて示す。この図
1においてT1 は1フレーム時間、T2 はスタート・ア
ツプ・デイレイ、Vb は仮想バツフア4の容量をそれぞ
れ示している。またここでは、一定速度でビデオデコー
ダ5にデータを供給することを考えているため、入力デ
ータの累積量を示す線は直線となつている。
(1-1-2) Start-up delay The image is not immediately reproduced when data is input to the decoder buffer at the time of decoding, but the reproduction is started after a certain time has elapsed. This is to prevent the decoder buffer from failing. Hereinafter, this time is referred to as a start up day. The start-up delay is not the same no matter how the video material is compressed, and generally differs depending on the video material. Figure 1 shows the virtual buffer 4 and the start-up delay. In FIG. 1, T 1 is one frame time, T 2 is a start-up delay, and V b is the capacity of the virtual buffer 4. Further, here, since it is considered to supply the data to the video decoder 5 at a constant speed, the line showing the accumulated amount of the input data is a straight line.

【0017】このような仮想バツフア4では、例えば図
2(A)に示すように、所定のスタート・アツプ・デイ
レイT2 よりもデコード開始が遅すぎると、オーバーフ
ローしてしまう危険がある。一方図2(B)に示すよう
に、所定のスタート・アツプ・デイレイT2 よりもデコ
ード開始が早すぎると、アンダーフローしてしまう危険
がある。
In such a virtual buffer 4, as shown in FIG. 2A, for example, if the decoding start is too late with respect to a predetermined start-up delay T 2 , there is a risk of overflow. On the other hand, as shown in FIG. 2 (B), if the decoding starts earlier than the predetermined start-up delay T 2 , there is a risk of underflow.

【0018】(1−1−3)圧縮ビデオデータフアイル
のデータ量について 以下、1つのビデオ素材をエンコードした結果、得られ
たデータ群を「圧縮ビデオデータフアイル」と呼ぶもの
とする。通常、同じ時間長の異なるビデオ素材から生成
される圧縮ビデオデータフアイルのデータ量は同じには
ならず、図3(A)及び(B)からも明らかなように、
圧縮ビデオデータフアイルのデータ量をVV 、ビデオ圧
縮ビツトレートをRV 、仮想バツフアの容量をVb 、ビ
デオ素材の時間長をT4 とすると、次式
(1-1-3) Data amount of compressed video data file Hereinafter, a data group obtained by encoding one video material will be referred to as a "compressed video data file". Usually, the data amount of the compressed video data file generated from different video materials having the same time length is not the same, and as is clear from FIGS. 3A and 3B,
Assuming that the data amount of the compressed video data file is V V , the video compression bit rate is R V , the capacity of the virtual buffer is V b , and the time length of the video material is T 4 , the following equation is obtained.

【数1】 のように、±仮想バツフアの容量Vb 分の範囲で変動す
る。
[Equation 1] As described above, ± capacity of the virtual buffer varies within the range of V b .

【0019】(1−2)圧縮ビデオデータフアイルの連
続再生 1.ビデオデータの圧縮方式としてMPEG方式を採用
する。 2.ビデオデータの圧縮ビツトレートは一定とする。 3.各圧縮ビデオデータフアイルのスタート・アツプ・
デイレイは等しいと限らない。 4.各圧縮ビデオデータフアイルのデータ量はその圧縮
ビツトレートと再生時間(ビデオ素材の時間長)との積
に等しいとは限らない。 という条件のもとで、圧縮ビデオデータフアイルを連続
再生(デコード)するためには、 1.ビデオ・デコーダ・フアイルとして仮想バツフアの
(容量又は数を)3倍以上を用意する。 2.連続再生すべき圧縮ビデオデータフアイル群の先頭
フアイルは、ビデオ・デコーダ・バツフアに仮想バツフ
アの容量分だけデータがたまつてからデコードを開始す
る。 3.最大ビデオ・データ・フアイル量を、その再生時間
内に転送可能な転送レートでデータをデコーダに転送す
る。 という方法が有効である。
(1-2) Continuous reproduction of compressed video data file 1. The MPEG method is adopted as the video data compression method. 2. The compression bit rate of video data is constant. 3. Start up of each compressed video data file
Daylays are not necessarily equal. 4. The data amount of each compressed video data file is not necessarily equal to the product of the compression bit rate and the reproduction time (time length of video material). Under the condition, in order to continuously reproduce (decode) the compressed video data file, 1. Prepare at least three times (capacity or number) of the virtual buffer as the video decoder file. 2. The leading file of the compressed video data file group to be continuously reproduced starts decoding after the amount of data of the virtual buffer has accumulated in the video decoder buffer. 3. Data is transferred to the decoder at a transfer rate that allows transfer of the maximum video data file amount within the playback time. That method is effective.

【0020】以下、この方法に関して説明する。2つの
圧縮ビデオデータフアイルF1 、F2 をこの順に連続再
生をする場合を考える。このとき圧縮ビツトレートをと
もにRv とし、仮想バツフアのサイズをVb とする。ま
た再生時間をそれぞれTF1及びTF2とし、スタート・ア
ツプ・デイレイをそれぞれTd1 、Td2 とする。
The method will be described below. Consider a case where two compressed video data files F 1 and F 2 are continuously reproduced in this order. At this time, the compression bit rate is both R v, and the size of the virtual buffer is V b . The reproduction times are T F1 and T F2 , and the start-up delay is Td 1 and Td 2 , respectively.

【0021】(1−2−1)圧縮ビデオデータフアイル
の連続再生 簡単のため、各圧縮ビデオデータフアイルのデータ量は
その圧縮ビツトレートと再生時間との積に等しい(デー
タ量が特定できる)ものと仮定する。もし、Td1 =T
2 であれば、この2つの圧縮ビデオデータフアイルF
1 、F2 を連続的に圧縮ビツトレートRv の転送速度で
デコーダに供給してやれば、これら2つの圧縮ビデオデ
ータフアイルF1 、F2 は連続的に再生される。ところ
がTd1 <Td2 の場合には、圧縮ビデオデータフアイ
ルF2 のデコード開始がTd2 よりも早くなるため、仮
想バアフアがアンダーフローする危険性がある。
(1-2-1) Continuous reproduction of compressed video data file For simplicity, the data amount of each compressed video data file is equal to the product of the compression bit rate and the reproduction time (the data amount can be specified). I assume. If Td 1 = T
If d 2 , these two compressed video data files F
If 1 and F 2 are continuously supplied to the decoder at the transfer rate of the compression bit rate R v , these two compressed video data files F 1 and F 2 are continuously reproduced. However, when Td 1 <Td 2 , decoding of the compressed video data file F 2 starts earlier than Td 2 , and there is a risk that the virtual buffer will underflow.

【0022】逆にTd1 >Td2 の場合には、圧縮ビデ
オデータフアイルF2 のデコード開始がTd2 よりも遅
くなるため、仮想バアフアがオーバーフローする危険性
がある。この場合発生し得る最大のスタート・アツプ・
デイレイは、「仮想バツフアの容量分のデータを圧縮ビ
ツトレートと等しい転送速度で転送するのに要する時間
(Tb =Vb /Rv )」に等しい。
On the contrary, when Td 1 > Td 2 , the decoding start of the compressed video data file F 2 becomes later than Td 2 , and there is a risk that the virtual buffer overflows. The maximum start-up that can occur in this case
The delay is equal to "time (T b = V b / R v )" required to transfer data corresponding to the capacity of the virtual buffer at a transfer rate equal to the compression bit rate.

【0023】従つて連続再生すべき圧縮ビデオデータフ
アイル群の先頭フアイルにおいては、そのスタート・ア
ツプ・デイレイとは無関係に、この時間だけTb だけ待
つてからデコードを開始するようにすれば、バツフアが
アンダーフローすることはない。つまりビデオデコーダ
バアフアにVb だけデータがたまつてからデコードを開
始するようにすれば良い。また発生し得る最小のスター
ト・アツプ・デイレイは「0」であり、このようなフア
イルをTb だけデコードの開始を遅らせると、最悪Vb
分だけバツフアがオーバーフローしてしまう。そこでビ
デオデコーダバツフアとして、仮想バツフアの2倍用意
しておけばオーバーフローすることはない。
[0023] In the first file of the slave go-between continuous playback to be compressed video data file group, regardless of its start-up-& Deirei, when to start decoding from the wait only this time only T b, buffer Never underflow. That is, the decoding may be started after the data of V b has accumulated in the video decoder buffer. The minimum start-up-& Deirei that can occur is "0", and delaying the start of decoding such files only T b, worst V b
The buffer overflows by the amount. Therefore, if the video decoder buffer is prepared twice as much as the virtual buffer, it will not overflow.

【0024】(1−2−2)データ量不足の考慮 簡単のため、各圧縮ビデオデータフアイルのスタート・
アツプ・デイレイが等しい(スタート・アツプ・デイレ
イが特定できる)ものと仮定し、図4(A)及び(B)
を参照して説明する。一般に、圧縮ビデオデータフアイ
ルのサイズVV は圧縮ビツトレートRvとその再生時間
Tの積に一致しない(VV ≠Rv T)ので、圧縮ビツト
レートと等しい転送速度でデータをデコーダに供給した
場合、入力に要する時間(VV /Rv)と出力(再生)
に要する時間Tとは一致しない。
(1-2-2) Consideration of Data Insufficiency For simplicity, start each compressed video data file.
Assuming that the up delays are the same (the start up delay can be specified), FIGS. 4 (A) and 4 (B)
Will be described with reference to. In general, the size V V of the compressed video data file does not match the product of the compression bit rate Rv and its reproduction time T (V V ≠ R v T). Therefore, when data is supplied to the decoder at a transfer rate equal to the compression bit rate, the input Time required (V V / R v ) and output (playback)
Does not match the time T required for.

【0025】圧縮ビデオデータフアイルF1 において、
デコーダ入力所要時間が出力所要時間よりも長い(VV1
/Rv >TF1)の場合圧縮ビデオデータフアイルF2
デコード開始がスタート・アツプ・デイレイTd2 より
も遅くなるため、バツフアがオーバーフローする危険性
がある。逆に圧縮ビデオフアイルF1 において、入力所
要時間が出力所要時間よりも短い(VV1/Rv <TF1
場合、圧縮ビデオデータフアイルF2 のデコード開始が
スタート・アツプ・デイレイTF2よりも早くなるため、
バツフアがアンダーフローする危険性がある。
In the compressed video data file F 1 ,
Decoder input required time is longer than output required time (V V1
In the case of / R v > T F1 ), the decoding start of the compressed video data file F 2 is later than the start-up delay Td 2 and there is a risk of buffer overflow. On the contrary, in the compressed video file F 1 , the time required for input is shorter than the time required for output (V V1 / R v <T F1 ).
In this case, the decoding of the compressed video data file F 2 will start earlier than the start up delay T F2 .
There is a risk of buffer underflow.

【0026】発生し得る最大の圧縮ビデオデータ量は、
次式
The maximum amount of compressed video data that can be generated is
The following formula

【数2】 である。そこで、実際に得られた圧縮ビデオデータ量が
この値に満たない場合には、そのフアイルの最後に「ゴ
ミ」データDd を付加することにより、任意のフアイル
のサイズVV をVvmax になるようにする。MPEG規
格では、「0」を「ゴミ」データとして追加することが
可能である(以下、このようにフアイルのサイズ調整の
ために追加する「ゴミ」データDd を「パツド」と呼
ぶ)。このようにサイズ調整したフアイルの全データ
を、時間Tで転送できるだけの転送速度(Rv ′=Rv
+Vb /T)でデコーダに入力するようにすれば、図4
(B)に示すように、入力所要時間と出力所要時間がと
もにTとなるため、上述のようなバツフア破綻は発生し
ない。
[Equation 2] Is. Therefore, when the actually obtained compressed video data amount is less than this value, the "dust" data D d is added to the end of the file to set the size V V of any file to V vmax . To do so. According to the MPEG standard, “0” can be added as “dust” data (hereinafter, “dust” data D d added for file size adjustment in this way is referred to as “pad”). A transfer rate (R v ′ = R v), which is sufficient to transfer all the data of the file thus adjusted in size in time T
If input to the decoder at + V b / T)
As shown in (B), since both the input required time and the output required time are T, the buffer failure as described above does not occur.

【0027】しかしながらこの転送速度Rv ′は本来の
転送速度Rv よりも大きいため、連続再生するしないに
かかわらずバツフアがオーバーフローしてしまう危険性
がある。最悪Vb 分だけバツフアがオーバーフローして
しまうので、このような事態を防ぐためには、ビデオデ
コードバツフアとして、仮想バツフアの2倍用意してお
けば良い。以上のことから、結局スタート・アツプ・デ
イレイが不定であり、データ量も不定であることを考慮
すると、ビデオデコーダバツフアとして、仮想バツフア
の(容量又は数の)3倍用意しておけばよいことがわか
る。
However, since this transfer rate R v ′ is higher than the original transfer rate R v, there is a risk that the buffer will overflow regardless of whether continuous reproduction is performed. In the worst case, the buffer overflows by V b, so in order to prevent such a situation, the video decoding buffer should be prepared twice as much as the virtual buffer. From the above, considering that the start-up delay is uncertain and the data amount is uncertain after all, three times (capacity or number) of the virtual buffer should be prepared as the video decoder buffer. I understand.

【0028】(1−3)MPEG規格でのオーデイオ圧
縮 オーデイオデータの場合はビデオデータの場合と異な
り、MPEG規格に基づいて圧縮した場合、ビデオデー
タのスタート・アツプ・デイレイに相当するものは存在
しないし、またその圧縮データ量はその圧縮ビツトレー
トと素材の時間長との積に一致するので、特に工夫しな
くても複数の圧縮オーデイオデータフアイルを連続的に
デコーダに供給してやれば連続的に再生される。
(1-3) Audio compression according to MPEG standard Unlike audio data with audio data, when compressed according to the MPEG standard, there is no equivalent to the start up delay of the video data. However, since the amount of compressed data matches the product of the compressed bit rate and the time length of the material, it can be played back continuously if multiple compressed audio data files are continuously supplied to the decoder without any special measures. It

【0029】(1−4)圧縮データの最小単位 ビデオ信号はフレームという単位で扱われ、これをMP
EG規格に基づいて圧縮した場合は、さらにGOP(Gr
oup Of Picture)という単位で扱われることになる。例
えばNTSC方式の場合、そのフレームは29.97 〔Hz〕
であり、通常1GOPは15フレームで構成される。また
PAL方式の場合は、そのフレームは25〔Hz〕であり、
12フレームからなるGOPと13フレームからなるGOP
とを交互に繰り返す構造にする。
(1-4) Minimum Unit of Compressed Data A video signal is handled in a unit called frame, and MP
When compressed based on the EG standard, GOP (Gr
oup Of Picture) will be treated as a unit. For example, in the case of NTSC system, the frame is 29.97 [Hz]
That is, 1 GOP is normally composed of 15 frames. In the case of the PAL system, the frame is 25 [Hz],
GOP consisting of 12 frames and GOP consisting of 13 frames
The structure is repeated alternately.

【0030】一方オーデイオをMPEG規格に基づいて
圧縮した場合、例えばサンプリング周波数を48〔KHz〕
とし、かつサンプル数を1152とすると、その最小単位は
24〔ms〕となる。このように、圧縮したデータには扱う
ことのできる最小単位というものが存在するため、任意
の時間長のクリツプを厳密に実現することはできない。
ここで簡単のためクリツプの最小時間長単位を1秒とす
る。このような制限を受けても実際の運用上問題になる
ことはほとんどない。このときクリツプの時間長をTと
し、この時間以上で最も近い実現可能なビデオの時間を
v とする。また時間Tv 以下で最もこの時間に近く実
現可能なオーデイオの時間をTa とする。
On the other hand, when audio is compressed based on the MPEG standard, for example, the sampling frequency is 48 [KHz].
And the number of samples is 1152, the minimum unit is
It becomes 24 [ms]. As described above, since there is a minimum unit that can be handled in compressed data, it is not possible to strictly realize a clip with an arbitrary time length.
For the sake of simplicity, the minimum time length unit of the clip is 1 second. Even if such a restriction is imposed, there is almost no problem in actual operation. At this time, the time length of the clip is T, and the closest feasible video time equal to or longer than this time is T v . In addition, the audio time that is the closest to this time and is less than the time T v is T a .

【0031】PAL方式の場合であれば、Tv =Tとな
るが、NTSC方式の場合はTv ≠Tとなつてしまう。
具体的な数値例を図5に示す。なおこの例は、ビデオは
NTSC方式の場合であり、オーデイオは24〔ms〕が最
小単位の場合である。この例の場合、ビデオとオーデイ
オの誤差TVX−Tc は、0から23までの24通り存在す
る。
In the case of the PAL system, T v = T, but in the case of the NTSC system, T v ≠ T.
Specific numerical examples are shown in FIG. In this example, the video is based on the NTSC system, and the audio is based on the minimum unit of 24 [ms]. In the case of this example, there are 24 kinds of error T VX −T c between video and audio, from 0 to 23.

【0032】(2)実施例による符号化復号化装置の構
成 図6において、10は全体として符号化復号化装置を示
し、エンコーダ部11は供給される映像オーデイオ信号
S1に基づく映像信号及びオーデイオ信号をそれぞれ符
号化し、多重化した後、得られた圧縮AV多重化データ
D1をデータ供給部12に供給する。データ供給部12
は、供給される圧縮AV多重化データD1をコントロー
ラ13の制御に基づき記録メデイア14に記録する。ま
たこのデータ供給部12では、記録メデイア14に記録
された圧縮AV多重化データD2をコントローラ13の
制御に基づいてフアイル単位で読み出し、これを一定速
度でデコーダ15のデマルチプレクサ16に供給する。
デマルチプレクサ16は、供給される圧縮AV多重化デ
ータD2を圧縮符号化されたビデオ信号でなる圧縮ビデ
オデータD3と、圧縮符号化されたオーデイオ信号でな
る圧縮オーデイオデータD4とに分け、これらをそれぞ
れビデオデコーダ17及びオーデイオデコーダ18に送
出する。
(2) Configuration of Encoding / Decoding Device According to Embodiment In FIG. 6, reference numeral 10 indicates an encoding / decoding device as a whole, and an encoder unit 11 supplies a video signal and an audio signal based on the supplied video audio signal S1. After being encoded and multiplexed, the compressed AV multiplexed data D1 obtained is supplied to the data supply unit 12. Data supply unit 12
Records the supplied compressed AV multiplexed data D1 in the recording medium 14 under the control of the controller 13. In addition, the data supply unit 12 reads the compressed AV multiplexed data D2 recorded in the recording medium 14 in file units under the control of the controller 13, and supplies this to the demultiplexer 16 of the decoder 15 at a constant speed.
The demultiplexer 16 divides the supplied compressed AV multiplexed data D2 into compressed video data D3 which is a compression-encoded video signal and compressed audio data D4 which is a compression-encoded audio signal, and these are respectively divided. It is sent to the video decoder 17 and the audio decoder 18.

【0033】このときデータ供給部12のコントローラ
13は共有メモリ19を介してコントローラ20に制御
情報信号S3を送出すると共に、コントローラ20は制
御情報信号S3に基づく制御信号S4及びS5をそれぞ
れビデオデコーダ17、オーデイオデコーダ18に供給
するようになされている。かくしてビデオデコーダ17
は、制御信号S4に基づいて圧縮ビデオデータD3をバ
ツフア21に順次蓄え、読み出しながら、これを順次デ
コードして出力するようになされている。同様にしてオ
ーデイオデコーダ18は、制御信号S5に基づいて圧縮
オーデイオデータD4をバツフア22に順次蓄え、読み
出しながら、これを順次デコードして出力するようにな
されている。
At this time, the controller 13 of the data supply unit 12 sends the control information signal S3 to the controller 20 through the shared memory 19, and the controller 20 sends the control signals S4 and S5 based on the control information signal S3 to the video decoder 17 respectively. , And is supplied to the audio decoder 18. Thus the video decoder 17
In accordance with the control signal S4, the compressed video data D3 is sequentially stored in the buffer 21, and while being read, the compressed video data D3 is sequentially decoded and output. Similarly, the audio decoder 18 sequentially stores the compressed audio data D4 in the buffer 22 on the basis of the control signal S5, and while decoding the data, sequentially decodes and outputs the data.

【0034】この実施例の場合、ビデオデコーダ17に
対応するバツフア21としては、仮想バツフアの3倍の
容量を有するものが用いられている。これにより供給さ
れる圧縮ビデオデータD3のスタート・アツプ・デイレ
イの不定や、データ量も不定によつてバツフア21が破
綻(オーバーフロー、アンダーフロー)するのを防止し
得るようになされている。またこの実施例の場合、図7
(B)に示すように、デマルチプレクサ16は、分割し
た圧縮ビデオデータD3及び圧縮オーデイオデータD4
を速度変換することなく、そのままバースト的にビデオ
デコーダ17又はオーデイオデコーダ18に送出するよ
うになされている。
In the case of this embodiment, as the buffer 21 corresponding to the video decoder 17, a buffer having a capacity three times as large as the virtual buffer is used. As a result, it is possible to prevent the start-up delay of the compressed video data D3 supplied from being indefinite and the buffer 21 from failing (overflow or underflow) due to an indefinite amount of data. Further, in the case of this embodiment, FIG.
As shown in (B), the demultiplexer 16 divides the compressed video data D3 and the compressed audio data D4.
Is transmitted as it is to the video decoder 17 or the audio decoder 18 in a burst manner without speed conversion.

【0035】この場合、本来は、所定の圧縮ビツトレー
トで圧縮したデータは、図7(A)に示すように一定速
度で各デコーダ17、18に供給すべきであるが、この
ようにしようとするとデマルチプレクサ25の部分に速
度変換をする回路が必要になる。このため実施例の符号
化復号化装置10では、このようにバースト的にデータ
が各ビデオデコーダ17やオーデイオデコーダ18に入
力されてもバツフア21、22が破綻することなく再生
が可能なように、以下のようにフオーマツトを規定して
いる。
In this case, originally, the data compressed at a predetermined compression bit rate should be supplied to each of the decoders 17 and 18 at a constant speed as shown in FIG. 7A. A circuit for speed conversion is required in the demultiplexer 25. Therefore, in the encoding / decoding device 10 of the embodiment, even if the data is burst-input to the video decoder 17 and the audio decoder 18, the buffers 21 and 22 can be reproduced without being damaged. The format is defined as follows.

【0036】(3)連続再生及び定時再生の実現 この実施例の符号化復号化装置10では、AVの同期を
とる方式としてタイム・スタンプを使用しない暗黙同期
方式を採用している。この場合このような方式でAV同
期をとりながらクリツプを連続再生するためには、 1.クリツプが連続しても各クリツプの頭でビデオデー
タとオーデイオデータの頭がそろうこと 2.クリツプが連続しても各クリツプの再生中にビデオ
データ及びオーデイオデータの各デコーダバツフアが破
綻しないこと の2点を満たせば良い。以下にこれら各条件をそれぞれ
満たすための方法を説明する。
(3) Realization of continuous reproduction and scheduled reproduction In the encoding / decoding device 10 of this embodiment, an implicit synchronization method which does not use a time stamp is adopted as a method for synchronizing AV. In this case, in order to continuously reproduce the clip while maintaining AV synchronization in such a system, Even if the clips are consecutive, the heads of video data and audio data should be aligned at the head of each clip. It suffices to satisfy two points that each decoder buffer of video data and audio data does not fail during reproduction of each clip even if the clips are consecutive. A method for satisfying each of these conditions will be described below.

【0037】(3−1)定時再生及び連続再生実現のた
めのAV頭合わせの方法 現在、デコーダにはいろいろなタイプのものが存在して
いるが、実施例の符号化復号化装置10では、ビデオデ
コーダ17として、「スタート命令を受け取つた後、1.
5 フーム時間(0.05秒)後に再生を開始するもの」を適
用し、オーデイオデコーダとして、「スタート命令を受
け取つた後、すぐに再生を開始するもの(通常のデコー
ダ仕様)」を適用して、以下のシーケンスにより定時再
生を実現している。
(3-1) AV Head-Aligning Method for Realizing Scheduled Playback and Continuous Playback Currently, there are various types of decoders, but in the encoding / decoding device 10 of the embodiment, As the video decoder 17, "1.
"Playback that starts after 5 hours (0.05 seconds)" is applied, and as an audio decoder, "Playback starts immediately after receiving a start command (normal decoder specification)" is applied, and The scheduled playback is realized by the sequence.

【0038】1.再生を開始したい時刻のTS 秒(仮想
バツフア分の圧縮ビデオデータをビデオデコーダ18の
バツフア22に転送するのに要する時間)前に、データ
供給部のコントローラ13(図1)により記録メデイア
14からデータ転送を開始するようにする。このTS
という時間は、後述するように任意のクリツプについて
同一となる。 2.デマルチプレクサ16が最初のクリツプの先頭デー
タを受信したら、デコーダ15のコントローラ20にデ
ータの転送が開始されたことを伝える。 3.(TS −0.05)秒経過したら、コントローラ20か
らビデオデコーダ17に対して再生動作開始命令を出
す。 4.さらに0.05秒経過したら、コントローラ20からオ
ーデイオデコーダ18に対して再生開始命令を出す。
1. Before the time T S seconds (the time required to transfer the compressed video data for the virtual buffer to the buffer 22 of the video decoder 18) at the time when the reproduction is desired to be started, the controller 13 (FIG. 1) of the data supply unit reads the recording medium 14 from the recording medium 14. Start data transfer. This time T S seconds is the same for any clip as described later. 2. When the demultiplexer 16 receives the leading data of the first clip, it notifies the controller 20 of the decoder 15 that the data transfer has started. 3. After (T S -0.05) seconds have elapsed, the controller 20 issues a reproduction operation start command to the video decoder 17. 4. After a further 0.05 second has elapsed, the controller 20 issues a reproduction start command to the audio decoder 18.

【0039】これによりビデオデータ及びオーデイオデ
ータについて同時に所定時刻に再生が開始されるが、こ
のような方法を実現するためには経過時間を計測する必
要がある。しかるにこの実施例の符号化復号化装置10
では、圧縮AV多重化データD1が一定速度でデマルチ
プレクサ16に転送されるので、このデマルチプレクサ
16を通過するデータの数をカウントしていれば、経過
時間を計ることができる。
As a result, the reproduction of the video data and the audio data is started at a predetermined time at the same time, but in order to realize such a method, it is necessary to measure the elapsed time. However, the encoding / decoding device 10 of this embodiment is
Since the compressed AV multiplexed data D1 is transferred to the demultiplexer 16 at a constant speed, the elapsed time can be measured if the number of data passing through the demultiplexer 16 is counted.

【0040】このためこの実施例の場合、カウンタ等を
用いずに、エンコーダ部11が映像信号及びオーデイオ
信号を符号化、多重化する際、データフアイル内に「マ
ルチプレクサ16が各デコーダ17、18に対して動作
命令を出すべき時刻に相当する位置」に目印として特殊
なコード(以下、これをマークと呼ぶ)を入れるように
なされている。またデマルチプレクサ16は、データフ
アイル内からこのマークを検出すると、これをマーク検
出信号S10(図6)としてコントローラ20に伝える
一方、コントローラ20はこのマーク検出信号S10に
基づきその内容に応じてビデオデコーダ17及びオーデ
イオデコーダ18に対して制御信号S4及びS5を送出
するようになされている。これによりこの符号化復号化
装置10では、コントローラ20が上述のようなタイミ
ングでビデオデコーダ17及びオーデイオデコーダ18
をそれぞれ駆動し得るようになされている。
Therefore, in the case of this embodiment, when the encoder section 11 encodes and multiplexes the video signal and the audio signal without using a counter or the like, "the multiplexer 16 is assigned to each of the decoders 17 and 18" in the data file. On the other hand, a special code (hereinafter referred to as a mark) is inserted as a mark at a position "corresponding to the time when the operation command should be issued". Further, when the demultiplexer 16 detects this mark from the data file, the demultiplexer 16 transmits this to the controller 20 as a mark detection signal S10 (FIG. 6), while the controller 20 responds to the contents based on the mark detection signal S10 in accordance with the contents of the video decoder. The control signals S4 and S5 are sent to the audio decoder 17 and the audio decoder 18. As a result, in the encoding / decoding device 10, the controller 20 causes the video decoder 17 and the audio decoder 18 to operate at the timing as described above.
Can be driven respectively.

【0041】なおこのマークとしては、再生圧縮多重化
データD2の中から識別することができるように、MP
EGシステム規格によつて、決してマークは再生圧縮多
重化データD2には現れないことが保証されている4バ
イトのコードを使用している。この実施例の場合、ビデ
オデコーダ17にデコードを開始させるビデオデコード
開始マーク、及びオーデイオデコーダ18にデコーダを
開始させるオーデイオデコード開始マークとして、それ
ぞれ16進数表示で「000001BD」、「000001BF」なるコー
ドを使用している。
As this mark, MP is used so that it can be identified from the reproduction compression multiplexed data D2.
According to the EG system standard, the mark uses a 4-byte code which is guaranteed not to appear in the reproduction compression multiplexed data D2. In the case of this embodiment, the codes "000001BD" and "000001BF" in hexadecimal notation are used as the video decoding start mark that causes the video decoder 17 to start decoding and the audio decoding start mark that causes the audio decoder 18 to start decoding. are doing.

【0042】また圧縮AV多重化データD2の転送速度
を5〔Mbps〕とし、仮想バツフアの容量分の圧縮ビデオ
データD4をビデオデコーダ17のバツフア21に転送
するのに圧縮再生多重化データD2を4〔Mbit〕供給す
る必要があるものとして、図8に示すように、先頭から
次式
Further, the transfer rate of the compressed AV multiplexed data D2 is set to 5 [Mbps], and the compressed reproduction multiplexed data D2 is transferred to the buffer 21 of the video decoder 17 to transfer the compressed video data D4 corresponding to the capacity of the virtual buffer. [Mbit] As shown in FIG. 8, it is necessary to supply the following formula from the beginning.

【数3】 の位置にビデオデコード開始マークM1 「000001BD」を
置き、その次式
(Equation 3) Place the video decoding start mark M 1 “000001BD” at the position of

【数4】 後にオーデイオデコード開始マークM2 「000001BF」を
置いている。次に連続再生実現のためのAV頭合わせの
方法について説明する。
[Equation 4] The audio decoding start mark M 2 "000001BF" is placed later. Next, an AV head alignment method for realizing continuous reproduction will be described.

【0043】上述の「(1−4)圧縮データの最小単
位」のところで説明したように、ビデオデータとオーデ
イオデータとの再生時間は一致しない。例えば時間が6
秒であるクリツプでは、0.006 秒だけビデオの方が再生
時間が長くなる。従つて6秒のクリツプを2つ連続して
再生すると、最初のクリツプのAV同期が完全にとれて
いたとしても、2つ目のクリツプはオーデイオ信号の再
生開始が0.006 秒だけ早くなつてしまう。この程度の差
であれば、実際上は何ら違和感を感じることはないが、
クリツプの連続数が増えるごとにこの差は蓄積されてい
くため、例えは10個も連続すると、オーデイオとビデオ
との差は0.06秒にもなつてしまい、違和感を感じるよう
になる。このためこの実施例の符号化復号化装置10で
は、以下の方法により各クリツプの頭においてAVの頭
が合うようにしている。 1.再生を開始してからオーデイオの再生時間Tc が経
過したら、オーデイオデコーダ18を停止させる。 2.さらに再生時間差(Tv −Tc )だけ時間が経過し
たら、再びオーデイオデコーダ18を動作させる。 3.この操作を各クリツプに対して繰り返す。 この場合この方法を実現するためには、定時再生の場合
と同様に経過時間を計測する必要がある。
As described above in "(1-4) Minimum unit of compressed data", the reproduction times of the video data and the audio data do not match. For example, time is 6
For clips that are seconds, the video will take 0.006 seconds longer to play. Therefore, when two 6-second clips are continuously reproduced, even if the first clip is completely AV-synchronized, the audio reproduction of the second clip is delayed by 0.006 seconds. With this difference, you don't actually feel any strangeness,
This difference accumulates as the number of consecutive clips increases, so if you continue 10 clips, for example, the difference between audio and video will be 0.06 seconds, and you will feel something strange. Therefore, in the encoding / decoding device 10 of this embodiment, the head of each clip is made to match the head of AV by the following method. 1. When the audio reproduction time T c has elapsed since the reproduction was started, the audio decoder 18 is stopped. 2. Further, when the time elapses by the reproduction time difference ( Tv - Tc ), the audio decoder 18 is operated again. 3. This operation is repeated for each clip. In this case, in order to realize this method, it is necessary to measure the elapsed time as in the case of the regular playback.

【0044】このためこの実施例では、上述の場合と同
様にして、ここでもエンコーダ部11が各データフアイ
ルの所定位置に所定のマークを付加するようになされて
いる。例えば図5によりT=6〔s〕のクリツプの場
合、再生時間差が0.006 秒であるから、オーデイオデコ
ード開始マークM1 の前の位置にオーデイオデコーダ1
8にデコードを停止させるオーデイオデコード停止マー
クMn1〜Mn23 (図8)を入れる。この場合圧縮オーデ
イオデータの最小単位が24〔ms〕である場合、再生時間
差は0〜23〔ms〕までの24通り存在するが、差が0〔m
s〕の場合は、オーデイオデコーダ18を停止させる必
要がないのでオーデイオデコード停止マークMn1〜M
n23 としては23個用意すれば良い。
Therefore, in this embodiment, as in the case described above, the encoder section 11 also adds a predetermined mark to a predetermined position of each data file. For example, if the 5 of the clip of T = 6 [s], since the reproduction time difference is 0.006 seconds, audio decoder prior to the position of the audio decoding start mark M 1 1
In FIG. 8, audio decoding stop marks M n1 to M n23 (FIG. 8) for stopping decoding are inserted. In this case, when the minimum unit of compressed audio data is 24 [ms], there are 24 reproduction time differences from 0 to 23 [ms], but the difference is 0 [m
s], it is not necessary to stop the audio decoder 18, so audio decoding stop marks M n1 to M
As n23 , 23 pieces should be prepared.

【0045】このためこのエンコーダ部11では、オー
デイオデコード停止マークMn1〜Mn23 として、例えば
「000001C1」〜「000001D7」までの23個のコードをそれ
ぞれ1〜23〔ms〕の再生時間差に対応させている。従つ
てこれらのコードは、5〔Mbps〕×0.001 〔s〕=625
〔byte〕毎に現れることになる。またこのエンコーダ5
は、これら23個のコードのうちどれに従つてデコードを
停止させれば良いかを示すマーク(以下、これを停止マ
ーク指定マークM3 と呼ぶ、例えば「000001D8」)を各
クリツプの最後に付加し、この後に有効となるオーデイ
オデコード停止マークM4 を続けて付加するようになさ
れている。例えばT=6〔s〕のクリツプの場合、再生
時間差が0.006 〔s〕であるから、オーデイオデコード
停止マークMn6を有効にさせる必要があるため、このク
リツプの最後尾の8〔byte〕は「000001D8000001C6」と
なる。
For this reason, in the encoder section 11, as the audio decoding stop marks M n1 to M n23 , for example, 23 codes "000001C1" to "000001D7" are associated with reproduction time differences of 1 to 23 [ms]. ing. Therefore, these codes are 5 [Mbps] x 0.001 [s] = 625
It will appear every [byte]. Also this encoder 5
Is added to the end of each clip with a mark (hereinafter, referred to as a stop mark designation mark M 3 , for example, “000001D8”) indicating which of these 23 codes should be used for stopping the decoding. After that, the effective audio decoding stop mark M 4 is continuously added. For example, in the case of a clip of T = 6 [s], since the reproduction time difference is 0.006 [s], it is necessary to validate the audio decoding stop mark M n6 . Therefore, the last 8 [byte] of this clip is " 000001D8000001C6 ”.

【0046】クリツプ1(T=6〔s〕)とクリツプ2
(T=7〔s〕)とを連続再生する場合、クリツプ1の
停止マーク指定マークM3 からオーデイオデコード停止
マークMn6が有効であることがわかつているので、クリ
ツプ2のオーデイオデコード停止マークMn6がデマルチ
プレクサ16において検出された時点で、オーデイオデ
コーダ18に停止命令を出し、さらにクリツプ2のオー
デイオデコード開始マークM2 が検出された時点で、オ
ーデイオデコーダ18に開始命令を出すようになされて
いる。なおクリツプの連続再生を開始する前に有効な各
停止マークMn1〜Mn23 をクリアするため、「0000000
0」にしておくことにより先頭クリツプの停止マークM
n1〜Mn23 で停止命令が出されるのを防止し得るように
なされている。
Clip 1 (T = 6 [s]) and clip 2
When continuously reproducing (T = 7 [s]), it is known from the stop mark designation mark M 3 of the clip 1 that the audio decoding stop mark M n6 is valid, and therefore the audio decoding stop mark M of the clip 2 is reproduced. When n6 is detected by the demultiplexer 16, a stop command is issued to the audio decoder 18, and when the audio decode start mark M 2 of the clip 2 is detected, a start command is issued to the audio decoder 18. There is. It should be noted that in order to clear each valid stop mark M n1 to M n23 before starting the continuous clip reproduction, "0000000"
By setting it to "0", the stop mark M of the first clip
A stop command is issued at n1 to Mn23 .

【0047】(3−2)連続再生実現のためのバツフア
使用方法 (3−2−1)圧縮AV多重化フオーマツトの基本構造 以下、同一種類のデータのかたまりを「パケツト」と呼
ぶことにする。ここで種類とは、ビデオ、オーデイオ及
びパケツトの3つを意味する。各パケツトの頭にその種
類を表すためのヘツダを付ける。またいくつかのパケツ
トの集まりを「パツク」と呼ぶことにする。パツクはパ
ケツトとは異なり、何らかの識別ヘツダがつくわけでは
ない。ここでこの実施例の符号化復号化装置10では、
以下に示す3種類のパツクを使用している。 1.標準パツク……原則として、ビデオパケツト、オー
デイオパケツト、パツドパケツト各1つずつから構成さ
れる。 2.先頭パツク……仮想バツフア分だけビデオパケツト
のデータ量が標準パツクよりも大きい。 3.残余パツク……上述の2種類のパツクに含まれなか
つた残りのデータから構成されている。
(3-2) Method of Using Buffer for Realizing Continuous Playback (3-2-1) Basic Structure of Compressed AV Multiplexing Format Hereinafter, a block of the same type of data will be referred to as a “packet”. Here, the type means three types of video, audio and packet. Attach a head to the head of each packet to indicate its type. A group of several packets will be called a "pack". Unlike a packet, a packet does not have any identifying header. Here, in the encoding / decoding device 10 of this embodiment,
The following three types of packs are used. 1. Standard packet: As a general rule, it consists of one video packet, one audio packet, and one packet packet. 2. First pack ... The amount of data in the video packet is larger than the standard pack by the virtual buffer. 3. Residual pack: It consists of the remaining data that is not included in the above-mentioned two types of packs.

【0048】この実施例の場合、1つのクリツプをエン
コードして得られる1つの圧縮AV多重化データフアイ
ルは、図9(A)に示すように、その先頭に1つの「先
頭パツク」が存在し、その後複数個の「標準パツク」が
連続し、最後に1つの「残余パツク」がくるように構成
されている。なおデータ制御用のマークは全て、先頭パ
ツクのビデオパケツト内に位置することになるため、パ
ケツト・ヘツダの内容にマークが挿入されて、パケツト
・ヘツダが認識できなくなるようなことは発生しない。
In the case of this embodiment, one compressed AV multiplexed data file obtained by encoding one clip has one "head pack" at its head as shown in FIG. 9 (A). After that, a plurality of "standard packs" are arranged in series, and finally one "remaining pack" comes. Since all the data control marks are located in the video packet of the head packet, the marks are not inserted in the contents of the packet header and the packet header cannot be recognized.

【0049】(3−2−2)パケツト・ヘツダ 各パケツトの種類を識別するためのヘツダとしては、圧
縮データの中には決して現れないパターンを採用する必
要がある。このためこの符号化復号化装置10では、MP
EGシステム規格においてヘツダ用に確保されているパタ
ーンを採用している。実際上例えば、以下のようなパタ
ーンを用いている。なお、各ヘツダは16進数表示してお
り、そのサイズは4バイトである。 ビデオ・パケツト・ヘツダ ……000001E3 オーデイオ・パケツト・ヘツダ ……000001C0 パツド・パケツト・ヘツダ ……000001BE かくしてデマルチプレクサ16では、入力されてくる圧
縮AV多重化データD2の任意の連続する4バイトを調
べて、それがビデオ・パケツト・ヘツダであれば以下に
続くデータをビデオ・デコーダ17に振り分け、オーデ
イオ・パケツト・ヘツダであれば以下に続くデータをオ
ーデイオ・デコーダ18に振り分け、パツド・パケツト
・データであれば以下に続くデータを破棄するようにな
されている。
(3-2-2) Packet / Header As a header for identifying the type of each packet, it is necessary to adopt a pattern that never appears in the compressed data. Therefore, in this encoding / decoding device 10, MP
The pattern reserved for Hedda in the EG system standard is adopted. In practice, for example, the following pattern is used. Each header is displayed in hexadecimal and its size is 4 bytes. Video packet header ... 000001E3 Audio packet header ... 000001C0 Pad packet header ... 000001BE Thus, the demultiplexer 16 checks any continuous 4 bytes of the input compressed AV multiplexed data D2. If it is a video packet header, the following data is distributed to the video decoder 17, and if it is an audio packet header, the data that follows is distributed to the audio decoder 18, whether it is a packet packet data. For example, the following data is discarded.

【0050】(3−2−3)圧縮ビツト・レート値等に
関する制限 時間長Tのクリツプを、仮想バツフア量Vb 、ビデオ圧
縮ビツト・レートRvで圧縮した場合、発生し得る最大
の圧縮ビデオ・データ量は、上述のように次式
(3-2-3) Limitation on compression bit rate value, etc. The maximum compressed video that can occur when a clip with a time length T is compressed with a virtual buffer amount V b and a video compression bit rate R v.・ The data volume is

【数5】 で与えられる。このためこの実施例の符号化復号化装置
10では、実際に得られた圧縮ビデオ・データ量がこの
値に満たない場合は、その最後にパツド・データを付加
することにより、任意のフアイルのサイズをVvmaxにな
るようにしている。このようにサイズ調整したあとの全
データを、時間Tで転送する場合、ビデオ・データ転送
速度Rv ′は次式によつて表される。
(Equation 5) Given in. Therefore, in the encoding / decoding device 10 of this embodiment, if the actually obtained compressed video data amount is less than this value, the pad data is added to the end of the compressed video data amount so that the size of an arbitrary file is reduced. Is set to V vmax . When all the data after the size adjustment is transferred in the time T, the video data transfer rate R v ′ is expressed by the following equation.

【数6】 v ′が最大Rvmax′となるのはクリツプの時間長が最
小Tmin の場合である。
(Equation 6) R v ′ becomes maximum R v max ′ when the clip time length is minimum T min .

【数7】 圧縮AV多重化データ転送速度はRm は、少なくとも圧
縮ビデオ・データ転送速度と圧縮オーデイオ・データ転
送速度の和よりも大きくなければならない。オーデイオ
に関してはその圧縮ビツト・レートに等しい値の転送速
度でよい。よつて、これらのパラメータは次式を満たさ
なければならない。(正確には、ヘツダやマーク分も考
慮する必要があるが、ここでは簡単のため省略する)
(Equation 7) Compressed AV multiplexed data transfer rate is R m, it must be greater than the sum of the least compressed video data rate compressed audio data rate. For audio, a transfer rate equal to its compression bit rate is sufficient. Therefore, these parameters must satisfy the following equation. (To be precise, it is necessary to consider the head and mark, but here it is omitted for simplicity.)

【数8】 (Equation 8)

【数9】 [Equation 9]

【0051】実際上この符号化復号化装置10では、R
v 、Rm 、Ra 、Tmin 、Vb 等のパラメータは任意の
値が可能なわけではなく、その用途やハードウエアの都
合等により制限が加わる。このためこの符号化復号化装
置10では、これらパラメータの中で制限の強いものか
ら決めていき、最終的に(9)式を満たすように順次選
定している。
In practice, in this encoding / decoding device 10, R
Parameters such as v , R m , R a , T min , and V b cannot be set to arbitrary values, and are limited depending on their use and hardware convenience. Therefore, in the encoding / decoding device 10, the parameter having the strongest limitation is determined among these parameters, and the parameters are sequentially selected so as to finally satisfy the equation (9).

【0052】(3−2−4)パケツト・サイズの算出 圧縮ビツト・レートの値等のパラメータ値が与えられた
場合に、各パケツトのサイズをいくつにすればよいのか
を算出するための式を以下に示す。まず、以下の計算で
使用する変数を列挙する。 ビデオ圧縮ビツト・レート ……Rv 〔Mbps〕 ビデオ・データ転送速度 ……Rv ′〔Mbps〕 オーデイオ圧縮ビツト・レート ……Ra 〔kbps〕 圧縮AV多重化データ転送速度 ……Rm 〔Mbps〕 クリツプの時間長(1秒単位) ……T〔s〕 最小クリツプの時間長(1秒単位)……Tmin 〔s〕 T以上でTに最も近く現実可能なビデオの再生時間……
v 〔s〕 Tv 以下でTに最も近く現実可能なオーデイオの再生時
間……Ta 〔s〕 クリツプを転送するのに要する時間……Tt 〔s〕 仮想バツフア分の圧縮ビデオ・データが転送されるのに
要する時間……TS 〔s〕 仮想バツフア量 ……Vb 〔Mbit〕 1クリツプの圧縮ビデオ・データ量……Vv 〔byte〕 1クリツプの圧縮オーデイオ・データ量……Va 〔byt
e〕 1クリツプのパツド・データ量 ……Vp 〔byte〕 1クリツプの総データ量 ……Vm 〔byte〕 全マーク・データ量 ……Vk 〔byte〕
(=4×27〔byte〕〕) パケツト・ヘツダ・サイズ ……Lh 〔byte〕
(=4〔byte〕) 標準ビデオ・パケツト・サイズ(ヘツダは含まない)…
…Lv 〔byte〕 標準オーデイオ・パケツト・サイズ(ヘツダは含まな
い)……La 〔byte〕 標準パツド・パケツト・サイズ(ヘツダは含まない)…
…Lp 〔byte〕 標準パツク・サイズ(ヘツダを含む) …
…Lm 〔byte〕 パツク数(残余パツクを除く) …
…P *標準パケツトとは標準パツク内のパケツトであること
を表す。 残余ビデオ・パケツト・サイズ(ヘツダは含まない)…
…Lv ′〔byte〕 残余オーデイオ・パケツト・サイズ(ヘツダは含まな
い)……La ′〔byte〕 残余パツド・パケツト・サイズ(ヘツダは含まない)…
…Lp ′〔byte〕 *残余パケツトとは残余パツク内のパケツトであること
を表す。 単位変換係数(Mbit→byte)……Cm =125000=1000×1000/8 単位変換係数(kbit→byte)……Ck =125 =1000/8
(3-2-4) Calculating Packet Size When a parameter value such as a compression bit rate value is given, an equation for calculating the size of each packet should be calculated. It is shown below. First, the variables used in the following calculations are listed. Video compression bit rate …… R v [Mbps] Video data transfer rate …… R v ′ [Mbps] Audio compression bit rate …… R a [kbps] Compressed AV multiplexed data transfer rate …… R m [Mbps ] Clip time length (1 second unit) ...... T [s] Minimum clip time length (1 second unit) ...... T min [s] Video reproduction time that is closest to T and is closest to T above T ……
T v [s] T v, which is the closest to T and is the most realistic audio playback time. T a [s] Time required to transfer the clip ... T t [s] Compressed video data for a virtual buffer Time required for data transfer ... T S [s] Virtual buffer amount ... V b [Mbit] 1 clip compressed video data amount ... V v [byte] 1 clip compressed audio data amount ... V a [byt
e] 1 clip pad data amount ・ ・ ・ V p [byte] 1 clip total data amount ・ ・ ・ V m [byte] All mark data amount ・ ・ ・ V k [byte]
(= 4 x 27 [byte]] Packet / header size ...... L h [byte]
(= 4 [byte]) Standard video packet size (heads not included) ...
… L v [byte] Standard audio packet size (heads not included)… L a [byte] Standard pad packet size (heads not included)…
… L p [byte] Standard pack size (including header)…
... L m [byte] Number of packs (excluding residual packs) ...
... P * Standard packet means a packet within a standard packet. Residual video packet size (heads not included) ...
… L v ′ [byte] Residual audio packet size (head not included) …… L a ′ [byte] Residual pad packet size (head not included)…
... L p ′ [byte] * The residual packet means a packet in the residual pack. Units conversion factor (Mbit → byte) ...... C m = 125000 = 1000 × 1000/8 units conversion factor (kbit → byte) ...... C k = 125 = 1000/8

【0053】Tを1秒単位とした場合、簡単のため、任
意の時間長のクリツプにおいて標準パケツトのサイズL
v およびLa がそれぞれ等しくなるようにするために
は、次式を満たすようにRv 、Ra 、Lv 、La を選択
すればよい。
When T is set in units of 1 second, for the sake of simplicity, the size L of the standard packet in a clip with an arbitrary time length is used.
In order to make v and L a equal to each other, R v , R a , L v , and L a may be selected so as to satisfy the following equation.

【数10】 [Equation 10]

【数11】 [Equation 11]

【数12】 通常、Rv はせいぜい 0.1〔Mbps〕単位であり、Ra
64、128 、192 、256、384 〔kbps〕のいずれかであ
る。従つて、上式を満たすような整数Lv 及びLa は存
在する。圧縮データの取り得る最小単位の制限により発
生する端数データ、つまりビデオにおけるRv (Tv
T)及びオーデイオにおけるRa (Ta −T)分のデー
タで残余パツクを構成するようにし、残りのデータ、つ
まり、ビデオにおけるRv T+Vb 及びオーデイオにお
けるRa Tで標準パツクを初期パツクを構成するように
する。
(Equation 12) Normally, R v is at most 0.1 [Mbps] unit, and R a is
One of 64, 128, 192, 256, and 384 [kbps]. Therefore, there exist integers L v and L a that satisfy the above equation. Fractional data generated by the limitation of the minimum unit of compressed data, that is, R v (T v − in video)
T) and R a (T a −T) worth of data in the audio form a residual pack, and the remaining data, that is, R v T + V b in the video and R a T in the audio are used as the initial pack. Try to configure.

【0054】このようにするとRa 及びRv に関して次
式が成り立つ。
In this way, the following equation holds for R a and R v .

【数13】 (Equation 13)

【数14】 [Equation 14]

【数15】 (Equation 15)

【数16】 (14)式及び(16)式よりRv 、Ra 、La を与えれ
ば、Lv を算出できる。オーデイオ・データ量Va
[Equation 16] (14) and (16) from R v, R a, be given a L a, it can be calculated L v. The amount of audio data V a is

【数17】 ビデオ・データ量Vv [Equation 17] Video data volume V v

【数18】 多重化データ量Vm (Equation 18) The amount of multiplexed data V m is

【数19】 よつて、パツド・データ量Vp は、[Formula 19] Therefore, the pad data amount V p is

【数20】 (Equation 20)

【数21】 よつて[Equation 21] Yotsute

【数22】 [Equation 22]

【数23】 (Equation 23)

【0055】(24)式よりLp 及びLp ′が求められ
る。Ta <Tの場合、次式を満たす整数K及びLa ″が
存在する。
From equation (24), L p and L p ′ are obtained. When T a <T, there are integers K and L a ″ that satisfy the following equation.

【数24】 このとき標準パツクの最後からK+1番目のパツクに関
して、オーデイオ・パケツトのデータ・サイズをLa
a ″とし、このパケツトの直後にサイズがLa ″−L
h のパツト・パケツトを置くようにする。そして、標準
パツクの最後からK個のパツク関して、オーデイオ・パ
ケツトの代わりに同サイズのパツド・パケツトを置くよ
うにする。また、残余パツクに関して、次式が成り立
つ。
[Equation 24] At this time, the data size of the audio packet is set to L a − for the K + 1th pack from the end of the standard pack.
L a ″, and immediately after this packet, the size is L a ″ −L
Make sure to put the h -packet / packet. Then, for the K packs from the end of the standard pack, put the same size of pad pack in place of the audio pack. In addition, the following equation holds for the residual pack.

【数25】 (Equation 25)

【数26】 (Equation 26)

【0056】(3−2−5)連続再生実現のための条件 上述の「(1−2)圧縮ビデオ・データ・フアイルの連
続再生」で説明したように、圧縮ビデオデータだけであ
つても連続再生するためには、ビデオ・デコーダ・バツ
フアを仮想バツフアの3倍用意する必要がある。以下に
多重化した場合にも、ビデオ・デコーダ・バツフア及び
オーデイオ・デコーダ・バツフアをそれぞれ仮想バツフ
アの3倍用意すれば連続再生できる条件を示す。まず
「(1−2−1)スタート・アツプ・デイレイ不定の考
慮」で示したように、各クリツプのスタート・アツプ・
デイレイが不定であることに対処するためには、仮想バ
ツフアの2倍の容量が必要となる。図11の「データ出
力折れ線の推移可能領域」をカバーするのがこの2倍バ
ツフアである。よつて、残りの1倍バツフア内でデータ
入力折れ線を推移させるようにできれば、3倍バツフア
で連続再生が可能となる。
(3-2-5) Conditions for realizing continuous reproduction As described in "(1-2) Continuous reproduction of compressed video data file", even if only compressed video data is continuous, In order to reproduce, it is necessary to prepare three times as many video decoder buffers as virtual buffers. Even in the case of multiplexing, the conditions for continuous reproduction are shown if the video decoder buffer and the audio decoder buffer are prepared three times as much as the virtual buffer. First, as shown in “(1-2-1) Consideration of indefinite start up / day delay”, the start up / up
In order to deal with the indefinite delay, twice the capacity of the virtual buffer is required. This double buffer covers the "transmissible area of the data output broken line" in FIG. Therefore, if the data input broken line can be changed within the remaining 1 × buffer, continuous reproduction can be performed with the 3 × buffer.

【0057】ビデオ・デコーダ・バツフア17には、1
つのクリツプのデータだけが入つている時間と2つのク
リツプのデータが入つている時間が存在する。2つのク
リツプのデータが入つている時間は、もしTt =Tv
あれば、各クリツプの最初のTS 時間だけである。この
時間は、任意のクリツプについて先頭パツクを転送して
いる時間であり、先頭以外にオーデイオ・パケツトやパ
ツド・パケツトが含まれないため、図10からも明らか
なように、入力折れ線は必ず直線よりも下になる。つ
まり、1倍バツフア内をデータ入力折れ線が出ることは
ない。1つのクリツプのデータだけが入つている時間
(TS だけ経過した後の時間)に関しては、図10にお
いて、直線と直線の間に入るようにふればよい。そ
のためには以下の条件を満たすようにすればよい。 条件1:直線と直線が原点以外で交わらないように
する。
The video decoder buffer 17 has 1
There are times when only the data of one clip is entered and times when the data of two clips are entered. The time that two clips are populated is only the first T S time of each clip if T t = T v . This time is the time when the top packet is transferred for an arbitrary clip, and since the audio packet and the pad packet are not included other than the beginning, as is clear from FIG. 10, the input polygonal line is always a straight line. Is also below. That is, the data input polygonal line does not appear in the 1 × buffer. Regarding the time when only one clip of data is contained (the time after the elapse of T S ), it may be arranged so as to fall between the straight lines in FIG. For that purpose, the following condition may be satisfied. Condition 1: Make sure that the straight lines do not intersect at points other than the origin.

【0058】つまり任意のt>0についてv3 (t)>
1 (t)が成り立つようにすればよい。
That is, for any t> 0, v 3 (t)>
It suffices that v 1 (t) holds.

【数29】 [Equation 29]

【数30】 条件2:直線と直線がビデオ・データを転送し終わ
る時刻te まで交わらないようにする。つまりv4 (t
e )<v2 (te )が成り立つようにすればよい。
[Equation 30] Condition 2: The straight line and the straight line do not intersect until the time t e when the transfer of the video data ends. That is, v 4 (t
e) <v 2 (t e ) it is sufficient to hold.

【数31】 [Equation 31]

【数32】 [Equation 32]

【数33】 [Expression 33]

【0059】なお、各直線〜の方程式は以下の通り
である。また、厳密にはヘツダやマークの分も考慮する
必要があるが、圧縮データのデータ量に比べて非常に小
さいので無視する。
The equations for each straight line are as follows. Strictly speaking, it is necessary to consider the amount of headers and marks, but since it is very small compared to the amount of compressed data, it is ignored.

【数34】 (Equation 34)

【数35】 [Equation 35]

【数36】 [Equation 36]

【数37】 従つて、仮想バツフアの3倍で連続再生を実現するため
には、Tt =Tv として、かつ式(30)、(33)式を満
たすように各パラメータを選択すれば良く、実際上この
実施例の符号化復号化装置10でもこのように各パラメ
ータが選定されている。
(37) Therefore, in order to realize continuous reproduction at three times the virtual buffer, it is sufficient to set T t = T v and select each parameter so as to satisfy the equations (30) and (33). Also in the encoding / decoding device 10 of the embodiment, each parameter is selected in this way.

【0060】(3−2−6)連続再生可能な圧縮AV多
重化フオーマツトの例 Rm =5〔Mbps〕、Rv =4〔Mbps〕、Ra =256 〔kb
ps〕、Tmin =6〔s〕、Vb =4〔Mbps〕という要求
を実現するフオーマツトを示す。ただし、ビデオはNT
SC方式とする。なおこの場合、(9)式の右辺は5
〔Mbps〕であり、左辺は次式
(3-2-6) Example of compressed AV multiplexing format capable of continuous reproduction R m = 5 [Mbps], R v = 4 [Mbps], Ra = 256 [kb
ps], T min = 6 [s], and V b = 4 [Mbps] are shown in the format. However, the video is NT
The SC method is used. In this case, the right side of equation (9) is 5
[Mbps], the left side is the following formula

【数38】 となるため、(9)式は満足されており、これらの値が
選択可能であることがわかる。例えばクリツプ時間長T
=6〔s〕の場合、図5から、 Tt =Tv =6.006 〔s〕、Ta =6〔s〕 適当にLa =1000〔byte〕として(あまり大きくすると
オーデイオ・バツフアが破綻する可能性がある。逆に小
さくしすぎると標準パツク数が増えてヘツダによるオー
バ・ヘツドが増えてしまう)、(14)式より標準パツク
数を求める。
(38) Therefore, the expression (9) is satisfied, and it is understood that these values can be selected. For example, clip time length T
= 6 [s], from FIG. 5, T t = T v = 6.006 [s], T a = 6 [s] Appropriately L a = 1000 [byte] (If too large, the audio buffer fails. On the contrary, if it is too small, the number of standard packs will increase and the over head due to the header will increase).

【数39】 (16)式より標準ビデオ・パケツトのサイズを求める。[Formula 39] Calculate the size of the standard video packet from equation (16).

【数40】 (23)式よりパツド・パケツトのサイズを求める。(Equation 40) Calculate the pad / packet size from equation (23).

【数41】 よつて、Lp =293 〔byte〕、Lp ′=74〔byte〕とな
る。
[Formula 41] Therefore, L p = 293 [byte] and L p ′ = 74 [byte].

【0061】(27)式より残余ビデオ・パケツトのサイ
ズを求める。
The size of the residual video packet is obtained from the equation (27).

【数42】ここでTa =Tなので、残余オーデイオ・パ
ケツトのサイズは0である。以上の値より標準パツクの
サイズを求める。
[Equation 42] Since T a = T, the size of the residual audio packet is zero. The size of the standard pack is calculated from the above values.

【数43】このとき(30)式は満たされていることが分
かる。 0.92 >0.8 このとき(33)式も満たされていることが分かる。 23.2<24 以上の結果、得られるフオーマツトを図12に示す。同
様にして、クリツプ時間長7秒の場合についても算出
し、その結果を図13に示す。この場合は、Ta ≠Tと
なるため、最後の標準パツクは他の標準パツクとは異な
りTa −Tに相当する分のパツド・パケツトが存在す
る。各パラメータの値が決まれば、クリツプの内容に無
関係に任意のクリツプについてクリツプ時間長ごとに、
図12及び図13のようなフオーマツト・テーブルを作
成することができるので、実際に圧縮AVデータを多重
化する場合、各エンコーダで得られた圧縮データをこの
テーブルに従つて多重化してやればよい。
[Equation 43] At this time, it is understood that the equation (30) is satisfied. 0.92> 0.8 At this time, it can be seen that the equation (33) is also satisfied. 23.2 <24 The resulting format is shown in Fig. 12. Similarly, the calculation was performed for a clip time length of 7 seconds, and the result is shown in FIG. In this case, since T a ≠ T, the last standard pack is different from the other standard packs, and there are pad packets corresponding to T a -T. Once the value of each parameter is determined, regardless of the clip contents, for any clip, for each clip time length,
Since the format table as shown in FIGS. 12 and 13 can be created, when the compressed AV data is actually multiplexed, the compressed data obtained by each encoder may be multiplexed according to this table.

【0062】このためこの実施例の符号化復号化装置1
0では、エンコーダ部11にこのようなフオーマツト・
テーブルが予め格納されており、エンコーダ部11がこ
のフオーマツト・テーブルに基づいて符号化された映像
信号と符号化されたオーデイオ信号とを多重化するよう
になされている。
Therefore, the encoding / decoding device 1 of this embodiment is
At 0, the encoder unit 11
A table is stored in advance, and the encoder unit 11 multiplexes the coded video signal and the coded audio signal based on the format table.

【0063】(4)第1実施例の動作 以上の構成において、この符号化復号化装置10では、
エンコーダ部11に供給される映像オーデイオ信号S1
に基づく映像信号及びオーデイオ信号を、このエンコー
ダ部11において符号化し、これらを上述の第1の多重
化フオーマツトに従つて多重化することにより圧縮AV
多重化データD1を形成すると共に、この際各クリツプ
毎に、ビデオデコード開始マークM1 、オーデイオデコ
ーダ開始マークM2 、オーデイオ停止マークMS1〜M
S23 、停止マーク指定マークM3 及びオーデイオデコー
ド停止マークM4 (以下、これらをまとめてデコーダ制
御マークM1 〜M4 、MS1〜MS23 と呼ぶ)をそれぞれ
所定位置に付加し、これをデータ供給部12に供給して
記録メデイア14に記録させる。この圧縮AV多重化デ
ータD1はコントローラ13の制御に基づいてデータフ
アイル単位で読み出され、圧縮AV多重化データD2と
してデマルチプレクサ16に供給され、このデマルチプ
レクサ16において圧縮ビデオデータD3と圧縮オーデ
イオデータD4とに分割されて、それぞれビデオデコー
ダ17又はオーデイオデコーダ18に送出される。この
際デマルチプレクサ16は、このデータフアイルの中か
らデコーダ制御マークM1 〜M4 、MS1〜MS23 を検出
すると、検出結果に基づくマーク検出信号S10をコン
トローラ20に送出する。コントローラ20はこのマー
ク検出信号S10に基づいて制御信号S4、S5をそれ
ぞれビデオデコーダ17及びオーデイオデコーダ18に
それぞれ出力してビデオデコーダ17を駆動制御するこ
とにより、ビデオデコーダ17及びオーデ.オデコーダ
18を必要に応じて開始させ、又は停止させる。またこ
の際コントローラ20はオーデイオデコーダ18の再生
動作をクリツプの時間長に応じた所定時間停止させる。
(4) Operation of the First Embodiment With the above configuration, the encoding / decoding device 10
Video audio signal S1 supplied to the encoder unit 11
A video signal and an audio signal based on the above are encoded in this encoder unit 11, and these are multiplexed according to the above-mentioned first multiplexing format to obtain a compressed AV.
To form a multiplexed data D1, this time for each clip, the video decoding start mark M 1, audio decoder start mark M 2, audio stop mark M S1 ~M
S23, stop mark designated mark M 3 and audio decoding stop mark M 4 (hereinafter, collectively decoder control mark M 1 ~M 4 and, M S1 ~M S23 and referred) was added to each predetermined position, which data The data is supplied to the supply unit 12 and recorded on the recording medium 14. The compressed AV multiplexed data D1 is read out in data file units under the control of the controller 13 and supplied to the demultiplexer 16 as compressed AV multiplexed data D2, and the demultiplexer 16 compresses the compressed video data D3 and the compressed audio data. It is divided into D4 and sent to the video decoder 17 or the audio decoder 18, respectively. In this case the demultiplexer 16 detects this decoder control mark from the data file M 1 ~M 4, M S1 ~M S23, and sends the mark detection signal S10 based on the detection result to the controller 20. Based on the mark detection signal S10, the controller 20 outputs control signals S4 and S5 to the video decoder 17 and the audio decoder 18, respectively, to drive and control the video decoder 17, so that the video decoder 17 and the audio decoder. The O-decoder 18 is started or stopped as needed. At this time, the controller 20 stops the reproduction operation of the audio decoder 18 for a predetermined time according to the clip time length.

【0064】このようにこの符号化復号化装置10で
は、エンコーダ側において、各クリツプ毎にクリツプの
時間長に応じた制御用のデコーダ制御マークM1
4 、MS1〜MS23 を入れると共に、デコーダ側ではこ
れらデコーダ制御マークM1 〜M4、MS1〜MS23 に基
づいてビデオデコーダ17及びオーデイオデコーダ18
を駆動制御するため、各クリツプ毎に完結してAVの頭
を合わせることができる。またこの符号化復号化装置1
0では、ビデオデコーダ17のバツフア21が仮想バツ
フアの(容量又は数の)3倍に設定されており、さらに
この3倍のバツフア21を破綻させないように、クリツ
プの時間長のみに依存し、かつ先頭ビデオパケツトのサ
イズが他のビデオパケツトよりも仮想バツフアの容量分
だけ大きい特徴を有する上述の第1の多重化フオーマツ
トに従つて、エンコーダ11が符号化されたビデオ信号
と、符号化されたオーデイオ信号とを多重化するため、
ビデオデコーダ17のバツフア21が破綻することはな
い。従つて「(3)連続再生の実現」において提示した
2つの条件を満たすため、AV同期をとりながら連続再
生することができる。
As described above, in the encoding / decoding device 10, the encoder control side decoder control marks M 1 to M for control according to the clip time length for each clip.
M 4 and M S1 to M S23 are inserted, and at the decoder side, the video decoder 17 and the audio decoder 18 are based on these decoder control marks M 1 to M 4 and M S1 to M S23.
Since it is driven and controlled, the head of the AV can be adjusted by completing each clip. Also, this encoding / decoding device 1
At 0, the buffer 21 of the video decoder 17 is set to three times (capacity or number) of the virtual buffer, and furthermore, it depends only on the time length of the clip so as not to break the buffer 21 of three times, and The encoder 11 encodes the encoded video signal and the encoded audio signal according to the above-described first multiplexing format, which has the feature that the size of the first video packet is larger than the other video packets by the capacity of the virtual buffer. To multiplex
The buffer 21 of the video decoder 17 will not fail. Therefore, since the two conditions presented in “(3) Realization of continuous reproduction” are satisfied, continuous reproduction can be performed while achieving AV synchronization.

【0065】従つて例えばクリツプ素材としてテレビジ
ヨン放送CMを適用し、これをMPEG圧縮して、上述
の多重化フオーマツトに従つてAV多重化したのち、H
DD等の大容量かつランダム・アクセス可能な記録メデ
イアに記録しておき、CM放送のタイム・テーブルに従
つて指定のCM圧縮データ群を指定時刻にデコーダに供
給するようにすれば、指定時刻にかつ連続にCMを放送
することができる。
Accordingly, for example, a television broadcasting CM is applied as a clip material, this is MPEG-compressed, AV-multiplexed according to the above-described multiplexing format, and then H
By recording in a large-capacity, random-accessible recording medium such as a DD, and supplying a designated compressed CM data group to a decoder at a designated time according to a time table of a CM broadcast, the designated time can be set. Moreover, CM can be continuously broadcast.

【0066】(5)第1実施例の動作 以上の構成によれば、エンコーダ側において、各クリツ
プ毎にクリツプの時間長に応じた制御用のデコーダ制御
マークM1 〜M4 、MS1〜MS23 を入れると共に、デコ
ーダ側ではこれらデコーダ制御マークM1 〜M4 、MS1
〜MS23 に基づいてビデオデコーダ17及びオーデイオ
デコーダ18を駆動制御する一方、エンコーダ部5が、
クリツプの時間長のみに依存し、かつ先頭ビデオパケツ
トのサイズが他のビデオパケツトよりも仮想バツフアの
容量分だけ大きい特徴を有する第1の多重化フオーマツ
トに従つて、符号化されたビデオ信号と、符号化された
オーデイオ信号とを多重化するようにしたことにより、
各クリツプのAVの頭を合わせ得ると共にバツフア21
が破綻するのを防止でき、かくして複数のクリツプを指
定された時刻に連続的に再生し得る符号化復号化装置を
実現できる。
(5) Operation of the First Embodiment According to the above configuration, on the encoder side, the decoder control marks M 1 to M 4 , M S1 to M for control according to the clip time length are provided for each clip. S23 is inserted, and at the decoder side, these decoder control marks M 1 to M 4 , M S1
The video decoder 17 and the audio decoder 18 are drive-controlled based on M S23 , while the encoder unit 5
A coded video signal and a coded video signal according to a first multiplexing format which has a characteristic that it depends only on the time length of the clip and the size of the leading video packet is larger than the other video packets by the capacity of the virtual buffer. By multiplexing with the audio signal
AV heads of each clip can be matched and buffer 21
Can be prevented, and thus an encoding / decoding device capable of continuously reproducing a plurality of clips at a designated time can be realized.

【0067】〔2〕第2実施例 図6との対応部分に同一符号を付して示す図14は、第
2実施例による符号化復号化装置40を示し、デコーダ
41のコントローラ42が、その内部メモリに予め記憶
している各クリツプ長におけるビデオとオーデイオとの
再生時間差データに基づいてビデオデコーダ17及びオ
ーデイオデコーダ18の駆動を制御することを除いて第
1実施例の符号化復号化装置10(図6)とほぼ同様に
構成されている。すなわちこの符号化復号化装置40の
場合、エンコーダ43は、供給される映像音声信号S1
に基づく映像信号及びオーデイオ信号をそれぞれ符号化
し、これらを上述の第1の多重化フオーマツトに従つて
多重化し、圧縮AV多重化データD30としてデータ供
給部44に送出する。データ供給部44は、供給される
圧縮AV多重化データD30をコントローラ45の制御
に基づいて記録メデイア14に記録する。またデータ供
給部44は、コントローラ45の制御に基づいて、記録
メデイア14に記録された圧縮AV多重化データD31
をクリツプ単位で再生し、これをデコーダ41のデマル
チプレクサ46に送出する。デマルチプレクサ46は、
供給される圧縮AV多重化データD31を圧縮映像デー
タD4及び圧縮オーデイオデータD5に順次分割し、こ
れらをそれぞれビデオデコーダ17及びオーデイオデコ
ーダ18に送出する。この際コントローラ45は、この
クリツプの時間長を時間情報信号S30として共有メモ
リ19を介してデコーダ41のコントローラ42に供給
する。
[2] Second Embodiment FIG. 14 in which parts corresponding to those in FIG. 6 are assigned the same reference numerals shows an encoding / decoding device 40 according to the second embodiment, in which the controller 42 of the decoder 41 The encoding / decoding device 10 of the first embodiment except that the driving of the video decoder 17 and the audio decoder 18 is controlled based on the reproduction time difference data between the video and the audio at each clip length stored in the internal memory in advance. The configuration is almost the same as (FIG. 6). That is, in the case of this encoding / decoding device 40, the encoder 43 is provided with the supplied audio / video signal S1.
The video signal and the audio signal based on the above are encoded respectively, these are multiplexed according to the above-mentioned first multiplexing format, and the compressed AV multiplexed data D30 is sent to the data supply unit 44. The data supply unit 44 records the supplied compressed AV multiplexed data D30 in the recording medium 14 under the control of the controller 45. The data supply unit 44 also controls the compressed AV multiplexed data D31 recorded in the recording medium 14 under the control of the controller 45.
Are reproduced in clip units and sent to the demultiplexer 46 of the decoder 41. The demultiplexer 46 is
The supplied compressed AV multiplexed data D31 is sequentially divided into compressed video data D4 and compressed audio data D5, which are sent to a video decoder 17 and an audio decoder 18, respectively. At this time, the controller 45 supplies the time length of this clip as the time information signal S30 to the controller 42 of the decoder 41 via the shared memory 19.

【0068】このコントローラ42は、クリツプの各時
間長におけるビデオとオーデイオとの間の再生時間差デ
ータを予め記憶しており、供給された時間情報信号S3
0に基づくこのクリツプの時間長と、記憶している対応
する再生時間差データとに基づく制御信号S4、S5を
生成し、これらをそれぞれビデオデコーダ17及びオー
デイオデコーダ18に送出する。これによりこのコント
ローラ42は、データ供給部44のコントローラ45が
記録メデイア14からこのクリツプを再生し始めてから
オーデイオの再生時間Tc が経過した後オーデイオデコ
ーダ18を停止させ、この後再生時間差(Tv−Tc )
だけ時間が経過すると再びオーデイオデコーダ18を動
作させることを各クリツプに対して順次行うようにオー
デイオデコーダ18を駆動制御するようになされ、かく
して各クリツプの頭においてビデオとオーデイオの頭を
合わせさせ得るようになされている。以上の構成におい
て、この符号化復号化装置40では、データ供給部44
のコントローラ45が記録メデイア14に記録された圧
縮AV多重化データD31をクリツプ単位で再生する
際、このクリツプの再生時間情報をデコーダ41のコン
トローラ42に供給する。
This controller 42 stores in advance the reproduction time difference data between the video and audio in each clip time length, and the supplied time information signal S3.
The control signals S4 and S5 are generated based on the time length of this clip based on 0 and the stored corresponding reproduction time difference data, and these are sent to the video decoder 17 and the audio decoder 18, respectively. As a result, the controller 42 stops the audio decoder 18 after the audio reproduction time Tc has elapsed since the controller 45 of the data supply section 44 started reproducing the clip from the recording medium 14, and then the reproduction time difference (Tv-Tc). )
After a lapse of time, the audio decoder 18 is driven and controlled so that the audio decoder 18 is operated again for each clip in sequence so that the video and audio heads can be matched at the head of each clip. Has been done. With the above configuration, in the encoding / decoding device 40, the data supply unit 44
When the controller 45 reproduces the compressed AV multiplexed data D31 recorded in the recording medium 14 in clip units, reproduction time information of this clip is supplied to the controller 42 of the decoder 41.

【0069】一方コントローラ42は、コントローラ4
5から供給されるこのクリツプの再生時間時間情報と、
コントローラ42自体がもつている再生時間差データと
に基づいて、各クリツプの頭においてビデオとオーデイ
オの頭が合うようにビデオデコーダ17及びオーデイオ
デコーダ18を駆動制御する。このようにこの符号化復
号化装置40では、各クリツプ単位でこのようなオーデ
イオデコーダ18の駆動制御が行われるため、各クリツ
プ内で完結してビデオ及びオーデイオ間の再生時間差を
補正することができ、かくしてAV同期を取ることがで
きる。またビデオデコーダ17のバツフア21が仮想バ
ツフアの容量の3倍のものに選定されており、エンコー
ダ43が供給これら符号化されたビデオ信号及びオーデ
イオ信号を第1の多重化フオーマツトに従つて多重化す
るため、第1実施例の場合と同様にAV同期を取りなが
ら各クリツプを連続再生することができる。
On the other hand, the controller 42 is the controller 4
Playback time information of this clip supplied from 5,
Based on the reproduction time difference data held by the controller 42 itself, the video decoder 17 and the audio decoder 18 are drive-controlled so that the head of each clip and the head of the audio match. As described above, in the encoding / decoding device 40, since the drive control of the audio decoder 18 is performed for each clip unit, the reproduction time difference between video and audio can be corrected completely within each clip. Thus, AV synchronization can be achieved. Also, the buffer 21 of the video decoder 17 is selected to have a capacity three times the capacity of the virtual buffer, and the encoder 43 multiplexes the supplied video signal and audio signal according to the first multiplexing format. Therefore, as in the case of the first embodiment, each clip can be continuously reproduced while AV synchronization is achieved.

【0070】以上の構成によれば、ビデオデコーダ17
のバツフア21の容量を仮想バツフアの3倍にし、かつ
エンコーダ43が、供給される符号化されたビデオ信号
及びオーデイオ信号を第1の多重化フオーマツトに従つ
て多重化するように設定すると共に、データ供給部44
のコントローラ45が記録メデイア14に記録された圧
縮AV多重化データD31をクリツプ単位で再生する
際、このクリツプの再生時間情報をデコーダ41のコン
トローラ42に供給し、かつコントローラ41がこの再
生時間時間情報と、コントローラ41自体がもつている
再生時間差データとに基づいてビデオデコーダ17及び
オーデイオデコーダ18を、各クリツプの頭においてビ
デオとオーデイオの頭が合うように駆動制御するように
したことにより、第1実施例の符号化復号化装置10と
同様に複数のクリツプを指定された時刻に連続的に再生
し得る符号化復号化装置を実現できる。
According to the above configuration, the video decoder 17
The capacity of buffer 21 of the virtual buffer is three times as large as the virtual buffer, and encoder 43 is set to multiplex the supplied encoded video and audio signals according to the first multiplexing format. Supply unit 44
When reproducing the compressed AV multiplexed data D31 recorded in the recording medium 14 by the controller 45, the reproduction time information of this clip is supplied to the controller 42 of the decoder 41, and the controller 41 also reproduces this reproduction time information. And the playback time difference data held by the controller 41 itself, the video decoder 17 and the audio decoder 18 are driven and controlled so that the head of each clip and the head of the audio match. Similar to the encoding / decoding apparatus 10 of the embodiment, an encoding / decoding apparatus capable of continuously reproducing a plurality of clips at a designated time can be realized.

【0071】[0071]

【発明の効果】上述のように本発明によれば、符号化側
では、一連のビデオ信号及びオーデイオ信号からなる素
材の当該ビデオ信号及びオーデイオ信号を圧縮符号化す
ることにより得られた圧縮ビデオデータ及び圧縮オーデ
イオデータを、素材の時間長のみに依存し、かつ先頭パ
ケツトのサイズが続くパケツトよりも第1のバツフア量
だけ大きい所定の多重化フオーマツトに従つて動作開始
及び動作停止のタイミングを与える特殊コードを随所に
いれながら多重化すると共に、この際圧縮ビデオデータ
のデータ量がその時間長に対する素材の圧縮ビデオデー
タとして発生できる最大値に満たないときには、不足分
だけダミーデータを圧縮ビデオデータに付加して圧縮オ
ーデイオデータと多重化する一方、符号化側ではこの特
殊コードに基づいて圧縮オーデイオデータに対する符号
化処理を圧縮ビデオデータ及び圧縮オーデイオデータ間
の再生時間差分だけ停止させるようにしたことにより、
各素材の再生を指定時刻に開始でき、かつ複数の素材を
連続的に再生することのできる符号化装置、復号化装置
及び復号化符号化装置を実現できる。また符号化部から
データ供給部を介して供給される第1の素材を形成する
多重化された圧縮ビデオデータ及び圧縮オーデイオデー
タをそれぞれ復号する際、素材の時間長に応じた圧縮ビ
デオデータ及び圧縮オーデイオデータ間の再生時間差分
だけ圧縮オーデイオデータに対する復号処理を停止する
ようにしたことにより、複数の素材を連続的に再生する
ことのできる符号化装置、復号化装置及び復号化符号化
装置を実現できる。
As described above, according to the present invention, on the encoding side, compressed video data obtained by compression-encoding the video signal and audio signal of a material consisting of a series of video signals and audio signals. And the compressed audio data that depends on only the time length of the material and gives the timing of starting and stopping the operation in accordance with a predetermined multiplex format that is larger than the packet with the size of the leading packet by the first buffer amount. While putting the code everywhere, when the amount of compressed video data is less than the maximum value that can be generated as the compressed video data of the material for that time length, dummy data is added to the compressed video data by the shortage. While it is multiplexed with compressed audio data, the encoding side is based on this special code. By which is adapted to stop the encoding process only reproduction time difference between the compressed video data and compressed audio data to compression audio data,
It is possible to realize an encoding device, a decoding device, and a decoding encoding device that can start reproduction of each material at a specified time and can continuously reproduce a plurality of materials. When decoding the multiplexed compressed video data and compressed audio data forming the first material supplied from the encoding unit via the data supply unit, the compressed video data and the compressed video data according to the time length of the material are decoded. Since the decoding process for compressed audio data is stopped by the reproduction time difference between audio data, an encoding device, a decoding device and a decoding encoding device capable of continuously reproducing a plurality of materials are realized. it can.

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

【図1】仮想バツフアとスタート・アツプ・デイレイの
説明に供するグラフ及びブロツク図である。
FIG. 1 is a graph and block diagram for explaining a virtual buffer and a start up delay.

【図2】スタート・アツプ・デイレイとバツフアの破綻
の説明に供するグラフである。
FIG. 2 is a graph used to explain the failure of Start Up Daylay and Buffer.

【図3】圧縮ビデオデータフアイルのデータ量の説明に
供するグラフである。
FIG. 3 is a graph for explaining a data amount of a compressed video data file.

【図4】データ量とデータ転送速度の調整の説明に供す
るグラフである。
FIG. 4 is a graph for explaining adjustment of a data amount and a data transfer rate.

【図5】ビデオ及びオーデイオの実現可能時間を示す図
表である。
FIG. 5 is a chart showing feasible times of video and audio.

【図6】第1実施例の符号化復号化装置の構成を示すブ
ロツク図である。
FIG. 6 is a block diagram showing the configuration of the encoding / decoding device in the first embodiment.

【図7】デマルチプレクス後のデータ転送形態を示すブ
ロツク図である。
FIG. 7 is a block diagram showing a data transfer mode after demultiplexing.

【図8】デコーダ制御マークの説明に供する略線図であ
る。
FIG. 8 is a schematic diagram for explaining a decoder control mark.

【図9】圧縮AV多重化データフアイルのフオーマツト
を示す略線図である。
FIG. 9 is a schematic diagram showing a format of a compressed AV multiplexed data file.

【図10】ビデオデコーダへの入力の推移を示すグラフ
である。
FIG. 10 is a graph showing a transition of an input to a video decoder.

【図11】連続再生時のビデオデコーダバツフアの使用
状況の説明に供するグラフである。
FIG. 11 is a graph for explaining the usage status of the video decoder buffer during continuous reproduction.

【図12】圧縮AV多重化フオーマツトの例を示す図表
である。
FIG. 12 is a chart showing an example of a compressed AV multiplexing format.

【図13】圧縮AV多重化フオーマツトの例を示す図表
である。
FIG. 13 is a chart showing an example of a compressed AV multiplexing format.

【図14】第1実施例の符号化復号化装置の構成を示す
ブロツク図である。
FIG. 14 is a block diagram showing the configuration of an encoding / decoding device according to the first embodiment.

【図15】圧縮AV多重化フオーマツトの例を示す図表
である。
FIG. 15 is a chart showing an example of a compressed AV multiplexing format.

【図16】圧縮AV多重化フオーマツトの例を示す図表
である。
FIG. 16 is a chart showing an example of a compressed AV multiplexing format.

【図17】タイム・スタンプ方式の説明に供するブロツ
ク図である。
FIG. 17 is a block diagram for explaining a time stamp method.

【図18】タイム・スタンプ方式の場合の連続再生の説
明に供する略線図である。
FIG. 18 is a schematic diagram for explaining continuous reproduction in the time stamp method.

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

10、40……符号化復号化装置、11、43……エン
コーダ、12、44……データ供給部、13、20、4
2、45……コントローラ、14……記録メデイア、1
6、46……デマルチプレクサ、17……ビデオデコー
ダ、18……オーデイオデコーダ、21、22……バツ
フア、S4、S5……制御信号、S10……マーク検出
信号、D1、D2……圧縮AV多重化データ、M1 ……
ビデオデコード開始マーク、M2 ……オーデイオデコー
ド開始マーク、M3 ……停止マーク指定マーク、M4
…オーデイオデコーダ停止マーク、MS1〜MS23 ……オ
ーデイオデコード停止マーク。
10, 40 ... Encoding / decoding device, 11, 43 ... Encoder, 12, 44 ... Data supply unit, 13, 20, 4
2, 45 ... Controller, 14 ... Recording medium, 1
6, 46 ... Demultiplexer, 17 ... Video decoder, 18 ... Audio decoder, 21, 22 ... Buffer, S4, S5 ... Control signal, S10 ... Mark detection signal, D1, D2 ... Compressed AV multiplex Data, M 1 ……
Video decoding start mark, M 2 ... Audio decoding start mark, M 3 ... Stop mark designation mark, M 4 ...
… Audio decoder stop mark, M S1 to M S23 …… Audio decode stop mark.

【数27】 [Equation 27]

【数28】 [Equation 28]

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成7年4月19日[Submission date] April 19, 1995

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0001[Correction target item name] 0001

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0001】[0001]

【目次】以下の順序で本発明を説明する。 産業上の利用分野 従来の技術(図17) 発明が解決しようとする課題(図17及び図18) 課題を解決するための手段(図1〜図16) 作用(図1〜図16) 実施例(図1〜図16) 発明の効果[Table of Contents] The present invention will be described in the following order. Industrial Application Conventional Technology (FIG. 17) Problems to be Solved by the Invention (FIGS. 17 and 18) Means for Solving the Problems (FIGS. 1 to 16) Actions (FIGS. 1 to 16) Embodiments (FIGS. 1-16) Effect of the invention

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0018[Correction target item name] 0018

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0018】(1−1−3)圧縮ビデオデータフアイル
のデータ量について 以下、1つのビデオ素材をエンコードした結果、得られ
たデータ群を「圧縮ビデオデータフアイル」と呼ぶもの
とする。通常、同じ時間長の異なるビデオ素材から生成
される圧縮ビデオデータフアイルのデータ量は同じには
ならず、図3(A)及び(B)からも明らかなように、
圧縮ビデオデータフアイルのデータ量をV、ビデオ圧
縮ビツトレートをR、仮想バツフアの容量をV、ビ
デオ素材の時間長をTとすると、次式
(1-1-3) Data amount of compressed video data file Hereinafter, a data group obtained by encoding one video material will be referred to as a "compressed video data file". Usually, the data amount of the compressed video data file generated from different video materials having the same time length is not the same, and as is clear from FIGS. 3A and 3B,
Assuming that the data amount of the compressed video data file is V v , the video compression bit rate is R v , the capacity of the virtual buffer is V b , and the time length of the video material is T 4 ,

【数1】 のように、±仮想バツフアの容量V分の範囲で変動す
る。
[Equation 1] As described above, the capacitance fluctuates within the range of ± the virtual buffer capacity V b .

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0024[Name of item to be corrected] 0024

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0024】(1−2−2)データ量不足の考慮 簡単のため、各圧縮ビデオデータフアイルのスタート・
アツプ・デイレイが等しい(スタート・アツプ・デイレ
イが特定できる)ものと仮定し、図4(A)及び(B)
を参照して説明する。一般に、圧縮ビデオデータフアイ
ルのサイズVは圧縮ビツトレートR、とその再生時
間Tの積に一致しない(V、≠R、T)ので、圧縮
ビツトレートと等しい転送速度でデータをデコーダに供
給した場合、入力に要する時間(V、/R、)と出
力(再生)に要する時間Tとは一致しない。
(1-2-2) Consideration of Data Insufficiency For simplicity, start each compressed video data file.
Assuming that the up delays are the same (the start up delay can be specified), FIGS. 4 (A) and 4 (B)
Will be described with reference to. In general, the size V v of the compressed video data file does not match the product of the compression bit rate R v and its playback time T (V v , ≠ R v , T), so the data is supplied to the decoder at a transfer rate equal to the compression bit rate. In this case, the time required for input (V v , / R v ) does not match the time T required for output (reproduction).

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0026[Correction target item name] 0026

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0026】発生し得る最大の圧縮ビデオデータ量V
vmaxは、次式
Maximum amount of compressed video data V that can occur
vmax is the following formula

【数2】 である。そこで、実際に得られた圧縮ビデオデータ量が
この値に満たない場合には、そのフアイルの最後に「ゴ
ミ」データDを付加することにより、任意のフアイル
のサイズVをVvmaxになるようにする。MPEG
規格では、「0」を「ゴミ」データとして追加すること
が可能である(以下、このようにフアイルのサイズ調整
のために追加する「ゴミ」データDを「パツド」と呼
ぶ)。このようにサイズ調整したフアイルの全データ
を、時間Tで転送できるだけの転送速度(R′=R
+V/T)でデコーダに入力するようにすれば、図4
(B)に示すように、入力所要時間と出力所要時間がと
もにTとなるため、上述のようなバツフア破綻は発生し
ない。
[Equation 2] Is. Therefore, when the actually obtained compressed video data amount is less than this value, the "dust" data D d is added to the end of the file to set the size V v of any file to V vmax . To do so. MPEG
According to the standard, “0” can be added as “dust” data (hereinafter, “dust” data D d added for file size adjustment in this way is referred to as “pad”). A transfer speed (R v ′ = R v), which is sufficient to transfer all the data of the file thus adjusted in size in the time T.
If input to the decoder at + V b / T)
As shown in (B), since both the input required time and the output required time are T, the buffer failure as described above does not occur.

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0042[Correction target item name] 0042

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0042】また圧縮AV多重化データD2の転送速度
を5〔Mbps〕とし、仮想バツフアの容量分の圧縮ビ
デオデータD4をビデオデコーダ17のバツフア21に
転送するのに圧縮再生多重化データD2を4〔Mbi
t〕供給する必要があるものとして、図8に示すよう
に、先頭から次式
Further, the transfer rate of the compressed AV multiplexed data D2 is set to 5 [Mbps], and the compressed reproduction multiplexed data D2 is transferred to the buffer 21 of the video decoder 17 to transfer the compressed video data D4 corresponding to the capacity of the virtual buffer. [Mbi
t] As shown in FIG. 8, it is necessary to supply the following equation from the beginning.

【数3】 の位置にビデオデコード開始マークM「000001
BD」を置き、その次式
(Equation 3) Video decoding start mark M 1 “000001” at the position
BD ”, and the next formula

【数4】 後にオーデイオデコード開始マークM「000001
BF」を置いている。次に連続再生実現のためのAV頭
合わせの方法について説明する。
[Equation 4] Later, audio decoding start mark M 2 "000001"
BF ". Next, an AV head alignment method for realizing continuous reproduction will be described.

【手続補正6】[Procedure correction 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0044[Correction target item name] 0044

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0044】このためこの実施例では、上述の場合と同
様にして、ここでもエンコーダ部11が各データフアイ
ルの所定位置に所定のマークを付加するようになされて
いる。例えば図5によりT=6〔s〕のクリツプの場
合、再生時間差が0.006秒であるから、オーデイオ
デコード開始マークMの前の位置にオーデイオデコー
ダ18にデコードを停止させるオーデイオデコード停止
マークMs1〜Ms23(図8)を入れる。この場合圧
縮オーデイオデータの最小単位が24〔ms〕である場
合、再生時間差は0〜23〔ms〕までの24通り存在
するが、差が0〔ms〕の場合は、オーデイオデコーダ
18を停止させる必要がないのでオーデイオデコード停
止マークMs1〜Ms23としては23個用意すれば良
い。
Therefore, in this embodiment, as in the case described above, the encoder section 11 also adds a predetermined mark to a predetermined position of each data file. For example, in the case of a clip of T = 6 [s] as shown in FIG. 5, since the reproduction time difference is 0.006 seconds, the audio decoding stop mark M that causes the audio decoder 18 to stop decoding at a position before the audio decoding start mark M 1. Insert s1 to Ms23 (Fig. 8). In this case, when the minimum unit of compressed audio data is 24 [ms], there are 24 reproduction time differences from 0 to 23 [ms], but when the difference is 0 [ms], the audio decoder 18 is stopped. Since it is not necessary, 23 audio decoding stop marks M s1 to M s23 may be prepared.

【手続補正7】[Procedure Amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0045[Name of item to be corrected] 0045

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0045】このためこのエンコーダ部11では、オー
デイオデコード停止マークMs1〜Ms23として、例
えば「000001C1」〜「00001D7」までの
23個のコードをそれぞれ1〜23〔ms〕の再生時間
差に対応させている。従つてこれらのコードは、5〔M
bps〕×0.001〔s〕=625〔byte〕毎に
現れることになる。またこのエンコーダ5は、これら2
3個のコードのうちどれに従つてデコードを停止させれ
ば良いかを示すマーク(以下、これを停止マーク指定マ
ークMと呼ぶ、例えば「000001D8」)を各ク
リツプの最後に付加し、この後に有効となるオーデイオ
デコード停止マークMを続けて付加するようになされ
ている。例えばT=6〔s〕のクリツプの場合、再生時
間差が0.006〔s〕であるから、オーデイオデコー
ド停止マークMs6を有効にさせる必要があるため、こ
のクリツプの最後尾の8〔byte〕は「000001
D8000001C6」となる。
[0045] Therefore in the encoder unit 11, to correspond to the reproduction time difference audio as a decode stop mark M s1 ~M s23, for example "000001C1" - "00001D7" respectively 1-23 [ms] 23 pieces of code to ing. Therefore, these codes are 5 [M
It appears every bps] × 0.001 [s] = 625 [byte]. Also, this encoder 5 is
Three mark indicating which of whether the Supporting connexion decode it by stopping of the code (hereinafter, this is referred to as stop mark specified mark M 3, for example, "000001D8") was added at the end of each clip, this The audio decoding stop mark M 4, which becomes effective later, is continuously added. For example, in the case of a clip of T = 6 [s], since the reproduction time difference is 0.006 [s], it is necessary to validate the audio decoding stop mark M s6, and therefore the last 8 [byte] of this clip. Is "000001
D8000001C6 ".

【手続補正8】[Procedure Amendment 8]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0046[Correction target item name] 0046

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0046】クリツプ1(T=6〔s〕)とクリツプ2
(T=7〔s〕)とを連続再生する場合、クリツプ1の
停止マーク指定マークMからオーデイオデコード停止
マークMs6が有効であることがわかつているので、ク
リツプ2のオーデイオデコード停止マークMs6がデマ
ルチプレクサ16において検出された時点で、オーデイ
オデコーダ18に停止命令を出し、さらにクリツプ2の
オーデイオデコード開始マークMが検出された時点
で、オーデイオデコーダ18に開始命令を出すようにな
されている。なおクリツプの連続再生を開始する前に有
効な各停止マークMs1〜Ms23をクリアするため、
「00000000」にしておくことにより先頭クリツ
プの停止マークMs1〜Ms23で停止命令が出される
のを防止し得るようになされている。
Clip 1 (T = 6 [s]) and clip 2
In the case of continuously reproducing (T = 7 [s]), it is known from the stop mark designation mark M 3 of the clip 1 that the audio decoding stop mark M s6 is valid. Therefore, the audio decoding stop mark M of the clip 2 is known. When s6 is detected by the demultiplexer 16, a stop command is issued to the audio decoder 18, and when the audio decoding start mark M2 of the clip 2 is detected, a start command is issued to the audio decoder 18. There is. In addition, in order to clear the effective stop marks M s1 to M s23 before starting the continuous reproduction of the clip,
It has been made so as to prevent the stop command is issued at the beginning clip of the stop mark M s1 ~M s23 by previously to "00000000".

【手続補正9】[Procedure Amendment 9]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0050[Correction target item name] 0050

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0050】(3−2−3)圧縮ビツト・レート値等に
関する制限 時間長Tのクリツプを、仮想バツフア量V、ビデオ圧
縮ビツト・レートRで圧縮した場合、発生し得る最大
の圧縮ビデオ・データ量は、上述のように次式
(3-2-3) Limitation on compression bit rate value, etc. The maximum compressed video that can occur when a clip with a time length T is compressed with a virtual buffer amount V b and a video compression bit rate R v.・ The data volume is

【数5】 で与えられる。このためこの実施例の符号化復号化装置
10では、実際に得られた圧縮ビデオ・データ量がこの
値に満たない場合は、その最後にパツド・データを付加
することにより、任意のフアイルのサイズをVvmax
になるようにしている。このようにサイズ調整したあと
の全データを、時間Tで転送する場合、ビデオ・データ
転送速度R′は次式によつて表される。
(Equation 5) Given in. Therefore, in the encoding / decoding device 10 of this embodiment, if the actually obtained compressed video data amount is less than this value, the pad data is added to the end of the compressed video data amount so that the size of an arbitrary file is reduced. To V vmax
I am trying to be. When all the data thus adjusted in size are transferred at time T, the video data transfer rate R v ′ is expressed by the following equation.

【数6】 ′が最大Rvmax′となるのはクリツプの時間長
が最小Tminの場合である。
(Equation 6) The maximum R v ′ is the maximum R v max ′ when the clip time length is the minimum T min .

【数7】 圧縮AV多重化データ転送速度Rは、少なくとも圧縮
ビデオ・データ転送速度と圧縮オーデイオ・データ転送
速度の和よりも大きくなければならない。オーデイオに
関してはその圧縮ビツト・レートに等しい値の転送速度
でよい。よつて、これらのパラメータは次式を満たさな
ければならない。(正確には、ヘツダやマーク分も考慮
する必要があるが、ここでは簡単のため省略する)
(Equation 7) Compressed AV multiplexed data transfer rate R m must be greater than the sum of the least compressed video data rate compressed audio data rate. For audio, a transfer rate equal to its compression bit rate is sufficient. Therefore, these parameters must satisfy the following equation. (To be precise, it is necessary to consider the head and mark, but here it is omitted for simplicity.)

【数8】 (Equation 8)

【数9】 [Equation 9]

【手続補正10】[Procedure Amendment 10]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0053[Correction target item name] 0053

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0053】Tを1秒単位とした場合、簡単のため、任
意の時間長のクリツプにおいて標準パケツトのサイズL
およびLがそれぞれ等しくなるようにするために
は、次式を満たすようにR、R、L、Lを選択
すればよい。
When T is set in units of 1 second, for the sake of simplicity, the size L of the standard packet in a clip with an arbitrary time length is used.
In order to make v and L a equal to each other, R v , R a , L v , and L a may be selected so as to satisfy the following equation.

【数10】 [Equation 10]

【数11】 [Equation 11]

【数12】 通常、Rはせいぜい0.1〔Mbps〕単位であり、
は64、128、192、256、384〔kbp
s〕のいずれかである。従つて、上式を満たすような整
数L、及びLは存在する。圧縮データの取り得る最
小単位の制限により発生する端数データ、つまりビデオ
におけるR、×(T、−T)及びオーデイオにおけ
るR×(T−T)分のデータで残余パツクを構成す
るようにし、残りのデータ、つまり、ビデオにおけるR
、T+V及びオーデイオにおけるR×Tで標準パ
ツクと初期パツクを構成するようにする。
(Equation 12) Usually, R v is at most 0.1 [Mbps] unit,
Ra is 64, 128, 192, 256, 384 [kbp
s]. Therefore, there are integers L v and L a that satisfy the above equation. Fractional data generated by the limitation of the minimum unit of compressed data, that is, R v , × (T v , −T) in video and R a × (T a −T) data in audio constitutes a residual pack. And the rest of the data, that is R in the video
Let v , T + V b and R a × T in audio form the standard and initial packs.

【手続補正11】[Procedure Amendment 11]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0054[Correction target item name] 0054

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0054】このようにするとR及びRに関して次
式が成り立つ。
In this way, the following equations hold for R a and R v .

【数13】 (Equation 13)

【数14】 [Equation 14]

【数15】 (Equation 15)

【数16】 (14)式及び(16)式よりR、R、Lを与え
れば、Lを算出できる。オーデイオ・データ量V
[Equation 16] (14) and (16) from R v, R a, be given a L a, it can be calculated L v. The amount of audio data V a is

【数17】 ビデオ・データ量V[Equation 17] The amount of video data V v is

【数18】 多重化データ量V(Equation 18) The amount of multiplexed data V m is

【数19】 よつて、パツド・データ量Vは、[Formula 19] Therefore, the pad data amount V p is

【数20】 よつて(Equation 20) Yotsute

【数21】 [Equation 21]

【手続補正12】[Procedure Amendment 12]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0055[Correction target item name] 0055

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0055】(21)式よりL及びL′が求められ
る。T<Tの場合、次式を満たす整数K及びL″が
存在する。
From equation (21), L p and L p ′ are obtained. When T a <T, there are integers K and L a ″ that satisfy the following equation.

【数22】 このとき標準パツクの最後からK+1番目のパツクに関
して、オーデイオ・パケツトのデータ・サイズをL
″とし、このパケツトの直後にサイズがL″−L
のパツト・パケツトを置くようにする。そして、標準
パツクの最後からK個のパツク関して、オーデイオ・パ
ケツトの代わりに同サイズのパツド・パケツトを置くよ
うにする。また、残余パツクに関して、次式が成り立
つ。
[Equation 22] For the last from (K + 1) -th the packed at this time standard the packed, the data size of the audio-packet L a -
"And that, size immediately after this packet is L a" L a -L
Make sure to put the h -packet / packet. Then, for the K packs from the end of the standard pack, put the same size of pad pack in place of the audio pack. In addition, the following equation holds for the residual pack.

【数23】 (Equation 23)

【数24】 [Equation 24]

【手続補正13】[Procedure Amendment 13]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0058[Name of item to be corrected] 0058

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0058】つまり任意のt>0についてv(t)>
(t)が成り立つようにすればよい。
That is, for any t> 0, v 3 (t)>
It suffices that v 1 (t) holds.

【数25】 (Equation 25)

【数26】 条件2:直線と直線がビデオ・データを転送し終わ
る時刻tまで交わらないようにする。つまりv(t
)<v(t)が成り立つようにすればよい。この
場合、次式
(Equation 26) Condition 2: The straight line and the straight line do not intersect until the time t e at which the video data transfer ends. That is, v 4 (t
e) <v 2 (t e ) it is sufficient to hold. In this case,

【数27】 なので、[Equation 27] So

【数28】 [Equation 28]

【数29】 [Equation 29]

【手続補正14】[Procedure Amendment 14]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0059[Correction target item name] 0059

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0059】なお、各直線〜の方程式は以下の通り
である。また、厳密にはヘツダやマークの分も考慮する
必要があるが、圧縮データのデータ量に比べて非常に小
さいので無視する。
The equations for each straight line are as follows. Strictly speaking, it is necessary to consider the amount of headers and marks, but since it is very small compared to the amount of compressed data, it is ignored.

【数30】 [Equation 30]

【数31】 [Equation 31]

【数32】 [Equation 32]

【数33】 従つて、仮想バツフアの3倍で連続再生を実現するため
には、T=Tとして、かつ(26)式及び(29)
式を満たすように各パラメータを選択すれば良く、実際
上この実施例の符号化復号化装置10でもこのように各
パラメータが選定されている。
[Expression 33] Therefore, in order to realize continuous reproduction at 3 times the virtual buffer, T t = T v , and equations (26) and (29) are used.
It suffices to select each parameter so as to satisfy the equation, and in actuality, each parameter is also selected in the encoding / decoding device 10 of this embodiment.

【手続補正15】[Procedure Amendment 15]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0060[Correction target item name] 0060

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0060】(3−2−6)連続再生可能な圧縮AV多
重化フオーマツトの例 R=5〔Mbps〕、R=4〔Mbps〕、R
256〔kbps〕、Tmin=6〔s〕、V=4
〔Mbps〕という要求を実現するフオーマツトを示
す。ただし、ビデオはNTSC方式とする。なおこの場
合、(9)式の右辺は5〔Mbps〕であり、左辺は次
(3-2-6) Example of compressed AV multiplexing format capable of continuous reproduction R m = 5 [Mbps], R v = 4 [Mbps], Ra =
256 [kbps], T min = 6 [s], V b = 4
A format for realizing the requirement of [Mbps] is shown. However, the video shall be in NTSC format. In this case, the right side of the equation (9) is 5 [Mbps] and the left side is the following equation.

【数34】 となるため、(9)式は満足されており、これらの値が
選択可能であることがわかる。例えばクリツプ時間長T
=6〔s〕の場合、図5から、 T、=T、=6.006〔s〕、T=6〔s〕 適当にL=1000〔byte〕として(あまり大き
くするとオーデイオ・バツフアが破綻する可能性があ
る。逆に小さくしすぎると標準パツク数が増えてヘツダ
によるオーバ・ヘツドが増えてしまう)、(14)式よ
り標準パツク数を求める。
(Equation 34) Therefore, the expression (9) is satisfied, and it is understood that these values can be selected. For example, clip time length T
= 6 [s], from FIG. 5, T t , = T v , = 6.006 [s], T a = 6 [s] Appropriately L a = 1000 [byte] (if too large, audio. On the contrary, if it is too small, the number of standard packs will increase and the number of over heads due to headers will increase).

【数35】 (16)式より標準ビデオ・パケツトのサイズを求め
る。
[Equation 35] The size of the standard video packet is obtained from the equation (16).

【数36】 (21)式よりパツド・パケツトのサイズを求める。[Equation 36] The size of the pad / packet is obtained from the equation (21).

【数37】 よつて、L=293〔byte〕、L′=74〔b
yte〕となる。
(37) Therefore, L p = 293 [byte], L p ′ = 74 [b]
yte].

【手続補正16】[Procedure Amendment 16]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0061[Correction target item name] 0061

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0061】(23)式より残余ビデオ・パケツトのサ
イズを求める。
The size of the residual video packet is obtained from the equation (23).

【数38】 ここでT=Tなので、残余オーデイオ・パケツトのサ
イズは0である。以上の値より標準パックのサイズを求
める。
(38) Since T a = T, the size of the residual audio packet is 0. Calculate the size of the standard pack from the above values.

【数39】 このとき(26)式は満たされていることが分かる。 0.92>0.8 このとき(29)式も満たされていることが分かる。 23.2<24 以上の結果、得られるフオーマツトを図12に示す。同
様にして、クリツプ時間長7秒の場合についても算出
し、その結果を図13に示す。この場合は、T≠Tと
なるため、最後の標準パツクは他の標準パツクとは異な
りT−Tに相当する分のパツド・パケツトが存在す
る。各パラメータの値が決まれば、クリツプの内容に無
関係に任意のクリツプについてクリツプ時間長ごとに、
図12及び図13のようなフオーマツト・テーブルを作
成することができるので、実際に圧縮AVデータを多重
化する場合、各エンコーダで得られた圧縮データをこの
テーブルに従つて多重化してやればよい。
[Formula 39] At this time, it can be seen that the expression (26) is satisfied. 0.92> 0.8 At this time, it is understood that the equation (29) is also satisfied. 23.2 <24 The format obtained as a result of the above is shown in FIG. Similarly, the calculation was performed for a clip time length of 7 seconds, and the result is shown in FIG. In this case, since T a ≠ T, the last standard pack is different from other standard packs, and there are pad packets corresponding to T a −T. Once the value of each parameter is determined, regardless of the clip contents, for any clip, for each clip time length,
Since the format table as shown in FIGS. 12 and 13 can be created, when the compressed AV data is actually multiplexed, the compressed data obtained by each encoder may be multiplexed according to this table.

【手続補正17】[Procedure Amendment 17]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0071[Correction target item name] 0071

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0071】[0071]

【発明の効果】上述のように本発明によれば、符号化側
では、一連のビデオ信号及びオーデイオ信号からなる素
材の当該ビデオ信号及びオーデイオ信号を圧縮符号化す
ることにより得られた圧縮ビデオデータ及び圧縮オーデ
イオデータを、素材の時間長のみに依存し、かつ先頭パ
ケツトのサイズが続くパケツトよりも第1のバツフア量
だけ大きい所定の多重化フオーマツトに従つて動作開始
及び動作停止のタイミングを与える特殊コードを随所に
いれながら多重化すると共に、この際圧縮ビデオデータ
のデータ量がその時間長に対する素材の圧縮ビデオデー
タとして発生できる最大値に満たないときには、不足分
だけダミーデータを圧縮ビデオデータに付加して圧縮オ
ーデイオデータと多重化する一方、符号化側ではこの特
殊コードに基づいて圧縮オーデイオデータに対する符号
化処理を圧縮ビデオデータ及び圧縮オーデイオデータ間
の再生時間差分だけ停止させるようにしたことにより、
各素材の再生を指定時刻に開始でき、かつ複数の素材を
連続的に再生することのできる符号化装置、復号化装置
及び符号化復号化装置を実現できる。また符号化部から
データ供給部を介して供給される第1の素材を形成する
多重化された圧縮ビデオデータ及び圧縮オーデイオデー
タをそれぞれ復号する際、素材の時間長に応じた圧縮ビ
デオデータ及び圧縮オーデイオデータ間の再生時間差分
だけ圧縮オーデイオデータに対する復号処理を停止する
ようにしたことにより、複数の素材を連続的に再生する
ことのできる復号化装置及び符号化復号化装置を実現で
きる。
As described above, according to the present invention, on the encoding side, compressed video data obtained by compression-encoding the video signal and audio signal of a material consisting of a series of video signals and audio signals. And the compressed audio data that depends on only the time length of the material and gives the timing of starting and stopping the operation in accordance with a predetermined multiplex format that is larger than the packet with the size of the leading packet by the first buffer amount. While putting the code everywhere, when the amount of compressed video data is less than the maximum value that can be generated as the compressed video data of the material for that time length, dummy data is added to the compressed video data by the shortage. While it is multiplexed with compressed audio data, the encoding side is based on this special code. By which is adapted to stop the encoding process only reproduction time difference between the compressed video data and compressed audio data to compression audio data,
It is possible to realize an encoding device, a decoding device, and an encoding / decoding device that can start reproduction of each material at a specified time and can continuously reproduce a plurality of materials. When decoding the multiplexed compressed video data and compressed audio data forming the first material supplied from the encoding unit via the data supply unit, the compressed video data and the compressed video data according to the time length of the material are decoded. By stopping the decoding process for the compressed audio data by the reproduction time difference between the audio data, it is possible to realize a decoding device and a coding / decoding device capable of continuously reproducing a plurality of materials.

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】データ供給源から供給される、第1の素材
を形成する多重化された圧縮ビデオデータ及び圧縮オー
デイオデータをそれぞれ復号する復号化装置において、 多重化された上記圧縮ビデオデータ及び上記圧縮オーデ
イオデータを分割して出力する分割手段と、 上記分割手段から出力される上記圧縮ビデオデータを復
号する第1の復号手段と、 上記分割手段から出力される上記圧縮オーデイオデータ
を復号する第2の復号手段と、 上記データ供給手段から供給される上記第1の素材の時
間長情報に基づいて、上記第2の復号手段の上記圧縮オ
ーデイオデータに対する復号動作を、上記圧縮ビデオデ
ータ及び上記圧縮オーデイオデータ間の再生時間差分だ
け停止させる制御手段とを具えることを特徴とする復号
化装置。
1. A decoding device for decoding multiplexed compressed video data and compressed audio data forming a first material, which are supplied from a data supply source, respectively, wherein: Dividing means for dividing and outputting compressed audio data, first decoding means for decoding the compressed video data output from the dividing means, and second decoding means for decoding the compressed audio data output from the dividing means. Decoding means for decoding the compressed audio data by the second decoding means on the basis of the time length information of the first material supplied from the data supplying means, the compressed video data and the compressed audio data. And a control unit for stopping the reproduction time difference between data.
【請求項2】制御手段は、 上記時間長情報と、予め記憶している上記再生時間差と
に基づいて上記第2の復号手段による上記第2の復号動
作を上記再生時間差分だけ停止させることを特徴とする
請求項1に記載の復号化装置。
2. The control means stops the second decoding operation by the second decoding means for the reproduction time difference based on the time length information and the reproduction time difference stored in advance. Decoding device according to claim 1, characterized in that
【請求項3】符号化部と復号化部とでなり、上記符号化
部からデータ供給部を介して供給される第1の素材を形
成する多重化された圧縮ビデオデータ及び圧縮オーデイ
オデータをそれぞれ復号する符号化復号化装置におい
て、 上記復号化部は、 供給される多重化された上記圧縮ビデオデータ及び上記
圧縮オーデイオデータを分割して出力する分割手段と、 上記分割手段から出力される上記圧縮ビデオデータを復
号する第1の復号手段と、 上記分割手段から出力される上記圧縮ビデオデータを復
号する第2の復号手段と、 上記データ供給手段から供給される上記第1の素材の時
間長情報に基づいて、上記第2の復号手段の上記圧縮オ
ーデイオデータに対する復号動作を、上記圧縮ビデオデ
ータ及び上記圧縮オーデイオデータ間の再生時間差分だ
け停止させる制御手段とを具えることを特徴とする符号
化復号化装置。
3. Multiplexed compressed video data and compressed audio data, each of which is composed of an encoding unit and a decoding unit and forms the first material supplied from the encoding unit via a data supply unit. In the encoding / decoding device for decoding, the decoding unit divides the supplied multiplexed compressed video data and compressed audio data and outputs the divided data, and the compression unit outputs the divided data. First decoding means for decoding video data, second decoding means for decoding the compressed video data output from the dividing means, and time length information of the first material supplied from the data supply means The decoding operation for the compressed audio data by the second decoding means is performed on the basis of the reproduction time difference between the compressed video data and the compressed audio data. Coding and decoding apparatus characterized by comprising a control means for only stopping.
【請求項4】上記時間長情報と、予め記憶している上記
再生時間差とに基づいて上記第2の復号手段による上記
第2の復号動作を上記再生時間差分だけ停止させること
を特徴とする請求項3に記載の符号化復号化装置。
4. The second decoding operation by the second decoding means is stopped by the reproduction time difference based on the time length information and the reproduction time difference stored in advance. Item 3. The encoding / decoding device according to Item 3.
【請求項5】データ供給源から供給される、第1の素材
を形成する多重化された圧縮ビデオデータ及び圧縮オー
デイオデータをそれぞれ復号する復号化方法において、 多重化された上記圧縮ビデオデータ及び上記圧縮オーデ
イオデータを分割する第1のステツプと、 上記分割された上記圧縮ビデオデータ及び上記圧縮オー
デイオデータを復号する第2のステツプと、 上記第1の素材の時間長に応じた上記圧縮ビデオデータ
及び上記圧縮オーデイオデータ間の再生時間差分だけ上
記圧縮オーデイオデータの復号処理を停止する第3のス
テツプとを具えることを特徴とする復号化方法。
5. A decoding method for decoding respectively multiplexed compressed video data and compressed audio data which form a first material and which are supplied from a data source, wherein the compressed video data and the multiplexed data are multiplexed. A first step of dividing the compressed audio data, a second step of decoding the divided compressed video data and the divided compressed audio data, the compressed video data according to the time length of the first material, and And a third step of stopping the decoding process of the compressed audio data by the reproduction time difference between the compressed audio data.
【請求項6】符号化部からデータ供給部を介して供給さ
れる、第1の素材を形成する多重化された圧縮ビデオデ
ータ及び圧縮オーデイオデータをそれぞれ復号する復号
化装置において、 多重化された上記圧縮ビデオデータ及び上記圧縮オーデ
イオデータを分割する第1のステツプと、 上記分割された上記圧縮ビデオデータ及び上記圧縮オー
デイオデータを復号する第2のステツプと、 上記第1の素材の時間長に応じた上記圧縮ビデオデータ
及び上記圧縮オーデイオデータ間の再生時間差分だけ上
記圧縮オーデイオデータの復号処理を停止する第3のス
テツプとを具えることを特徴とする符号化復号化装置。
6. A decoding device for respectively decoding the multiplexed compressed video data and compressed audio data forming the first material, which are supplied from the encoding unit via the data supply unit, are multiplexed. According to a first step for dividing the compressed video data and the compressed audio data, a second step for decoding the divided compressed video data and the compressed audio data, and a time length of the first material. And a third step of stopping the decoding process of the compressed audio data by the difference in reproduction time between the compressed video data and the compressed audio data.
【請求項7】一連のビデオ信号及びオーデイオ信号から
なる素材の上記ビデオ信号及び上記オーデイオ信号をそ
れぞれ圧縮符号化し、かくして得られた圧縮ビデオデー
タ及び圧縮オーデイオデータを出力する符号化手段と、 上記素材の時間長にのみ依存し、かつ先頭パケツトのサ
イズが続くパケツトよりも上記第1のバツフア量だけ大
きい所定の多重化フオーマツトに従つて、上記圧縮ビデ
オデータ及び上記圧縮オーデイオデータを、復号側に対
して動作開始及び動作停止のタイミングを与える特殊コ
ードを随所に入れながら多重化すると共に、この際上記
圧縮ビデオデータのデータ量がその時間長に対する上記
素材の上記圧縮ビデオデータとして発生できる最大値に
満たないときには、不足分だけダミーデータを上記圧縮
ビデオデータに付加して上記圧縮オーデイオデータと多
重化する多重化手段とを具えることを特徴とする符号化
装置。
7. Encoding means for compressing and encoding the video signal and the audio signal of a material consisting of a series of video signals and audio signals, and outputting the compressed video data and compressed audio data thus obtained, and the material. Of the compressed video data and the compressed audio data to the decoding side according to a predetermined multiplexing format which depends only on the time length of the packet and the size of the leading packet is larger than the packet by the first buffer amount. The special code that gives the timing of starting and stopping the operation is put in various places and multiplexed, and at this time, the data amount of the compressed video data satisfies the maximum value that can be generated as the compressed video data of the material for the time length. If there is not, add dummy data to the above compressed video data by the shortfall. An encoding apparatus further comprising a multiplexing means for multiplexing the compressed audio data.
【請求項8】上記ビデオ信号を、予め想定した復号側の
上記ビデオ信号に対する第1のバツフア量に応じた第1
の圧縮ビツトレートで符号化圧縮し、 上記オーデイオ信号を、上記第1の圧縮ビツトレートで
圧縮符号化することを特徴とする請求項8に記載の符号
化装置。
8. A first signal corresponding to a first buffer amount for the video signal on the decoding side which is assumed in advance.
9. The encoding device according to claim 8, wherein the audio signal is encoded and compressed at the compression bit rate of 1 above, and the audio signal is compression encoded at the first compression bit rate.
【請求項9】データ供給源から供給される、随所に動作
開始及び動作停止のタイミングを与える特殊コードが入
れられた圧縮多重化データから第1の圧縮ビデオデータ
及び圧縮オーデイオデータを分離し、それぞれ復号する
復号化装置において、 上記圧縮多重化データから上記圧縮ビデオデータ及び上
記圧縮オーデイオデータを分割して出力すると共に、上
記特殊コードを検出したときに検出信号を出力するコー
ド検出分割手段と、 上記コード検出分割手段から出力される上記圧縮ビデオ
データを復号する第1の復号手段と、 上記コード検出分割手段から出力される上記圧縮オーデ
イオデータを復号する第2の復号手段と、 上記コード検出分割手段から供給される上記検出信号に
基づいて上記第2の復号手段の上記圧縮オーデイオデー
タに対する復号動作を、上記圧縮ビデオデータ及び上記
圧縮オーデイオデータ間の再生時間差分だけ停止させる
制御手段とを具えることを特徴とする復号化装置。
9. First compressed video data and compressed audio data are separated from compressed multiplexed data supplied from a data supply source and containing special codes for giving start and stop timings everywhere, respectively. In a decoding device for decoding, the compressed video data and the compressed audio data are divided from the compressed multiplexed data and output, and code detection division means for outputting a detection signal when the special code is detected, First decoding means for decoding the compressed video data output from the code detecting / dividing means, second decoding means for decoding the compressed audio data output from the code detecting / dividing means, and the code detecting / dividing means To the compressed audio data of the second decoding means based on the detection signal supplied from A decoding device, comprising: a control means for stopping the decoding operation for the compressed video data and the compressed audio data by a reproduction time difference between the compressed video data and the compressed audio data.
【請求項10】一連のビデオ信号及び上記オーデイオ信
号からなる素材の上記ビデオ信号及び上記オーデイオ信
号をそれぞれ圧縮符号化し、多重化する符号化部と、当
該符号化部から出力される圧縮符号化され、多重化され
たビデオ信号及びオーデイオ信号を分離し、復号する復
号化部からなる符号化復号化装置において、 上記符号化部は、 上記ビデオ信号及び上記オーデイオ信号を圧縮符号化
し、かくして得られた圧縮ビデオデータ及び圧縮オーデ
イオデータを出力する符号化手段と、 上記素材の時間長にのみ依存し、かつ先頭パケツトのサ
イズが続くパケツトよりも上記第1のバツフア量だけ大
きい所定の多重化フオーマツトに従つて、上記圧縮ビデ
オデータ及び上記圧縮オーデイオデータを、復号側に対
して動作開始及び動作停止のタイミングを与える特殊コ
ードを随所に入れながら多重化すると共に、この際上記
圧縮ビデオデータのデータ量がその時間長に対する上記
素材の上記圧縮ビデオデータとして発生できる最大値に
満たないときには、不足分だけダミーデータを上記圧縮
ビデオデータに付加して上記圧縮オーデイオデータと多
重化することにより圧縮多重化データを形成して出力す
る多重化手段とを有し、 上記復号化部は、 上記符号部から供給される上記圧縮多重化データから上
記圧縮ビデオデータ及び上記圧縮オーデイオデータを分
割して出力すると共に、上記特殊コードを検出したとき
に検出信号を出力するコード検出分割手段と、 上記コード検出分割手段から出力される上記圧縮ビデオ
データを復号する第1の復号手段と、 上記コード検出分割手段から出力される上記圧縮オーデ
イオデータを復号する第2の復号手段と、 上記コード検出分割手段から供給される上記検出信号に
基づいて上記第2の復号手段の上記圧縮オーデイオデー
タに対する復号動作を、上記圧縮ビデオデータ及び上記
圧縮オーデイオデータ間の再生時間差分だけ停止させる
制御手段とを有することを特徴とする符号化復号化装
置。
10. A coding unit for compressing and coding the video signal and the audio signal of a material consisting of a series of video signals and the audio signal, respectively, and a compression coding output from the coding unit. An encoding / decoding device comprising a decoding unit for separating and decoding the multiplexed video signal and audio signal, wherein the encoding unit compression-codes the video signal and the audio signal, and thus obtains According to a coding means for outputting compressed video data and compressed audio data, and a predetermined multiplexing format which is dependent only on the time length of the material and which is larger by the first buffer amount than a packet in which the size of the first packet is continuous. Then, the compressed video data and the compressed audio data are started and stopped for the decoding side. When the special code for giving the aiming is put in everywhere and is multiplexed, when the data amount of the compressed video data is less than the maximum value that can be generated as the compressed video data of the material for the time length, the dummy amount is added. Multiplexing means for forming compressed multiplexed data by adding data to the compressed video data and multiplexing with the compressed audio data, and the decoding section is supplied from the encoding section. The compressed video data and the compressed audio data are divided and output from the compressed and multiplexed data, and a code detection division means for outputting a detection signal when the special code is detected, and output from the code detection division means The first decoding means for decoding the compressed video data, and the code detecting and dividing means. A second decoding means for decoding the compressed audio data inputted, and a decoding operation for the compressed audio data by the second decoding means on the basis of the detection signal supplied from the code detecting / dividing means. An encoding / decoding apparatus comprising: a control unit for stopping the reproduction time difference between the video data and the compressed audio data.
【請求項11】一連のビデオ信号及びオーデイオ信号か
らなる素材の上記ビデオ信号及び上記オーデイオ信号を
それぞれ圧縮符号化する第1のステツプと、 かくして得られた圧縮ビデオデータ及び圧縮オーデイオ
データを、上記素材の時間長にのみ依存し、かつ先頭パ
ケツトのサイズが続くパケツトよりも上記第1のバツフ
ア量だけ大きい所定の多重化フオーマツトに従つて、上
記圧縮ビデオデータ及び上記圧縮オーデイオデータを、
復号側に対して動作開始及び動作停止のタイミングを与
える特殊コードを随所に入れながら多重化すると共に、
この際上記圧縮ビデオデータのデータ量がその時間長に
対する上記素材の上記圧縮ビデオデータとして発生でき
る最大値に満たないときには、不足分だけダミーデータ
を上記圧縮ビデオデータに付加して上記圧縮オーデイオ
データと多重化する第2のステツプとを具えることを特
徴とする符号化方法。
11. A first step for compressing and encoding the video signal and the audio signal of a material consisting of a series of video signals and audio signals, and the compressed video data and compressed audio data thus obtained, Of the compressed video data and the compressed audio data according to a predetermined multiplexing format, which depends only on the time length of the packet and the size of the leading packet is larger by the first buffer amount than the succeeding packet.
Special code that gives operation start and operation stop timing to the decoding side is added and multiplexed everywhere,
At this time, when the data amount of the compressed video data is less than the maximum value that can be generated as the compressed video data of the material with respect to the time length, dummy data is added to the compressed video data by a shortage amount to obtain the compressed audio data. And a second step of multiplexing.
【請求項12】上記第1のステツプでは、 上記ビデオ信号を、予め想定した復号側の上記ビデオ信
号に対する第1のバツフア量に応じた第1の圧縮ビツト
レートで符号化圧縮し、 上記オーデイオ信号を、上記第1の圧縮ビツトレートで
圧縮符号化することを特徴とする請求項11に記載の符
号化方法。
12. In the first step, the video signal is encoded and compressed at a first compression bit rate corresponding to a first buffer amount for the video signal on the decoding side which is assumed in advance, and the audio signal is obtained. The encoding method according to claim 11, wherein the encoding is performed at the first compression bit rate.
【請求項13】データ供給源から供給される、随所に動
作開始及び動作停止のタイミングを与える特殊コードが
入れられた圧縮多重化データから第1の圧縮ビデオデー
タ及び圧縮オーデイオデータを分離し、それぞれ復号す
る復号化方法において、 上記圧縮多重化データから上記圧縮ビデオデータ及び上
記圧縮オーデイオデータを分割して出力すると共に、上
記特殊コードを検索する第1のステツプと、 上記圧縮ビデオデータ及び上記圧縮オーデイオデータを
復号する第2のステツプと、 上記特殊コードを検出したときに、当該検出した上記特
殊コードに基づい上記圧縮オーデイオデータに対する復
号化処理を、上記圧縮ビデオデータ及び上記圧縮オーデ
イオデータ間の再生時間差分だけ停止させる第3のステ
ツプとを具えることを特徴とする復号化方法。
13. First compressed video data and compressed audio data are separated from compressed multiplexed data supplied from a data supply source and containing special codes for giving start and stop timings everywhere, respectively. In the decoding method for decoding, the compressed video data and the compressed audio data are divided from the compressed multiplexed data and output, and a first step for searching for the special code, the compressed video data and the compressed audio data are output. A second step of decoding the data, and when the special code is detected, a decoding process for the compressed audio data is performed based on the detected special code, and a reproduction time between the compressed video data and the compressed audio data is set. And a third step for stopping only the difference. Decoding method that.
【請求項14】一連のビデオ信号及び上記オーデイオ信
号からなる素材の上記ビデオ信号及び上記オーデイオ信
号をそれぞれ圧縮符号化し多重化した後、圧縮符号化さ
れ多重化されたビデオ信号及びオーデイオ信号を分離
し、復号化する符号化復号化方法において、 上記ビデオ信号及び上記オーデイオ信号を圧縮符号化す
る第1のステツプと、 かくして得られた圧縮ビデオデータ及び圧縮オーデイオ
データを、上記素材の時間長にのみ依存し、かつ先頭パ
ケツトのサイズが続くパケツトよりも上記第1のバツフ
ア量だけ大きい所定の多重化フオーマツトに従つて、動
作開始及び動作停止のタイミングを与える特殊コードを
随所に入れながら多重化すると共に、この際上記圧縮ビ
デオデータのデータ量がその時間長に対する上記素材の
上記圧縮ビデオデータとして発生できる最大値に満たな
いときには、不足分だけダミーデータを上記圧縮ビデオ
データに付加して上記圧縮オーデイオデータと多重化す
る第2のステツプと、 多重化された上記圧縮ビデオデータ及び上記圧縮オーデ
イオデータを分割して出力すると共に、上記特殊コード
を検索する第3のステツプと、 上記圧縮ビデオデータ及び上記圧縮オーデイオデータを
復号する第4のステツプと、 上記特殊コードを検出したときに、当該検出した上記特
殊コードに基づい上記圧縮オーデイオデータに対する復
号化処理を、上記圧縮ビデオデータ及び上記圧縮オーデ
イオデータ間の再生時間差分だけ停止させる第5のステ
ツプとを具えることを特徴とする符号化復号化方法。
14. A video signal and an audio signal of a material consisting of a series of video signals and the audio signal are respectively compression-encoded and multiplexed, and then the compression-encoded and multiplexed video signal and the audio signal are separated. In the encoding / decoding method for decoding, the first step of compressing and encoding the video signal and the audio signal, and the compressed video data and the compressed audio data thus obtained depend only on the time length of the material. And, according to a predetermined multiplexing format which is larger by the first buffer amount than the packet in which the size of the leading packet continues, while performing the multiplexing while inserting the special code for giving the operation start and operation stop timing everywhere, At this time, the data amount of the compressed video data depends on the pressure of the material for the time length. When it is less than the maximum value that can be generated as video data, a second step of adding dummy data to the compressed video data and multiplexing the compressed data with the compressed audio data, and the multiplexed compressed video data and the compressed video data When the compressed audio data is divided and outputted, a third step for searching for the special code, a fourth step for decoding the compressed video data and the compressed audio data, and when the special code is detected, A fifth step of stopping the decoding process for the compressed audio data based on the detected special code by a reproduction time difference between the compressed video data and the compressed audio data. Decryption method.
JP10908995A 1995-04-09 1995-04-09 Decoding device and encoding / decoding device Expired - Fee Related JP3651699B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10908995A JP3651699B2 (en) 1995-04-09 1995-04-09 Decoding device and encoding / decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10908995A JP3651699B2 (en) 1995-04-09 1995-04-09 Decoding device and encoding / decoding device

Publications (2)

Publication Number Publication Date
JPH08289255A true JPH08289255A (en) 1996-11-01
JP3651699B2 JP3651699B2 (en) 2005-05-25

Family

ID=14501316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10908995A Expired - Fee Related JP3651699B2 (en) 1995-04-09 1995-04-09 Decoding device and encoding / decoding device

Country Status (1)

Country Link
JP (1) JP3651699B2 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999013647A1 (en) * 1997-09-05 1999-03-18 Matsushita Electric Industrial Co., Ltd. Decoding method and recording medium carrying recorded decoding program
JP2000201126A (en) * 1998-11-04 2000-07-18 Hitachi Ltd Multiplexed audio data decoding device and receiver
JP2006042373A (en) * 1998-11-04 2006-02-09 Hitachi Ltd Multiplexed audio data decoding apparatus and receiver apparatus
US7447241B2 (en) 1998-11-04 2008-11-04 Hitachi, Ltd. Multiplexed audio data decoding apparatus and receiver apparatus
JP2012518347A (en) * 2009-02-13 2012-08-09 クゥアルコム・インコーポレイテッド Block partitioning for data streams
US9628536B2 (en) 2006-06-09 2017-04-18 Qualcomm Incorporated Enhanced block-request streaming using cooperative parallel HTTP and forward error correction
US9660763B2 (en) 2009-08-19 2017-05-23 Qualcomm Incorporated Methods and apparatus employing FEC codes with permanent inactivation of symbols for encoding and decoding processes
US9843844B2 (en) 2011-10-05 2017-12-12 Qualcomm Incorporated Network streaming of media data
US9917874B2 (en) 2009-09-22 2018-03-13 Qualcomm Incorporated Enhanced block-request streaming using block partitioning or request controls for improved client-side handling
US9992555B2 (en) 2010-06-29 2018-06-05 Qualcomm Incorporated Signaling random access points for streaming video data
US11477253B2 (en) 2006-06-09 2022-10-18 Qualcomm Incorporated Enhanced block-request streaming system using signaling or block creation

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999013647A1 (en) * 1997-09-05 1999-03-18 Matsushita Electric Industrial Co., Ltd. Decoding method and recording medium carrying recorded decoding program
JP2000201126A (en) * 1998-11-04 2000-07-18 Hitachi Ltd Multiplexed audio data decoding device and receiver
JP2006042373A (en) * 1998-11-04 2006-02-09 Hitachi Ltd Multiplexed audio data decoding apparatus and receiver apparatus
US7447241B2 (en) 1998-11-04 2008-11-04 Hitachi, Ltd. Multiplexed audio data decoding apparatus and receiver apparatus
US8098695B2 (en) 1998-11-04 2012-01-17 Hitachi, Ltd. Multiplexed audio data decoding apparatus and receiver apparatus
US9628536B2 (en) 2006-06-09 2017-04-18 Qualcomm Incorporated Enhanced block-request streaming using cooperative parallel HTTP and forward error correction
US11477253B2 (en) 2006-06-09 2022-10-18 Qualcomm Incorporated Enhanced block-request streaming system using signaling or block creation
JP2012518347A (en) * 2009-02-13 2012-08-09 クゥアルコム・インコーポレイテッド Block partitioning for data streams
US9660763B2 (en) 2009-08-19 2017-05-23 Qualcomm Incorporated Methods and apparatus employing FEC codes with permanent inactivation of symbols for encoding and decoding processes
US9876607B2 (en) 2009-08-19 2018-01-23 Qualcomm Incorporated Methods and apparatus employing FEC codes with permanent inactivation of symbols for encoding and decoding processes
US10855736B2 (en) 2009-09-22 2020-12-01 Qualcomm Incorporated Enhanced block-request streaming using block partitioning or request controls for improved client-side handling
US9917874B2 (en) 2009-09-22 2018-03-13 Qualcomm Incorporated Enhanced block-request streaming using block partitioning or request controls for improved client-side handling
US11743317B2 (en) 2009-09-22 2023-08-29 Qualcomm Incorporated Enhanced block-request streaming using block partitioning or request controls for improved client-side handling
US11770432B2 (en) 2009-09-22 2023-09-26 Qualcomm Incorporated Enhanced block-request streaming system for handling low-latency streaming
US9992555B2 (en) 2010-06-29 2018-06-05 Qualcomm Incorporated Signaling random access points for streaming video data
US9843844B2 (en) 2011-10-05 2017-12-12 Qualcomm Incorporated Network streaming of media data

Also Published As

Publication number Publication date
JP3651699B2 (en) 2005-05-25

Similar Documents

Publication Publication Date Title
CN102640511B (en) Method and system for playing video information, and video information content
KR100205494B1 (en) Rational input buffer arrangements for auxiliary information in video and audio signal processing system
US8886010B2 (en) Apparatus and method for decoding data for providing browsable slide show, and data storage medium therefor
JP3405034B2 (en) Digital signal multiplexing method and apparatus, and digital signal recording medium
US8233780B2 (en) Reproducing apparatus and method, and recording medium
US20040233938A1 (en) Image reproduction apparatus
EP0783824A1 (en) Programmable audio-video synchronization method and apparatus for multimedia systems
JPH08289255A (en) Encoding device, decoding device and coding/decoding device
JP4294660B2 (en) REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING MEDIUM THEREOF
JP3556381B2 (en) Information multiplexing device
KR20040010155A (en) Image data reproducing device and method
JPH08331511A (en) Dynamic image reproducing device and dynamic image reproducing processing circuit
JP2008176918A (en) Reproducing apparatus and method, and recording medium
JPH09312656A (en) Transmitter and method therefor
EP0735782A2 (en) Motion picture play apparatus capable of returning from trick play to normal play
JPH11220695A (en) Device and method for decoding moving image data
JPH11215470A (en) Apparatus and method for recording for dynamic image data, record medium, and decoder and decoding method for the dynamic image data

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041029

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041227

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050217

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

Free format text: PAYMENT UNTIL: 20080304

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090304

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100304

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100304

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110304

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120304

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees