JP2011066587A - Video decoding method, device and program - Google Patents
Video decoding method, device and program Download PDFInfo
- Publication number
- JP2011066587A JP2011066587A JP2009214110A JP2009214110A JP2011066587A JP 2011066587 A JP2011066587 A JP 2011066587A JP 2009214110 A JP2009214110 A JP 2009214110A JP 2009214110 A JP2009214110 A JP 2009214110A JP 2011066587 A JP2011066587 A JP 2011066587A
- Authority
- JP
- Japan
- Prior art keywords
- stream
- time stamp
- decoding
- video
- buffer
- 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
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
本発明は,複数の映像符号化データを同期して復号する映像復号方法,映像復号装置および映像復号プログラムに関するものである。 The present invention relates to a video decoding method, a video decoding apparatus, and a video decoding program for decoding a plurality of encoded video data in synchronization.
DVDなどの記憶媒体には,複数の映像コンテンツを記録することができる。また,デジタル放送では,複数の映像チャンネルを放送することができる。このように近年の映像蓄積媒体や放送では,複数の映像データを同時に配布することができるようになっている。 A plurality of video contents can be recorded on a storage medium such as a DVD. In digital broadcasting, a plurality of video channels can be broadcast. Thus, in recent video storage media and broadcasts, a plurality of video data can be distributed simultaneously.
このような映像コンテンツや映像チャンネルは,それぞれ独立した映像コンテンツであり,視聴者は所望のコンテンツを選択して再生表示することができる。実際には,まず映像ストリームがバッファに蓄積される。そして映像を再生する際には,バッファに蓄積されたストリームに対して,特定の映像データの先頭位置や,再生開始が可能な位置を探索し,探索された位置から映像データを復号して表示する。 Such video contents and video channels are independent video contents, and the viewer can select and play back desired content. In practice, the video stream is first stored in the buffer. When playing back the video, the head position of the specific video data or the position where playback can be started is searched for the stream stored in the buffer, and the video data is decoded and displayed from the searched position. To do.
例えば,デジタル放送でチャンネルを切り替えながら視聴する場合に,チャンネルを切り替えた際に,バッファに蓄積されたチャンネルの映像データの中で,再生開始位置を探索し,その探索された位置から映像データの復号を行い,復号された映像の表示を行う。この探索をする処理の間は,再生する画像データがないため,切り替え前のチャンネルの映像を停止した状態で表示する。 For example, when viewing while switching channels in digital broadcasting, when the channel is switched, the playback start position is searched from the video data of the channel stored in the buffer, and the video data is searched from the searched position. Decodes and displays the decoded video. During this search process, since there is no image data to be reproduced, the video of the channel before switching is displayed in a stopped state.
また,複数の映像コンテンツのうち,2つの映像コンテンツを同時に復号して表示することもある。この場合には,2つの復号器が独立に,それぞれの復号対象の符号化データを復号して表示する。 In addition, two video contents among a plurality of video contents may be decoded and displayed at the same time. In this case, the two decoders independently decode and display the respective encoded data to be decoded.
一方,複数のカメラ映像をまとめて圧縮する符号化方式として,多視点映像符号化(MVC)が,国際標準符号化方式H.264 Annex Hとして標準化されている。MVCでは,複数の映像符号化データが多重化された形で圧縮符号化される。同じタイムスタンプのフレームの符号化データが連続して多重化される。すなわち,符号化データは複数の映像データを多重化したストリームになる。同じタイムスタンプのフレームが連続して多重化されているため,復号器はMVCの符号化データを復号することで,同じタイムスタンプの複数のカメラ映像を連続して復号して出力することができる。 On the other hand, multi-view video coding (MVC) is an international standard coding method as an encoding method for compressing a plurality of camera images together. It is standardized as H.264 Annex H. In MVC, a plurality of encoded video data is compressed and encoded in a multiplexed form. Encoded data of frames having the same time stamp are continuously multiplexed. That is, the encoded data is a stream obtained by multiplexing a plurality of video data. Since frames with the same time stamp are continuously multiplexed, the decoder can decode and output MVC encoded data, so that multiple camera videos with the same time stamp can be decoded and output continuously. .
この多視点映像符号化(MVC)の規格や特徴については,非特許文献1等に記載されている。
The standards and features of this multi-view video coding (MVC) are described in Non-Patent
複数の映像符号化データまたはMVCのような多重化ストリームをバッファから読み込み,1つ以上の映像を復号して表示している途中で,別の1つ以上の映像を選択して復号する処理を想定する。このとき,選択前の映像のタイムスタンプと,選択後の映像のタイムスタンプとが連続して復号することを想定する。また,2つ以上の映像を復号する場合には,同じタイムスタンプの画像から,1つの画像を合成する処理を想定する。例えば4つ以上の映像データから2つの映像を再生している途中で,別の2つの映像を選択して復号する。ここで,2つの同じタイムスタンプの画像を横につなげることで一つの横長の画像を合成することを想定する。 A process of reading a plurality of encoded video data or a multiplexed stream such as MVC from a buffer, decoding one or more videos, and selecting and decoding one or more other videos. Suppose. At this time, it is assumed that the time stamp of the video before selection and the time stamp of the video after selection are decoded continuously. Further, when two or more videos are decoded, a process of synthesizing one image from images of the same time stamp is assumed. For example, while two videos are being reproduced from four or more video data, another two videos are selected and decoded. Here, it is assumed that one horizontally long image is synthesized by horizontally connecting two images having the same time stamp.
従来の復号処理では,映像データを復号している途中に別の映像を選択すると,バッファに蓄積されたストリームについて再生開始位置を探索し,その探索された位置から映像データを読み込んで復号を行う。このとき,別の映像を復号するまでは,再生する画像情報がないため,選択前のチャンネルの映像を停止した状態で表示する。したがって,映像を選択して切り替えるときに,切り替える前の映像と切り替えた後の映像との間で,映像が静止してしまい,再生する映像の品質が劣化する問題があった。 In the conventional decoding process, when another video is selected while decoding video data, the playback start position is searched for the stream stored in the buffer, and the video data is read from the searched position and decoded. . At this time, since there is no image information to be reproduced until another video is decoded, the video of the channel before selection is displayed in a stopped state. Therefore, when the video is selected and switched, there is a problem that the video is stopped between the video before the switching and the video after the switching, and the quality of the reproduced video is deteriorated.
本発明は,以上のような課題を解決し,複数の映像データから映像を選択して復号する際に,切り替え時の映像の品質を劣化させることなく,タイムスタンプを連続して,映像を再生し続けることができるようにすることを目的とする。 The present invention solves the above-described problems, and reproduces video with continuous time stamps without degrading the quality of the video at the time of switching when selecting and decoding the video from a plurality of video data. The purpose is to be able to continue.
本発明は,上記課題を解決するため,以下のような手段を用いる。 The present invention uses the following means in order to solve the above problems.
第1の発明は,複数(N個)のストリームで構成される映像情報の符号化データを復号して画像情報を得る映像復号装置であって,各ストリームが蓄積されるN個のストリームバッファと,ストリームバッファに蓄積される各ストリームについて,予め設定されているストリーム読み出し位置におけるタイムスタンプ情報を得るタイムスタンプ取得部と,ストリームを復号して画像情報を作成するストリーム復号部と,ストリーム復号部がストリームを読み出すデコーダバッファと,復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定部と,ストリームバッファから,復号ストリーム設定部で設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までのストリームを読み出して,デコーダバッファへ転送するストリーム転送部とを備えることを特徴とする。 A first invention is a video decoding device that obtains image information by decoding encoded data of video information composed of a plurality of (N) streams, and includes N stream buffers in which each stream is stored; , For each stream stored in the stream buffer, a time stamp acquisition unit that obtains time stamp information at a preset stream read position, a stream decoding unit that decodes the stream to create image information, and a stream decoding unit A decoder buffer for reading a stream, a decoding stream setting unit for setting a decoding stream and a decoding start time stamp, and from the reading position corresponding to the time stamp set by the decoding stream setting unit to the next reading position from the stream buffer Stream of Characterized in that it comprises a stream transfer unit for transferring the file.
この発明によれば,ストリームバッファとデコーダバッファの2種類のバッファを備えることで,複数の映像データをそれぞれのストリームバッファに一旦蓄積しておき,選択のイベントが起きた時には,ストリームバッファから選択されたストリームを取り出してデコーダバッファへのストリームの転送を行う。選択のイベントとは無関係に,デコーダはデコーダバッファのストリームを復号し続ける。これにより,タイムスタンプを連続して,映像を再生し続けることができる。 According to the present invention, by providing two types of buffers, a stream buffer and a decoder buffer, a plurality of video data is temporarily stored in each stream buffer, and when a selection event occurs, the data is selected from the stream buffer. The obtained stream is taken out and the stream is transferred to the decoder buffer. Regardless of the selection event, the decoder continues to decode the decoder buffer stream. Thereby, it is possible to continuously reproduce the video with the time stamps continuously.
第2の発明は,複数(N個)のストリームで構成される映像情報の符号化データを復号して画像情報を得る映像復号装置であって,各ストリームが蓄積されるN個のストリームバッファと,ストリームバッファに蓄積される各ストリームについて,予め設定されているストリーム読み出し位置におけるタイムスタンプ情報を得るタイムスタンプ取得部と,ストリームを復号して画像情報を作成するM個(2≦M≦N)のストリーム復号部と,
ストリーム復号部がストリームを読み出すM個のデコーダバッファと,復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定部と,ストリームバッファから,復号ストリーム設定部で設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までのストリームを読み出して,デコーダバッファへ転送するストリーム転送部とを備えることを特徴とする。
A second invention is a video decoding apparatus that obtains image information by decoding encoded data of video information composed of a plurality of (N) streams, and includes N stream buffers in which each stream is stored; , For each stream stored in the stream buffer, a time stamp acquisition unit that obtains time stamp information at a preset stream reading position, and M pieces (2 ≦ M ≦ N) for generating image information by decoding the stream A stream decoding unit of
The M decoder buffer from which the stream decoding unit reads the stream, the decoding stream setting unit that sets the decoding stream and the decoding start time stamp, and the reading corresponding to the time stamp set by the decoding stream setting unit from the stream buffer A stream transfer unit that reads a stream from the position to the next read position and transfers the stream to a decoder buffer.
この発明によれば,ストリーム復号部を2つ以上備えることで,ストリームバッファに蓄積されたデータから,2つ以上の映像データをデコーダバッファへ転送して,並列して復号することができる。 According to the present invention, by providing two or more stream decoding units, two or more video data can be transferred from the data stored in the stream buffer to the decoder buffer and decoded in parallel.
第3の発明は,上記第1または第2の発明の映像復号装置であって,タイムスタンプ取得部では,ストリームバッファに蓄積される各ストリームについて,ストリーム中の特定のビット配列を探索することで,ストリーム読み出し位置を特定し,そのストリーム読み出し位置に予め設定されているタイムスタンプ情報を得ることを特徴とする。 A third invention is the video decoding device according to the first or second invention, wherein the time stamp acquisition unit searches for a specific bit arrangement in the stream for each stream stored in the stream buffer. The stream read position is specified, and time stamp information preset at the stream read position is obtained.
この発明によれば,映像ストリーム中に予め,特定のビット配列を持つストリーム読み出し位置を設定し,その位置にタイムスタンプ情報を設定しておく。そのような映像ストリームについて,タイムスタンプ取得部がストリームバッファにあるストリーム中の特定のビット配列を探索することで,ストリーム読み出し位置を特定し,そのストリーム読み出し位置に予め設定されているタイムスタンプ情報を得る。これにより,タイムスタンプ情報の取得処理を,符号化データの復号処理と並列して行うことができ,連続して復号処理を行うことができる。 According to the present invention, a stream reading position having a specific bit arrangement is set in advance in the video stream, and time stamp information is set at that position. For such a video stream, the time stamp acquisition unit searches the specific bit arrangement in the stream in the stream buffer to identify the stream read position, and the time stamp information set in advance at the stream read position. obtain. Thereby, the time stamp information acquisition process can be performed in parallel with the decoding process of the encoded data, and the decoding process can be performed continuously.
第4の発明は,上記第1または第2の発明の映像復号装置であって,タイムスタンプ取得部では,ストリームバッファに蓄積される各ストリームについて,符号化データ中に予め設定されている,ストリーム読み出し位置情報とタイムスタンプ情報を復号することで,ストリーム読み出し位置におけるタイムスタンプ情報を得ることを特徴とする。 The fourth invention is the video decoding device according to the first or second invention, wherein the time stamp acquisition unit sets a stream set in advance in the encoded data for each stream stored in the stream buffer. The time stamp information at the stream read position is obtained by decoding the read position information and the time stamp information.
この発明によれば,映像ストリーム中に予め,映像符号化データとは別に,各ストリーム読み出し位置におけるタイムスタンプ情報を設定しておく。そのような映像ストリームについて,タイムスタンプ取得部がストリーム読み出し位置を特定し,そのストリーム読み出し位置に予め設定されているタイムスタンプ情報を得る。これにより,タイムスタンプ情報の取得処理を,符号化データの復号処理と並列して行うことができ,連続して復号処理を行うことができる。 According to the present invention, time stamp information at each stream reading position is set in advance in the video stream separately from the encoded video data. For such a video stream, the time stamp acquisition unit identifies the stream reading position, and obtains time stamp information preset at the stream reading position. Thereby, the time stamp information acquisition process can be performed in parallel with the decoding process of the encoded data, and the decoding process can be performed continuously.
第5の発明は,上記第1または第2の発明の映像復号装置であって,タイムスタンプ取得部では,ストリームバッファに蓄積される各ストリームとは別に予め作成されたストリーム中に予め設定されている,ストリーム読み出し位置におけるタイムスタンプ情報を復号することで,ストリーム読み出し位置におけるタイムスタンプ情報を得ることを特徴とする。 The fifth invention is the video decoding apparatus according to the first or second invention, wherein the time stamp acquisition unit is preset in a stream created in advance separately from each stream stored in the stream buffer. The time stamp information at the stream reading position is obtained by decoding the time stamp information at the stream reading position.
この発明によれば,映像ストリームとは別のストリーム(タイムスタンプストリーム)中に予め,各ストリーム読み出し位置におけるタイムスタンプ情報を設定しておく。そのような映像ストリームとタイムスタンプストリームについて,タイムスタンプ取得部がタイムスタンプストリームを復号して,ストリーム読み出し位置におけるタイムスタンプ情報を得る。これにより,タイムスタンプ情報の取得処理を,符号化データの復号処理と並列して行うことができ,連続して復号処理を行うことができる。 According to the present invention, the time stamp information at each stream reading position is set in advance in a stream (time stamp stream) different from the video stream. For such a video stream and time stamp stream, the time stamp acquisition unit decodes the time stamp stream to obtain time stamp information at the stream reading position. Thereby, the time stamp information acquisition process can be performed in parallel with the decoding process of the encoded data, and the decoding process can be performed continuously.
第6の発明では,ストリーム識別子を割り当てられた複数(N個)のストリームが多重化されたストリーム(多重化ストリーム)で構成される映像情報の符号化データを復号して画像情報を得る映像復号装置であって,多重化ストリームが蓄積されるストリームバッファと,ストリームバッファに蓄積される多重化ストリームについて,予め設定されている各ストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を得るタイムスタンプ取得部と,ストリームを復号して画像情報を作成するストリーム復号部と,ストリーム復号部がストリームを読み出すデコーダバッファと,復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定部と,ストリームバッファから,復号ストリーム設定部で設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までの,ストリーム識別子に対応したストリームを読み出して,デコーダバッファへ転送するストリーム転送部とを備えることを特徴とする。 In the sixth aspect of the invention, video decoding is performed to decode video data encoded data composed of a stream (multiplexed stream) obtained by multiplexing a plurality (N) of streams to which stream identifiers are assigned, to obtain image information. A stream buffer for storing a multiplexed stream, and a time stamp acquisition unit for obtaining a stream identifier and time stamp information at each preset stream reading position for the multiplexed stream stored in the stream buffer; A stream decoding unit that decodes the stream to generate image information, a decoder buffer from which the stream decoding unit reads the stream, a decoding stream setting unit that sets a decoding stream and a timestamp to start decoding, and a stream buffer, Set in the decoding stream setting section And from the reading position corresponding to the time stamp to the next reading position, reading a stream corresponding to the stream identifier, characterized in that it comprises a stream transfer unit for transferring to the decoder buffer.
この発明によれば,ストリームバッファとデコーダバッファの2種類のバッファを備えることで,複数の映像符号化データを多重化した多重化ストリームをストリームバッファに一旦蓄積しておき,選択のイベントが起きた時には,ストリームバッファから選択されたストリームを取り出してデコーダバッファへのストリームの転送を行う。選択のイベントとは無関係に,デコーダはデコーダバッファのストリームを復号し続ける。これにより,タイムスタンプを連続して,映像を再生し続けることができる。 According to the present invention, by providing two types of buffers, a stream buffer and a decoder buffer, a multiplexed stream obtained by multiplexing a plurality of video encoded data is temporarily stored in the stream buffer, and a selection event occurs. Sometimes, the selected stream is taken out of the stream buffer and the stream is transferred to the decoder buffer. Regardless of the selection event, the decoder continues to decode the decoder buffer stream. Thereby, it is possible to continuously reproduce the video with the time stamps continuously.
第7の発明は,ストリーム識別子を割り当てられた複数(N個)のストリームが多重化されたストリーム(多重化ストリーム)で構成される映像情報の符号化データを復号して画像情報を得る映像復号装置であって,多重化ストリームが蓄積されるストリームバッファと,ストリームバッファに蓄積される多重化ストリームについて,予め設定されている各ストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を得るタイムスタンプ取得部と,ストリームを復号して画像情報を作成するM個(2≦M≦N)のストリーム復号部と,ストリーム復号部がストリームを読み出すM個のデコーダバッファと,復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定部と,ストリームバッファから,復号ストリーム設定部で設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までの,ストリーム識別子に対応したストリームを読み出して,デコーダバッファへ転送するストリーム転送部とを備えることを特徴とする。 A seventh aspect of the present invention is a video decoding method for obtaining image information by decoding encoded data of video information composed of a stream (multiplexed stream) obtained by multiplexing a plurality of (N) streams assigned stream identifiers. A stream buffer for storing a multiplexed stream, and a time stamp acquisition unit for obtaining a stream identifier and time stamp information at each preset stream reading position for the multiplexed stream stored in the stream buffer; , M (2 ≦ M ≦ N) stream decoding units that decode the stream to generate image information, M decoder buffers from which the stream decoding unit reads the stream, a stream to be decoded, and a timestamp to start decoding From the decoding stream setting section that sets the From the reading position corresponding to the time stamp set in the stream setting unit to the next read position to read the stream corresponding to the stream identifier, characterized in that it comprises a stream transfer unit for transferring to the decoder buffer.
この発明によれば,ストリーム復号部を2つ以上備えることで,ストリームバッファに蓄積されたデータから,2つ以上の映像データをデコーダバッファへ転送して,並列して復号することができる。 According to the present invention, by providing two or more stream decoding units, two or more video data can be transferred from the data stored in the stream buffer to the decoder buffer and decoded in parallel.
第8の発明は,上記第6または第7の発明の映像復号装置であって,タイムスタンプ取得部では,ストリームバッファに蓄積される多重化ストリームについて,ストリーム中の特定のビット配列を探索することで,ストリーム読み出し位置を特定し,そのストリーム読み出し位置に予め設定されているストリーム識別子とタイムスタンプ情報を得ることを特徴とする。 An eighth invention is the video decoding device according to the sixth or seventh invention, wherein the time stamp acquisition unit searches for a specific bit arrangement in the stream for the multiplexed stream stored in the stream buffer. Thus, a stream reading position is specified, and a stream identifier and time stamp information preset at the stream reading position are obtained.
この発明によれば,多重化ストリーム中に予め,特定のビット配列を持つストリーム読み出し位置を設定し,その位置にストリーム識別子とタイムスタンプ情報を設定しておく。そのような多重化ストリームについて,タイムスタンプ取得部がストリームバッファにあるストリーム中の特定のビット配列を探索することで,ストリーム読み出し位置を特定し,そのストリーム読み出し位置に予め設定されているストリーム識別子とタイムスタンプ情報を得る。これにより,ストリーム識別子とタイムスタンプ情報の取得処理を,符号化データの復号処理と並列して行うことができ,連続して復号処理を行うことができる。 According to the present invention, a stream reading position having a specific bit arrangement is set in advance in the multiplexed stream, and a stream identifier and time stamp information are set at the position. For such a multiplexed stream, the time stamp acquisition unit searches a specific bit arrangement in the stream in the stream buffer to identify the stream read position, and a stream identifier set in advance at the stream read position and Get timestamp information. Thereby, the process of acquiring the stream identifier and the time stamp information can be performed in parallel with the process of decoding the encoded data, and the decoding process can be performed continuously.
第9の発明は,上記第6または第7の発明の映像復号装置であって,タイムスタンプ取得部では,ストリームバッファに蓄積される多重化ストリームについて,符号化データ中に予め設定されている,ストリーム読み出し位置情報とストリーム識別子とタイムスタンプ情報を復号することで,ストリーム識別子とストリーム読み出し位置におけるタイムスタンプ情報を得ることを特徴とする。 A ninth invention is the video decoding device according to the sixth or seventh invention, wherein the time stamp acquisition unit presets the multiplexed stream stored in the stream buffer in the encoded data. Decoding the stream read position information, the stream identifier, and the time stamp information obtains the stream identifier and the time stamp information at the stream read position.
この発明によれば,多重化ストリーム中に予め,映像符号化データとは別に,各ストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を設定しておく。そのような多重化ストリームについて,タイムスタンプ取得部がストリーム読み出し位置を特定し,そのストリーム読み出し位置に予め設定されているストリーム識別子とタイムスタンプ情報を得る。これにより,ストリーム識別子とタイムスタンプ情報の取得処理を,符号化データの復号処理と並列して行うことができ,連続して復号処理を行うことができる。 According to the present invention, a stream identifier and time stamp information at each stream reading position are set in advance in the multiplexed stream separately from the video encoded data. For such a multiplexed stream, the time stamp acquisition unit specifies a stream reading position, and obtains a stream identifier and time stamp information preset at the stream reading position. Thereby, the process of acquiring the stream identifier and the time stamp information can be performed in parallel with the process of decoding the encoded data, and the decoding process can be performed continuously.
第10の発明は,上記第6または第7の発明の映像復号装置であって,タイムスタンプ取得部では,ストリームバッファに蓄積される各ストリームとは別に予め作成されたストリーム中に予め設定されている,ストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を復号することで,ストリーム識別子とストリーム読み出し位置におけるタイムスタンプ情報を得ることを特徴とする。 The tenth invention is the video decoding apparatus according to the sixth or seventh invention, wherein the time stamp acquisition unit is preset in a stream created in advance separately from each stream stored in the stream buffer. The stream identifier and the time stamp information at the stream reading position are obtained by decoding the stream identifier and the time stamp information at the stream reading position.
この発明によれば,多重化ストリームとは別のストリーム(タイムスタンプストリーム)中に予め,各ストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を設定しておく。そのような映像ストリームとタイムスタンプストリームについて,タイムスタンプ取得部がタイムスタンプストリームを復号して,ストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を得る。これにより,ストリーム識別子とタイムスタンプ情報の取得処理を,符号化データの復号処理と並列して行うことができ,連続して復号処理を行うことができる。 According to the present invention, the stream identifier and the time stamp information at each stream reading position are set in advance in a stream (time stamp stream) different from the multiplexed stream. For such a video stream and time stamp stream, the time stamp acquisition unit decodes the time stamp stream to obtain a stream identifier and time stamp information at the stream reading position. Thereby, the process of acquiring the stream identifier and the time stamp information can be performed in parallel with the process of decoding the encoded data, and the decoding process can be performed continuously.
本発明によれば,複数の映像データから映像を選択して復号する際に,選択のイベントとは無関係に,デコーダはデコーダバッファのストリームを復号し続ける。これにより,タイムスタンプを連続して,映像を再生し続けることができる。 According to the present invention, when a video is selected from a plurality of video data and decoded, the decoder continues to decode the decoder buffer stream regardless of the selection event. Thereby, it is possible to continuously reproduce the video with the time stamps continuously.
以下,図面を用いて,本発明の映像復号方法の実施例を説明する。 Hereinafter, embodiments of the video decoding method of the present invention will be described with reference to the drawings.
〔第1の例〕
第1の例では,4個(A,B,C,D)のストリームで構成される映像情報の符号化データ(ストリーム)のうち1個のストリームを復号して画像情報を得る映像復号装置の例を示す。各ストリームの読み出し位置とタイムスタンプは予め設定してあり,映像符号化データとは別ストリーム(タイムスタンプストリーム)として,1つずつ作成してあるものとする。
[First example]
In the first example, a video decoding apparatus that obtains image information by decoding one stream out of encoded data (stream) of video information composed of four (A, B, C, D) streams. An example is shown. It is assumed that the read position and the time stamp of each stream are set in advance and are created one by one as a stream (time stamp stream) separate from the encoded video data.
図1に,第1の例の映像復号装置の構成例1を示す。ストリームAが蓄積されるストリームバッファ101と,ストリームBが蓄積されるストリームバッファ102と,ストリームCが蓄積されるストリームバッファ103と,ストリームDが蓄積されるストリームバッファ104と,各ストリームに対するタイムスタンプストリーム(A,B,C,D)から,各ストリームのストリーム読み出し位置におけるタイムスタンプ情報を得るタイムスタンプ取得部107と,ストリームを復号して画像情報を作成するストリーム復号部109と,ストリーム復号部109がストリームを読み出すデコーダバッファ106と,復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定部108と,ストリームバッファ(A,B,C,D)101〜104から,復号ストリーム設定部108で設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までのストリームを読み出して,デコーダバッファ106へ転送するストリーム転送部105とから構成される。ストリームバッファ(A,B,C,D)101〜104へは逐次ストリームが蓄積されて,バッファには常に十分な量のストリームが蓄積されているものとする。
FIG. 1 shows a configuration example 1 of the video decoding apparatus of the first example. Stream buffer 101 for storing stream A,
以上の前提で,映像A,B,C,Dのうち,以下の順序で1つの映像を読み出して復号するものとする。すなわち,選択のイベントは次のとおりであったとする。
(1) 時刻T1〜T2:映像A
(2) 時刻T2〜T3:映像B
(3) 時刻T3〜T4:映像C
(4) 時刻T4〜T5:映像D
まず,ストリームバッファ101〜104からデコーダバッファ106へ転送するまでの処理を示す。図2にフローチャートを示す。タイムスタンプ取得部107は,タイムスタンプストリーム(A,B,C,D)を復号して,各映像ストリームの読み出し位置とタイムスタンプ情報を予め得ておく(ステップS101,S102)。
Based on the above assumptions, it is assumed that one of the images A, B, C, and D is read and decoded in the following order. That is, the selection event is as follows.
(1) Time T1 to T2: Video A
(2) Time T2 to T3: Video B
(3) Time T3 to T4: Video C
(4) Time T4 to T5: Video D
First, processing from the stream buffer 101 to 104 to transfer to the
復号ストリーム設定部108は,ストリームAについて時刻T1から時刻T2までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部105を設定する(ステップS103)。ストリーム転送部105は,タイムスタンプ取得部107で得られた読み出し位置の情報を使い,時刻T1から時刻T2までのタイムスタンプに対応するストリームAをストリームバッファ101から読み出して,デコーダバッファ106へ転送する(ステップS104)。
The decoded
次に,復号ストリーム設定部108は,ストリームBについて時刻T2から時刻T3までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部105を設定する。ストリーム転送部105は,タイムスタンプ取得部107で得られた読み出し位置の情報を使い,時刻T2から時刻T3までのタイムスタンプに対応するストリームBをストリームバッファ102から読み出して,デコーダバッファ106へ転送する。
Next, the decoded
映像Cと映像Dについても同様な処理を行い,映像Cについては時刻T3〜T4,映像Dについては時刻T4〜T5のストリームをそれぞれのストリームバッファ103,104から読み出して,デコーダバッファ106へ転送する。
The same processing is performed for the video C and the video D. For the video C, the streams at the times T3 to T4 and for the video D at the times T4 to T5 are read from the
このストリームバッファからデコーダバッファ106へ転送するまでの処理は,図3に示すフローチャートに従っても良い。復号ストリーム設定部108は,ストリームAについて,時刻T1から時刻T2までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部105を設定する(ステップS201)。タイムスタンプ取得部107は,時刻T1から時刻T2までのタイムスタンプに対応するストリーム読み出し位置を得るまでタイムスタンプストリームAの復号を実行し,タイムスタンプを取得する(ステップS202)。ストリーム転送部105は,タイムスタンプ取得部107で得られた読み出し位置の情報を使い,時刻T1から時刻T2までのタイムスタンプに対応するストリームをストリームバッファ101から読み出して,デコーダバッファ106へ転送する(ステップS203)。
Processing from this stream buffer to transfer to the
以上の動作を映像Bと映像Cと映像Dについて,同様に行う。 The above operation is performed in the same manner for video B, video C, and video D.
続いて,図4に示すフローチャートに従って,ストリーム復号部109は,デコーダバッファ106に蓄積されているストリームを読み出して復号する(ステップS301,S302)。 Subsequently, according to the flowchart shown in FIG. 4, the stream decoding unit 109 reads and decodes the stream accumulated in the decoder buffer 106 (steps S301 and S302).
以上の処理により,映像Aから映像Dまで,タイムスタンプを連続して,映像を復号して再生し続けることができる。 Through the above processing, the time stamps can be continuously decoded from video A to video D, and the video can be continuously decoded and reproduced.
各ストリームの読み出し位置とタイムスタンプの情報は4個の映像ストリームに対して1つのストリーム(多重化タイムスタンプストリーム)として作成してあっても良い。この場合には,タイムスタンプ取得部107は4個のタイムスタンプストリームの代わりに,多重化タイムスタンプストリームを読み込んで,ストリーム読み出し位置におけるタイムスタンプ情報を得る。
The read position and time stamp information of each stream may be created as one stream (multiplexed time stamp stream) for four video streams. In this case, the time
タイムスタンプ取得部107は,タイムスタンプストリームを復号してタイムスタンプと読み出し位置を得たが,予め映像ストリーム中にタイムスタンプ情報を入れておき,それを利用しても良い。
The time
この場合の映像復号装置の構成を,図5に構成例2として示す。構成例2では,タイムスタンプ取得部207が前述した構成例1と異なり,他の部分については構成例1と同様である。
The configuration of the video decoding apparatus in this case is shown as configuration example 2 in FIG. In the configuration example 2, the time
構成例2の場合の映像ストリームの構成には,2種類のパターンが想定される。第1のストリーム構成を,図6(A)にストリーム構成例1として示す。ストリーム構成例1では,読み出し位置に特定のビットパターンのスタートコードを設定しておき,そのスタートコードの近くにタイムスタンプ情報を設定する。この場合,タイムスタンプ取得部207は,ストリームバッファに蓄積される各ストリームについて,ストリーム中のスタートコードを探索することで,ストリーム読み出し位置を特定し,そのストリーム読み出し位置に予め設定されているタイムスタンプ情報を得る。
In the configuration of the video stream in the configuration example 2, two types of patterns are assumed. The first stream configuration is shown as a stream configuration example 1 in FIG. In stream configuration example 1, a start code of a specific bit pattern is set at the read position, and time stamp information is set near the start code. In this case, for each stream stored in the stream buffer, the time
第2のストリーム構成を,図6(B)にストリーム構成例2として示す。ストリーム構成例2では,予め設定した特定の位置Xの近くにタイムスタンプ情報と読み出し位置情報を設定する。Xの設定の仕方によっては,ストリームの先頭付近に設定することもできるし,ストリームの末尾付近に設定することもできる。また,それぞれのタイムスタンプ情報を別々の位置に設定しても良い。この場合,タイムスタンプ取得部207は,ストリームバッファに蓄積される各ストリームについて,符号化データ中に予め設定されている,タイムスタンプ情報と読み出し位置情報を復号することで,ストリーム読み出し位置におけるタイムスタンプ情報を得る。さらに,Xの値を映像ストリームの特定位置に含めておくこともできる。この場合には,まずXの値を復号したのちに,タイムスタンプ情報と読み出し位置情報を復号する。
A second stream configuration is shown as a stream configuration example 2 in FIG. In the stream configuration example 2, time stamp information and read position information are set near a predetermined specific position X. Depending on how X is set, it can be set near the beginning of the stream or near the end of the stream. In addition, each time stamp information may be set at different positions. In this case, the time
タイムスタンプ取得部207以外の処理は同様であり,図2,図3,図4のフローチャートに従って動作する。
The processes other than the time
〔第2の例〕
第2の例では,4個(A,B,C,D)のストリームで構成される映像情報の符号化データ(ストリーム)のうち2個のストリームを復号して画像情報を得る映像復号装置の例を示す。各ストリームの読み出し位置とタイムスタンプは予め設定してあり,映像符号化データとは別ストリーム(タイムスタンプストリーム)として1つずつ作成してあるものとする。
[Second example]
In the second example, the video decoding apparatus obtains image information by decoding two streams out of encoded data (stream) of video information composed of four (A, B, C, D) streams. An example is shown. It is assumed that the read position and time stamp of each stream are set in advance and are created one by one as a stream (time stamp stream) separate from the encoded video data.
図7に,第2の例の映像復号装置の構成例1を示す。ストリームAが蓄積されるストリームバッファ301と,ストリームBが蓄積されるストリームバッファ302と,ストリームCが蓄積されるストリームバッファ303と,ストリームDが蓄積されるストリームバッファ304と,各ストリームに対するタイムスタンプストリーム(A,B,C,D)から,各ストリームのストリーム読み出し位置におけるタイムスタンプ情報を得るタイムスタンプ取得部307と,ストリームを復号して画像情報を作成するストリーム復号部(P,Q)311,313と,ストリーム復号部(P,Q)311,313がそれぞれストリームを読み出すデコーダバッファ(P,Q)310,312と,復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定部308と,ストリームバッファ(A,B,C,D)301〜304から,復号ストリーム設定部308で設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までのストリームを読み出して,デコーダバッファ310,312へ転送するストリーム転送部305とから構成される。ストリームバッファ(A,B,C,D)301〜304へは逐次ストリームが蓄積されて,バッファには常に十分な量のストリームが蓄積されているものとする。
FIG. 7 shows a configuration example 1 of the video decoding device of the second example.
以上の前提で,映像A,B,C,Dのうち,以下の順序で2つの映像を読み出して復号するものとする。
(1) 時刻T1〜T2:映像Aと映像B
(2) 時刻T2〜T3:映像Cと映像D
まずストリームバッファ301〜304からデコーダバッファ310,312へ転送するまでの処理を示す。フローチャートは図2と同様である。タイムスタンプ取得部307は,タイムスタンプストリーム(A,B,C,D)を復号して,各映像ストリームの読み出し位置とタイムスタンプ情報を予め得ておく(ステップS101,S102)。
Based on the above assumptions, it is assumed that two videos out of the videos A, B, C, and D are read and decoded in the following order.
(1) Time T1 to T2: Video A and Video B
(2) Time T2 to T3: Video C and Video D
First, processing from the
復号ストリーム設定部308は,ストリームAについて時刻T1から時刻T2までのタイムスタンプに対応するストリームを読み出し,続いてストリームBについて時刻T1から時刻T2までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部305を設定する(ステップS103)。ストリーム転送部305は,タイムスタンプ取得部307で得られた読み出し位置の情報を使い,時刻T1から時刻T2までのタイムスタンプに対応するストリームAをストリームバッファ301から読み出して,デコーダバッファ310へ転送し,時刻T1から時刻T2までのタイムスタンプに対応するストリームBをストリームバッファ302から読み出して,デコーダバッファ312へ転送する(ステップS104)。
The decoded
次に,復号ストリーム設定部308は,ストリームCについて時刻T2から時刻T3までのタイムスタンプに対応するストリームを読み出し,ストリームDについて時刻T2から時刻T3までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部305を設定する。ストリーム転送部305は,タイムスタンプ取得部307で得られた読み出し位置の情報を使い,時刻T2から時刻T3までのタイムスタンプに対応するストリームCをストリームバッファ303から読み出して,デコーダバッファ310へ転送し,時刻T2から時刻T3までのタイムスタンプに対応するストリームDをストリームバッファ304から読み出して,デコーダバッファ312へ転送する。
Next, the decoded
このストリームバッファ301〜304からデコーダバッファ310,312へ転送するまでの処理は,図3に示すフローチャートに従っても良い。復号ストリーム設定部308は,ストリームAについて,時刻T1から時刻T2までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部305を設定し,ストリームBについて,時刻T1から時刻T2までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部305を設定する(ステップS201)。
The processing from the transfer of the stream buffers 301 to 304 to the decoder buffers 310 and 312 may follow the flowchart shown in FIG. The decoded
タイムスタンプ取得部307は,時刻T1から時刻T2までのタイムスタンプに対応するストリーム読み出し位置を得るまでタイムスタンプストリームAの復号を実行し,時刻T1から時刻T2までのタイムスタンプに対応するストリーム読み出し位置を得るまでタイムスタンプストリームBの復号を実行する(ステップS202)。
The time
ストリーム転送部305は,タイムスタンプ取得部307で得られた読み出し位置の情報を使い,時刻T1から時刻T2までのタイムスタンプに対応するストリームAをストリームバッファ301から読み出して,デコーダバッファ310へ転送し,時刻T1から時刻T2までのタイムスタンプに対応するストリームBをストリームバッファ302から読み出して,デコーダバッファ312へ転送する(ステップS203)。
The
以上の動作を映像Cと映像Dについて同様に行う。ストリーム転送部305は,デコーダバッファ(P)310またはデコーダバッファ(Q)312へストリームを転送するが,どちらのデコーダバッファへ転送しても良い。
The above operation is performed in the same manner for video C and video D. The
続いて,図4に示すフローチャートに従って,ストリーム復号部(P)311は,デコーダバッファ310に蓄積されているストリームを読み出して復号する(ステップS301,S302)。同様にストリーム復号部(Q)313は,デコーダバッファ312に蓄積されているストリームを読み出して復号する。ストリーム復号部311とストリーム復号部313は独立して処理を実行する。
Subsequently, according to the flowchart shown in FIG. 4, the stream decoding unit (P) 311 reads and decodes the stream accumulated in the decoder buffer 310 (steps S301 and S302). Similarly, the stream decoding unit (Q) 313 reads and decodes the stream stored in the
以上の処理により,映像Aから映像Dまで,タイムスタンプを連続して,映像を復号して再生し続けることができる。 Through the above processing, the time stamps can be continuously decoded from video A to video D, and the video can be continuously decoded and reproduced.
第1の例と同様に,各ストリームの読み出し位置とタイムスタンプの情報は4個の映像ストリームに対して1つのストリーム(多重化タイムスタンプストリーム)として作成してあっても良い。この場合にはタイムスタンプ取得部307は4個のタイムスタンプストリームの代わりに,多重化タイムスタンプストリームを読み込んでストリーム読み出し位置におけるタイムスタンプ情報を得る。
As in the first example, the read position and time stamp information of each stream may be created as one stream (multiplexed time stamp stream) for four video streams. In this case, the time
また,第1の例と同様に,タイムスタンプ取得部307は,タイムスタンプストリームを復号してタイムスタンプと読み出し位置を得たが,予め映像ストリーム中にタイムスタンプ情報を入れておき,それを利用しても良い。
Similarly to the first example, the time
この場合の映像復号装置の構成を,図8に構成例2として示す。映像ストリームの構成は,第1の例と同様に,図6(A)または図6(B)の構成になる。図8に示すタイムスタンプ取得部407以外の処理は,図7に示した構成例1と同様であり,図2,図3,図4のフローチャートに従って動作する。
The configuration of the video decoding apparatus in this case is shown as configuration example 2 in FIG. The configuration of the video stream is the configuration shown in FIG. 6A or 6B, as in the first example. Processes other than the time
〔第3の例〕
第3の例では,4個(A,B,C,D)の映像ストリームが予め多重化された多重化ストリームから,1個の映像ストリームを復号して画像情報を得る映像復号装置の例を示す。多重化ストリーム中の各映像ストリームはストリーム識別子で区別される。多重化ストリームの読み出し位置とストリーム識別子とタイムスタンプは予め設定してあり,多重化ストリームとは別ストリーム(多重化タイムスタンプストリーム)として作成してあるものとする。
[Third example]
In the third example, an example of a video decoding device that obtains image information by decoding one video stream from a multiplexed stream in which four (A, B, C, D) video streams are multiplexed in advance. Show. Each video stream in the multiplexed stream is distinguished by a stream identifier. It is assumed that the read position of the multiplexed stream, the stream identifier, and the time stamp are set in advance, and are created as a stream (multiplexed time stamp stream) different from the multiplexed stream.
図9に,第3の例の映像復号装置の構成例1を示す。多重化ストリームが蓄積されるストリームバッファ501と,多重化タイムスタンプストリームから,ストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を得るタイムスタンプ取得部507と,ストリームを復号して画像情報を作成するストリーム復号部509と,ストリーム復号部509がストリームを読み出すデコーダバッファ506と,復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定部508と,ストリームバッファ501から,復号ストリーム設定部508で設定したストリーム識別子とタイムスタンプに対応する読み出し位置から次の読み出し位置までのストリームを読み出して,デコーダバッファ506へ転送するストリーム転送部505とから構成される。ストリームバッファ501へは逐次多重化ストリームが蓄積されて,バッファには常に十分な量のストリームが蓄積されているものとする。
FIG. 9 shows a configuration example 1 of the video decoding apparatus of the third example. A
以上の前提で,第1の例と同様に,映像A,B,C,Dのうち,以下の順序で1つの映像を読み出して復号するものとする。
(1) 時刻T1〜T2:映像A
(2) 時刻T2〜T3:映像B
(3) 時刻T3〜T4:映像C
(4) 時刻T4〜T5:映像D
まず,ストリームバッファ501からデコーダバッファ506へ転送するまでの処理を示す。フローチャートは図2と同様である。タイムスタンプ取得部507は,多重化タイムスタンプストリームを復号して,各映像ストリーム(A,B,C,D)の読み出し位置とストリーム識別子とタイムスタンプ情報を予め得ておく(ステップS101,S102)。
Based on the above assumption, it is assumed that one video is read out and decoded in the following order among the videos A, B, C, and D, as in the first example.
(1) Time T1 to T2: Video A
(2) Time T2 to T3: Video B
(3) Time T3 to T4: Video C
(4) Time T4 to T5: Video D
First, processing from the
復号ストリーム設定部508は,ストリームAについて時刻T1から時刻T2までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部505を設定する(ステップS103)。ストリーム転送部505は,タイムスタンプ取得部507で得られた読み出し位置の情報を使い,時刻T1から時刻T2までのタイムスタンプに対応するストリームAをストリームバッファ501から読み出して,デコーダバッファ506へ転送する(ステップS104)。
The decoded
次に,復号ストリーム設定部508は,ストリームBについて時刻T2から時刻T3までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部505を設定する。ストリーム転送部505は,タイムスタンプ取得部507で得られた読み出し位置の情報を使い,時刻T2から時刻T3までのタイムスタンプに対応するストリームBをストリームバッファ501から読み出して,デコーダバッファ506へ転送する。
Next, the decoded
映像Cと映像Dについても同様な処理を行い,映像Cについては時刻T3〜T4,映像Dについては時刻T4〜T5のストリームを,ストリームバッファ501から読み出して,デコーダバッファ506へ転送する。
The same processing is performed for the video C and the video D. The stream at the times T3 to T4 for the video C and the times T4 to T5 for the video D is read from the
このストリームバッファ501からデコーダバッファ506へ転送するまでの処理は,図3に示すフローチャートに従っても良い。復号ストリーム設定部508は,ストリームAについて,時刻T1から時刻T2までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部505を設定する(ステップS201)。タイムスタンプ取得部507は,ストリームAの時刻T1から時刻T2までのタイムスタンプに対応するストリーム読み出し位置を得るまで多重化タイムスタンプストリームの復号を実行する(ステップS202)。ストリーム転送部505は,タイムスタンプ取得部507で得られた読み出し位置の情報を使い,時刻T1から時刻T2までのタイムスタンプに対応するストリームAをストリームバッファ501から読み出して,デコーダバッファ506へ転送する(ステップS203)。
Processing from the
以上の動作を映像Bと映像Cと映像Dについて同様に行う。 The above operation is performed in the same manner for video B, video C, and video D.
続いて,図4に示すフローチャートに従って,ストリーム復号部509は,デコーダバッファ506に蓄積されているストリームを読み出して復号する(ステップS301,S302)。
Subsequently, according to the flowchart shown in FIG. 4, the
以上の処理により,映像Aから映像Dまで,タイムスタンプを連続して,映像を復号して再生し続けることができる。 Through the above processing, the time stamps can be continuously decoded from video A to video D, and the video can be continuously decoded and reproduced.
タイムスタンプ取得部507は,多重化タイムスタンプストリームを復号してストリーム識別子とタイムスタンプと読み出し位置を得たが,予め多重化ストリーム中にストリーム識別子とタイムスタンプ情報を入れておき,それを利用しても良い。
The time
この場合の映像復号装置の構成を,図10に構成例2として示す。この場合の映像ストリームの構成には,2種類のパターンが想定される。第1のストリーム構成を,図11(A)にストリーム構成例3として示す。構成例3では,読み出し位置に特定のビットパターンのスタートコードを設定しておき,そのスタートコードの近くにストリーム識別子とタイムスタンプ情報を設定する。この場合,タイムスタンプ取得部607は,ストリームバッファ601に蓄積される多重化ストリームについて,ストリーム中のスタートコードを探索することで,ストリーム読み出し位置を特定し,そのストリーム読み出し位置に予め設定されているストリーム識別子とタイムスタンプ情報を得る。
The configuration of the video decoding apparatus in this case is shown as configuration example 2 in FIG. In this case, two types of patterns are assumed for the configuration of the video stream. The first stream configuration is shown as a stream configuration example 3 in FIG. In the configuration example 3, a start code of a specific bit pattern is set at a reading position, and a stream identifier and time stamp information are set near the start code. In this case, the time
第2のストリーム構成を,図11(B)にストリーム構成例4として示す。構成例4では,予め設定した特定の位置Xの近くにストリーム識別子とタイムスタンプ情報と読み出し位置情報を設定する。Xの設定の仕方によっては,ストリームの先頭付近に設定することもできるし,ストリームの末尾付近に設定することもできる。また,それぞれのタイムスタンプ情報を別々の位置に設定しても良い。この場合,タイムスタンプ取得部607は,ストリームバッファ601に蓄積される多重化ストリームについて,符号化データ中に予め設定されている,ストリーム読み出し位置情報とストリーム識別子とタイムスタンプ情報を復号することで,ストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を得る。さらに,Xの値を映像ストリームの特定位置に含めておくこともできる。この場合には,まずXの値を復号したのちに,ストリーム識別子とタイムスタンプ情報を復号する。
A second stream configuration is shown as a stream configuration example 4 in FIG. In Configuration Example 4, a stream identifier, time stamp information, and readout position information are set near a predetermined specific position X. Depending on how X is set, it can be set near the beginning of the stream or near the end of the stream. In addition, each time stamp information may be set at different positions. In this case, the time
タイムスタンプ取得部607以外の処理は,前述した図9に示す構成例1の場合と同様であり,図2,図3,図4のフローチャートに従って動作する。
Processes other than the time
〔第4の例〕
第4の例では,4個(A,B,C,D)の映像ストリームが予め多重化された多重化ストリームから,2個の映像ストリームを復号して画像情報を得る映像復号装置の例を示す。多重化ストリーム中の各映像ストリームは,ストリーム識別子で区別される。多重化ストリームの読み出し位置とストリーム識別子とタイムスタンプは予め設定してあり,多重化ストリームとは別ストリーム(多重化タイムスタンプストリーム)として作成してあるものとする。
[Fourth example]
In the fourth example, an example of a video decoding apparatus that obtains image information by decoding two video streams from a multiplexed stream in which four (A, B, C, D) video streams are multiplexed in advance. Show. Each video stream in the multiplexed stream is distinguished by a stream identifier. It is assumed that the read position of the multiplexed stream, the stream identifier, and the time stamp are set in advance, and are created as a stream (multiplexed time stamp stream) different from the multiplexed stream.
図12に,第4の例の映像復号装置の構成例1を示す。多重化ストリームが蓄積されるストリームバッファ701と,多重化タイムスタンプストリームから,各ストリームのストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を得るタイムスタンプ取得部707と,ストリームを復号して画像情報を作成するストリーム復号部(P,Q)711,713と,ストリーム復号部(P,Q)711,713がそれぞれストリームを読み出すデコーダバッファ(P,Q)710,712と,復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定部708と,ストリームバッファ701から,復号ストリーム設定部708で設定したストリーム識別子とタイムスタンプに対応する読み出し位置から次の読み出し位置までのストリームを読み出して,デコーダバッファへ転送するストリーム転送部705とから構成される。ストリームバッファ701へは逐次ストリームが蓄積されて,バッファには常に十分な量のストリームが蓄積されているものとする。
FIG. 12 shows a configuration example 1 of the video decoding apparatus of the fourth example. A
以上の前提で,映像A,B,C,Dのうち,以下の順序で2つの映像を読み出して復号するものとする。
(1) 時刻T1〜T2:映像Aと映像B
(2) 時刻T2〜T3:映像Cと映像D
まず,ストリームバッファ701からデコーダバッファ710,712へ転送するまでの処理を示す。フローチャートは図2と同様である。タイムスタンプ取得部707は,多重化タイムスタンプストリームを復号して,各映像ストリームの読み出し位置とストリーム識別子とタイムスタンプ情報を予め得ておく(ステップS101,S102)。
Based on the above assumptions, it is assumed that two videos out of the videos A, B, C, and D are read and decoded in the following order.
(1) Time T1 to T2: Video A and Video B
(2) Time T2 to T3: Video C and Video D
First, processing from the
復号ストリーム設定部708は,ストリームAについて時刻T1から時刻T2までのタイムスタンプに対応するストリームを読み出し,続いてストリームBについて時刻T1から時刻T2までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部705を設定する(ステップS103)。ストリーム転送部705は,タイムスタンプ取得部707で得られた読み出し位置の情報を使い,時刻T1から時刻T2までのタイムスタンプに対応するストリームAをストリームバッファ701から読み出して,デコーダバッファ(P)710へ転送し,時刻T1から時刻T2までのタイムスタンプに対応するストリームBをストリームバッファ701から読み出して,デコーダバッファ(Q)712へ転送する(ステップS104)。
The decoded
次に,復号ストリーム設定部708は,ストリームCについて時刻T2から時刻T3までのタイムスタンプに対応するストリームを読み出し,ストリームDについて時刻T2から時刻T3までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部705を設定する。ストリーム転送部705は,タイムスタンプ取得部707で得られた読み出し位置の情報を使い,時刻T2から時刻T3までのタイムスタンプに対応するストリームCをストリームバッファ701から読み出して,デコーダバッファ(P)710へ転送し,時刻T2から時刻T3までのタイムスタンプに対応するストリームDをストリームバッファ701から読み出して,デコーダバッファ(Q)712へ転送する。
Next, the decoded
このストリームバッファ701からデコーダバッファ710,712へ転送するまでの処理は,図3に示すフローチャートに従っても良い。復号ストリーム設定部708は,ストリームAについて,時刻T1から時刻T2までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部705を設定し,ストリームBについて,時刻T1から時刻T2までのタイムスタンプに対応するストリームを読み出すようにストリーム転送部705を設定する(ステップS201)。タイムスタンプ取得部707は,ストリームAの時刻T1から時刻T2までのタイムスタンプに対応するストリーム読み出し位置を得るまで多重化タイムスタンプストリームの復号を実行し,ストリームBの時刻T1から時刻T2までのタイムスタンプに対応するストリーム読み出し位置を得るまでタイムスタンプストリームの復号を実行する(ステップS202)。ストリーム転送部705は,タイムスタンプ取得部707で得られた読み出し位置の情報を使い,時刻T1から時刻T2までのタイムスタンプに対応するストリームAをストリームバッファ701から読み出して,デコーダバッファ(P)710へ転送し,時刻T1から時刻T2までのタイムスタンプに対応するストリームBをストリームバッファ701から読み出して,デコーダバッファ(Q)712へ転送する(ステップS203)。
The processing from the transfer of the
以上の動作を映像Cと映像Dについて同様に行う。ストリーム転送部705は,デコーダバッファ(P)710またはデコーダバッファ(Q)712へストリームを転送するが,どちらのデコーダバッファへ転送しても良い。
The above operation is performed in the same manner for video C and video D. The
続いて,図4に示すフローチャートに従って,ストリーム復号部(P)711は,デコーダバッファ(P)710に蓄積されているストリームを読み出して復号する(ステップS301,S302)。同様にストリーム復号部(Q)713は,デコーダバッファ(Q)712に蓄積されているストリームを読み出して復号する。ストリーム復号部(P)711とストリーム復号部(Q)713は独立して処理を実行する。 Subsequently, according to the flowchart shown in FIG. 4, the stream decoding unit (P) 711 reads and decodes the stream stored in the decoder buffer (P) 710 (steps S301 and S302). Similarly, the stream decoding unit (Q) 713 reads and decodes the stream stored in the decoder buffer (Q) 712. The stream decoding unit (P) 711 and the stream decoding unit (Q) 713 execute processing independently.
以上の処理により,映像Aから映像Dまで,タイムスタンプを連続して,映像を復号して再生し続けることができる。 Through the above processing, the time stamps can be continuously decoded from video A to video D, and the video can be continuously decoded and reproduced.
また,第3の例と同様に,タイムスタンプ取得部707は,タイムスタンプストリームを復号してタイムスタンプと読み出し位置を得たが,予め映像ストリーム中にストリーム識別子とタイムスタンプ情報を入れておき,それを利用しても良い。
Similarly to the third example, the time
この場合の映像復号装置の構成を,図13に構成例2として示す。映像ストリームの構成は第3の例と同様に,図11(A)または図11(B)の構成になる。タイムスタンプ取得部807以外の処理は,図12で説明した構成例1の場合と同様であり,図2,図3,図4のフローチャートに従って動作する。
The configuration of the video decoding apparatus in this case is shown as configuration example 2 in FIG. The configuration of the video stream is the configuration of FIG. 11A or FIG. 11B, as in the third example. The processes other than the time
以上の映像復号の処理は,コンピュータとソフトウェアプログラムとによっても実現することができ,そのプログラムをコンピュータ読み取り可能な記録媒体に記録することも,ネットワークを通して提供することも可能である。 The video decoding process described above can be realized by a computer and a software program, and the program can be recorded on a computer-readable recording medium or provided through a network.
図14は,以上説明した映像復号装置をソフトウェアプログラムにより実現する場合のシステム構成の一例を示す図である。 FIG. 14 is a diagram illustrating an example of a system configuration when the video decoding apparatus described above is realized by a software program.
CPU10は,映像復号プログラムの命令をフェッチして実行する処理装置である。CPU10には,システムバスを介して映像ストリーム入力装置11,プログラム記憶装置12,メモリ14,表示制御装置15,入力装置17が接続されている。
The
映像ストリーム入力装置11は,符号化された映像ストリームをネットワーク通信によりまたは放送受信により入力する。プログラム記憶装置12は,ハードディスク装置の外部記憶装置であって,CPU10に映像復号処理を行わせるための映像復号プログラム13が格納されている。
The video
映像復号プログラム13は,システムの立ち上げ時にメモリ14にロードされ,映像ストリームの復号時にCPU10に読み込まれて実行される。また,メモリ14には,映像ストリーム入力装置11が入力した映像ストリームが蓄積されるストリームバッファや,復号するストリームが格納されるデコーダバッファが設けられる。
The
復号された映像は,表示制御装置15を介して表示装置16に表示される。入力装置17は,キーボードやリモコンその他の入力装置であり,映像を選択する選択イベントの入力などに用いられる。
The decoded video is displayed on the
101〜104,201〜204,301〜304,401〜404,501,601,701,801 ストリームバッファ
105,205,305,405,505,605,705,805 ストリーム転送部
106,206,310,312,410,412,506,606,710,712,810,812 デコーダバッファ
107,207,307,407,607,707,807 タイムスタンプ取得部
108,208,308,408,508,608,708,808 復号ストリーム設定部
109,209,311,313,411,413,509,609,711,713,811,813 ストリーム復号部
101 to 104, 201 to 204, 301 to 304, 401 to 404, 501, 601, 701, 801
Claims (15)
前記映像復号装置は,前記N個のストリームがそれぞれ蓄積されるN個のストリームバッファと,復号するストリームを格納する1個のデコーダバッファとを有し,
前記ストリームバッファに蓄積される各ストリームについて,予め設定されているストリーム読み出し位置におけるタイムスタンプ情報を得るタイムスタンプ取得ステップを実行し,
復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定ステップと,
前記復号ストリーム設定ステップで設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までのストリームを,前記N個のストリームバッファの1つから読み出して,前記デコーダバッファへ転送するストリーム転送ステップとを実行し,
前記デコーダバッファに蓄積されたストリームを復号して画像情報を作成するストリーム復号ステップを実行する
ことを特徴とする映像復号方法。 A video decoding method executed by a video decoding device that obtains image information by decoding encoded data of video information composed of N (N ≧ 2) streams,
The video decoding device has N stream buffers for storing the N streams, and one decoder buffer for storing a stream to be decoded.
For each stream stored in the stream buffer, execute a time stamp obtaining step for obtaining time stamp information at a preset stream reading position;
A decoding stream setting step for setting a stream to be decoded and a time stamp for starting decoding;
A stream transfer step of reading a stream from a reading position corresponding to the time stamp set in the decoding stream setting step to the next reading position from one of the N stream buffers and transferring the stream to the decoder buffer; And
A video decoding method, comprising: performing a stream decoding step of decoding the stream accumulated in the decoder buffer to create image information.
前記映像復号装置は,前記N個のストリームがそれぞれ蓄積されるN個のストリームバッファと,復号するストリームを格納するM個(2≦M≦N)のデコーダバッファとを有し,
前記ストリームバッファに蓄積される各ストリームについて,予め設定されているストリーム読み出し位置におけるタイムスタンプ情報を得るタイムスタンプ取得ステップを実行し,
M個の復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定ステップと,
前記復号ストリーム設定ステップで設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までのストリームを,前記N個のストリームバッファの1つから読み出して,前記M個のデコーダバッファの1つへ転送する処理を,前記M個のデコーダバッファのそれぞれに対して行うストリーム転送ステップとを実行し,
前記M個のデコーダバッファに蓄積された各ストリームをそれぞれ復号して画像情報を作成するストリーム復号ステップを実行する
ことを特徴とする映像復号方法。 A video decoding method executed by a video decoding device that obtains image information by decoding encoded data of video information composed of N (N ≧ 2) streams,
The video decoding device includes N stream buffers for storing the N streams, and M (2 ≦ M ≦ N) decoder buffers for storing streams to be decoded,
For each stream stored in the stream buffer, execute a time stamp obtaining step for obtaining time stamp information at a preset stream reading position;
A decoding stream setting step for setting M decoding streams and a time stamp for starting decoding;
A stream from the reading position corresponding to the time stamp set in the decoding stream setting step to the next reading position is read from one of the N stream buffers and transferred to one of the M decoder buffers. A stream transfer step for performing processing on each of the M decoder buffers;
A video decoding method, comprising: performing a stream decoding step of decoding each stream stored in the M decoder buffers to create image information.
前記タイムスタンプ取得ステップでは,
前記N個のストリームバッファに蓄積される各ストリームについて,ストリーム中の特定のビット配列を探索することで,ストリーム読み出し位置を特定し,そのストリーム読み出し位置に予め設定されているタイムスタンプ情報を得る
ことを特徴とする映像復号方法。 A video decoding method according to claim 1 or claim 2, wherein
In the time stamp acquisition step,
For each stream stored in the N stream buffers, a stream reading position is identified by searching for a specific bit arrangement in the stream, and time stamp information set in advance at the stream reading position is obtained. A video decoding method characterized by the above.
前記タイムスタンプ取得ステップでは,
前記N個のストリームバッファに蓄積される各ストリームについて,符号化データ中に予め設定されている,ストリーム読み出し位置情報とタイムスタンプ情報を復号することで,ストリーム読み出し位置におけるタイムスタンプ情報を得る
ことを特徴とする映像復号方法。 A video decoding method according to claim 1 or claim 2, wherein
In the time stamp acquisition step,
For each stream stored in the N stream buffers, decoding the stream reading position information and time stamp information set in advance in the encoded data to obtain the time stamp information at the stream reading position. A video decoding method.
前記タイムスタンプ取得ステップでは,
前記N個のストリームバッファに蓄積される各ストリームとは別に予め作成されたストリーム中に予め設定されている,ストリーム読み出し位置におけるタイムスタンプ情報を復号することで,ストリーム読み出し位置におけるタイムスタンプ情報を得る
ことを特徴とする映像復号方法。 A video decoding method according to claim 1 or claim 2, wherein
In the time stamp acquisition step,
The time stamp information at the stream reading position is obtained by decoding the time stamp information at the stream reading position, which is set in advance in a stream created separately from each stream stored in the N stream buffers. And a video decoding method.
前記映像復号装置は,前記多重化ストリームが蓄積される1個のストリームバッファと,復号するストリームを格納する1個のデコーダバッファとを有し,
前記ストリームバッファに蓄積される多重化ストリームについて,予め設定されている各ストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を得るタイムスタンプ取得ステップを実行し,
復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定ステップと,
前記復号ストリーム設定ステップで設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までの,ストリーム識別子に対応したストリームを,前記ストリームバッファから読み出して,前記デコーダバッファへ転送するストリーム転送ステップとを実行し,
前記デコーダバッファに蓄積されたストリームを復号して画像情報を作成するストリーム復号ステップを実行する
ことを特徴とする映像復号方法。 Video decoding method executed by a video decoding apparatus that obtains image information by decoding encoded data of video information composed of multiplexed streams obtained by multiplexing N (N ≧ 2) streams assigned stream identifiers Because
The video decoding device has one stream buffer for storing the multiplexed stream and one decoder buffer for storing a stream to be decoded,
For the multiplexed stream stored in the stream buffer, a time stamp obtaining step for obtaining a stream identifier and time stamp information at each stream reading position set in advance is executed,
A decoding stream setting step for setting a stream to be decoded and a time stamp for starting decoding;
A stream transfer step of reading the stream corresponding to the stream identifier from the reading position corresponding to the time stamp set in the decoding stream setting step to the next reading position from the stream buffer and transferring the stream to the decoder buffer And
A video decoding method, comprising: performing a stream decoding step of decoding the stream accumulated in the decoder buffer to create image information.
前記映像復号装置は,前記多重化ストリームが蓄積される1個のストリームバッファと,復号するストリームを格納するM個(2≦M≦N)のデコーダバッファとを有し,
ストリームバッファに蓄積される多重化ストリームについて,予め設定されている各ストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を得るタイムスタンプ取得ステップを実行し,
M個の復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定ステップと,
前記復号ストリーム設定ステップで設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までの,ストリーム識別子に対応したストリームを前記ストリームバッファから読み出して,前記M個のデコーダバッファの1つへ転送する処理を,前記M個のデコーダバッファのそれぞれに対して行うストリーム転送ステップとを実行し,
前記M個のデコーダバッファに蓄積された各ストリームをそれぞれ復号して画像情報を作成するストリーム復号ステップを実行する
ことを特徴とする映像復号方法。 Video decoding method executed by a video decoding apparatus that obtains image information by decoding encoded data of video information composed of multiplexed streams obtained by multiplexing N (N ≧ 2) streams assigned stream identifiers Because
The video decoding device includes one stream buffer in which the multiplexed stream is stored, and M (2 ≦ M ≦ N) decoder buffers that store streams to be decoded,
For a multiplexed stream stored in the stream buffer, execute a time stamp acquisition step for obtaining a stream identifier and time stamp information at each stream read position set in advance,
A decoding stream setting step for setting M decoding streams and a time stamp for starting decoding;
A process of reading a stream corresponding to a stream identifier from the reading position corresponding to the time stamp set in the decoding stream setting step to the next reading position from the stream buffer and transferring it to one of the M decoder buffers Performing a stream transfer step for each of the M decoder buffers,
A video decoding method, comprising: performing a stream decoding step of decoding each stream stored in the M decoder buffers to create image information.
前記タイムスタンプ取得ステップでは,
前記ストリームバッファに蓄積される多重化ストリームについて,ストリーム中の特定のビット配列を探索することで,ストリーム読み出し位置を特定し,そのストリーム読み出し位置に予め設定されているストリーム識別子とタイムスタンプ情報を得る
ことを特徴とする映像復号方法。 The video decoding method according to claim 6 or 7, wherein
In the time stamp acquisition step,
For the multiplexed stream stored in the stream buffer, the stream reading position is specified by searching for a specific bit arrangement in the stream, and the stream identifier and time stamp information set in advance at the stream reading position are obtained. And a video decoding method.
前記タイムスタンプ取得ステップでは,
前記ストリームバッファに蓄積される多重化ストリームについて,符号化データ中に予め設定されている,ストリーム読み出し位置情報とストリーム識別子とタイムスタンプ情報を復号することで,ストリーム識別子とストリーム読み出し位置におけるタイムスタンプ情報を得る
ことを特徴とする映像復号方法。 The video decoding method according to claim 6 or 7, wherein
In the time stamp acquisition step,
For the multiplexed stream stored in the stream buffer, the stream identifier and the time stamp information at the stream read position are decoded by decoding the stream read position information, the stream identifier, and the time stamp information set in advance in the encoded data. The video decoding method characterized by obtaining.
前記タイムスタンプ取得ステップでは,
前記ストリームバッファに蓄積される各ストリームとは別に予め作成されたストリーム中に予め設定されている,ストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を復号することで,ストリーム識別子とストリーム読み出し位置におけるタイムスタンプ情報を得る
ことを特徴とする映像復号方法。 The video decoding method according to claim 6 or 7, wherein
In the time stamp acquisition step,
The stream identifier and the time stamp at the stream reading position are decoded by decoding the stream identifier and the time stamp information at the stream reading position, which are set in advance in a stream created separately from each stream stored in the stream buffer. A video decoding method characterized by obtaining information.
前記N個のストリームがそれぞれ蓄積されるN個のストリームバッファと,
復号するストリームを格納する1個のデコーダバッファと,
前記ストリームバッファに蓄積される各ストリームについて,予め設定されているストリーム読み出し位置におけるタイムスタンプ情報を得るタイムスタンプ取得部と,
復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定部と,
前記復号ストリーム設定部で設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までのストリームを,前記N個のストリームバッファの1つから読み出して,前記デコーダバッファへ転送するストリーム転送部と,
前記デコーダバッファに蓄積されたストリームを復号して画像情報を作成するストリーム復号部とを備える
ことを特徴とする映像復号装置。 A video decoding apparatus that obtains image information by decoding encoded data of video information composed of N (N ≧ 2) streams,
N stream buffers each storing the N streams;
One decoder buffer for storing the stream to be decoded;
For each stream stored in the stream buffer, a time stamp acquisition unit that obtains time stamp information at a preset stream reading position;
A decoding stream setting unit for setting a stream to be decoded and a time stamp for starting decoding;
A stream transfer unit that reads a stream from a read position corresponding to the time stamp set in the decoded stream setting unit to the next read position from one of the N stream buffers and transfers the stream to the decoder buffer;
A video decoding apparatus, comprising: a stream decoding unit that decodes a stream stored in the decoder buffer to create image information.
前記N個のストリームがそれぞれ蓄積されるN個のストリームバッファと,
復号するストリームを格納するM個(2≦M≦N)のデコーダバッファと,
前記ストリームバッファに蓄積される各ストリームについて,予め設定されているストリーム読み出し位置におけるタイムスタンプ情報を得るタイムスタンプ取得部と,
M個の復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定部と,
前記復号ストリーム設定部で設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までのストリームを,前記N個のストリームバッファの1つから読み出して,前記M個のデコーダバッファの1つへ転送する処理を,前記M個のデコーダバッファのそれぞれに対して行うストリーム転送部と,
前記M個のデコーダバッファに蓄積された各ストリームをそれぞれ復号して画像情報を作成するM個のストリーム復号部とを備える
ことを特徴とする映像復号装置。 A video decoding apparatus that obtains image information by decoding encoded data of video information composed of N (N ≧ 2) streams,
N stream buffers each storing the N streams;
M (2 ≦ M ≦ N) decoder buffers for storing streams to be decoded;
For each stream stored in the stream buffer, a time stamp acquisition unit that obtains time stamp information at a preset stream reading position;
A decoding stream setting unit for setting M decoding streams and a time stamp for starting decoding;
A stream from the reading position corresponding to the time stamp set by the decoding stream setting unit to the next reading position is read from one of the N stream buffers and transferred to one of the M decoder buffers. A stream transfer unit for performing processing on each of the M decoder buffers;
A video decoding apparatus comprising: M stream decoding units that respectively decode the streams stored in the M decoder buffers to generate image information.
前記多重化ストリームが蓄積される1個のストリームバッファと,
復号するストリームを格納する1個のデコーダバッファと,
前記ストリームバッファに蓄積される多重化ストリームについて,予め設定されている各ストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を得るタイムスタンプ取得部と,
復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定部と,
前記復号ストリーム設定部で設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までの,ストリーム識別子に対応したストリームを,前記ストリームバッファから読み出して,前記デコーダバッファへ転送するストリーム転送部と,
前記デコーダバッファに蓄積されたストリームを復号して画像情報を作成するストリーム復号部とを備える
ことを特徴とする映像復号装置。 A video decoding device that decodes encoded data of video information composed of a multiplexed stream in which N (N ≧ 2) streams assigned stream identifiers are multiplexed to obtain image information,
One stream buffer in which the multiplexed stream is stored;
One decoder buffer for storing the stream to be decoded;
A time stamp obtaining unit for obtaining a stream identifier and time stamp information at each preset stream read position for the multiplexed stream stored in the stream buffer;
A decoding stream setting unit for setting a stream to be decoded and a time stamp for starting decoding;
A stream transfer unit that reads a stream corresponding to a stream identifier from a read position corresponding to a time stamp set in the decoded stream setting unit to a next read position from the stream buffer and transfers the stream to the decoder buffer;
A video decoding apparatus, comprising: a stream decoding unit that decodes a stream stored in the decoder buffer to create image information.
前記多重化ストリームが蓄積される1個のストリームバッファと,
復号するストリームを格納するM個(2≦M≦N)のデコーダバッファと,
前記ストリームバッファに蓄積される多重化ストリームについて,予め設定されている各ストリーム読み出し位置におけるストリーム識別子とタイムスタンプ情報を得るタイムスタンプ取得部と,
M個の復号するストリームと復号を開始するタイムスタンプを設定する復号ストリーム設定部と,
前記復号ストリーム設定部で設定したタイムスタンプに対応する読み出し位置から次の読み出し位置までの,ストリーム識別子に対応したストリームを前記ストリームバッファから読み出して,前記M個のデコーダバッファの1つへ転送する処理を,前記M個のデコーダバッファのそれぞれに対して行うストリーム転送部と,
前記M個のデコーダバッファに蓄積された各ストリームをそれぞれ復号して画像情報を作成するM個のストリーム復号部とを備える
ことを特徴とする映像復号装置。 A video decoding device that decodes encoded data of video information composed of a multiplexed stream in which N (N ≧ 2) streams assigned stream identifiers are multiplexed to obtain image information,
One stream buffer in which the multiplexed stream is stored;
M (2 ≦ M ≦ N) decoder buffers for storing streams to be decoded;
A time stamp obtaining unit for obtaining a stream identifier and time stamp information at each preset stream read position for the multiplexed stream stored in the stream buffer;
A decoding stream setting unit for setting M decoding streams and a time stamp for starting decoding;
Processing for reading a stream corresponding to a stream identifier from a reading position corresponding to a time stamp set by the decoding stream setting unit to a next reading position from the stream buffer and transferring it to one of the M decoder buffers A stream transfer unit for each of the M decoder buffers;
A video decoding apparatus comprising: M stream decoding units that respectively decode the streams stored in the M decoder buffers to generate image information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009214110A JP5066557B2 (en) | 2009-09-16 | 2009-09-16 | Video decoding method, video decoding apparatus, and video decoding program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009214110A JP5066557B2 (en) | 2009-09-16 | 2009-09-16 | Video decoding method, video decoding apparatus, and video decoding program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011066587A true JP2011066587A (en) | 2011-03-31 |
JP5066557B2 JP5066557B2 (en) | 2012-11-07 |
Family
ID=43952372
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009214110A Active JP5066557B2 (en) | 2009-09-16 | 2009-09-16 | Video decoding method, video decoding apparatus, and video decoding program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5066557B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11112964A (en) * | 1997-10-01 | 1999-04-23 | Fuji Electric Co Ltd | Image transmitter |
JP2001346206A (en) * | 2000-03-29 | 2001-12-14 | Matsushita Electric Ind Co Ltd | Decoder, decoding method, multiplexer and multiplexing method |
JP2002252852A (en) * | 2001-02-23 | 2002-09-06 | Nec Microsystems Ltd | Code feeder and semiconductor integrated circuit |
JP2004072618A (en) * | 2002-08-08 | 2004-03-04 | Matsushita Electric Ind Co Ltd | Image reproduction system |
JP2004350237A (en) * | 2003-05-26 | 2004-12-09 | Nhk Engineering Services Inc | Stream transfer apparatus, stream transfer method, stream transfer program, and display time correcting apparatus |
-
2009
- 2009-09-16 JP JP2009214110A patent/JP5066557B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11112964A (en) * | 1997-10-01 | 1999-04-23 | Fuji Electric Co Ltd | Image transmitter |
JP2001346206A (en) * | 2000-03-29 | 2001-12-14 | Matsushita Electric Ind Co Ltd | Decoder, decoding method, multiplexer and multiplexing method |
JP2002252852A (en) * | 2001-02-23 | 2002-09-06 | Nec Microsystems Ltd | Code feeder and semiconductor integrated circuit |
JP2004072618A (en) * | 2002-08-08 | 2004-03-04 | Matsushita Electric Ind Co Ltd | Image reproduction system |
JP2004350237A (en) * | 2003-05-26 | 2004-12-09 | Nhk Engineering Services Inc | Stream transfer apparatus, stream transfer method, stream transfer program, and display time correcting apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP5066557B2 (en) | 2012-11-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5258885B2 (en) | Encoded stream reproduction apparatus and encoded stream reproduction method | |
EP2012322B1 (en) | Recording/reproducing apparatus, recording apparatus, reproducing apparatus, recording method, reproducing method and computer program | |
EP2642764B1 (en) | Transcoding a video stream to facilitate accurate display | |
JP5369599B2 (en) | Video encoding apparatus and video encoding method | |
CN1832574A (en) | Signal processing apparatus and signal processing method | |
JP6288923B2 (en) | Encoding method, time code signal generator, moving image recording / reproducing device, and moving image editing device | |
WO2013146636A1 (en) | Image encoding device, image decoding device, image encoding method, image decoding method and program | |
JP6288921B2 (en) | Time code, time code signal generating device, moving image recording / reproducing device, and moving image editing device | |
JP5066557B2 (en) | Video decoding method, video decoding apparatus, and video decoding program | |
JP4902854B2 (en) | Moving picture decoding apparatus, moving picture decoding method, moving picture decoding program, moving picture encoding apparatus, moving picture encoding method, moving picture encoding program, and moving picture encoding / decoding apparatus | |
JP6288922B2 (en) | Encoding method, time code signal generator, moving image recording / reproducing device, and moving image editing device | |
WO2014136291A1 (en) | Moving picture data editing device, moving picture data editing method, playback device, playback method and program | |
JP2007243573A (en) | Server apparatus | |
JP5269063B2 (en) | Video server and seamless playback method | |
JP4767916B2 (en) | Video encoded data converter | |
JP2016149693A (en) | Information processing device, information processing method, and program, and recording medium | |
JP2016085769A (en) | Information processing device, information processing method, program, and recording medium | |
JP4762340B2 (en) | Signal processing apparatus and signal processing method | |
Kikuchi et al. | Development of full-featured 8K recorder | |
CN113747248A (en) | Rapid synthesis method, device and system based on live stream editing | |
JP2008118237A (en) | Video image editing device | |
JP2016082266A (en) | Recording/reproducing apparatus | |
US20130016956A1 (en) | Image processing apparatus and control method thereof | |
JP2006067142A (en) | Decoding device | |
JP2006129338A (en) | Video recording and reproducing apparatus and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111018 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120731 |
|
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: 20120807 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120813 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5066557 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150817 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |