JP2022031267A - Streaming system and encoding program - Google Patents

Streaming system and encoding program Download PDF

Info

Publication number
JP2022031267A
JP2022031267A JP2021178812A JP2021178812A JP2022031267A JP 2022031267 A JP2022031267 A JP 2022031267A JP 2021178812 A JP2021178812 A JP 2021178812A JP 2021178812 A JP2021178812 A JP 2021178812A JP 2022031267 A JP2022031267 A JP 2022031267A
Authority
JP
Japan
Prior art keywords
base stream
stream
unit
difference
decoding device
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
JP2021178812A
Other languages
Japanese (ja)
Inventor
俊一 権藤
Shunichi Gondo
健 中條
Takeshi Nakajo
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2021178812A priority Critical patent/JP2022031267A/en
Publication of JP2022031267A publication Critical patent/JP2022031267A/en
Priority to JP2023135546A priority patent/JP2023153326A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To allow data that is expanded in a scalable manner and transmitted in a low band to be decoded with an existing decoder.
SOLUTION: A determination unit determines whether or not a base stream that is a reference of encoding and decoding, shared with a decoder and associated with an input image is stored in a storage unit. A base stream generation unit performs encoding processing of the base stream stored in the storage unit when it is determined that the base stream associated with the input image is stored in the storage unit, and generates the base stream by performing encoding processing of the input image when it is determined that the base stream associated with the input image is not stored in the storage unit. A difference generation unit generates a difference bit stream being a difference between the base stream and the input image. A communication control unit transmits the base stream to the decoder to share it with the decoder, and transmits the difference bit stream to the decoder after that.
SELECTED DRAWING: Figure 10
COPYRIGHT: (C)2022,JPO&INPIT

Description

本発明の実施の形態は、エンコード装置、エンコードプログラム、及びストリーミングシステムに関する。 Embodiments of the present invention relate to an encoding device, an encoding program, and a streaming system.

今日において、HDTV映像伝送を用い、低ビットレートで4K解像度等の超解像度の映像に拡張可能なSHVCエンコード技術(HEVCのスケーラブル拡張)が知られている。HDTVは、「High-definition television」の略記である。SHVCは、「Scalable High-efficiency Video Coding」の略記である。HEVCは、「High-efficiency Video Coding」の略記である。 Today, there is known an SHVC encoding technique (scalable extension of HEVC) that can be extended to super-resolution video such as 4K resolution at a low bit rate by using HDTV video transmission. HDTV is an abbreviation for "High-definition television." SHVC is an abbreviation for "Scalable High-efficiency Video Coding". HEVC is an abbreviation for "High-efficiency Video Coding".

このSHVCエンコード技術は、HEVCで用いられていた画面間予測及び画面内予測に加え、HDTV画像から4K画像を予測するレイヤ間予測を用い、動きによりボケが生じている画像領域に対して割り当てるデータ量を抑え、ピントのあっている動きの少ない画像領域により多くのデータ量を割り当てて主観画質を改善する。また、圧縮困難なノイズ成分を時空間画像処理で予め4K画像から除去することで、低ビットレートにおける解像度感の低下を抑制する。このため、追加ビットレートを10Mbpsに設定した場合でも、4K映像の解像度感を維持できる。4K解像度の映像配信には、例えば30Mbps程度のビットレートが必要であったが、HEVCエンコード技術を用いることで、必要な追加伝送帯域を1/3の10Mbps程度まで低減できる。 This SHVC encoding technology uses inter-layer prediction that predicts a 4K image from an HDTV image in addition to the inter-screen prediction and in-screen prediction used in HEVC, and data to be allocated to an image area that is blurred due to movement. The amount is suppressed, and a larger amount of data is allocated to the image area that is in focus and has less movement to improve the subjective image quality. Further, by removing the noise component that is difficult to compress from the 4K image in advance by spatiotemporal image processing, it is possible to suppress the deterioration of the sense of resolution at a low bit rate. Therefore, even when the additional bit rate is set to 10 Mbps, the resolution of the 4K image can be maintained. For example, a bit rate of about 30 Mbps was required for video distribution with 4K resolution, but by using HEVC encoding technology, the required additional transmission band can be reduced to about 1/3 of 10 Mbps.

ここで、SHVCを用いた狭帯域映像伝送システムでは、送信側と受信側で予め参照画像を共有する。送信側は、参照画像との差分のみをエンコードデータとして送出する。受信側は、受信したエンコードデータを、予め共有しておいた参照画像を用いてデコードして表示する。これにより、エンコードデータは、参照画像との差分のみとなるため、データ量を削減でき、帯域利用効率のよい映像ストリーミングが可能となる。 Here, in the narrow band video transmission system using SHVC, the reference image is shared in advance between the transmitting side and the receiving side. The transmitting side sends only the difference from the reference image as encoded data. The receiving side decodes and displays the received encoded data using the reference image shared in advance. As a result, since the encoded data is only the difference from the reference image, the amount of data can be reduced and video streaming with high bandwidth utilization efficiency becomes possible.

しかし、SHVCを用いた狭帯域映像伝送システムにおいて、送信側から送信された映像信号を受信側でデコードするためには、受信側でSHVC対応の専用デコーダが必要となり、既存のHEVCデコーダでは再生が困難となる問題があった。 However, in a narrowband video transmission system using SHVC, in order to decode the video signal transmitted from the transmitting side on the receiving side, a dedicated decoder compatible with SHVC is required on the receiving side, and the existing HEVC decoder can reproduce the video signal. There was a difficult problem.

特開2005-110244号公報Japanese Unexamined Patent Publication No. 2005-11244

本発明が解決しようとする課題は、スケーラブル拡張され低ビットレート伝送されるデータを、既存のデコーダでデコード可能とするエンコード装置、エンコードプログラム、及びストリーミングシステムを提供することである。 An object to be solved by the present invention is to provide an encoding device, an encoding program, and a streaming system that can decode data that is scalable and extended and transmitted at a low bit rate by an existing decoder.

実施の形態によれば、エンコード装置は、判定部が、エンコード及びデコードの基準であり、デコード装置との間で共有するベースストリームであり、入力画像に関連するベースストリームが、記憶部に記憶されているか否かを判定する。ベースストリーム生成部は、判定部により、入力画像に関連するベースストリームが、記憶部に記憶されていると判定された場合、記憶部に記憶されているベースストリームをエンコード処理し、判定部により、入力画像に関連するベースストリームが、記憶部に記憶されていないと判定された場合、入力画像をエンコード処理してベースストリームを生成する。差分生成部は、ベースストリーム生成部で生成されたベースストリームと入力画像との差分である差分ビットストリームを生成する。通信制御部は、ベースストリームをデコード装置に送信するように通信部を制御することで、ベースストリームをデコード装置との間で共有すると共に、以後、差分生成部で生成された差分ビットストリームを、デコード装置に送信するように通信部を制御する。 According to the embodiment, the encoding device is a base stream that the determination unit is a reference for encoding and decoding and is shared with the decoding device, and the base stream related to the input image is stored in the storage unit. Determine if it is. When the determination unit determines that the base stream related to the input image is stored in the storage unit, the base stream generation unit encodes the base stream stored in the storage unit, and the determination unit determines that the base stream is stored in the storage unit. When it is determined that the base stream related to the input image is not stored in the storage unit, the input image is encoded to generate the base stream. The difference generation unit generates a difference bit stream which is a difference between the base stream generated by the base stream generation unit and the input image. By controlling the communication unit so that the base stream is transmitted to the decoding device, the communication control unit shares the base stream with the decoding device, and thereafter, the difference bit stream generated by the difference generation unit is used. Control the communication unit to send to the decoding device.

