JP3063682B2 - Video / audio decoder having audio playback time control function - Google Patents
Video / audio decoder having audio playback time control functionInfo
- Publication number
- JP3063682B2 JP3063682B2 JP9148109A JP14810997A JP3063682B2 JP 3063682 B2 JP3063682 B2 JP 3063682B2 JP 9148109 A JP9148109 A JP 9148109A JP 14810997 A JP14810997 A JP 14810997A JP 3063682 B2 JP3063682 B2 JP 3063682B2
- Authority
- JP
- Japan
- Prior art keywords
- audio
- time
- reproduction
- reproduction time
- 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.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 claims description 10
- 230000003247 decreasing effect Effects 0.000 claims description 2
- 238000004886 process control Methods 0.000 claims 1
- 238000001514 detection method Methods 0.000 description 27
- 238000010586 diagram Methods 0.000 description 13
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000003111 delayed effect Effects 0.000 description 4
- 230000008447 perception Effects 0.000 description 4
- 230000007423 decrease Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000009982 effect on human Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Television Signal Processing For Recording (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、画像と音声とを同
時に再生する画像音声デコーダに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video / audio decoder for simultaneously reproducing video and audio.
【0002】[0002]
【従来の技術】図8が従来の画像音声デコーダ再生時刻
制御回路である。画像音声デコーダ再生時刻制御回路
は、MPEG(Moving Picture Expert Group )デコー
ダ等のような画像と音声とを同時に再生するシステムに
おいて、画像と音声の再生時刻を合わせるために使用さ
れ、画像デコーダと音声デコーダとにデコード時間の差
があることや符号化されたデータ中の誤り等の原因で画
像と音声の再生時刻がずれてしまうため、それを補正す
るのに必要となる。2. Description of the Related Art FIG. 8 shows a conventional video / audio decoder reproduction time control circuit. An image / audio decoder playback time control circuit is used for adjusting the playback time of an image and an audio in a system for simultaneously playing an image and an audio, such as an MPEG (Moving Picture Expert Group) decoder. The reproduction time of the image and the audio are shifted due to the difference in the decoding time between the data and the decoded data, the error in the encoded data, and the like, and it is necessary to correct it.
【0003】まず、図8を参照して各部の説明をする。
音声デコーダ7は、符号化された音声データ8が入力さ
れると、それをデコードし、出力音声データ9として外
部に出力する。また、ポーズ信号4やスキップ信号5が
入力されると、音声の再生のポーズ動作やスキップ動作
を行う。ポーズ動作は、音声の再生時刻が画像の再生時
刻より進んでいる場合に、音声の再生時刻と画像の再生
時刻との差に応じた時間だけ音声のデコードを停止し、
その後再び音声のデコードを再開する動作である。ま
た、スキップ動作は、音声の再生時刻が画像の再生時刻
より遅れている場合に、音声の再生時刻と画像の再生時
刻の差に応じた時間分の符号化音声データを読み飛ば
し、その後音声のデコードを再開する動作である。画像
再生時刻1、および音声再生時刻2は、現在の画像およ
び音声の再生時刻を示す信号である。制御回路3は入力
された画像再生時刻1と音声再生時刻2を比較し、それ
らの差が一定の値以上となった場合に、ポーズ信号4ま
たはスキップ信号5と、制御時間6を音声デコーダ7に
入力する。音声の再生時間の方が進んでいる場合はポー
ズ信号4を音声デコーダ7に入力し、音声の再生を入力
された制御時間6だけ停止させて再生時刻を遅らせる。
また、音声の再生時間の方が遅れている場合は、スキッ
プ信号5を音声デコーダ7に入力し、音声の再生を入力
された制御時間6だけスキップさせて再生時刻を進め
る。このように、音声の再生を停止させたり、スキップ
させたりして、画像の再生時刻に音声の再生時刻を合わ
せ、画像と音声との再生の同期を取る。First, each part will be described with reference to FIG.
When the encoded audio data 8 is input, the audio decoder 7 decodes the encoded audio data 8 and outputs it as output audio data 9 to the outside. When the pause signal 4 and the skip signal 5 are input, a pause operation and a skip operation for sound reproduction are performed. The pause operation stops the decoding of the audio for a time corresponding to the difference between the audio playback time and the image playback time when the audio playback time is ahead of the image playback time,
Thereafter, the decoding of the audio is restarted. The skip operation skips encoded audio data for a time corresponding to the difference between the audio playback time and the image playback time when the audio playback time is later than the image playback time, and then skips the audio playback time. This is an operation to restart decoding. The image playback time 1 and the audio playback time 2 are signals indicating the current image and audio playback time. The control circuit 3 compares the input image reproduction time 1 and the audio reproduction time 2 and, when the difference between them becomes equal to or more than a certain value, the pause signal 4 or the skip signal 5 and the control time 6 are converted to the audio decoder 7. To enter. If the audio playback time is advanced, the pause signal 4 is input to the audio decoder 7, and the audio playback is stopped for the input control time 6 to delay the playback time.
If the audio playback time is later, the skip signal 5 is input to the audio decoder 7, and the audio playback is skipped by the input control time 6 to advance the playback time. In this way, the reproduction of the audio is stopped or skipped, the reproduction time of the audio is adjusted to the reproduction time of the image, and the reproduction of the image and the audio is synchronized.
【0004】制御回路3は図9のように構成される。入
力された画像再生時刻29から音声再生時刻30を減算
し、再生時刻差31を求める。絶対値計算部34は再生
時刻差31の絶対値を求める。この値が定められた値t
thよりも大きいかどうかが比較部35によって判定さ
れ、大きかった場合、同期処理イネーブル信号36がポ
ーズ・スキップ信号出力部37に出力される。正負判定
部32は、再生時刻差31が正か負かを判定し、正負判
定信号33をポーズ・スキップ信号出力部37に出力す
る。ポーズ・スキップ信号出力部37は、同期処理イネ
ーブル信号36が入力された場合、ポーズ信号38また
はスキップ信号39を出力する。このとき、正負判定信
号33が正の場合は音声の再生が遅れているため、スキ
ップ信号39を出力し、負の場合は音声の再生が進んで
いるため、ポーズ信号38を出力する。また、画像の再
生時刻と音声の再生時刻の差を制御時間40として出力
する。The control circuit 3 is configured as shown in FIG. The audio playback time 30 is subtracted from the input image playback time 29 to obtain a playback time difference 31. The absolute value calculator 34 calculates the absolute value of the reproduction time difference 31. This value is determined value t
The comparing unit 35 determines whether or not the threshold value is larger than th. If the threshold value is larger than the threshold value th , the synchronization processing enable signal 36 is output to the pause / skip signal output unit 37. The positive / negative determination unit 32 determines whether the reproduction time difference 31 is positive or negative, and outputs a positive / negative determination signal 33 to the pause / skip signal output unit 37. The pause / skip signal output unit 37 outputs a pause signal 38 or a skip signal 39 when the synchronization processing enable signal 36 is input. At this time, if the positive / negative determination signal 33 is positive, the skip signal 39 is output because the reproduction of the sound is delayed, and if negative, the pause signal 38 is output because the reproduction of the sound is advanced. Further, the difference between the image reproduction time and the audio reproduction time is output as the control time 40.
【0005】このポーズ、スキップ動作を図10に示
す。図10aの上の図に示すように時刻t1 で制御時間
tp のポーズ動作が行われた場合、下の図に示すように
ポーズ開始時と終了時とで出力音声の不連続が生じる。
また、図10bの上の図に示すように時刻t2 で制御時
間ts だけスキップを行った場合、スキップしたところ
で出力音声の不連続が起こる。このように、従来の画像
音声デコーダ再生時刻制御回路では、任意の時刻にポー
ズやスキップの制御が行われるため、音声の不連続が出
力音声の振幅の大きいところでも起こり、人間の聴感上
不快に感じられる。FIG. 10 shows the pause and skip operations. If the pause operation of the control time t p is performed at time t 1 as shown in the upper diagram of Fig. 10a, discontinuity of the output sound is generated between the start and end time pause as shown in the figure below.
Also, in the case of performing the skip only control time t s at time t 2 as shown in the upper diagram of FIG. 10b, the discontinuity of the output sound at skipping occurs. As described above, in the conventional video / audio decoder playback time control circuit, pause and skip control is performed at an arbitrary time, so that the discontinuity of the voice occurs even in the case where the amplitude of the output voice is large, which is unpleasant to human hearing. felt.
【0006】同期制御がポーズ、スキップではなく、音
声の再生速度を連続的に変更することも考えられるが、
この場合も出力音声の振幅の大きいところで行うと聴感
上不自然であり、再生信号の品質が損なわれる。It is conceivable that the synchronous control is not pause and skip, but continuously changes the audio reproduction speed.
Also in this case, if the operation is performed at a place where the amplitude of the output sound is large, it is unnatural in audibility, and the quality of the reproduced signal is impaired.
【0007】[0007]
【発明が解決しようとする課題】上述した従来の画像音
声デコーダ再生時刻制御回路は任意の時刻にスキップや
ポーズの制御を行うため、出力音声が有音である時にス
キップやポーズの制御が行われた場合、人間の聴感上、
再生された音声が不自然で、不快に感じられる。そこで
本発明の目的は、上述した従来例の欠点を解消して、同
期処理時に音声データに不連続が存在しても、人間の聴
感には自然で何の不快感も与えない画像音声デコーダを
提供することである。The above-described conventional video / audio decoder reproduction time control circuit controls skip and pause at an arbitrary time. Therefore, when output sound is a sound, skip and pause are controlled. If you have a human hearing,
The reproduced sound is unnatural and unpleasant. Therefore, an object of the present invention is to solve the above-mentioned disadvantages of the conventional example, and to provide an image / audio decoder which does not give any unpleasantness to human hearing even if discontinuity exists in audio data at the time of synchronous processing. To provide.
【0008】[0008]
【課題を解決するための手段】本発明の画像音声デコー
ダは、符号化された画像、音声データを同時にデコー
ド、再生する際に、画像再生時刻と音声再生時刻とに時
刻差が生じたとき音声デコーダによる音声の再生時刻を
画像再生時刻に同期化させる同期処理を施す。この同期
処理は、無音検出回路を用いてデコードされた音声デー
タを解析し、音声データの振幅が所定の無音しきい値よ
り小さいかどうかを検出する。音声データの振幅が無音
しきい値より小さくて、かつ、両再生時刻の時刻差が所
定値を越えるとき、制御回路により音声デコーダに同期
処理を施させる。SUMMARY OF THE INVENTION An image / audio decoder according to the present invention, when decoding and reproducing coded image / audio data simultaneously, generates an audio signal when a time difference occurs between the image reproduction time and the audio reproduction time. A synchronization process is performed to synchronize the audio playback time with the image playback time by the decoder. This synchronization process analyzes the decoded audio data using the silence detection circuit and detects whether the amplitude of the audio data is smaller than a predetermined silence threshold. When the amplitude of the audio data is smaller than the silence threshold and the time difference between the two reproduction times exceeds a predetermined value, the control circuit causes the audio decoder to perform synchronization processing.
【0009】上述した同期処理は、音声データのデコー
ドを中断して再生時刻を遅延させるポーズ処理と、符号
化された音声データを読み飛ばし再生時刻を先行させる
スキップ処理とからなり、それぞれ画像データの再生時
刻と音声データの再生時刻との差分だけ補償するように
施される。The above-described synchronization processing includes pause processing for interrupting decoding of audio data and delaying a reproduction time, and skip processing for skipping encoded audio data and skipping the reproduction time. This is performed so as to compensate only for the difference between the playback time and the playback time of the audio data.
【0010】また、同期処理は、前記音声データの再生
速度を速くしたり遅くしたりする再生速度の制御を施す
こともでき、音声データの再生速度は、そのときの画像
データの再生時刻と音声データの再生時刻との時刻差に
対応して定められる。In the synchronous processing, the reproduction speed of the audio data can be controlled to increase or decrease the reproduction speed. The reproduction speed of the audio data depends on the reproduction time of the image data and the audio data at that time. It is determined according to the time difference from the data reproduction time.
【0011】[0011]
【発明の実施の形態】図1は本発明の第一の実施の形態
を示す図である。FIG. 1 is a diagram showing a first embodiment of the present invention.
【0012】まず、図1を参照して各部の説明をする。
音声デコーダ16は、符号化された音声データ17が入
力されるとそれをデコードし、出力音声データ18とし
て外部に出力する。また、ポーズ信号13やスキップ信
号14が入力されると、音声の再生のポーズ動作やスキ
ップ動作を行う。無音検出回路19は出力音声データ1
8が無音かどうかを判断し、無音である場合に無音検出
信号20を出力する。画像再生時刻10および音声再生
時刻11は、現在の画像および音声の再生時刻を示す信
号である。制御回路12は入力された画像再生時刻10
と音声再生時刻11とを比較し、それらの差が一定の値
以上となって、かつ無音検出回路19から無音検出信号
20が入力されている場合、ポーズ信号13、またはス
キップ信号14と制御時間15を音声デコーダに入力す
る。音声の再生時刻の方が進んでいる場合はポーズ信号
13を音声デコーダ16に入力し、音声の再生を入力さ
れた制御時間15だけ停止させて再生時間を遅らせる。
また、音声の再生時刻の方が遅れている場合、スキップ
信号14を音声デコーダ16に入力し、音声の再生を入
力された制御時間15だけスキップさせて再生時間を進
める。このように、出力音声データ18が無音の間の
み、音声の再生を停止させたり、スキップさせたりし
て、画像の再生時刻に音声の再生時刻を合わせ、画像と
音声の再生の同期を取る。First, each part will be described with reference to FIG.
When the coded audio data 17 is input, the audio decoder 16 decodes the coded audio data 17 and outputs it as output audio data 18 to the outside. When the pause signal 13 and the skip signal 14 are input, a pause operation and a skip operation for sound reproduction are performed. The silence detection circuit 19 outputs the output audio data 1
It is determined whether or not 8 is silent, and if no, a silence detection signal 20 is output. The image reproduction time 10 and the audio reproduction time 11 are signals indicating the current reproduction time of the image and the audio. The control circuit 12 receives the image reproduction time 10
And the sound reproduction time 11 are compared, and when the difference between them is equal to or more than a certain value and the silence detection signal 20 is input from the silence detection circuit 19, the pause signal 13 or the skip signal 14 and the control time 15 is input to the audio decoder. If the audio playback time is advanced, the pause signal 13 is input to the audio decoder 16, and the audio playback is stopped by the input control time 15 to delay the audio playback time.
If the audio playback time is later, the skip signal 14 is input to the audio decoder 16, and the audio playback is skipped by the input control time 15 to advance the playback time. As described above, the reproduction of the audio is stopped or skipped only while the output audio data 18 is silent, the reproduction time of the audio is adjusted to the reproduction time of the image, and the reproduction of the image and the audio is synchronized.
【0013】制御回路12は図2のように構成できる。
入力された画像再生時刻41から音声再生時刻42を減
算し、再生時刻差44を求める。絶対値計算部47は再
生時刻差44の絶対値を求める。この値が定められた値
tthよりも大きいかどうかを比較部48が判定し、大き
い場合、同期処理イネーブル信号49がポーズ・スキッ
プ信号出力部50に出力される。正負判定部45は、再
生時刻差44が正か負かを判定し、正負判定信号46を
ポーズ・スキップ信号出力部50に出力する。ポーズ・
スキップ信号出力部50は、同期処理イネーブル信号4
9が入力され、かつ、無音検出信号43が入力された場
合、ポーズ信号51またはスキップ信号52を出力す
る。このとき、正負判定信号46が正の場合は音声の再
生が遅れているため、スキップ信号52を出力し、負の
場合は音声の再生が進んでいるため、ポーズ信号51を
出力する。また、どのぐらい音声の再生時刻が進んでい
るか、または遅れているかを制御時間53として出力す
る。The control circuit 12 can be configured as shown in FIG.
The audio playback time 42 is subtracted from the input image playback time 41 to obtain a playback time difference 44. The absolute value calculator 47 calculates the absolute value of the reproduction time difference 44. The comparing unit 48 determines whether or not this value is larger than a predetermined value t th. If it is larger, the synchronization processing enable signal 49 is output to the pause / skip signal output unit 50. The positive / negative determination unit 45 determines whether the reproduction time difference 44 is positive or negative, and outputs a positive / negative determination signal 46 to the pause / skip signal output unit 50. Pause·
The skip signal output unit 50 outputs the synchronization processing enable signal 4
When 9 is input and the silence detection signal 43 is input, a pause signal 51 or a skip signal 52 is output. At this time, when the positive / negative determination signal 46 is positive, the skip signal 52 is output because the reproduction of the audio is delayed, and when the positive / negative determination signal 46 is negative, the pause signal 51 is output because the reproduction of the audio is advanced. Also, the control section 53 outputs how much the audio playback time is advanced or delayed.
【0014】無音検出回路19は図3のように構成でき
る。入力された出力音声データ21が絶対値計算部22
に入力され、出力音声データの絶対値23が計算され
る。これに乗算器24により定められた定数を乗じた値
と、レジスタ25に格納されていた値に乗算器26によ
り定められた定数を乗じた値とを加算し、レジスタ21
に格納する。レジスタ21に格納されているデータは、
音声出力データの絶対値23の過去からの平均値のよう
なものであると考えられる。このレジスタ21に格納さ
れている値を比較回路27で予め定められた無音しきい
値と比較し、この値以下であった場合、無音検出信号2
8を出力する。The silence detection circuit 19 can be configured as shown in FIG. The input output audio data 21 is converted to an absolute value calculation unit 22.
And the absolute value 23 of the output audio data is calculated. A value obtained by multiplying this by a constant determined by the multiplier 24 and a value obtained by multiplying the value stored in the register 25 by the constant determined by the multiplier 26 are added to the register 21.
To be stored. The data stored in the register 21 is
It is considered that the absolute value 23 of the audio output data is like an average value from the past. The value stored in the register 21 is compared with a predetermined silence threshold value by the comparison circuit 27. If the value is equal to or less than this value, the silence detection signal 2
8 is output.
【0015】このポーズとスキップの動作を図4を参照
して説明する。本実施形態の回路では、無音検出回路1
9によって、出力音声データ18の振幅が無音しきい値
より小さい場合にポーズやスキップの制御が行われる。
図4aは音声の振幅が無音しきい値より小さくなった時
刻t1 から、制御時間tp だけ、ポーズ動作を行った場
合である。この場合、ポーズの開始時と終了時に音声が
不連続となるが、音声の振幅が小さい無音の部分である
ため、人間の聴感に与える影響は少ない。また、図4b
は音声の音声の振幅が無音しきい値よりも小さくなった
時刻t2 から、制御時間ts だけスキップ動作を行った
場合である。この場合も、音声が不連続となるのは音声
の振幅の小さい無音部分であるため、再生された音声は
人間の聴感上不自然であると感じられない。The pause and skip operations will be described with reference to FIG. In the circuit of the present embodiment, the silence detection circuit 1
9 controls pause and skip when the amplitude of the output audio data 18 is smaller than the silence threshold.
Figure 4a from time t 1 at which the amplitude of the sound becomes smaller than the silence threshold, only the control time t p, is a case of performing a pause operation. In this case, the sound is discontinuous at the start and end of the pause, but since it is a silent part where the amplitude of the sound is small, it has little effect on human perception. Also, FIG.
It is when the amplitude of the audio sound from the time t 2 becomes smaller than the silence threshold was only skip operation control time t s. Also in this case, since the sound is discontinuous in a silent part having a small amplitude of the sound, the reproduced sound is not perceived as unnatural by human perception.
【0016】また、無音が長時間検出されず同期処理が
行えないことが考えられるが、無音が検出されなかった
時間に比例して、無音検出回路19の無音しきい値を大
きくしていき、同期処理を起こりやすくすることによっ
て解決することができる。It is conceivable that silence is not detected for a long time and synchronization processing cannot be performed. However, the silence threshold of the silence detection circuit 19 is increased in proportion to the time during which silence is not detected. This can be solved by making the synchronization process more likely to occur.
【0017】なお、本実施例では、無音検出回路19
は、出力音声データ18の振幅の大きさから無音である
かを判断しているが、人間の聴覚の特性を利用して、出
力音声データ18の振幅は大きいが人間の聴覚には聞こ
えにくい音声も無音であると判断する無音検出回路を使
用しても、本発明の音声デコーダ再生時刻制御回路を構
成することは容易である。In this embodiment, the silence detecting circuit 19
Determines whether or not there is silence based on the magnitude of the amplitude of the output voice data 18. However, by using the characteristics of human hearing, a voice whose output voice data 18 has a large amplitude but is difficult to hear by human hearing is used. It is easy to configure the audio decoder playback time control circuit of the present invention even if a silence detection circuit that determines that the audio signal is silent is used.
【0018】図5は本発明の第二の実施の形態を示す図
である。FIG. 5 is a view showing a second embodiment of the present invention.
【0019】まず、図5を参照して各部の説明をする。
音声デコーダ59は、符号化された音声データ60が入
力されると、それをデコードし、出力音声データ61と
して外部に出力する。また、再生速度制御信号57が入
力されると、別に入力された制御速度58に応じて、音
声の再生速度の制御を行う。つまり、制御速度58が正
の場合、再生速度を速め、制御速度58が負の場合、再
生速度を遅くする。無音検出回路62は出力音声データ
61が無音かどうかを判断し、判断無音である場合に無
音検出信号63を出力する。画像再生時刻54、および
音声再生時刻55は、現在の画像および音声の再生時刻
をそれぞれ示す信号である。制御回路56は入力された
画像再生時刻54と音声再生時刻55を比較し、それら
の差が一定の値以上となって、かつ無音検出回路62か
ら無音検出信号63が入力されている場合、再生速度制
御信号57と制御速度58を音声デコーダ59に入力す
る。音声の再生時刻の方が進んでいる場合は音声デコー
ダ59の再生速度を遅くさせるような制御速度58が音
声デコーダ59に入力され、音声デコーダ59の再生速
度が遅くなり、音声の再生時刻を遅らせる。また、音声
の再生時刻の方が遅れている場合は、音声デコーダ59
の再生速度が速くなるような制御速度58が音声デコー
ダ59に入力され、音声デコーダ59の再生速度が速く
なり、音声の再生時刻を進ませる。このように、出力音
声データ61が無音の間のみ、音声の再生速度を速くし
たり、遅くしたりして、画像の再生時刻に音声の再生時
刻を合わせ、画像と音声の再生の同期を取る。First, each part will be described with reference to FIG.
When the encoded audio data 60 is input, the audio decoder 59 decodes the encoded audio data 60 and outputs it as output audio data 61 to the outside. When the reproduction speed control signal 57 is input, the audio reproduction speed is controlled in accordance with the separately input control speed 58. That is, when the control speed 58 is positive, the reproduction speed is increased, and when the control speed 58 is negative, the reproduction speed is reduced. The silence detection circuit 62 determines whether or not the output audio data 61 is silence, and outputs a silence detection signal 63 if the output speech data 61 is determined to be silence. The image playback time 54 and the audio playback time 55 are signals indicating the current image and audio playback times, respectively. The control circuit 56 compares the input image reproduction time 54 and the audio reproduction time 55, and if the difference between them is equal to or more than a certain value and the silence detection signal 63 is input from the silence detection circuit 62, the reproduction is performed. The speed control signal 57 and the control speed 58 are input to the audio decoder 59. If the playback time of the audio is advanced, a control speed 58 for reducing the playback speed of the audio decoder 59 is input to the audio decoder 59, and the playback speed of the audio decoder 59 is reduced to delay the playback time of the audio. . If the audio playback time is later, the audio decoder 59
The control speed 58 is input to the audio decoder 59 so that the reproduction speed of the audio is increased, and the reproduction speed of the audio decoder 59 is increased to advance the audio reproduction time. As described above, only while the output audio data 61 is silent, the audio reproduction speed is increased or decreased to match the audio reproduction time with the image reproduction time, and synchronize the image and audio reproduction. .
【0020】制御回路56は図6のように構成できる。
入力された画像再生時刻64から音声再生時刻65を減
算し、再生時刻差67を求める。絶対値計算部68は再
生時刻差67の絶対値を求める。この値が定められた値
tthよりも大きいかどうかを比較部69によって判定
し、大きい場合、同期処理イネーブル信号70が再生速
度制御信号出力部71に出力される。再生速度制御信号
出力部71は、同期処理イネーブル信号70が入力さ
れ、かつ、無音検出信号66が入力された場合、再生速
度制御信号72を出力する。また、再生時刻差67に乗
算器73によって定められた定数を乗じたものを、音声
デコーダがどのくらいまで再生速度を速くするか、また
は遅くするかを示す制御速度74として出力する。The control circuit 56 can be configured as shown in FIG.
The audio playback time 65 is subtracted from the input image playback time 64 to obtain a playback time difference 67. The absolute value calculator 68 calculates the absolute value of the reproduction time difference 67. The comparing unit 69 determines whether this value is larger than a predetermined value t th , and if it is larger, the synchronization processing enable signal 70 is output to the reproduction speed control signal output unit 71. The reproduction speed control signal output unit 71 outputs a reproduction speed control signal 72 when the synchronization processing enable signal 70 is input and the silence detection signal 66 is input. Further, a value obtained by multiplying the reproduction time difference 67 by a constant determined by the multiplier 73 is output as a control speed 74 indicating how much the audio decoder increases or decreases the reproduction speed.
【0021】この再生速度制御の動作を図7を参照して
説明する。第二の実施形態の回路では、無音検出回路6
2によって、出力音声データ61の振幅が無音しきい値
より小さい場合に再生速度の制御が行われる。図7は音
声の振幅が無音しきい値より小さくなった時刻t1 か
ら、再生速度の制御を開始し、時刻t2 で画像の再生時
刻と音声の再生時刻の時刻差が一定値以下となり、再生
速度の制御が終了した場合を示している。例として時刻
t1 で画像の再生時刻が音声の再生時刻より遅れていた
場合に、音声デコーダの再生速度をt1 からt2 までの
間で遅らせた場合を示している。この場合、再生速度の
制御の開始時と終了時に、音声の再生速度が不連続とな
るが、音声の振幅が小さい無音の部分であるため、再生
された音声は、人間の聴感上不自然であると感じられな
い。The operation of the reproduction speed control will be described with reference to FIG. In the circuit of the second embodiment, the silence detection circuit 6
2, the playback speed is controlled when the amplitude of the output audio data 61 is smaller than the silence threshold. FIG. 7 shows that the control of the reproduction speed is started at time t 1 when the amplitude of the audio becomes smaller than the silence threshold, and at time t 2 , the time difference between the image reproduction time and the audio reproduction time becomes equal to or less than a certain value, This shows a case where the control of the reproduction speed has been completed. As an example, a case where the reproduction time of the image is later than the reproduction time of the audio at time t 1 and the reproduction speed of the audio decoder is delayed from t 1 to t 2 is shown. In this case, at the start and end of the control of the playback speed, the playback speed of the audio is discontinuous, but since the audio is a silent part with a small amplitude of the audio, the reproduced audio is unnatural due to human perception. I can't feel there.
【0022】[0022]
【発明の効果】上述したように本発明は、無音検出回路
と制御回路とを用いて、画像再生時刻と音声再生時刻と
の間に所定値以上の時刻差が生じたとき、出力音声デー
タの無音時のみ、時刻差を解消するように音声再生時刻
の同期処理を行うことにより、画像音声デコーダの同期
処理時に生じる音声の不連続が、人間の聴感に与える影
響を削減できるという効果がある。As described above, according to the present invention, when a time difference of a predetermined value or more occurs between the image reproduction time and the audio reproduction time by using the silence detection circuit and the control circuit, the output audio data By performing the synchronization processing of the audio reproduction time so as to eliminate the time difference only when there is no sound, there is an effect that it is possible to reduce the influence of the discontinuity of the audio generated at the time of the synchronization processing of the image / audio decoder on human perception.
【図1】本発明の第一の実施形態の構成を示す図であ
る。FIG. 1 is a diagram showing a configuration of a first embodiment of the present invention.
【図2】第一の実施形態の制御回路の構成を示す図であ
る。FIG. 2 is a diagram illustrating a configuration of a control circuit according to the first embodiment.
【図3】第一および第二の実施形態での無音検出回路の
構成を示す図である。FIG. 3 is a diagram illustrating a configuration of a silence detection circuit according to the first and second embodiments.
【図4】第一の実施形態での音声再生のポーズおよびス
キップ動作を示す図である。FIG. 4 is a diagram illustrating pause and skip operations of audio reproduction according to the first embodiment.
【図5】第二の実施形態の構成を示す図である。FIG. 5 is a diagram illustrating a configuration of a second embodiment.
【図6】第二の実施形態での制御回路の構成を示す図で
ある。FIG. 6 is a diagram illustrating a configuration of a control circuit according to a second embodiment.
【図7】本発明の第二の実施形態での音声再生の再生速
度変化による同期処理を示す図である。FIG. 7 is a diagram illustrating a synchronization process based on a change in a reproduction speed of audio reproduction in a second embodiment of the present invention.
【図8】従来例の構成を示す図である。FIG. 8 is a diagram showing a configuration of a conventional example.
【図9】従来例での制御回路の構成を示す図である。FIG. 9 is a diagram showing a configuration of a control circuit in a conventional example.
【図10】従来例での音声再生のポーズ、スキップ動作
を示す図である。FIG. 10 is a diagram showing pause and skip operations of audio reproduction in a conventional example.
1 画像再生時刻 2 音声再生時刻 3 制御回路 4 ポーズ信号 5 スキップ信号 6 制御時間 7 音声デコーダ 8 符号化された音声データ 9 出力音声データ 10 画像再生時刻 11 音声再生時刻 12 制御回路 13 ポーズ信号 14 スキップ信号 15 制御時間 16 音声デコーダ 17 符号化された音声データ 18 出力音声データ 19 無音検出回路 20 無音検出信号 21 出力音声データ 22 絶対値計算部 23 出力音声データの絶対値 24 乗算器1 25 レジスタ 26 乗算器2 27 比較回路 28 無音検出信号 29 画像再生時刻 30 音声再生時刻 31 再生時刻差 32 正負判定部 33 正負判定信号 34 絶対値計算部 35 比較回路 36 同期処理イネーブル信号 37 ポーズ・スキップ信号出力部 38 ポーズ信号 39 スキップ信号 40 制御時間 41 画像再生時刻 42 音声再生時刻 43 無音検出信号 44 再生時刻差 45 正負判定部 46 正負判定信号 47 絶対値計算部 48 判定部 49 同期処理イネーブル信号 50 ポーズ・スキップ信号出力部 51 ポーズ信号 52 スキップ信号 53 制御時間 54 画像再生時刻 55 音声再生時刻 56 制御回路 57 再生速度制御信号 58 制御速度 59 無音検出信号 60 符号化された音声データ 61 出力音声データ 62 無音検出回路 63 無音検出信号 64 画像再生時刻 65 音声再生時刻 66 無音検出信号 67 再生時刻差 68 絶対値計算部 69 比較部 70 同期イネーブル信号 71 再生速度制御信号出力部 72 再生速度制御信号 73 乗算器3 74 制御速度 1 Image reproduction time 2 Audio reproduction time 3 Control circuit 4 Pause signal 5 Skip signal 6 Control time 7 Audio decoder 8 Encoded audio data 9 Output audio data 10 Image reproduction time 11 Audio reproduction time 12 Control circuit 13 Pause signal 14 Skip Signal 15 Control time 16 Audio decoder 17 Encoded audio data 18 Output audio data 19 Silence detection circuit 20 Silence detection signal 21 Output audio data 22 Absolute value calculation unit 23 Absolute value of output audio data 24 Multiplier 1 25 Register 26 Multiplication Unit 2 27 Comparison circuit 28 Silence detection signal 29 Image reproduction time 30 Audio reproduction time 31 Reproduction time difference 32 Positive / negative judgment unit 33 Positive / negative judgment signal 34 Absolute value calculation unit 35 Comparison circuit 36 Synchronization processing enable signal 37 Pause / skip signal output unit 38 Pause signal 39 Skip Signal 40 Control time 41 Image reproduction time 42 Audio reproduction time 43 Silence detection signal 44 Reproduction time difference 45 Positive / negative judgment unit 46 Positive / negative judgment signal 47 Absolute value calculation unit 48 Judgment unit 49 Synchronization processing enable signal 50 Pause / skip signal output unit 51 Pause Signal 52 Skip signal 53 Control time 54 Image playback time 55 Audio playback time 56 Control circuit 57 Playback speed control signal 58 Control speed 59 Silence detection signal 60 Encoded audio data 61 Output audio data 62 Silence detection circuit 63 Silence detection signal 64 Image reproduction time 65 Audio reproduction time 66 Silence detection signal 67 Reproduction time difference 68 Absolute value calculation unit 69 Comparison unit 70 Synchronization enable signal 71 Reproduction speed control signal output unit 72 Reproduction speed control signal 73 Multiplier 3 74 Control speed
Claims (5)
を同時にデコードし再生するとともに、画像再生時刻と
音声再生時刻とに時刻差が生じたとき音声デコーダによ
る音声の再生時刻を画像再生時刻に同期化させる同期処
理を施す画像音声デコーダにおいて、 デコードされた音声データを解析し、該音声データの振
幅が所定の無音しきい値より小さいかどうかを検出する
無音検出回路と、 前記無音検出回路により音声データの振幅が前記無音し
きい値より小さいことが検出され、かつ、前記時刻差が
所定値を越えるとき、前記音声デコーダに前記同期処理
を施させる制御回路と、 を有することを特徴とする、音声再生時刻の制御機能を
有する画像音声デコーダ。1. A method for decoding and reproducing encoded image data and audio data simultaneously, and synchronizing the audio reproduction time by an audio decoder with the image reproduction time when a time difference occurs between the image reproduction time and the audio reproduction time. A video / audio decoder that performs a synchronization process for converting the decoded voice data into an audio data, and detects whether or not the amplitude of the audio data is smaller than a predetermined silence threshold. the amplitude of the data is detected Ikoto smaller than the silence threshold value, and, when the time difference exceeds a predetermined value, and having a control circuit which subjected the synchronization process to the audio decoder And an image / audio decoder having a function of controlling the audio reproduction time.
ードを中断して再生時刻を遅延させるポーズ処理と、前
記符号化された音声データを読み飛ばし再生時刻を先行
させるスキップ処理とからなる請求項1記載の画像音声
デコーダ。2. The synchronizing process comprises a pause process for interrupting decoding of the audio data to delay a playback time, and a skip process for skipping the encoded audio data and leading a playback time. 2. The video / audio decoder according to 1.
が画像データの再生時刻に先行するとき、また、前記ス
キップ処理は音声データの再生時刻が画像データの再生
時刻より遅れるとき、それぞれ画像データの再生時刻と
音声データの再生時刻との差分だけ補償するように施さ
れる請求項2記載の画像音声デコーダ。3. The pause processing is performed when the reproduction time of the audio data is earlier than the reproduction time of the image data, and the skip processing is performed when the reproduction time of the audio data is later than the reproduction time of the image data. 3. The video / audio decoder according to claim 2, wherein the video / audio decoder is compensated by a difference between the reproduction time and the reproduction time of the audio data.
速度を速くしたり遅くしたりする再生速度の制御を施す
請求項3記載の画像音声デコーダ。4. The video and audio decoder according to claim 3, wherein said synchronization process controls a reproduction speed of increasing or decreasing a reproduction speed of said audio data.
速度は、そのときの画像データの再生時刻と音声データ
の再生時刻との時刻差に対応して定められる請求項4記
載の画像音声デコーダ。5. The video and audio decoder according to claim 4, wherein the reproduction speed of the audio data in the synchronization processing is determined according to a time difference between a reproduction time of the image data and a reproduction time of the audio data at that time.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9148109A JP3063682B2 (en) | 1997-06-05 | 1997-06-05 | Video / audio decoder having audio playback time control function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9148109A JP3063682B2 (en) | 1997-06-05 | 1997-06-05 | Video / audio decoder having audio playback time control function |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH10336591A JPH10336591A (en) | 1998-12-18 |
| JP3063682B2 true JP3063682B2 (en) | 2000-07-12 |
Family
ID=15445457
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9148109A Expired - Lifetime JP3063682B2 (en) | 1997-06-05 | 1997-06-05 | Video / audio decoder having audio playback time control function |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3063682B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7339958B2 (en) | 2005-01-03 | 2008-03-04 | Mediatek, Inc. | System and method for performing signal synchronization of data streams |
| JP4978984B2 (en) * | 2006-03-27 | 2012-07-18 | サミー株式会社 | Playback device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3594409B2 (en) * | 1995-06-30 | 2004-12-02 | 三洋電機株式会社 | MPEG audio playback device and MPEG playback device |
| JP3877371B2 (en) * | 1997-02-26 | 2007-02-07 | 株式会社東芝 | Video playback device |
-
1997
- 1997-06-05 JP JP9148109A patent/JP3063682B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH10336591A (en) | 1998-12-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3698376B2 (en) | Synchronous playback device | |
| RU2507707C2 (en) | Method and apparatus for controlling video and audio data reproduction | |
| JPH02121500A (en) | Acoustic effect device | |
| US20040105660A1 (en) | Audio video reproduction apparatus, audio video reproduction method, program, and medium | |
| CN1204214A (en) | Apparatus and method for synchronizing audio/video signal | |
| JP3063682B2 (en) | Video / audio decoder having audio playback time control function | |
| US20090304088A1 (en) | Video-sound signal processing system | |
| CN1185628C (en) | System and method for enabling audio speed conversion | |
| JP2002027401A (en) | Broadcast signal recording / reproducing apparatus and method, and recording medium | |
| JP3159098B2 (en) | Synchronized playback device for image and audio | |
| JP2005346781A (en) | Digital information reproducing apparatus and method | |
| JPH11353804A (en) | Recording / reproducing apparatus and method, and providing medium | |
| JP3550110B2 (en) | Signal processing circuit and signal processing method | |
| US20180040348A1 (en) | Signal processing device, signal processing system, signal processing method, and program | |
| JP3586398B2 (en) | Digital signal processing device and digital signal processing method | |
| JP2002016858A (en) | Digital broadcast receiver | |
| WO2006040827A1 (en) | Transmitting apparatus, receiving apparatus and reproducing apparatus | |
| JP7614749B2 (en) | Information processing device, information processing method, and program | |
| WO2010100895A1 (en) | Sound reproduction device and image/sound reproduction device | |
| JP3165661B2 (en) | Audio synchronized playback device | |
| CN1750629A (en) | Recording and reproducing device | |
| JP2003162299A (en) | Audio reproduction circuit, decoding circuit, audio reproduction device, and audio reproduction method | |
| JP2010093614A (en) | Video signal playback apparatus | |
| JP4680122B2 (en) | Spoken speed conversion device, television receiver, and speaking speed conversion method | |
| JP2001285771A (en) | Disc variable speed playback device |