JP2012105236A - Synchronous control apparatus and synchronous control method - Google Patents

Synchronous control apparatus and synchronous control method Download PDF

Info

Publication number
JP2012105236A
JP2012105236A JP2010254517A JP2010254517A JP2012105236A JP 2012105236 A JP2012105236 A JP 2012105236A JP 2010254517 A JP2010254517 A JP 2010254517A JP 2010254517 A JP2010254517 A JP 2010254517A JP 2012105236 A JP2012105236 A JP 2012105236A
Authority
JP
Japan
Prior art keywords
video
data
video data
audio
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010254517A
Other languages
Japanese (ja)
Inventor
Shinichi Fujitani
真一 藤谷
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.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics 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 Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2010254517A priority Critical patent/JP2012105236A/en
Publication of JP2012105236A publication Critical patent/JP2012105236A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To realize quick video switching in a synchronous control apparatus with a simple structure.SOLUTION: A synchronous control apparatus 10 synchronously outputs a video signal and a sound signal from a superimposing signal obtained by superimposing first video data, second video data and audio data. When a display switching command from the video signal on the first video data to the video signal on the second video data is given, a demultiplexer 130 extracts the second video data corresponding to a time stamp of the displayed first video data. A synchronous control portion 200 decides output timing of the video signal and the sound signal based on the time stamp of the extracted second video data and the time stamp of the audio data.

Description

本発明は同期制御装置、及び同期制御方法に関し、特にマルチメディアデータにかかる同期制御装置、及び同期制御方法に関する。   The present invention relates to a synchronization control device and a synchronization control method, and more particularly to a synchronization control device and a synchronization control method for multimedia data.

ビデオデータおよびオーディオデータの符号化、およびこれらのデータの多重化に関する国際規格として、MPEG(Moving Picture Expert Group)規格が広く知られている。MPEG規格に基づいて記録されたビデオデータ、オーディオデータにはPTS(Presentation Time Stamp)と呼ばれる時間同期を取るための情報が付加されている。例えば、ビデオデータに対応して複数のオーディオデータを持つようなストリームの場合、このPTSにより、映像を再生したまま音声のみを切り替えることができる。同様にオーディオデータに対応して複数種類のビデオデータを持つようなストリームの場合、このPTSにより同一音声を再生したまま画面のアングルのみを切り替えること等ができる。このようなストリームデータを扱う場合、映像と音声の同期を取る必要がある。   The MPEG (Moving Picture Expert Group) standard is widely known as an international standard for encoding video data and audio data and multiplexing the data. Information for time synchronization called PTS (Presentation Time Stamp) is added to video data and audio data recorded based on the MPEG standard. For example, in the case of a stream having a plurality of audio data corresponding to video data, it is possible to switch only audio while reproducing the video by this PTS. Similarly, in the case of a stream having a plurality of types of video data corresponding to audio data, it is possible to switch only the screen angle while reproducing the same sound by this PTS. When handling such stream data, it is necessary to synchronize video and audio.

特許文献1にはストリームデータ内の映像と音声の同期を取る技術が開示されている。図5は、特許文献1に記載の同期再生装置10の構成を示すブロック図である。ATAPI制御部110は、メディア300からストリームデータを読み出し、読み出したストリームデータをプレイバックバッファ120に格納する。デマルチプレクサ130は、プレイバックバッファ120からストリームデータを読み出し、ビデオデータ、オーディオデータ、再生情報、に分離する。デマルチプレクサ130は、ビデオデータをビデオバッファ140に格納する。デマルチプレクサ130は、オーディオデータをオーディオバッファ150に格納する。デマルチプレクサ130は、再生情報をSTC生成部160に供給する。   Patent Document 1 discloses a technique for synchronizing video and audio in stream data. FIG. 5 is a block diagram showing the configuration of the synchronized playback device 10 described in Patent Document 1. As shown in FIG. The ATAPI control unit 110 reads stream data from the medium 300 and stores the read stream data in the playback buffer 120. The demultiplexer 130 reads the stream data from the playback buffer 120 and separates it into video data, audio data, and reproduction information. The demultiplexer 130 stores the video data in the video buffer 140. The demultiplexer 130 stores the audio data in the audio buffer 150. The demultiplexer 130 supplies the reproduction information to the STC generation unit 160.

STC生成部160は再生情報を基に、タイミングを制御するためのSTC(System Time Clock)を生成し、ビデオデコーダ170及びオーディオデコーダ190に供給する。ビデオデコーダ170は、ビデオバッファ140に格納されたビデオデータを読み出してデコードし、映像信号として出力する。オーディオデコーダ190は、オーディオバッファ150に格納されたオーディオデータを読み出してデコードし、音声信号として出力する。PTS検出部180は、ビデオデコーダ170を介してビデオバッファ140に格納されたビデオデータを読み出し、PTSを検出する。同様にPTS検出部180は、オーディオデコーダ190を介してオーディオバッファ150に格納されたオーディオデータを読み出し、PTSを検出する。PTS検出部180は、PTSの検出結果を同期制御部200に供給する。同期制御部200は、PTSの検出状態を基に、ビデオデコーダ170及びオーディオデコーダ190の出力タイミングを決定する。   The STC generator 160 generates an STC (System Time Clock) for controlling timing based on the reproduction information, and supplies the STC (System Time Clock) to the video decoder 170 and the audio decoder 190. The video decoder 170 reads and decodes the video data stored in the video buffer 140 and outputs it as a video signal. The audio decoder 190 reads and decodes the audio data stored in the audio buffer 150 and outputs it as an audio signal. The PTS detector 180 reads the video data stored in the video buffer 140 via the video decoder 170 and detects the PTS. Similarly, the PTS detection unit 180 reads audio data stored in the audio buffer 150 via the audio decoder 190 and detects PTS. The PTS detection unit 180 supplies the PTS detection result to the synchronization control unit 200. The synchronization control unit 200 determines the output timing of the video decoder 170 and the audio decoder 190 based on the detection state of the PTS.

図6は、ストリームの通常再生時のビデオバッファ140と、出力されるビデオ映像信号の関係を示す概念図である。ビデオ画像は、同期制御部200の指示に応じてSTCとPTSの値が同一となるように出力される。ここで、ビデオバッファ140には、ビデオデコーダ170へのデータ供給が枯渇しないように一定量のビデオデータが予め格納される。   FIG. 6 is a conceptual diagram showing the relationship between the video buffer 140 during normal playback of a stream and an output video image signal. The video image is output so that the values of STC and PTS are the same according to an instruction from the synchronization control unit 200. Here, a certain amount of video data is stored in the video buffer 140 in advance so that the data supply to the video decoder 170 is not exhausted.

続いて、特許文献1に記載の同期再生装置10を用いて、アングル切り替え(同一音声を再生したまま画面のアングルのみを切り替える)を行う際の動作を図7及び図8を参照して説明する。図7は、アングル切り替え時の動作概念を示す図である。図8は、アングル切り替え時の同期制御装置10の動作を示すフローチャートである。   Next, an operation when performing angle switching (switching only the angle of the screen while reproducing the same sound) using the synchronized playback device 10 described in Patent Document 1 will be described with reference to FIGS. 7 and 8. . FIG. 7 is a diagram illustrating an operation concept at the time of angle switching. FIG. 8 is a flowchart showing the operation of the synchronization control device 10 at the time of angle switching.