図1は、第1の実施の形態のストリーミングシステムのシステム構成図である。FIG. 1 is a system configuration diagram of the streaming system of the first embodiment. 図2は、第1の実施の形態のストリーミングシステムに設けられているサーバ装置のハードウェア構成図である。FIG. 2 is a hardware configuration diagram of a server device provided in the streaming system of the first embodiment. 図3は、第1の実施の形態のストリーミングシステムに設けられているクライアント装置のハードウェア構成図である。FIG. 3 is a hardware configuration diagram of a client device provided in the streaming system of the first embodiment. 図4は、サーバ装置のエンコーダの機能ブロック図である。FIG. 4 is a functional block diagram of the encoder of the server device. 図5は、クライアント装置のデコーダの機能ブロック図である。FIG. 5 is a functional block diagram of the decoder of the client device. 図6は、クライアント装置との間で共有するベースストリームの生成動作を説明するためのフローチャートである。FIG. 6 is a flowchart for explaining a base stream generation operation shared with the client device. 図7は、ベースストリームに基づいて差分ビットストリームを生成し、クライアント装置に伝送する動作を説明するためのフローチャートである。FIG. 7 is a flowchart for explaining an operation of generating a difference bit stream based on a base stream and transmitting it to a client device. 図8は、サーバ装置から送信されたベースストリームを、クライアント装置で記憶する動作を説明するためのフローチャートである。FIG. 8 is a flowchart for explaining an operation of storing the base stream transmitted from the server device in the client device. 図9は、サーバ装置から送信されたビットストリームをデコードする動作を説明するためのフローチャートである。FIG. 9 is a flowchart for explaining an operation of decoding a bit stream transmitted from a server device. 図10は、第2の実施の形態のストリーミングシステムのエンコーダの機能ブロック図である。FIG. 10 is a functional block diagram of the encoder of the streaming system of the second embodiment. 図11は、第2の実施の形態のストリーミングシステムにおいて、クライアント装置との間で共有するベースストリームの生成動作を説明するためのフローチャートである。FIG. 11 is a flowchart for explaining a base stream generation operation shared with a client device in the streaming system of the second embodiment. 図12は、第2の実施の形態のストリーミングシステムにおいて、ベースストリームに基づいて差分ビットストリームを生成し、クライアント装置に伝送する動作を説明するためのフローチャートである。FIG. 12 is a flowchart for explaining an operation of generating a difference bit stream based on a base stream and transmitting it to a client device in the streaming system of the second embodiment.

以下、実施の形態のストリーミングシステムを、図面を参照して詳細に説明する。 Hereinafter, the streaming system of the embodiment will be described in detail with reference to the drawings.

(概要)
実施の形態のストリーミングシステムは、例えば監視用の映像等を送受信するシステムとなっている。送信側のエンコーダは、予め画面パターン毎に、エンコード及びデコードの基準である、例えばイントラピクチャNALユニット等のベースストリームを予め生成して記憶する。NALは、「Network Abstraction Layer」の略記である。生成されたベースストリームは、受信側のデコーダにも記憶され、エンコーダ側とデコーダ側との間でベースストリームが共有される。ベースストリームを受信側のデコーダに記憶させるタイミングは、例えば受信側のデコーダの工場出荷時又は初期セットアップ時に、ベースストリームがデコーダに記憶される。または、ベースストリームは、実際のストリーム伝送時に動的に、非同期又は同期して更新される。
(Overview)
The streaming system of the embodiment is, for example, a system for transmitting and receiving surveillance video and the like. The encoder on the transmitting side previously generates and stores a base stream such as an intra-picture NAL unit, which is a reference for encoding and decoding, for each screen pattern. NAL is an abbreviation for "Network Abstraction Layer". The generated base stream is also stored in the decoder on the receiving side, and the base stream is shared between the encoder side and the decoder side. As for the timing of storing the base stream in the decoder on the receiving side, for example, the base stream is stored in the decoder at the time of factory shipment or the initial setup of the decoder on the receiving side. Alternatively, the base stream is updated dynamically, asynchronously or synchronously during the actual stream transmission.

入力画面をエンコードする場合、エンコーダは、デコーダ側との間で共有しているベースストリームを用いて入力映像のエンコードを行い、エンコードの状態に基づいて、例えばPピクチャNALユニット等の差分ビットストリームを生成する。デコーダに伝送するビットストリームは、差分ビットストリームのみとする。これにより、伝送データ量を削減できる。なお、デコーダに伝送する差分ビットストリームに、ベースストリームを用いたか否かを示す情報を含ませてもよい。 When encoding the input screen, the encoder encodes the input video using the base stream shared with the decoder side, and based on the encoding state, for example, a difference bit stream such as a P picture NAL unit is input. Generate. The bitstream transmitted to the decoder is only the difference bitstream. As a result, the amount of transmitted data can be reduced. The difference bit stream transmitted to the decoder may include information indicating whether or not the base stream is used.

受信側となるデコーダは、予め共有しているベースストリームと、受信した差分ビットストリームを用いて、本来、エンコーダが生成する予定であったストリームと同等(同画質、同解像度)のストリームを再構成する。換言すると、デコーダは、予め共有しているベースストリームと、受信した差分ビットストリームを用いて再生した、差分ビットストリームに対応する画面をエンコードした状態のビットストリームを再構成する。そして、デコーダは、再構成したストリームをデコードして表示する。これにより、画面転送において、帯域利用効率のよい映像ストリーミングを可能とすることができる。また、専用のデコーダを不要とすることができる。また、トランスコードと比べても再構成の処理量が低減できる。従って、汎用品デコーダチップと安価なCPUで受信装置(デコーダ)を実現でき、ストリーミングシステムのコストダウンを実現できる。 The decoder on the receiving side reconstructs a stream equivalent to the stream originally planned to be generated by the encoder (same image quality and same resolution) using the previously shared base stream and the received difference bit stream. do. In other words, the decoder reconstructs the base stream shared in advance and the bit stream in which the screen corresponding to the differential bit stream reproduced using the received differential bit stream is encoded. Then, the decoder decodes and displays the reconstructed stream. This makes it possible to enable video streaming with high bandwidth utilization efficiency in screen transfer. Moreover, a dedicated decoder can be eliminated. In addition, the amount of reconstruction processing can be reduced as compared with transcoding. Therefore, a receiving device (decoder) can be realized with a general-purpose decoder chip and an inexpensive CPU, and the cost of the streaming system can be reduced.

(第1の実施の形態)
図1に、第1の実施の形態のストリーミングシステムのシステム構成図を示す。この図1に示すように、第1の実施の形態のストリーミングシステムは、サーバ装置1およびクライアント装置2を有している。サーバ装置1およびクライアント装置2は、インターネット等のネットワーク3を介して相互に接続されている。サーバ装置1は、所定の映像ストリームを、SHVCエンコード技術を用いてスケーラブル拡張処理することで、いわゆる4K映像信号又8K映像信号等の高解像度の映像信号の高解像度感を維持した状態で低ビットレート化し、ネットワーク3を介して配信する。SHVCは、「Scalable High-efficiency Video Coding」の略記である。クライアント装置2は、一般的なHEVCデコーダとなっており、後述するように特別な構成を備えることなく、SHVCエンコードされた映像信号をデコードして再生する。デコードされた映像信号は、モニタ装置に表示され又はレコーダ装置等に記録される。HEVCは、「High-efficiency Video Coding」の略記である。
(First Embodiment)
FIG. 1 shows a system configuration diagram of the streaming system of the first embodiment. As shown in FIG. 1, the streaming system of the first embodiment has a server device 1 and a client device 2. The server device 1 and the client device 2 are connected to each other via a network 3 such as the Internet. The server device 1 performs scalable expansion processing of a predetermined video stream using SHVC encoding technology to maintain a high-resolution feeling of a high-resolution video signal such as a so-called 4K video signal or 8K video signal, while maintaining a low bit rate. It is rated and delivered via network 3. SHVC is an abbreviation for "Scalable High-efficiency Video Coding". The client device 2 is a general HEVC decoder, and decodes and reproduces an SHVC-encoded video signal without any special configuration as described later. The decoded video signal is displayed on a monitor device or recorded on a recorder device or the like. HEVC is an abbreviation for "High-efficiency Video Coding".

図2にサーバ装置1のハードウェア構成図を示す。図2に示すように、サーバ装置1は、CPU11、ROM12、RAM13、HDD(ハードディスクドライブ)14及び通信部15を備える。CPU11~通信部15は、バスライン16を介して相互に接続されている。CPUは、「Central Processing Unit」の略記である。ROMは、「Read Only Memory」の略記である。RAMは、「Random Access Memory」の略記である。 FIG. 2 shows a hardware configuration diagram of the server device 1. As shown in FIG. 2, the server device 1 includes a CPU 11, a ROM 12, a RAM 13, an HDD (hard disk drive) 14, and a communication unit 15. The CPU 11 to the communication unit 15 are connected to each other via the bus line 16. CPU is an abbreviation for "Central Processing Unit". ROM is an abbreviation for "Read Only Memory". RAM is an abbreviation for "Random Access Memory".

HDD14には、映像ストリームをエンコードするためのエンコードプログラムが記憶されている。CPU11は、エンコードプログラムに従って動作することでエンコーダ17として機能し、映像ストリームをSHVCエンコードして配信する。なお、エンコードプログラムは、ROM12又はRAM13等の他の記憶部に記憶してもよい。 An encoding program for encoding a video stream is stored in the HDD 14. The CPU 11 functions as an encoder 17 by operating according to an encoding program, and SHVC-encodes and distributes a video stream. The encoding program may be stored in another storage unit such as ROM 12 or RAM 13.

図3にクライアント装置2のハードウェア構成図を示す。図3に示すように、クライアント装置2は、CPU21、ROM22、RAM23、HDD(ハードディスクドライブ)24及び通信部25を備える。CPU21~通信部25は、バスライン26を介して相互に接続されている。 FIG. 3 shows a hardware configuration diagram of the client device 2. As shown in FIG. 3, the client device 2 includes a CPU 21, a ROM 22, a RAM 23, an HDD (hard disk drive) 24, and a communication unit 25. The CPU 21 to the communication unit 25 are connected to each other via the bus line 26.

HDD24には、サーバ装置1からSHVCエンコードされて送信される映像ストリームをデコードするためのデコードプログラムが記憶されている。CPU21は、デコードプログラムに従って動作することでデコーダ27として機能し、サーバ装置1から受信した映像ストリームをデコードする。なお、デコードプログラムは、ROM22又はRAM23等の他の記憶部に記憶してもよい。 The HDD 24 stores a decoding program for decoding a video stream that is SHVC-encoded and transmitted from the server device 1. The CPU 21 functions as a decoder 27 by operating according to the decoding program, and decodes the video stream received from the server device 1. The decoding program may be stored in another storage unit such as ROM 22 or RAM 23.

この例では、エンコーダ17及びデコーダ27はソフトウェア的に実現することとして説明を進める。しかし、エンコーダ17及びデコーダ27のうち、全部、いずれか一つ又は複数をIC(Integrated Circuit)等のハードウェアで実現してもよい。 In this example, the encoder 17 and the decoder 27 will be described as being realized by software. However, one or more of all of the encoder 17 and the decoder 27 may be realized by hardware such as an IC (Integrated Circuit).

また、エンコードプログラムおよびデコードプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD-ROM、フレキシブルディスク(FD)等のコンピュータ装置で読み取り可能な記録媒体に記録して提供してもよい。また、エンコードプログラム及びデコードプログラムは、CD-R、DVD、ブルーレイディスク(登録商標)、半導体メモリ等のコンピュータ装置で読み取り可能な記録媒体に記録して提供してもよい。DVDは、「Digital Versatile Disk」の略記である。また、エンコードプログラム及びデコードプログラムは、インターネット等のネットワーク経由でインストールするかたちで提供してもよい。また、エンコードプログラム及びデコードプログラムは、機器内のROM等に予め組み込んで提供してもよい。 Further, the encoding program and the decoding program may be provided by recording the files in an installable format or an executable format on a recording medium readable by a computer device such as a CD-ROM or a flexible disk (FD). Further, the encoding program and the decoding program may be provided by recording on a recording medium readable by a computer device such as a CD-R, a DVD, a Blu-ray disc (registered trademark), or a semiconductor memory. DVD is an abbreviation for "Digital Versatile Disk". Further, the encoding program and the decoding program may be provided in the form of being installed via a network such as the Internet. Further, the encoding program and the decoding program may be provided by incorporating them into a ROM or the like in the device in advance.

図4は、サーバ装置1のエンコーダ17の機能ブロック図である。エンコーダ17は、エンコード装置の一例である。この図3に示すように、エンコーダ17は、事前処理部31、記憶制御部32、第1の送信制御部33、第2のバッファ制御部34、第2のエンコード部35、調整部36、第2の送信制御部37を有している。事前処理部31は、第1のバッファ制御部38及び第1のエンコード部39を有している。なお、事前処理部31~第2の送信制御部37のうち、全部又は一部をハードウェアで構成してもよいことは上述のとおりである。 FIG. 4 is a functional block diagram of the encoder 17 of the server device 1. The encoder 17 is an example of an encoding device. As shown in FIG. 3, the encoder 17 includes a preprocessing unit 31, a storage control unit 32, a first transmission control unit 33, a second buffer control unit 34, a second encoding unit 35, an adjustment unit 36, and a second. It has a transmission control unit 37 of 2. The preprocessing unit 31 has a first buffer control unit 38 and a first encoding unit 39. As described above, all or part of the pre-processing unit 31 to the second transmission control unit 37 may be configured by hardware.

事前処理部31は、例えば受信側となるクライアント装置2の工場出荷時又は初期セットアップ時等において、上述のベースストリームを予め生成してデコーダに記憶する場合に機能する処理部である。このため、実際のストリーム伝送時に、動的に、非同期又は同期して、デコーダ側のベースストリームを更新する場合には、事前処理部31は不要となる。また、図4では、事前処理部31を独立の処理部として図示しているが、第1のバッファ制御部38を第2のバッファ制御部34で代用し、第1のエンコード部39を第2のエンコード部35で代用することで、事前処理部31を省略できる。 The pre-processing unit 31 is a processing unit that functions when the above-mentioned base stream is generated in advance and stored in the decoder, for example, at the time of factory shipment or initial setup of the client device 2 on the receiving side. Therefore, when updating the base stream on the decoder side dynamically, asynchronously or synchronously at the time of actual stream transmission, the preprocessing unit 31 becomes unnecessary. Further, in FIG. 4, although the pre-processing unit 31 is shown as an independent processing unit, the first buffer control unit 38 is substituted by the second buffer control unit 34, and the first encoding unit 39 is used as the second. By substituting the encoding unit 35 of the above, the preprocessing unit 31 can be omitted.

記憶制御部32は、事前処理部31で生成され、クライアント装置2(デコーダ27)の間で共有するベースストリームを、RAM13等の記憶部に記憶制御する。第1の送信制御部33は、RAM13に記憶されたベースストリームをクライアント装置2に送信するように通信部15を制御し、デコーダ27との間でベースストリームを共有する。 The storage control unit 32 stores and controls a base stream generated by the preprocessing unit 31 and shared between the client devices 2 (decoder 27) in a storage unit such as a RAM 13. The first transmission control unit 33 controls the communication unit 15 so as to transmit the base stream stored in the RAM 13 to the client device 2, and shares the base stream with the decoder 27.

第2のバッファ制御部34は、入力される映像ストリーム(入力ビットストリーム)を、RAM13等の記憶部にバッファリング処理する。差分生成部の一例である第2のエンコード部35は、RAM13に記憶されているベースストリームと、バッファリング処理された映像ストリームとの差分である差分ビットストリームを生成する。これにより、スケーラブル拡張及び低ビットレート化されたビットストリーム(SHVCエンコード処理されたビットストリーム)が生成される。 The second buffer control unit 34 buffers the input video stream (input bit stream) in a storage unit such as the RAM 13. The second encoding unit 35, which is an example of the difference generation unit, generates a difference bit stream which is a difference between the base stream stored in the RAM 13 and the buffered video stream. As a result, a scalable expanded and low bit rate bitstream (SHVC-encoded bitstream) is generated.

調整部36は、例えば参照するベースストリームの識別情報又は関連情報を付加することで、差分ビットストリームの調整を行う。通信制御部の一例である第2の送信制御部37は、調整された差分ビットストリームをクライアント装置2に送信するように通信部15を制御する。 The adjusting unit 36 adjusts the difference bit stream by adding, for example, the identification information or the related information of the reference base stream. The second transmission control unit 37, which is an example of the communication control unit, controls the communication unit 15 so as to transmit the adjusted difference bit stream to the client device 2.

図5は、クライアント装置2のデコーダ27の機能ブロック図である。デコーダ27は、デコード装置の一例である。この図5に示すように、デコーダ27は、調整処理部41及びデコード処理部42を有している。調整処理部41は、第1の受信制御部43、記憶制御部44、第2の受信制御部45及び構成調整部46を有している。デコード処理部42は、デコード部47及びバッファ制御部48を有している。なお、第1の受信制御部43~バッファ制御部48のうち、全部又は一部をハードウェアで構成してもよいことは上述のとおりである。 FIG. 5 is a functional block diagram of the decoder 27 of the client device 2. The decoder 27 is an example of a decoding device. As shown in FIG. 5, the decoder 27 has an adjustment processing unit 41 and a decoding processing unit 42. The adjustment processing unit 41 includes a first reception control unit 43, a storage control unit 44, a second reception control unit 45, and a configuration adjustment unit 46. The decoding processing unit 42 has a decoding unit 47 and a buffer control unit 48. As described above, all or part of the first reception control unit 43 to the buffer control unit 48 may be configured by hardware.