ユーザが任意のタイミングにアングル切り替えを、リモートコントローラ等を用いて指示する。図7の例では、第1のアングルに関するビデオデータ(以下、Video#1と記載する。)のPTS#5の表示中に映像切り替えの指示がなされている。ここで、本例のビデオバッファ140には、Video#1のPTS6〜10のデータが格納されている。ビデオデコーダ170は、処理を停止し、ビデオバッファ140にあるビデオデータを破棄する(S11)。   The user instructs angle switching at an arbitrary timing using a remote controller or the like. In the example of FIG. 7, a video switching instruction is given during display of PTS # 5 of video data relating to the first angle (hereinafter referred to as Video # 1). Here, the video buffer 140 of this example stores data of PTS 6 to 10 of Video # 1. The video decoder 170 stops processing and discards the video data in the video buffer 140 (S11).

同期制御装置10は、アングル切り替えが終了するまでVideo#1の表示を継続させる(S12)。図7の例では、同期制御装置10は、アングル切り替えが終了するまでVideo#1のPTS#5の表示を継続する。次に、デマルチプレクサ130を、指定されたアングルにかかるビデオデータ(以下、Video#2と記載する。)を抽出するように設定する(S13)。これにより、ビデオバッファ140には、Video#2のデータが格納される。この際、ビデオバッファ140から順次Video#1のビデオデータが破棄されるため、Video#2のデータはPTS11のデータから格納され始める。その後、ビデオデコーダ170は、処理を再開する(S14)。   The synchronization control device 10 continues to display Video # 1 until the angle switching is completed (S12). In the example of FIG. 7, the synchronization control device 10 continues to display the PTS # 5 of Video # 1 until the angle switching is completed. Next, the demultiplexer 130 is set so as to extract video data (hereinafter referred to as “Video # 2”) relating to the designated angle (S13). As a result, Video # 2 data is stored in the video buffer 140. At this time, since the video data of Video # 1 is sequentially discarded from the video buffer 140, the data of Video # 2 starts to be stored from the data of PTS11. Thereafter, the video decoder 170 resumes the processing (S14).

PTS検出部180は、Video#2のPTSを検出する(S15)。さらに、PTS検出部180は、オーディオデータ(以下、Audio#1と記載する。)のPTSを抽出する(S16)。同期制御部200は、Video#1のPTSとAudio#1のPTSの差分から、Video#2のPTSとAudio#1のPTSの差分を減算し、減算結果の絶対値が閾値以内か否かを判定する(S17)。   The PTS detector 180 detects the PTS of Video # 2 (S15). Further, the PTS detector 180 extracts the PTS of the audio data (hereinafter referred to as “Audio # 1”) (S16). The synchronization control unit 200 subtracts the difference between the PTS of the Video # 2 and the PTS of the Audio # 1 from the difference between the PTS of the Video # 1 and the PTS of the Audio # 1, and determines whether or not the absolute value of the subtraction result is within a threshold value. Determine (S17).

減算結果の絶対値が閾値以内であれば(S17:Yes)、同期制御部200は、映像と音声の同期がとれたと判定し、ビデオデコーダ170に映像切り替えの指示を行う。そして、ビデオデコーダ170は、Video#2をデコードした映像信号の出力を行う(S18)。一方、減算結果の絶対値が閾値以内でない場合(S17:No)、再度Video#2のPTSと、Audio#1のPTSと、抽出する(S15、S16)。   If the absolute value of the subtraction result is within the threshold (S17: Yes), the synchronization control unit 200 determines that the video and audio are synchronized, and instructs the video decoder 170 to switch the video. Then, the video decoder 170 outputs a video signal obtained by decoding Video # 2 (S18). On the other hand, if the absolute value of the subtraction result is not within the threshold (S17: No), the PTS of Video # 2 and the PTS of Audio # 1 are extracted again (S15, S16).

例えば、図7のアングル切り替えの例において、Video#1のPTSは5であり、Audio#1のPTSは6(図示せず)とする。この場合において、Video#2のPTSは11であり、閾値が2とする。この場合、数回のPTSの再抽出(Video#2:11→12→…、Audio#1:6→7→…)が発生したのちに、音声と映像の同期がとれたものと判定される。当該判定の後に、表示画像がVideo#2に切り替わる。このように、映像の切り替えに一定の待ち時間が生じる。   For example, in the angle switching example of FIG. 7, the PTS of Video # 1 is 5, and the PTS of Audio # 1 is 6 (not shown). In this case, the PTS of Video # 2 is 11, and the threshold is 2. In this case, after the re-extraction of PTS (Video # 2: 11 → 12 →..., Audio # 1: 6 → 7 →...) Occurs, it is determined that the audio and video are synchronized. . After the determination, the display image is switched to Video # 2. In this way, a certain waiting time occurs in switching between images.

続いて、同期制御装置10が複数のビデオバッファを持つ構成について検討する。図9は、同期制御装置10が複数のビデオバッファを持つ場合の構成を示すブロック図である。同期制御装置10は、図5の構成と比較してビデオバッファ1(140)、ビデオバッファ2(141)、ビデオバッファ3(142)、ビデオデコーダ1(170)、ビデオデコーダ2(171)、ビデオデコーダ3(172)を備える。各ビデオバッファには、各アングルのビデオデータが格納される。各ビデオデコーダは、対応するビデオバッファからビデオデータを読み出し、デコード処理を行う。ここで、指定されたビデオデコーダのみが出力処理を行うことにより、映像切り替えを実現している。デマルチプレクサ130は、3種類のビデオデータを読み出し、読み出したビデオデータをビデオバッファ1〜3に格納する。   Next, a configuration in which the synchronization control device 10 has a plurality of video buffers will be considered. FIG. 9 is a block diagram showing a configuration when the synchronization control apparatus 10 has a plurality of video buffers. Compared with the configuration of FIG. 5, the synchronization control device 10 includes a video buffer 1 (140), a video buffer 2 (141), a video buffer 3 (142), a video decoder 1 (170), a video decoder 2 (171), and video. A decoder 3 (172) is provided. Each video buffer stores video data of each angle. Each video decoder reads video data from a corresponding video buffer and performs a decoding process. Here, only the designated video decoder performs output processing, thereby realizing video switching. The demultiplexer 130 reads three types of video data, and stores the read video data in the video buffers 1 to 3.

なお、たとえばブルーレイROM(Read Only memory)の規格では、ビデオデータは9種類、オーディオデータは32種類だけ同一メディアに含まれる可能性が有り、同期制御装置は、それに対応するビデオバッファ等を任意数だけ備えることが可能である。   Note that, for example, in the Blu-ray ROM (Read Only Memory) standard, nine types of video data and 32 types of audio data may be included in the same medium, and the synchronization control device may include an arbitrary number of video buffers or the like corresponding thereto. It is possible to provide only.

図9に示す同期制御装置10によるアングル切り替え時の処理を説明する。図10は、図9に示す同期制御装置10によるアングル切り替え時(Video#1からVideo#2への切り替え)の動作概念を示す図である。図11は、図9に示す同期制御装置10のアングル切り替え時(Video#1からVideo#2への切り替え)の動作を示すフローチャートである。上述のように、同期制御装置は、3つのビデオバッファ、及び3つのビデオデコーダを備え、デマルチプレクサ130は、各々のビデオバッファに各アングルのビデオデータを供給している。   Processing at the time of angle switching by the synchronization control device 10 shown in FIG. 9 will be described. FIG. 10 is a diagram showing an operation concept at the time of angle switching (switching from Video # 1 to Video # 2) by the synchronization control device 10 shown in FIG. FIG. 11 is a flowchart showing an operation at the time of angle switching (switching from Video # 1 to Video # 2) of the synchronization control device 10 shown in FIG. As described above, the synchronization control device includes three video buffers and three video decoders, and the demultiplexer 130 supplies video data of each angle to each video buffer.

ユーザからVideo#1からVideo#2へのアングル切り替えの指示を受け付けた場合、PTS制御部180は、ビデオバッファ1(170)からビデオデータを読み出し、PTSを抽出する。そして、PTS制御部180は、ビデオバッファ2(171)からビデオデータを読み出し、PTSを抽出する(S15)。さらに、PTS制御部180は、Audio#1のPTSを抽出する(S16)。同期制御部200は、Video#1のPTSとAudio#1のPTSの差分から、Video#2のPTSとAudio#1のPTSの差分を減算し、減算結果の絶対値が閾値以内か否かを判定する(S17)。   When receiving an instruction to switch the angle from Video # 1 to Video # 2 from the user, the PTS controller 180 reads the video data from the video buffer 1 (170) and extracts the PTS. Then, the PTS controller 180 reads the video data from the video buffer 2 (171) and extracts the PTS (S15). Further, the PTS controller 180 extracts the PTS of Audio # 1 (S16). The synchronization control unit 200 subtracts the difference between the PTS of the Video # 2 and the PTS of the Audio # 1 from the difference between the PTS of the Video # 1 and the PTS of the Audio # 1, and determines whether or not the absolute value of the subtraction result is within a threshold value. Determine (S17).

減算結果の絶対値が閾値以内であれば(S17:Yes)、同期制御部200は、映像と音声の同期がとれたと判定し、ビデオデコーダ170に映像切り替えの指示を行う。そして、ビデオデコーダ170は、Video#2をデコードした映像信号の出力を行う(S18)。一方、減算結果の絶対値が閾値以内でない場合(S17:No)、再度Video#2のPTSと、Audio#1のPTSと、抽出する(S15、S16)。   If the absolute value of the subtraction result is within the threshold (S17: Yes), the synchronization control unit 200 determines that the video and audio are synchronized, and instructs the video decoder 170 to switch the video. Then, the video decoder 170 outputs a video signal obtained by decoding Video # 2 (S18). On the other hand, if the absolute value of the subtraction result is not within the threshold (S17: No), the PTS of Video # 2 and the PTS of Audio # 1 are extracted again (S15, S16).

ここで、図9に示す同期制御装置10においては、複数のビデオバッファにビデオデータが並列的に読み出されている。そのため、図10に図示するようにアングル切り替え指示から早期に同期が取れ、映像を素早く切り替えることができる。   Here, in the synchronous control device 10 shown in FIG. 9, video data is read in parallel to a plurality of video buffers. Therefore, as shown in FIG. 10, it is possible to synchronize at an early stage from the angle switching instruction and to switch the video quickly.

特開2006−340102号公報JP 2006-340102 A

上述の図5に示す同期制御装置10の構成では、アングル切り替え(出力映像信号の切り替え)時に一定の待ち時間が生じてしまうという問題が生じる。一方、図9に示す同期制御装置10の構成では、複数のビデオバッファ及びビデオデコーダを備える必要があるため、ハードウェア構成が複雑になるとともに、装置として高価となってしまうという問題がある。   In the configuration of the synchronous control device 10 shown in FIG. 5 described above, there is a problem that a certain waiting time occurs when the angle is switched (switching of the output video signal). On the other hand, the configuration of the synchronization control device 10 shown in FIG. 9 requires a plurality of video buffers and video decoders, and thus has a problem that the hardware configuration becomes complicated and the device is expensive.

すなわち、素早い映像切り替えを、簡易な構成の同期制御装置で実現することができないという問題があった。   That is, there is a problem that quick video switching cannot be realized by a synchronous control device with a simple configuration.

本発明にかかる同期制御装置の一態様は、第1のビデオデータ、第2のビデオデータ、オーディオデータを重畳した重畳信号から映像信号、音声信号を同期して出力する同期再生装置であって、前記第1のビデオデータを格納する第1のビデオバッファと、前記第2のビデオデータを格納する第2のビデオバッファと、前記第1のオーディオデータを格納する第1のオーディオバッファと、前記第1または前記第2のビデオバッファに格納された前記第1または前記第2のビデオデータをデコードし、前記映像信号を出力するビデオデコーダと、前記第1のオーディオバッファに格納された前記第1のオーディオデータをデコードし、前記音声信号を出力するオーディオデコーダと、前記重畳信号を前記第1のビデオデータ、前記第2のビデオデータ、前記オーディオデータに分離するとともに、前記第1のビデオデータにかかる映像信号から前記第2のビデオデータにかかる映像信号への表示切り替え命令の際に、表示中の前記第1のビデオデータのタイムスタンプに基づいて、前記第2のビデオデータを前記重畳信号から抽出して前記第2のビデオバッファに格納するデータ分離部と、前記第1または前記第2のビデオバッファから読み出したビデオデータのタイムスタンプと、前記オーディオバッファから読み出したオーディオデータのタイムスタンプに基づいて前記映像信号と前記音声信号の出力タイミングを決定する同期処理部と、を備える、ものである。   One aspect of a synchronous control device according to the present invention is a synchronous playback device that outputs a video signal and an audio signal in synchronization from a superimposed signal on which first video data, second video data, and audio data are superimposed, A first video buffer for storing the first video data; a second video buffer for storing the second video data; a first audio buffer for storing the first audio data; A video decoder that decodes the first or second video data stored in the first or second video buffer and outputs the video signal; and the first video data stored in the first audio buffer. An audio decoder that decodes audio data and outputs the audio signal; and the superimposition signal as the first video data and the second video. Data and the audio data, and at the time of the display switching command from the video signal applied to the first video data to the video signal applied to the second video data, the first video data being displayed Based on the time stamp, the second video data is extracted from the superimposed signal and stored in the second video buffer; and the video data read from the first or second video buffer A synchronization processing unit for determining the output timing of the video signal and the audio signal based on the time stamp and the time stamp of the audio data read from the audio buffer.

本発明にかかる同期制御方法の一態様は、第1のビデオデータ、第2のビデオデータ、オーディオデータを重畳した重畳信号から映像信号、音声信号を同期して出力する同期制御方法であって、前記第1のビデオデータにかかる映像信号から前記第2のビデオデータにかかる映像信号への表示切り替え命令の際に、表示している前記第1のビデオデータのタイムスタンプを抽出し、前記タイムスタンプと対応する前記第2のビデオデータを抽出し、抽出した前記第2のビデオデータのタイムスタンプと、前記オーディオデータのタイムスタンプに基づいて、前記映像信号と前記音声信号を同期する、ものである。   One aspect of the synchronization control method according to the present invention is a synchronization control method for synchronously outputting a video signal and an audio signal from a superimposed signal on which first video data, second video data, and audio data are superimposed, The time stamp of the displayed first video data is extracted in response to a display switching command from the video signal related to the first video data to the video signal related to the second video data, and the time stamp The second video data corresponding to the second video data is extracted, and the video signal and the audio signal are synchronized based on the time stamp of the extracted second video data and the time stamp of the audio data. .

本発明においては、表示切り替えの際に、現在表示中の第1のビデオデータのタイムスタンプを抽出し、当該タイムスタンプに対応する切り替え対象の第2のビデオデータを抽出する。抽出した第2のビデオデータは、切り替え対象データを格納するバッファである第2のビデオバッファに格納される。表示中のタイムスタンプを持つビデオデータを用いることにより、素早く映像と音声の同期を取ることができる。さらに、ビデオバッファは2つのみであるため、簡易な構成により同期制御を実現できる。   In the present invention, when the display is switched, the time stamp of the first video data currently being displayed is extracted, and the second video data to be switched corresponding to the time stamp is extracted. The extracted second video data is stored in a second video buffer that is a buffer for storing switching target data. By using video data with a time stamp being displayed, video and audio can be quickly synchronized. Furthermore, since there are only two video buffers, synchronization control can be realized with a simple configuration.

本発明によれば、簡易な構成の同期制御装置により、素早い映像切り替えを実現することができる同期制御装置、及び同期制御方法を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the synchronous control apparatus which can implement | achieve quick video switching with the synchronous control apparatus of simple structure, and a synchronous control method can be provided.

実施の形態1にかかる同期制御装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a synchronization control device according to a first exemplary embodiment; 実施の形態1にかかる同期制御装置の動作を示すフローチャートである。3 is a flowchart showing an operation of the synchronous control device according to the first exemplary embodiment; 実施の形態1にかかる同期制御装置の動作を示すフローチャートである。3 is a flowchart showing an operation of the synchronous control device according to the first exemplary embodiment; 実施の形態1にかかる同期制御装置によるアングル切り替え時の動作概念を示す図である。It is a figure which shows the operation | movement concept at the time of angle switching by the synchronous control apparatus concerning Embodiment 1. FIG. 特許文献1にかかる同期制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the synchronous control apparatus concerning patent document 1. FIG. 特許文献1にかかる同期制御装置において、ストリームの通常再生時のビデオバッファと、出力されるビデオ映像信号の関係を示す概念図である。In the synchronous control device according to Patent Document 1, it is a conceptual diagram showing a relationship between a video buffer during normal playback of a stream and an output video image signal. 特許文献1にかかる同期制御装置にかかる、アングル切り替え時の動作概念を示す図である。It is a figure which shows the operation | movement concept at the time of angle switching concerning the synchronous control apparatus concerning patent document 1. FIG. 特許文献1にかかる同期制御装置のアングル切り替え時の動作を示すフローチャートである。10 is a flowchart showing an operation at the time of angle switching of the synchronous control device according to Patent Document 1; 複数のビデオバッファを持つ同期制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the synchronous control apparatus which has a some video buffer. 複数のビデオバッファを持つ同期制御装置によるアングル切り替え時の動作概念を示す図である。It is a figure which shows the operation | movement concept at the time of angle switching by the synchronous control apparatus which has a some video buffer. 複数のビデオバッファを持つ同期制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the synchronous control apparatus which has a some video buffer.

<実施の形態1>
以下、図面を参照して本発明の実施の形態について説明する。図1は、本実施の形態にかかる同期制御装置の構成を示すブロック図である。なお、図5、図9に示す同期制御装置10と同一符号を付した処理部、記憶部は原則として同一の役割を持つことを意味する。
<Embodiment 1>
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the synchronization control device according to the present embodiment. In addition, it means that the processing part and the memory | storage part which attached | subjected the same code | symbol as the synchronous control apparatus 10 shown in FIG. 5, FIG. 9 have the same role in principle.

同期制御装置10は、ATAPI制御部110、プレイバックバッファ120、デマルチプレクサ130、ビデオバッファ1(140)、ビデオバッファ2(141)、オーディオバッファ150、STC生成部160、ビデオデコーダ170、PTS検出部180、オーディオデコーダ190、同期制御部200を備える。このように、同期制御装置は2つのビデオバッファと一つのビデオデコーダを備える。   The synchronization control apparatus 10 includes an ATAPI control unit 110, a playback buffer 120, a demultiplexer 130, a video buffer 1 (140), a video buffer 2 (141), an audio buffer 150, an STC generation unit 160, a video decoder 170, and a PTS detection unit. 180, an audio decoder 190, and a synchronization control unit 200. As described above, the synchronization control apparatus includes two video buffers and one video decoder.

ATAPI制御部110は、メディア300からストリームデータを読み出し、読み出したストリームデータをプレイバックバッファ120に格納する。デマルチプレクサ130は、プレイバックバッファ120からストリームデータを読み出し、ビデオデータ、オーディオデータ、再生情報、に分離する。デマルチプレクサ130は、ビデオデータをビデオバッファ140に格納する。デマルチプレクサ130は、オーディオデータをオーディオバッファ150に格納する。デマルチプレクサ130は、再生情報をSTC生成部160に供給する。   The ATAPI control unit 110 reads stream data from the medium 300 and stores the read stream data in the playback buffer 120. The demultiplexer 130 reads the stream data from the playback buffer 120 and separates it into video data, audio data, and reproduction information. The demultiplexer 130 stores the video data in the video buffer 140. The demultiplexer 130 stores the audio data in the audio buffer 150. The demultiplexer 130 supplies the reproduction information to the STC generation unit 160.

デマルチプレクサ130は、アングル切り替え(以下の例では、Video#1からVideo#2に切り替える。)時にPTS制御部180から現在表示しているVideo#1のPTSの情報を受け取る。そして、デマルチプレクサ130は、受け取ったPTSと同一PTSを持つVideo#2のビデオデータから順にビデオバッファ1(140)またはビデオバッファ2(141)に供給する。   The demultiplexer 130 receives the PTS information of the currently displayed Video # 1 from the PTS control unit 180 when the angle is switched (in the following example, the video # 1 is switched to the Video # 2). The demultiplexer 130 then supplies the video buffer 1 (140) or the video buffer 2 (141) in order from the video data of Video # 2 having the same PTS as the received PTS.

ビデオバッファ1(140)、ビデオバッファ2(141)は、デマルチプレクサ130が抽出したビデオデータを一時的に格納するバッファである。ここで、ビデオバッファ1(140)、ビデオバッファ2(141)は、一方がアングル切り替え前に表示される映像(現在表示されている映像)にかかるビデオデータが格納され、他方がアングル切り替え後に表示される映像にかかるビデオデータが格納される。アングル切り替えが生じる度に、ビデオバッファ1(140)及びビデオバッファ2(141)は、役割をトグルにより切り換える。通常表示時には、現在の表示にかかるビデオデータが格納するビデオバッファではない側のビデオバッファは、データを保持していない。すなわち、いずれか一方のビデオバッファは空の状態となる。   The video buffer 1 (140) and the video buffer 2 (141) are buffers for temporarily storing the video data extracted by the demultiplexer 130. Here, in the video buffer 1 (140) and the video buffer 2 (141), one side stores the video data related to the video (currently displayed video) displayed before the angle switching, and the other is displayed after the angle switching. Video data relating to the video to be recorded is stored. Each time the angle is switched, the video buffer 1 (140) and the video buffer 2 (141) are switched by a toggle. During normal display, the video buffer on the side other than the video buffer storing the video data for the current display does not hold the data. That is, one of the video buffers is empty.

オーディオバッファ150は、デマルチプレクサ130から供給されたオーディオデータを一時的に格納するバッファである。STC生成部160は、再生情報を基に、タイミングを制御するためのSTC(System Time Clock)を生成し、ビデオデコーダ170及びオーディオデコーダ190に供給する。   The audio buffer 150 is a buffer that temporarily stores the audio data supplied from the demultiplexer 130. The STC generation unit 160 generates an STC (System Time Clock) for controlling timing based on the reproduction information, and supplies the STC (System Time Clock) to the video decoder 170 and the audio decoder 190.

ビデオデコーダ170は、ビデオバッファ1(140)またはビデオバッファ2(141)からビデオデータを読み出し、読み出したビデオデータをデコードして映像信号として出力する。ビデオデコーダ170は、後述の同期制御部200の出力タイミングの指示に応じて映像信号を出力する。   The video decoder 170 reads video data from the video buffer 1 (140) or the video buffer 2 (141), decodes the read video data, and outputs it as a video signal. The video decoder 170 outputs a video signal in response to an output timing instruction from the synchronization control unit 200 described later.

オーディオデコーダ190は、オーディオバッファ150に格納されたオーディオデータを読み出してデコードし、音声信号として出力する。オーディオデコーダ190は、後述の同期制御部200の出力タイミングの指示に応じてオーディオ信号を出力する。   The audio decoder 190 reads and decodes the audio data stored in the audio buffer 150 and outputs it as an audio signal. The audio decoder 190 outputs an audio signal in response to an output timing instruction from a synchronization control unit 200 described later.

PTS検出部180は、ビデオデコーダ170を介してビデオバッファ1(140)またはビデオバッファ2(141)に格納されたビデオデータを読み出し、PTSを検出する。同様に、PTS検出部180は、オーディオデコーダ190を介してオーディオバッファ150からオーディオデータを読み出し、PTSを検出する。さらに、外部からアングル切り替えの指示が入力された場合、PTS検出部180は、現在表示中のビデオデータのPTSを抽出して、抽出したPTSをデマルチプレクサ130に通知する。   The PTS detector 180 reads the video data stored in the video buffer 1 (140) or the video buffer 2 (141) via the video decoder 170, and detects the PTS. Similarly, the PTS detection unit 180 reads audio data from the audio buffer 150 via the audio decoder 190 and detects PTS. Furthermore, when an angle switching instruction is input from the outside, the PTS detection unit 180 extracts the PTS of the video data currently being displayed and notifies the demultiplexer 130 of the extracted PTS.

同期制御部200は、ビデオデータ及びオーディオデータのPTSの検出状態を基に、ビデオデコーダ170及びオーディオデコーダ190の出力タイミングを決定する。アングル切り替え時には、同期制御部200は、現在表示中のビデオデータのPTSとオーディオデータのPTSとの差分から、アングル切り替え対象のビデオデータのPTSとオーディオデータのPTSとの差分を、減算した減算値の絶対値が所定の閾値を超えているか否かに応じてビデオデータの出力タイミングを決定する。同期制御部200は、決定した出力タイミングをビデオデコーダ170及びオーディオデコーダ190に通知する。   The synchronization control unit 200 determines the output timing of the video decoder 170 and the audio decoder 190 based on the PTS detection state of the video data and audio data. At the time of angle switching, the synchronization control unit 200 subtracts the difference between the PTS of the video data and the audio data to be switched from the difference between the PTS of the currently displayed video data and the PTS of the audio data. The video data output timing is determined according to whether or not the absolute value of the video data exceeds a predetermined threshold value. The synchronization control unit 200 notifies the video decoder 170 and the audio decoder 190 of the determined output timing.

次に、本実施の形態にかかる同期制御装置10がアングル切り替え(同一音声を再生したまま画面のアングルのみを切り替える)を行う際の動作を図2、図3及び図4を参照して説明する。図2及び図3は、本実施の形態にかかる同期制御装置10の動作を示すフローチャートである。図4は、本実施の形態にかかる同期制御装置10によるアングル切り替え時の動作概念を示す図である。図2、3、4では、Video#1からVideo#2に切り替える例を説明する。本例では、Video#1は、ビデオバッファ1(140)に格納されている。   Next, the operation when the synchronization control apparatus 10 according to the present embodiment performs angle switching (switching only the angle of the screen while reproducing the same sound) will be described with reference to FIG. 2, FIG. 3, and FIG. . 2 and 3 are flowcharts showing the operation of the synchronization control apparatus 10 according to the present embodiment. FIG. 4 is a diagram illustrating an operation concept at the time of angle switching by the synchronization control device 10 according to the present embodiment. 2, 3 and 4, an example of switching from Video # 1 to Video # 2 will be described. In this example, Video # 1 is stored in video buffer 1 (140).

本実施の形態にかかる同期制御装置10では、図8に示すフローチャートにおけるS13とS14との間に新たな処理(S2)を行う。当該新たな処理を図3に示している。デマルチプレクサ130の設定が終了した後に(S13)、PTS検出部180は、現在表示中のビデオデータVideo#1のデータをビデオバッファ1(140)から読み出し、PTSを抽出する(S21)。PTS検出部180は、検出したPTSをデマルチプレクサ130に供給する(S21)。図4の例では、PTS検出部180は、PTS#40を抽出する。   In the synchronous control device 10 according to the present embodiment, a new process (S2) is performed between S13 and S14 in the flowchart shown in FIG. The new process is shown in FIG. After the setting of the demultiplexer 130 is completed (S13), the PTS detection unit 180 reads the data of the video data Video # 1 currently being displayed from the video buffer 1 (140), and extracts the PTS (S21). The PTS detector 180 supplies the detected PTS to the demultiplexer 130 (S21). In the example of FIG. 4, the PTS detection unit 180 extracts PTS # 40.

デマルチプレクサ130は、プレイバックバッファ120からPTS#40にかかるストリームデータを抽出し(S22)、Video#2のビデオデータのみを抽出する(S23)。その後、デマルチプレクサ130は、抽出したVideo#2のビデオデータをビデオバッファ2(141)に格納する(S14)。そして、ビデオデコーダ170が起動する(S14)。以降の処理は、図8に示す処理と略同一である。   The demultiplexer 130 extracts the stream data related to PTS # 40 from the playback buffer 120 (S22), and extracts only the video data of Video # 2 (S23). Thereafter, the demultiplexer 130 stores the extracted video data of Video # 2 in the video buffer 2 (141) (S14). Then, the video decoder 170 is activated (S14). The subsequent processing is substantially the same as the processing shown in FIG.

図4の例では、アングル切り替えの指示の後に、ビデオバッファ2(141)には、Video#2のPTS#40のビデオデータが即時に格納される。ここで、PTS#40は、アングル切り替えの指示を受け付けた際のVideo#1のPTSの値と同一である。このような制御により、図8に示した処理に比べて映像と音声の同期が取れるまでの時間が短くなる。   In the example of FIG. 4, the video data of PTS # 40 of Video # 2 is immediately stored in the video buffer 2 (141) after the angle switching instruction. Here, PTS # 40 is the same as the PTS value of Video # 1 when the angle switching instruction is accepted. Such control shortens the time until video and audio can be synchronized as compared with the processing shown in FIG.

上記のように、本実施の形態にかかる同期制御装置では、表示切り替えの際に、現在表示しているビデオデータのPTSに従って、切り替え対象のビデオデータを空きビデオバッファに格納している。これにより、ビデオバッファからのビデオデータの破棄が生ずることがない。さらに、表示中のビデオデータのタイムスタンプと同一値を持つビデオデータから同期判定を行うため、同期制御に費やす時間が短縮できる。   As described above, in the synchronous control device according to the present embodiment, at the time of display switching, the video data to be switched is stored in the empty video buffer according to the PTS of the currently displayed video data. As a result, the video data from the video buffer is not discarded. Furthermore, since synchronization determination is performed from video data having the same value as the time stamp of the video data being displayed, the time spent for synchronization control can be reduced.

さらにまた、本実施の形態にかかる同期制御装置は、2つのビデオバッファと1つのビデオデコーダを備えた簡易な構成により、上述の効果を奏することができる。   Furthermore, the synchronization control device according to the present embodiment can achieve the above-described effects with a simple configuration including two video buffers and one video decoder.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。   Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.

10 同期制御装置
110 ATAPI制御部
120 プレイバックバッファ
130 デマルチプレクサ
140、141 ビデオバッファ
150 オーディオバッファ
160 STC生成部
170 ビデオデコーダ
180 PTS検出部
190 オーディオデコーダ
200 同期制御部
300 メディア
DESCRIPTION OF SYMBOLS 10 Synchronization control apparatus 110 ATAPI control part 120 Playback buffer 130 Demultiplexer 140, 141 Video buffer 150 Audio buffer 160 STC generation part 170 Video decoder 180 PTS detection part 190 Audio decoder 200 Synchronization control part 300 Media

Claims (8)

第1のビデオデータ、第2のビデオデータ、オーディオデータを重畳した重畳信号から映像信号、音声信号を同期して出力する同期再生装置であって、
前記第1のビデオデータを格納する第1のビデオバッファと、
前記第2のビデオデータを格納する第2のビデオバッファと、
前記第1のオーディオデータを格納する第1のオーディオバッファと、
前記第1または前記第2のビデオバッファに格納された前記第1または前記第2のビデオデータをデコードし、前記映像信号を出力するビデオデコーダと、
前記第1のオーディオバッファに格納された前記第1のオーディオデータをデコードし、前記音声信号を出力するオーディオデコーダと、
前記重畳信号を前記第1のビデオデータ、前記第2のビデオデータ、前記オーディオデータに分離するとともに、前記第1のビデオデータにかかる映像信号から前記第2のビデオデータにかかる映像信号への表示切り替え命令の際に、表示中の前記第1のビデオデータのタイムスタンプに基づいて、前記第2のビデオデータを前記重畳信号から抽出して前記第2のビデオバッファに格納するデータ分離部と、
前記第1または前記第2のビデオバッファから読み出したビデオデータのタイムスタンプと、前記オーディオバッファから読み出したオーディオデータのタイムスタンプに基づいて、前記映像信号と前記音声信号の出力タイミングを決定する同期処理部と、を備える、同期再生装置。
A synchronous playback device that outputs a video signal and an audio signal synchronously from a superimposed signal obtained by superimposing first video data, second video data, and audio data,
A first video buffer for storing the first video data;
A second video buffer for storing the second video data;
A first audio buffer for storing the first audio data;
A video decoder that decodes the first or second video data stored in the first or second video buffer and outputs the video signal;
An audio decoder that decodes the first audio data stored in the first audio buffer and outputs the audio signal;
The superimposed signal is separated into the first video data, the second video data, and the audio data, and the display from the video signal related to the first video data to the video signal related to the second video data A data separation unit for extracting the second video data from the superimposed signal and storing it in the second video buffer based on a time stamp of the first video data being displayed at the time of the switching command;
Synchronization processing for determining the output timing of the video signal and the audio signal based on the time stamp of the video data read from the first or second video buffer and the time stamp of the audio data read from the audio buffer A synchronized playback device.
前記データ分離部は、前記表示切り替え命令の際に、表示中の前記第1のビデオデータのタイムスタンプと同値のタイムスタンプを持つ前記第2のビデオデータを前記重畳信号から順に抽出することを特徴とする請求項1に記載の同期制御装置。   The data separation unit sequentially extracts the second video data having a time stamp equivalent to the time stamp of the first video data being displayed from the superimposed signal when the display switching command is issued. The synchronous control device according to claim 1. 前記同期処理部は、前記表示切り替え命令の際に、前記第1のビデオデータのタイムスタンプと前記オーディオデータのタイムスタンプの差分から、前記第2のビデオデータのタイムスタンプと前記オーディオデータのタイムスタンプの差分、を減算した減算結果が所定閾値以内となる時点に前記映像信号と前記音声信号を同期して出力する制御することを特徴とする、請求項1または請求項2に記載の同期制御装置。   The synchronization processing unit, based on the difference between the time stamp of the first video data and the time stamp of the audio data, at the time of the display switching command, the time stamp of the second video data and the time stamp of the audio data. The synchronous control device according to claim 1 or 2, wherein the video signal and the audio signal are synchronously output at a time point when a subtraction result obtained by subtracting the difference is within a predetermined threshold value. . 前記重畳信号はMPEG形式のマルチメディアデータであることを特徴とする請求項1乃至請求項3のいずれか1項に記載の同期制御装置。   4. The synchronization control apparatus according to claim 1, wherein the superimposed signal is MPEG format multimedia data. 第1のビデオデータ、第2のビデオデータ、オーディオデータを重畳した重畳信号から映像信号、音声信号を同期して出力する同期制御方法であって、
前記第1のビデオデータにかかる映像信号から前記第2のビデオデータにかかる映像信号への表示切り替え命令の際に、表示している前記第1のビデオデータのタイムスタンプを抽出し、前記タイムスタンプと対応する前記第2のビデオデータを抽出し、抽出した前記第2のビデオデータのタイムスタンプと、前記オーディオデータのタイムスタンプに基づいて、前記映像信号と前記音声信号を同期する、同期制御方法。
A synchronization control method for synchronously outputting a video signal and an audio signal from a superimposed signal obtained by superimposing first video data, second video data, and audio data,
The time stamp of the displayed first video data is extracted in response to a display switching command from the video signal related to the first video data to the video signal related to the second video data, and the time stamp The second video data corresponding to the second video data is extracted, and the video signal and the audio signal are synchronized based on the time stamp of the extracted second video data and the time stamp of the audio data. .
前記表示切り替え命令の際に、表示中の前記第1のビデオデータのタイムスタンプと同値のタイムスタンプを持つ前記第2のビデオデータを前記重畳信号から順に抽出することを特徴とする請求項5に記載の同期制御方法。   6. The second video data having a time stamp equivalent to a time stamp of the first video data being displayed is sequentially extracted from the superimposed signal at the time of the display switching command. The synchronous control method described. 前記表示切り替え命令の際に、前記第1のビデオデータのタイムスタンプと前記オーディオデータのタイムスタンプの差分から、前記第2のビデオデータのタイムスタンプと前記オーディオデータのタイムスタンプの差分、を減算した減算結果が所定閾値以内となる時点に前記映像信号と前記音声信号の出力をするように同期制御することを特徴とする請求項5または請求項6に記載の同期制御方法。   At the time of the display switching command, the difference between the time stamp of the second video data and the time stamp of the audio data is subtracted from the difference between the time stamp of the first video data and the time stamp of the audio data. 7. The synchronization control method according to claim 5, wherein the synchronization control is performed so that the video signal and the audio signal are output when a subtraction result falls within a predetermined threshold. 前記重畳信号はMPEG形式のマルチメディアデータであることを特徴とする請求項5乃至請求項7のいずれか1項に記載の同期制御方法。   8. The synchronization control method according to claim 5, wherein the superimposed signal is MPEG format multimedia data.
JP2010254517A 2010-11-15 2010-11-15 Synchronous control apparatus and synchronous control method Pending JP2012105236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010254517A JP2012105236A (en) 2010-11-15 2010-11-15 Synchronous control apparatus and synchronous control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010254517A JP2012105236A (en) 2010-11-15 2010-11-15 Synchronous control apparatus and synchronous control method

Publications (1)

Publication Number Publication Date
JP2012105236A true JP2012105236A (en) 2012-05-31

Family

ID=46395078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010254517A Pending JP2012105236A (en) 2010-11-15 2010-11-15 Synchronous control apparatus and synchronous control method

Country Status (1)

Country Link
JP (1) JP2012105236A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016536945A (en) * 2013-11-20 2016-11-24 ネイバー コーポレーションNAVER Corporation Video providing method and video providing system
JP2016197845A (en) * 2015-04-06 2016-11-24 日本放送協会 Motion picture reproduction device and program
JP2017228906A (en) * 2016-06-21 2017-12-28 サイレックス・テクノロジー株式会社 Reproducer, reproduction system, control method of reproducer, and control method of reproduction system
JP2019106732A (en) * 2019-03-27 2019-06-27 日本放送協会 Motion picture reproduction device and program
JP7365212B2 (en) 2019-12-03 2023-10-19 株式会社ソニー・インタラクティブエンタテインメント Video playback device, video playback system, and video playback method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016536945A (en) * 2013-11-20 2016-11-24 ネイバー コーポレーションNAVER Corporation Video providing method and video providing system
US11095954B2 (en) 2013-11-20 2021-08-17 Naver Corporation Video-providing method and video-providing system
JP2016197845A (en) * 2015-04-06 2016-11-24 日本放送協会 Motion picture reproduction device and program
JP2017228906A (en) * 2016-06-21 2017-12-28 サイレックス・テクノロジー株式会社 Reproducer, reproduction system, control method of reproducer, and control method of reproduction system
JP2019106732A (en) * 2019-03-27 2019-06-27 日本放送協会 Motion picture reproduction device and program
JP7365212B2 (en) 2019-12-03 2023-10-19 株式会社ソニー・インタラクティブエンタテインメント Video playback device, video playback system, and video playback method

Similar Documents

Publication Publication Date Title
JP4991129B2 (en) Video / audio playback apparatus and video / audio playback method
US20050185929A1 (en) Information storage medium having recorded thereon text subtitle data synchronized with AV data, and reproducing method and apparatus therefor
JP5059301B2 (en) Synchronous playback apparatus and synchronous playback method
JP2005341132A (en) Video data processor and processing method
JP2012105236A (en) Synchronous control apparatus and synchronous control method
KR20080016999A (en) Synchronized stream packing
JP3917363B2 (en) Image decoding apparatus and image decoding method
US10224055B2 (en) Image processing apparatus, image pickup device, image processing method, and program
KR100565869B1 (en) Synchronous delay control device and method
JP4613000B2 (en) Playback device
JP2008236694A (en) Data stream reproducing apparatus and data stream decoding apparatus
JP2010252151A (en) Reproducing apparatus, and synchronous reproducing method
JP2011244328A (en) Video reproduction apparatus and video reproduction apparatus control method
JP2007013714A (en) Information playback apparatus and information playback method
JP4875035B2 (en) Video recording / playback device
JP5310189B2 (en) Video encoder apparatus and encoded data output method used for the video encoder apparatus
JP2006319552A (en) Multimedia reproducing device
JP4690965B2 (en) Data recording / reproducing device
JP2007081534A (en) Decoding reproducing apparatus
JP4670913B2 (en) Playback device
US10362287B2 (en) Information processing apparatus, information processing method and program, and recording medium
JP6347204B2 (en) REPRODUCTION CONTROL DEVICE, REPRODUCTION CONTROL METHOD, AND PROGRAM
JP2012004869A (en) Data synchronization processing device, data synchronization processing method, and program
JP5104593B2 (en) Image processing apparatus, image processing method, and program
JP2009111608A (en) Reproduction apparatus and reproduction method