第1の受信制御部43は、上述のように事前に生成され又は動的に更新される、サーバ装置1からのベースストリームを受信するように通信部25を制御する。記憶制御部44は、受信したベースストリームをRAM23等の記憶部に記憶制御する。第2の受信制御部45は、サーバ装置1からの差分ビットストリームを受信するように通信部25を制御する。構成調整部46は、予め共有しているベースストリームと、受信した差分ストリームを用いて、本来、エンコーダ17が生成する予定であったビットストリームと同等(同画質、同解像度)のビットストリームを再構成する。 The first reception control unit 43 controls the communication unit 25 to receive the base stream from the server device 1, which is pre-generated or dynamically updated as described above. The storage control unit 44 stores and controls the received base stream in a storage unit such as the RAM 23. The second reception control unit 45 controls the communication unit 25 so as to receive the difference bit stream from the server device 1. The configuration adjustment unit 46 uses the previously shared base stream and the received difference stream to re-create a bit stream having the same image quality and resolution as the bit stream originally planned to be generated by the encoder 17. Configure.

デコーダは、再構成されたビットストリームに対して、通常のHEVCデコード処理を施す。バッファ制御部48は、デコードされたビットストリームを、RAM23等の記憶部にバッファリング処理し、順次、読み出してモニタ装置又は記録装置等に出力する。 The decoder performs normal HEVC decoding processing on the reconstructed bitstream. The buffer control unit 48 buffers the decoded bit stream in a storage unit such as a RAM 23, sequentially reads it out, and outputs it to a monitoring device, a recording device, or the like.

次に、図6のフローチャートに、クライアント装置2との間で共有するベースストリームの生成動作の流れを示す。例えば、受信側となるクライアント装置2の工場出荷時、初期セットアップ時又は実際のストリーム伝送時等の事前処理のタイミングで、図4に示す事前処理部31の第1のバッファ制御部38が、事前入力されたピクチャ(事前入力ビットストリーム)をRAM13にバッファリング処理する。 Next, the flowchart of FIG. 6 shows the flow of the base stream generation operation shared with the client device 2. For example, at the timing of pre-processing such as factory shipment, initial setup, or actual stream transmission of the client device 2 on the receiving side, the first buffer control unit 38 of the pre-processing unit 31 shown in FIG. 4 is pre-processed. The input picture (pre-input bit stream) is buffered in the RAM 13.

事前入力ピクチャとしては、キャプチャ画像、カメラ入力から得られるピクチャ又は所定の加工処理を施したピクチャ等が用いられる。また、事前入力ピクチャとしては、差分ビットストリームを生成する際に、参照ピクチャとして用いることが可能な画質であり、かつ、差分が生成されるピクチャとの類似性が高いピクチャであることが好ましい。 As the pre-input picture, a captured image, a picture obtained from camera input, a picture subjected to a predetermined processing process, or the like is used. Further, the pre-input picture is preferably a picture having an image quality that can be used as a reference picture when generating a difference bit stream and having a high similarity to a picture in which the difference is generated.

第1のエンコード部39は、バッファリング処理された事前入力ピクチャを、RAM13から読み出し、SHVC用のベースストリームを生成する。ベースストリームは、単一種類でもよいし、複数種類でもよい。また、ベースストリームは、エンコードしたビットストリーム全体又は一部でもよい。部分的なベースストリームとしては、例えばエレメンタリストリームのIピクチャ単体等が一例として挙げられる。 The first encoding unit 39 reads the buffered pre-input picture from the RAM 13 and generates a base stream for SHVC. The base stream may be a single type or a plurality of types. The base stream may also be the entire or part of the encoded bitstream. As an example of the partial base stream, for example, the I picture of the elementary stream alone can be mentioned as an example.

記憶制御部32は、図6のフローチャートのステップS1において、ベースストリームを取得し、ステップS2において、例えば識別情報又は関連情報の付加等の調整処理のための記憶が必要であるか否かを判別する。記憶が必要な場合は(ステップS2:Yes)、ステップS3に処理が進み、記憶が不要の場合は(ステップS2:No)、ステップS4に処理が進む。 The storage control unit 32 acquires the base stream in step S1 of the flowchart of FIG. 6, and determines in step S2 whether or not storage for adjustment processing such as addition of identification information or related information is necessary. do. If storage is required (step S2: Yes), the process proceeds to step S3, and if storage is not required (step S2: No), the process proceeds to step S4.

ステップS3では、調整部36がベースストリームに対して識別情報又は関連情報を付加する等の調整処理を行う。また、ステップS3では、記憶制御部32が、調整処理されたベースストリームを、RAM23に一旦記憶する。 In step S3, the adjustment unit 36 performs adjustment processing such as adding identification information or related information to the base stream. Further, in step S3, the storage control unit 32 temporarily stores the adjusted base stream in the RAM 23.

次に、ステップS4では、第1の送信制御部33が、クライアント装置2に対するベースストリームの出力(伝送)が必要か否か判断する。出力が必要な場合(ステップS4:Yes)、第1の送信制御部33は、ステップS5において、ベースストリームをクライアント装置2に伝送するように、通信部15を制御する。これに対して、出力が不要な場合(ステップS4:No)、第1の送信制御部33は、ベースストリームを伝送することなく、図6のフローチャートの処理を終了する。 Next, in step S4, the first transmission control unit 33 determines whether or not the output (transmission) of the base stream to the client device 2 is necessary. When output is required (step S4: Yes), the first transmission control unit 33 controls the communication unit 15 so that the base stream is transmitted to the client device 2 in step S5. On the other hand, when the output is unnecessary (step S4: No), the first transmission control unit 33 ends the processing of the flowchart of FIG. 6 without transmitting the base stream.

第1の送信制御部33が、ベースストリームをクライアント装置2に送信するタイミングとしては、例えば記憶制御部32から新たなベースストリームを記憶した旨が通知されたタイミングでよい。または、ユーザ又はシステムからベースストリームの出力指示が供給されたタイミングでよい。または、予め決められたタイミング、又は、クライアント装置2のからの伝送要求時のタイミングでもよい。なお、ベースストリームの伝送速度は任意であり、クライアント装置2の通信回線等に応じて低いビットレートの伝送速度としてもよいし、出力時間を短くするために高いビットレートの伝送速度としてもよい。 The timing at which the first transmission control unit 33 transmits the base stream to the client device 2 may be, for example, the timing at which the storage control unit 32 notifies that a new base stream has been stored. Alternatively, it may be the timing when the output instruction of the base stream is supplied from the user or the system. Alternatively, it may be a predetermined timing or a timing at the time of a transmission request from the client device 2. The transmission speed of the base stream is arbitrary, and may be a low bit rate transmission speed depending on the communication line of the client device 2 or the like, or may be a high bit rate transmission speed in order to shorten the output time.

次に、図7のフローチャートに、ベースストリームに基づいて差分ビットストリームを生成し、クライアント装置2に伝送する動作の流れを示す。ステップS11では、図4に示す第2のバッファ制御部34が、エンコードを施すピクチャを取得し、RAM13等にバッファリング処理する。ステップS12では、第2のエンコード部35が、記憶制御部32を介して、入力されたピクチャをエンコードする際に参照すべきベースストリームがRAM13に記憶されているか否かを判別する。 Next, the flowchart of FIG. 7 shows an operation flow of generating a difference bit stream based on the base stream and transmitting it to the client device 2. In step S11, the second buffer control unit 34 shown in FIG. 4 acquires a picture to be encoded and buffers it in the RAM 13 or the like. In step S12, the second encoding unit 35 determines whether or not the base stream to be referred to when encoding the input picture is stored in the RAM 13 via the storage control unit 32.

参照すべきベースストリームがRAM13に記憶されていない場合(ステップS12:No)、第2のエンコード部35は、ステップS14において、ベースストリームを参照することなく、入力されたピクチャに対してSHVCエンコードを施し、処理をステップS15に進める。これに対して、参照すべきベースストリームがRAM13に記憶されている場合(ステップS12:Yes)、第2のエンコード部35は、ステップS13において、ベースストリームを参照し、入力されたピクチャとの差分である差分ビットストリームを生成するSHVCエンコード処理を行い、処理をステップS15に進める。 When the base stream to be referred to is not stored in the RAM 13 (step S12: No), the second encoding unit 35 performs SHVC encoding for the input picture in step S14 without referring to the base stream. The process proceeds to step S15. On the other hand, when the base stream to be referred to is stored in the RAM 13 (step S12: Yes), the second encoding unit 35 refers to the base stream in step S13 and makes a difference from the input picture. The SHVC encoding process for generating the difference bit stream is performed, and the process proceeds to step S15.

ステップS15では、調整部36が、SHVCエンコード処理により生成された差分ビットストリーム等に、参照するベースストリームの識別情報又は関連情報を付加する調整処理を施す。ステップS16では、記憶制御部32が、SHVCエンコード処理で生成したビットストリームを、RAM13に記憶するか否かを判別する。記憶する場合は(ステップS16:Yes)、記憶制御部32は、ステップS17において、SHVCエンコード処理で生成したビットストリームを、RAM13に記憶する。この際、記憶制御部32は、新たに生成されたビットストリームをRAM13に記憶し、又は、RAM13に記憶されているビットストリームを、新たなビットストリームで更新するかたちで記憶する。または、記憶制御部32は、RAM13に記憶されているビットストリームと新たなビットストリームとの差分のみを記憶する。なお、このような記憶による処理が不要の場合(ステップS16:No)、処理は、ステップS18に進む。 In step S15, the adjustment unit 36 performs an adjustment process of adding the identification information or the related information of the reference base stream to the difference bit stream or the like generated by the SHVC encoding process. In step S16, the storage control unit 32 determines whether or not to store the bitstream generated by the SHVC encoding process in the RAM 13. When storing (step S16: Yes), the storage control unit 32 stores the bitstream generated by the SHVC encoding process in the RAM 13 in step S17. At this time, the storage control unit 32 stores the newly generated bit stream in the RAM 13, or stores the bit stream stored in the RAM 13 in the form of updating with a new bit stream. Alternatively, the storage control unit 32 stores only the difference between the bit stream stored in the RAM 13 and the new bit stream. If such storage processing is not required (step S16: No), the processing proceeds to step S18.

ステップS18では、第2の送信制御部37が、差分ビットストリーム等をクライアント装置2に送信するように通信部15を制御して、図7のフローチャートの処理を終了する。第1の実施の形態のストリーミングシステムの場合、最初にベースストリームをクライアント装置2に送信しておき、後は、ベースストリームとの差分である差分ビットストリームのみをクライアント装置2に送信する。これにより、低ビットレート化を図ることができ、伝送帯域を有効に利用できる。 In step S18, the second transmission control unit 37 controls the communication unit 15 so as to transmit the difference bit stream or the like to the client device 2, and ends the processing of the flowchart of FIG. 7. In the case of the streaming system of the first embodiment, the base stream is first transmitted to the client device 2, and then only the difference bit stream which is the difference from the base stream is transmitted to the client device 2. As a result, the bit rate can be reduced and the transmission band can be effectively used.

次に、図8のフローチャートに、サーバ装置1から送信されたベースストリームを、クライアント装置2側で記憶する動作の流れを示す。ステップS21では、図5に示す第1の受信制御部43が、サーバ装置1から送信されたベースストリームを取得するように、通信部25を制御する。ステップS22では、記憶制御部44が、取得したベースストリームは、記憶の必要があるか否かを判別する。 Next, the flowchart of FIG. 8 shows the flow of the operation of storing the base stream transmitted from the server device 1 on the client device 2 side. In step S21, the first reception control unit 43 shown in FIG. 5 controls the communication unit 25 so as to acquire the base stream transmitted from the server device 1. In step S22, the storage control unit 44 determines whether or not the acquired base stream needs to be stored.

具体的には、記憶制御部44は、ユーザ又はシステムからベースストリームの出力処理が指示されている場合、又は、予め予め決められたタイミングである場合に、取得したベースストリームをRAM23等の記憶部に記憶する。または、記憶制御部44は、サーバ装置1から記憶が指示されている場合、及び、構成調整部46から記憶が指示されている場合等に、取得したベースストリームをRAM23等の記憶部に記憶する。なお、ベースストリームの入力速度は任意であり、サーバ装置1の通信回線等に応じて低いビットレートの入力速度としてもよいし、入力時間を短くするために高いビットレートの入力速度としてもよい。 Specifically, the storage control unit 44 stores the acquired base stream in a storage unit such as the RAM 23 when the output processing of the base stream is instructed by the user or the system, or when the timing is predetermined. Remember in. Alternatively, the storage control unit 44 stores the acquired base stream in a storage unit such as the RAM 23 when storage is instructed by the server device 1 or when storage is instructed by the configuration adjustment unit 46. .. The input speed of the base stream is arbitrary, and may be a low bit rate input speed depending on the communication line of the server device 1 or the like, or may be a high bit rate input speed in order to shorten the input time.

ステップS22において、記憶が必要であると判別された場合、ステップS23において、記憶制御部44は、取得したベースストリームをRAM23に記憶制御する。これにより、サーバ装置1とクライアント装置2との間でベースストリームが共有される。なお、ステップS22において、記憶が不要であると判別された場合、記憶制御部44は、そのまま図8のフローチャートの処理を終了する。 If it is determined in step S22 that storage is necessary, in step S23, the storage control unit 44 stores and controls the acquired base stream in the RAM 23. As a result, the base stream is shared between the server device 1 and the client device 2. If it is determined in step S22 that storage is unnecessary, the storage control unit 44 ends the process of the flowchart of FIG. 8 as it is.

次に、図9のフローチャートに、サーバ装置1から送信されたビットストリームをデコードする流れを示す。ステップS31では、第2の受信制御部45が、サーバ装置1から伝送されるビットストリームを取得するように通信部25を制御する。ステップS32では、構成調整部46が、ビットストリームのデコードにベースストリームが必要か否かを判別する。 Next, the flowchart of FIG. 9 shows a flow of decoding the bit stream transmitted from the server device 1. In step S31, the second reception control unit 45 controls the communication unit 25 so as to acquire the bit stream transmitted from the server device 1. In step S32, the configuration adjustment unit 46 determines whether or not a base stream is required for decoding the bit stream.

ベースストリームが必要である場合(ステップS32:Yes)、構成調整部46は、ステップS33において、RAM23に予め記憶されているベースストリームを取得して、処理をステップS34に進める。これに対して、ベースストリームが不要である場合(ステップS32:No)、構成調整部46は、ステップS34に処理を進める。 When the base stream is required (step S32: Yes), the configuration adjustment unit 46 acquires the base stream stored in advance in the RAM 23 in step S33, and proceeds to the process in step S34. On the other hand, when the base stream is unnecessary (step S32: No), the configuration adjustment unit 46 proceeds to the process in step S34.

ステップS34では、構成調整部46が、予め共有しているベースストリームと、受信した後続の差分ビットストリームを用いて、本来、サーバ装置1のエンコーダ17が生成する予定であったビットストリームと同等(同画質、同解像度)のビットストリームを再構成する。換言すると、構成調整部46は、予め共有しているベースストリームと、受信した差分ビットストリームを用いて再生した、差分ビットストリームに対応する画面をエンコードした状態のビットストリームを再構成する。ステップS35では、デコード部47が、再構成されたビットストリームに対して、通常のHEVCデコード処理を施してデコードする。そして、バッファ制御部が、デコードされたビットストリームをRAM23に一旦記憶し、順次、読み出してモニタ装置又は記録装置等に出力する。 In step S34, the configuration adjustment unit 46 uses the base stream shared in advance and the subsequent difference bitstream received, and is equivalent to the bitstream originally planned to be generated by the encoder 17 of the server device 1 (. Reconstruct the bitstream with the same image quality and resolution). In other words, the configuration adjustment unit 46 reconstructs the base stream shared in advance and the bit stream in which the screen corresponding to the difference bit stream reproduced using the received difference bit stream is encoded. In step S35, the decoding unit 47 performs normal HEVC decoding processing on the reconstructed bit stream to decode it. Then, the buffer control unit temporarily stores the decoded bit stream in the RAM 23, sequentially reads it out, and outputs it to a monitoring device, a recording device, or the like.

このような第1の実施の形態のストリーミングシステムは、ビットストリームの転送において、帯域利用効率のよいストリーミングを可能とすることができる。また、SHVC専用のデコーダを用いなくても、通常のHEVCデコーダで、SHVCエンコード処理されたビットストリームのデコードを行うことができる。また、トランスコードと比べても再構成の処理量を低減できる。従って、汎用デコーダチップと安価なCPUでクライアント装置2を実現でき、ストリーミングシステムのコストダウンを実現できる。 The streaming system of the first embodiment as described above can enable bandwidth-efficient streaming in the transfer of bitstreams. Further, it is possible to decode the SHVC-encoded bitstream with a normal HEVC decoder without using a decoder dedicated to SHVC. In addition, the amount of reconstruction processing can be reduced as compared with transcoding. Therefore, the client device 2 can be realized by using a general-purpose decoder chip and an inexpensive CPU, and the cost of the streaming system can be reduced.

(第2の実施の形態)
次に、第2の実施の形態のストリーミングシステムの説明をする。上述の第1の実施の形態ストリーミングシステムが、動画像のビットストリームを伝送する例であるのに対し、この第2の実施の形態のストリーミングシステムは、静止画像(ピクチャ)のビットストリームを伝送する例である。なお、第1の実施の形態と第2の実施の形態とでは、この点のみが異なる。このため、以下、差異の説明のみ行い、重複説明は省略する。
(Second embodiment)
Next, the streaming system of the second embodiment will be described. The streaming system of the first embodiment described above is an example of transmitting a bitstream of a moving image, whereas the streaming system of the second embodiment transmits a bitstream of a still image (picture). This is an example. It should be noted that only this point is different between the first embodiment and the second embodiment. For this reason, only the differences will be explained below, and duplicate explanations will be omitted.

図10は、第2の実施の形態のストリーミングシステムのエンコーダ17の機能ブロック図である。この図10において、図4と同じ動作を示す箇所には同じ符号を付してある。第2の実施の形態のストリーミングシステムのエンコーダ17は、図10に示すように、図4の各機能に加え、第1のバッファ制御部38及び第2のバッファ制御部34によりバッファリング処理されたピクチャを、RAM13に記憶制御するピクチャ記憶制御部51を有している。また、RAM13に記憶されたピクチャのうち、エンコードするピクチャを判定(選別)する判定部52を有している。 FIG. 10 is a functional block diagram of the encoder 17 of the streaming system of the second embodiment. In FIG. 10, the parts showing the same operation as in FIG. 4 are designated by the same reference numerals. As shown in FIG. 10, the encoder 17 of the streaming system of the second embodiment is buffered by the first buffer control unit 38 and the second buffer control unit 34 in addition to the functions of FIG. It has a picture storage control unit 51 that stores and controls the pictures in the RAM 13. Further, it has a determination unit 52 for determining (selecting) the picture to be encoded among the pictures stored in the RAM 13.

図11のフローチャートに、クライアント装置2との間で共有するベースストリームの生成動作の流れを示す。例えば、受信側となるクライアント装置2の工場出荷時、初期セットアップ時又は実際のストリーム伝送時等の事前処理のタイミングで、図10に示す事前処理部31の第1のバッファ制御部38が、ステップS41において、事前入力されたピクチャ(事前入力ピクチャ)をバッファリング処理する。 The flowchart of FIG. 11 shows the flow of the base stream generation operation shared with the client device 2. For example, at the timing of preprocessing such as factory shipment, initial setup, or actual stream transmission of the client device 2 on the receiving side, the first buffer control unit 38 of the preprocessing unit 31 shown in FIG. 10 steps. In S41, the pre-input picture (pre-input picture) is buffered.

事前入力ピクチャとしては、キャプチャ画像、カメラ入力から得られるピクチャ又は所定の加工処理を施したピクチャ等が用いられる。また、事前入力ピクチャとしては、差分ビットストリームを生成する際に、参照ピクチャとして用いることが可能な画質であり、かつ、差分が生成されるピクチャとの類似性が高いピクチャであることが好ましい。 As the pre-input picture, a captured image, a picture obtained from camera input, a picture subjected to a predetermined processing process, or the like is used. Further, the pre-input picture is preferably a picture having an image quality that can be used as a reference picture when generating a difference bit stream and having a high similarity to a picture in which the difference is generated.

ステップS42では、ピクチャ記憶制御部51が、判定部52と連携し、事前入力ピクチャは、記憶が必要か否かを判別する。記憶が必要な場合(ステップS41:Yes)、ピクチャ記憶制御部51は、ステップS43において、事前入力ピクチャをRAM13に記憶制御して、処理をステップS44に進める。これに対して、記憶が不要な場合(ステップS41:No)、ピクチャ記憶制御部51は、処理をステップS44に処理を進める。 In step S42, the picture storage control unit 51 cooperates with the determination unit 52, and the pre-input picture determines whether or not storage is necessary. When storage is required (step S41: Yes), the picture storage control unit 51 stores and controls the pre-input picture in the RAM 13 in step S43, and proceeds to the process in step S44. On the other hand, when storage is unnecessary (step S41: No), the picture storage control unit 51 advances the processing to step S44.

ステップS44では、第1のエンコード部39が、RAM13から事前入力ピクチャを読み出し、SHVC用のベースストリームを生成する。ベースストリームは、単一種類でもよいし、複数種類でもよい。また、ベースストリームは、エンコードしたビットストリーム全体又は一部でもよい。部分的なベースストリームとしては、例えばエレメンタリストリームのIピクチャ単体等が一例として挙げられる。 In step S44, the first encoding unit 39 reads the pre-input picture from the RAM 13 and generates a base stream for SHVC. The base stream may be a single type or a plurality of types. The base stream may also be the entire or part of the encoded bitstream. As an example of the partial base stream, for example, the I picture of the elementary stream alone can be mentioned as an example.

次に、記憶制御部32は、ステップS45において、ベースストリームは、例えば識別情報又は関連情報の付加等の調整処理のための記憶が必要であるか否かを判別する。記憶が必要な場合は(ステップS45:Yes)、ステップS46に処理が進み、記憶が不要の場合は(ステップS45:No)、ステップS47に処理が進む。 Next, in step S45, the storage control unit 32 determines whether or not the base stream needs storage for adjustment processing such as addition of identification information or related information. If storage is required (step S45: Yes), the process proceeds to step S46, and if storage is not required (step S45: No), the process proceeds to step S47.

ステップS46では、記憶制御部32が、ベースストリームをRAM13に記憶制御すると共に、必要に応じて、調整部36がベースストリームに対して識別情報又は関連情報を付加する等の調整処理を施す。そして、ステップS47において、第1の送信制御部33が、クライアント装置2にベースストリーム伝送するように、通信部15を制御して、図6のフローチャートの処理が終了する。これにより、サーバ装置1とクライアント装置2との間でベースストリームが共有される。 In step S46, the storage control unit 32 stores and controls the base stream in the RAM 13, and the adjustment unit 36 performs adjustment processing such as adding identification information or related information to the base stream as necessary. Then, in step S47, the first transmission control unit 33 controls the communication unit 15 so as to transmit the base stream to the client device 2, and the processing of the flowchart of FIG. 6 is completed. As a result, the base stream is shared between the server device 1 and the client device 2.

第1の送信制御部33が、ベースストリームをクライアント装置2に送信するタイミングとしては、例えば記憶制御部32から新たなベースストリームを記憶した旨が通知されたタイミングでよい。または、ユーザ又はシステムからベースストリームの出力指示が供給されたタイミングでよい。または、予め決められたタイミング、又は、クライアント装置2のからの伝送要求時のタイミングでもよい。なお、ベースストリームの伝送速度は任意であり、クライアント装置2の通信回線等に応じて低いビットレートの伝送速度としてもよいし、出力時間を短くするために高いビットレートの伝送速度としてもよい。 The timing at which the first transmission control unit 33 transmits the base stream to the client device 2 may be, for example, the timing at which the storage control unit 32 notifies that a new base stream has been stored. Alternatively, it may be the timing when the output instruction of the base stream is supplied from the user or the system. Alternatively, it may be a predetermined timing or a timing at the time of a transmission request from the client device 2. The transmission speed of the base stream is arbitrary, and may be a low bit rate transmission speed depending on the communication line of the client device 2 or the like, or may be a high bit rate transmission speed in order to shorten the output time.

次に、図12のフローチャートに、ベースストリームに基づいて差分ビットストリームを生成し、クライアント装置2に伝送する動作の流れを示す。ステップS51では、図10に示す第2のバッファ制御部34が、エンコードを施す入力ピクチャを取得し、RAM13等にバッファリング処理する。ステップS52では、ピクチャ記憶制御部51が判定部52と連携し、入力ピクチャに関連する、参照すべきピクチャ(ベースストリーム)は存在するか否か(RAM13に記憶されているか否か)を判別する。 Next, the flowchart of FIG. 12 shows the flow of the operation of generating the difference bit stream based on the base stream and transmitting it to the client device 2. In step S51, the second buffer control unit 34 shown in FIG. 10 acquires an input picture to be encoded and buffers it in the RAM 13 or the like. In step S52, the picture storage control unit 51 cooperates with the determination unit 52 to determine whether or not a picture (base stream) to be referred to, which is related to the input picture, exists (whether or not it is stored in the RAM 13). ..

参照すべきピクチャが存在する場合(ステップS52:Yes)、第2のエンコード部35は、入力ピクチャの代わりに、参照すべきピクチャをSHVCエンコードし、ベースストリームを生成する。これに対して、参照すべきピクチャが存在しない場合(ステップS52:No)、第2のエンコード部35は、入力ピクチャをSHVCエンコードし、ベースストリームを生成する。なお、ピクチャ記憶制御部51は、エンコードするピクチャを判定する判定部52と連携し、入力ピクチャの記憶が必要か否かを判別し、必要な場合は入力ピクチャをRAM13等に記憶してもよい。 If there is a picture to be referenced (step S52: Yes), the second encoding unit 35 SHVC-encodes the picture to be referenced instead of the input picture to generate a base stream. On the other hand, when there is no picture to be referred to (step S52: No), the second encoding unit 35 SHVC-encodes the input picture and generates a base stream. The picture storage control unit 51 may cooperate with the determination unit 52 for determining the picture to be encoded, determine whether or not the input picture needs to be stored, and store the input picture in the RAM 13 or the like if necessary. ..

次に、ステップS55では、調整部36が、SHVCエンコードにより生成されたビットストリーム等に、参照するベースストリームの識別情報又は関連情報を付加する調整処理を施す。ステップS56では、記憶制御部32が、SHVCエンコードで生成したビットストリームを、RAM13に記憶するか否かを判別する。記憶する場合は(ステップS56:Yes)、記憶制御部32は、ステップS57において、SHVCエンコード処理で生成したビットストリームを、RAM13に記憶する。この際、記憶制御部32は、新たに生成されたビットストリームをRAM13に記憶し、又は、RAM13に記憶されているビットストリームを、新たなビットストリームで更新するかたちで記憶する。または、記憶制御部32は、RAM13に記憶されているビットストリームと新たなビットストリームとの差分のみを記憶する。なお、このような記憶による処理が不要の場合(ステップS56:No)、処理は、ステップS58に進む。 Next, in step S55, the adjustment unit 36 performs an adjustment process of adding the identification information or the related information of the reference base stream to the bitstream or the like generated by the SHVC encoding. In step S56, the storage control unit 32 determines whether or not to store the bitstream generated by SHVC encoding in the RAM 13. When storing (step S56: Yes), the storage control unit 32 stores the bitstream generated by the SHVC encoding process in the RAM 13 in step S57. At this time, the storage control unit 32 stores the newly generated bit stream in the RAM 13, or stores the bit stream stored in the RAM 13 in the form of updating with a new bit stream. Alternatively, the storage control unit 32 stores only the difference between the bit stream stored in the RAM 13 and the new bit stream. If such storage processing is not required (step S56: No), the processing proceeds to step S58.

ステップS58では、第2の送信制御部37が、ビットストリーム等をクライアント装置2に送信するように通信部15を制御して、図12のフローチャートの処理を終了する。第2の実施の形態のストリーミングシステムの場合も、最初に参照ピクチャであるベースストリームをクライアント装置2に送信しておき、後は、ベースストリームとの差分である差分ピクチャのみをクライアント装置2に送信する。これにより、低ビットレート化を図ることができ、伝送帯域を有効に利用できる等、上述の第1の実施の形態と同じ効果を得ることができる。 In step S58, the second transmission control unit 37 controls the communication unit 15 so as to transmit a bit stream or the like to the client device 2, and ends the processing of the flowchart of FIG. Also in the case of the streaming system of the second embodiment, the base stream which is a reference picture is first transmitted to the client device 2, and then only the difference picture which is the difference from the base stream is transmitted to the client device 2. do. As a result, the same effect as that of the first embodiment described above can be obtained, such as the ability to reduce the bit rate and the effective use of the transmission band.

なお、この第2の実施の形態の場合も、クライアント装置2のデコーダ27は、予め記憶しておいたベースストリーム及び受信した入力ピクチャを用いて、本来、エンコーダ17が生成する予定であったビットストリームと同等(同画質、同解像度)のビットストリームを再構成する。そして、デコーダ27は、再構成したストリームを再生して表示等を行う。 Also in the case of the second embodiment, the decoder 27 of the client device 2 originally planned to generate the bit by the encoder 17 using the base stream and the received input picture stored in advance. Reconstruct a bitstream equivalent to the stream (same image quality, same resolution). Then, the decoder 27 reproduces and displays the reconstructed stream.

本発明の実施の形態を説明したが、これらの実施の形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施の形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施の形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。 Although embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other embodiments, and various omissions, replacements, and changes can be made without departing from the gist of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention as well as the invention described in the claims and the equivalent scope thereof.

1 サーバ装置
2 クライアント装置
3 ネットワーク
11 CPU
12 ROM
13 RAM
14 HDD
15 通信部
17 エンコーダ
21 CPU
22 ROM
23 RAM
24 HDD
25 通信部
27 デコーダ
31 事前処理部
32 記憶制御部
33 第1の送信制御部
34 第2のバッファ制御部
35 第2のエンコード部
36 調整部
37 第2の送信制御部
39 エンコード部
38 第1のバッファ制御部
41 調整処理部
42 デコード処理部
43 第1の受信制御部
44 記憶制御部
45 第2の受信制御部
46 構成調整部
47 デコード部
48 バッファ制御部
51 ピクチャ記憶制御部
52 判定部
1 Server device 2 Client device 3 Network 11 CPU
12 ROM
13 RAM
14 HDD
15 Communication unit 17 Encoder 21 CPU
22 ROM
23 RAM
24 HDD
25 Communication unit 27 Decoder 31 Preprocessing unit 32 Storage control unit 33 First transmission control unit 34 Second buffer control unit 35 Second encoding unit 36 Coordination unit 37 Second transmission control unit 39 Encoding unit 38 First Buffer control unit 41 Adjustment processing unit 42 Decoding processing unit 43 First reception control unit 44 Storage control unit 45 Second reception control unit 46 Configuration adjustment unit 47 Decoding unit 48 Buffer control unit 51 Picture storage control unit 52 Judgment unit

Claims (9)

エンコード装置と、デコード装置と、を備えるストリーミングシステムであって、
前記エンコード装置は、
前記デコード装置との間で予め共有するベースストリームと入力画像との差分である差分ビットストリームを生成する差分生成部と、
前記差分生成部で生成された前記差分ビットストリームを、前記デコード装置に送信するように通信部を制御する通信制御部と、有し、
前記デコード装置は、
前記エンコード装置との間で予め共有する前記ベースストリームと、前記差分ビットストリームと、を用いて、前記エンコード装置が生成する予定であったビットストリームと同等のビットストリームを再構成する構成調整部と、
再構成した前記ビットストリームに施されているエンコード処理に対応するデコード処理を実行するデコード部と、を有し、
前記ベースストリームは、前記デコード装置の工場出荷時または前記デコード装置のセットアップ時に共有される、
ストリーミングシステム。
A streaming system equipped with an encoding device and a decoding device.
The encoding device is
A difference generator that generates a difference bit stream, which is the difference between the base stream and the input image shared in advance with the decoding device, and
It has a communication control unit that controls the communication unit so that the difference bit stream generated by the difference generation unit is transmitted to the decoding device.
The decoding device is
A configuration adjustment unit that reconstructs a bitstream equivalent to the bitstream that was planned to be generated by the encoding device by using the base stream and the difference bitstream that are shared in advance with the encoding device. ,
It has a decoding unit that executes a decoding process corresponding to the encoding process applied to the reconstructed bit stream.
The base stream is shared at the factory of the decoding device or at the time of setting up the decoding device.
Streaming system.
前記エンコード装置は、
前記ベースストリームに識別情報を付加し、また、前記差分ビットストリームに、参照する前記ベースストリームの識別情報を付加する調整部を、さらに備える
請求項1に記載のストリーミングシステム。
The encoding device is
The streaming system according to claim 1, further comprising an adjusting unit for adding identification information to the base stream and adding identification information of the base stream to be referred to to the difference bit stream.
前記通信制御部は、前記デコード装置に対する前記ベースストリームの送信の要否を判別し、前記デコード装置に対する前記ベースストリームの送信が不要と判別した場合は、前記デコード装置に対して前記ベースストリームは送信せず、前記デコード装置に対する前記ベースストリームの送信が必要と判別した場合に、前記デコード装置に対して前記ベースストリームを送信するように前記通信部を制御する
請求項1又は請求項2に記載のストリーミングシステム。
The communication control unit determines whether or not the base stream needs to be transmitted to the decoding device, and if it determines that transmission of the base stream to the decoding device is unnecessary, the base stream is transmitted to the decoding device. The first or second aspect of the present invention, wherein the communication unit is controlled to transmit the base stream to the decoding device when it is determined that the base stream needs to be transmitted to the decoding device. Streaming system.
前記通信制御部は、新たなベースストリームが生成されたことが通知されたタイミング、ベースストリームの出力指示を取得したタイミング、予め決められたタイミング、又は、前記デコード装置からの、ベースストリームの伝送要求を取得したタイミングで、前記ベースストリームを送信するように、前記通信部を制御する
請求項1から請求項3のうち、いずれか一項に記載のストリーミングシステム。
The communication control unit is notified of the generation of a new base stream, the timing of acquiring the output instruction of the base stream, the predetermined timing, or the transmission request of the base stream from the decoding device. The streaming system according to any one of claims 1 to 3, which controls the communication unit so as to transmit the base stream at the timing of acquiring the above.
前記ベースストリームは、エンコード処理したビットストリーム全体又は一部である
請求項1から請求項4のうち、いずれか一項に記載のストリーミングシステム。
The streaming system according to any one of claims 1 to 4, wherein the base stream is an entire or a part of an encoded bitstream.
前記ベースストリームは、静止画像である
請求項1から請求項5のうち、いずれか一項に記載のストリーミングシステム。
The streaming system according to any one of claims 1 to 5, wherein the base stream is a still image.
前記ベースストリームは、イントラピクチャネットワーク抽象化層ユニットのベースストリームである
請求項1から請求項6のうち、いずれか一項に記載のストリーミングシステム。
The streaming system according to any one of claims 1 to 6, wherein the base stream is a base stream of an intra-picture network abstraction layer unit.
前記差分ビットストリームは、インターピクチャネットワーク抽象化層ユニットを含む差分ビットストリームである
請求項1から請求項7のうち、いずれか一項に記載のストリーミングシステム。
The streaming system according to any one of claims 1 to 7, wherein the difference bit stream is a difference bit stream including an interpicture network abstraction layer unit.
コンピュータを、
デコード装置との間で予め共有するベースストリームと入力画像との差分である差分ビットストリームを生成する差分生成部と、
前記差分生成部で生成された前記差分ビットストリームを、前記デコード装置に送信するように通信部を制御する通信制御部と、として機能させ、
前記ベースストリームは、前記デコード装置の工場出荷時または前記デコード装置のセットアップ時に共有される、
エンコードプログラム。
Computer,
A difference generator that generates a difference bitstream, which is the difference between the base stream and the input image that are shared in advance with the decoding device.
The difference bit stream generated by the difference generation unit is made to function as a communication control unit that controls the communication unit so as to transmit the difference bit stream to the decoding device.
The base stream is shared at the factory of the decoding device or at the time of setting up the decoding device.
Encoding program.
JP2021178812A 2019-06-05 2021-11-01 Streaming system and encoding program Pending JP2022031267A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2021178812A JP2022031267A (en) 2019-06-05 2021-11-01 Streaming system and encoding program
JP2023135546A JP2023153326A (en) 2019-06-05 2023-08-23 Encoding device, encoding method, encoding program, decoding device, decoding method, decoding program, streaming system and streaming method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019105711A JP2019176500A (en) 2019-06-05 2019-06-05 Encoding device, encoding program and streaming system
JP2021178812A JP2022031267A (en) 2019-06-05 2021-11-01 Streaming system and encoding program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019105711A Division JP2019176500A (en) 2019-06-05 2019-06-05 Encoding device, encoding program and streaming system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2023135546A Division JP2023153326A (en) 2019-06-05 2023-08-23 Encoding device, encoding method, encoding program, decoding device, decoding method, decoding program, streaming system and streaming method

Publications (1)

Publication Number Publication Date
JP2022031267A true JP2022031267A (en) 2022-02-18

Family

ID=68167858

Family Applications (3)

Application Number Title Priority Date Filing Date
JP2019105711A Pending JP2019176500A (en) 2019-06-05 2019-06-05 Encoding device, encoding program and streaming system
JP2021178812A Pending JP2022031267A (en) 2019-06-05 2021-11-01 Streaming system and encoding program
JP2023135546A Pending JP2023153326A (en) 2019-06-05 2023-08-23 Encoding device, encoding method, encoding program, decoding device, decoding method, decoding program, streaming system and streaming method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2019105711A Pending JP2019176500A (en) 2019-06-05 2019-06-05 Encoding device, encoding program and streaming system

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2023135546A Pending JP2023153326A (en) 2019-06-05 2023-08-23 Encoding device, encoding method, encoding program, decoding device, decoding method, decoding program, streaming system and streaming method

Country Status (1)

Country Link
JP (3) JP2019176500A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038130A (en) * 2021-03-17 2021-06-25 百果园技术(新加坡)有限公司 Video coding method and device, electronic equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11150720A (en) * 1997-11-17 1999-06-02 Matsushita Electric Ind Co Ltd Real time data reproduction device and system therefor
JP2002010251A (en) * 2000-06-19 2002-01-11 Matsushita Electric Ind Co Ltd Video signal coding device and video signal decoding device
JP2005136762A (en) * 2003-10-31 2005-05-26 Hitachi Ltd High definition video reproduction method and apparatus
JP2006237656A (en) * 2003-02-28 2006-09-07 Secom Co Ltd Coded signal separating/merging device, generator and extracting device for difference coded signal, and method and program for separating/merging coded signal
JP2010011154A (en) * 2008-06-27 2010-01-14 Pioneer Electronic Corp Image generation apparatus and image reproducing apparatus
WO2013058314A1 (en) * 2011-10-21 2013-04-25 シャープ株式会社 Encoding apparatus, transmitting apparatus, encoding method, decoding apparatus, receiving apparatus, decoding method, program, and recording medium
JP2015033071A (en) * 2013-08-06 2015-02-16 シャープ株式会社 Hierarchical moving image transmission system, and moving image decoding device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3271634B2 (en) * 1993-08-10 2002-04-02 ソニー株式会社 Digital image signal transmission device and reception device
US6731799B1 (en) * 2000-06-01 2004-05-04 University Of Washington Object segmentation with background extraction and moving boundary techniques
KR100491530B1 (en) * 2002-05-03 2005-05-27 엘지전자 주식회사 Method of determining motion vector
JP2005260912A (en) * 2004-02-10 2005-09-22 Matsushita Electric Ind Co Ltd Video image communication device and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11150720A (en) * 1997-11-17 1999-06-02 Matsushita Electric Ind Co Ltd Real time data reproduction device and system therefor
JP2002010251A (en) * 2000-06-19 2002-01-11 Matsushita Electric Ind Co Ltd Video signal coding device and video signal decoding device
JP2006237656A (en) * 2003-02-28 2006-09-07 Secom Co Ltd Coded signal separating/merging device, generator and extracting device for difference coded signal, and method and program for separating/merging coded signal
JP2005136762A (en) * 2003-10-31 2005-05-26 Hitachi Ltd High definition video reproduction method and apparatus
JP2010011154A (en) * 2008-06-27 2010-01-14 Pioneer Electronic Corp Image generation apparatus and image reproducing apparatus
WO2013058314A1 (en) * 2011-10-21 2013-04-25 シャープ株式会社 Encoding apparatus, transmitting apparatus, encoding method, decoding apparatus, receiving apparatus, decoding method, program, and recording medium
JP2015033071A (en) * 2013-08-06 2015-02-16 シャープ株式会社 Hierarchical moving image transmission system, and moving image decoding device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ISABEL MARTINS AND LUIS CORTE-REAL: "A video coder using 3-D model based background for video surveillance applications", PROCEEDINGS 1998 INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, JPN6019051753, 6 August 2002 (2002-08-06), pages 919 - 923, ISSN: 0004921043 *

Also Published As

Publication number Publication date
JP2019176500A (en) 2019-10-10
JP2023153326A (en) 2023-10-17

Similar Documents

Publication Publication Date Title
US7835452B2 (en) Method for encoding and decoding video signal
US7072404B2 (en) Decoding apparatus, control method therefor, and storage medium
US20220159288A1 (en) Encoding device, decoding device, streaming system, and streaming method
KR102525577B1 (en) Method and apparatus for streaming data
JP6305279B2 (en) Video compression device and video playback device
US20090168880A1 (en) Method and Apparatus for Scalably Encoding/Decoding Video Signal
JPWO2009063554A1 (en) Encoding device and decoding device
JP2023153326A (en) Encoding device, encoding method, encoding program, decoding device, decoding method, decoding program, streaming system and streaming method
US20240048738A1 (en) Methods, apparatuses, computer programs and computer-readable media for processing configuration data
CN115398481A (en) Apparatus and method for performing artificial intelligence encoding and artificial intelligence decoding on image
US20030169813A1 (en) Method and apparatus to execute a smooth transition between FGS encoded structures
US10298651B2 (en) Encoding device, decoding device, computer program product, and streaming system
JP2001128170A (en) Device and method for encoding
US20060133483A1 (en) Method for encoding and decoding video signal
KR100878825B1 (en) Method for scalably encoding and decoding video signal
JP2002218472A (en) Device and method for decoding variable image rate
JP4921326B2 (en) Image processing apparatus and control method thereof
JP4755691B2 (en) High-quality compressed video transmission system
US20050073892A1 (en) Data processing apparatus
KR100626419B1 (en) Switching between bit-streams in video transmission
JP2005176068A (en) Motion image distribution system and method therefor
JP7292901B2 (en) Transmission device, transmission method, and program
JP2013219611A (en) Encoder and encoding method, and decoder and decoding method
KR101336820B1 (en) Apparatus and method for decoding specialized multi-channel trick mode
JP2014233066A (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211101

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230410

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20230523