JP5227875B2 - 動画像符号化装置 - Google Patents
動画像符号化装置 Download PDFInfo
- Publication number
- JP5227875B2 JP5227875B2 JP2009092009A JP2009092009A JP5227875B2 JP 5227875 B2 JP5227875 B2 JP 5227875B2 JP 2009092009 A JP2009092009 A JP 2009092009A JP 2009092009 A JP2009092009 A JP 2009092009A JP 5227875 B2 JP5227875 B2 JP 5227875B2
- Authority
- JP
- Japan
- Prior art keywords
- picture
- moving image
- data
- stream
- gop
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/132—Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
- H04N19/15—Data rate or code amount at the encoder output by monitoring actual compressed data size at the memory before deciding storage at the transmission buffer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/164—Feedback from the receiver or from the transmission channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/172—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
一方で、撮像技術、圧縮技術の進歩により、HD(High Definition)映像を撮影できるカメラ製品が市場に登場してきており、HD画質のリアルタイム映像音声通信も期待されている。しかし、HD映像によるリアルタイム映像音声通信はデータ量の増大により、二地点間での遅延が増大し、双方でのコミュニケーションが円滑に進まないという問題がある。
特許文献1では、受信側において復号誤りが検出された場合に発行される画面更新要求を送信側が受付け、送信バッファのデータをクリアし、遅延を低減する。また、直後の入力動画はフレーム内処理によってイントラ符号化することにより、再び受信側で復号誤りを起こすことを防いでいる。
特許文献2では、より簡単なロジックによって、送信側のみで遅延を低減する。すなわち送信バッファを監視し、一定量以上の蓄積データがある場合には、入力動画のイントラ符号化を行った後に、送信バッファ内のデータをクリアする。これにより受信側での遅延を低減し、復号誤りの発生を防ぐ。
しかしながら、特許文献1では、符号化データのクリア処理から次の動画の符号化データ完成までに要する時間を予測した上で、最低限送信に必要な符号化データを送信バッファ内に残しておかなければならない。この場合、正確なバッファ内符号化データの送信タイミングの予測が困難なことから、バッファ内部符号化データの残余量の最適値と実際値との差異によって、送信バッファ内部のアンダーフローが生じる可能性がある。
また、一般的に映像音声通信を行う場合、映像と音声は例えばTS(Transport Stream)やPS(Program Stream)などのフォーマットに多重化されて送信される。特許文献1及び特許文献2はともに、ピクチャ単位(Iピクチャ;Intra Picture、Pピクチャ;Predictive Picture、Bピクチャ;Bi-directionally Predictive Picture)の境界は考慮しているが、TSやPSといったMPEG(Moving Picture Experts Group)システム層のパケット境界を意識せずに送信バッファ内のデータをクリアするため、受信側の復号化装置によっては受信ストリームのパケット境界がずれてしまい、復号誤りが発生する可能性がある。
図1は本発明の一実施例を示す符号化装置100のハードウェア構成図であり、以下で示す実施例1から実施例4において適用可能である。図1に示すように、レンズ101、撮像素子102、カメラDSP(Digital Signal Processor)103、マイク104、映像圧縮回路105、音声圧縮回路106、映像音声多重回路107、ストリームバッファ108、通信回路109、通信入出力端子110、システム制御部111を備えている。
ネットワーク送信工程S203の実行が終わるとステップS204では、復号装置から送信停止要求を受信しているか否かを判定し、受信していなければ(図中のNo)、ステップS201の撮像工程から処理を繰り返す。また、送信停止要求を受信している場合は(図中のYes)、処理を終了する。
ステップS300では撮像工程S201によって生成された入力映像信号と音声信号を、映像圧縮回路105と音声圧縮回路106で符号化する。符号化はピクチャ単位で行う。ステップS301では、システム制御部111は直前に符号化したピクチャ種別がIピクチャか否かを判定する。Iピクチャか否かの判定は圧縮ストリーム中のピクチャ種別を表す情報から判定しても良いし、IピクチャはGOP(Group Of Picture)の先頭であることから、ピクチャ枚数を数えることで判定しても良い。Iピクチャの符号化であると判定された場合には(図中のYes)、ステップS302においてシステム制御部111は、Iピクチャの先頭位置を記憶し、ステップS303に遷移する。
ステップS400ではシステム制御部111は、ストリームバッファ108に蓄積されたストリームデータサイズが、所定の閾値を超えたか否かを判定する。閾値はシステム設計者が最適な値を設定しても良いし、ユーザが設定しても良い。一般的にHD画質のTSストリームのビットレートは10Mbps〜25Mbpsの範囲であり、1GOP当たり640kバイト〜1.6Mバイト程度の符号量が発生する。1GOPは0.5秒なので、符号化装置の遅延を0.5秒以内抑える必要があるならば、500kバイト程度に設定するべきである。
このように、ストリームバッファ108における蓄積データが、所定の閾値を超えていて遅延が問題となる場合には、送信回路109はIフレームまで読み出し位置をジャンプして送信することにより、遅延を低減するようにしている。
一般的にTV電話装置やTV会議システムでは、映像と音声それぞれのエレメンタリーストリームは映像音声多重回路107のような多重化部によってTSやPSなどへ多重化されて、ネットワークへ送信される。TSやPSはそれぞれ決まったパケットサイズ(TSは192バイト、PSは2048バイト)の連続であり、また、パケットサイズは映像や音声のフレームサイズとは関係がない。
実施例1による遅延低減方法を復号装置によらず有効にするためには、パケット境界の周期に合わせて読み出し位置をジャンプさせる必要がある。
復号装置から要求される送信サイズとパケットサイズから、前回送信を終了した位置を知ることができる。この位置と次のパケット境界との差を求めて、図示する補正サイズ(斜め縞部分)を求める。Iピクチャ先頭位置から補正サイズだけ前の位置をIピクチャ先頭補正位置とし、これを次の送信の開始位置とすれば、パケット境界の周期は変わることない。このため前記した復号誤りの問題は解消できる。なおこの時には、ストリームバッファ108からの圧縮データの読み出し位置は、パケットサイズの整数倍だけシフトすることになる。
MPEG2やMPEG4AVC/H.264といった映像圧縮規格では、Open GOPとClosed GOPの2つのGOP構成がある。図7において、(a)はOpen GOP、(b)はClosed GOPの例を示す。Open GOPのビットストリーム構成は、図7(a)の700のような並びであり、これを受信する復号装置では701に示す順番でデコードされる。デコード時に各ピクチャは2ピクチャずつ後ろにシフトするが、GOP境界は変わらない。このため701のGOP境界において、後ろのGOP先頭のBピクチャは直前のGOPの末尾Pピクチャを参照して復号される。つまり、Open GOPとは直前のGOPのピクチャを参照画像とするBピクチャを持つGOPである。
以上より、実施例1及び実施例2で示した、読み出し位置ジャンプ手段及びパケット境界ジャンプ手段は、ジャンプ直後に読み出すGOPがOpen GOPである場合には復号装置側で復号誤りを起こす可能性がある。この問題の回避策を、図8のフローチャートを用いて説明する。
実施例3では、ブロークンリンクフラグを設定することにより、読み出し位置ジャンプ後の復号誤りを回避しているが、送信直前にエンコードしたストリームを編集する必要があるため、符号化装置の負荷が若干大きくなる。そこで実施例4では、Iピクチャ先頭位置(またはIピクチャ先頭補正位置)へ読み出し位置ジャンプ後、復号が不必要なピクチャがある場合には、さらに読み出し位置をジャンプする。
Claims (1)
- 動画像を符号化する動画像符号化装置であって、
被写体を撮影して前記動画像を生成する撮像部と、
前記動画像のデータ量を圧縮する圧縮回路と、
該圧縮回路から供給される前記動画像の圧縮データを蓄積するストリームバッファと、
該ストリームバッファに蓄積された前記動画像の圧縮データをネットワークへ送信する通信回路と、
前記動画像符号化装置を動作制御するシステム制御部を有し、
該システム制御部は、前記ストリームバッファに蓄積された圧縮データの蓄積量が所定の閾値以上である場合には、前記圧縮データの前記ストリームバッファからの読み出し位置を、時間軸上で後ろのIピクチャ先頭位置より、前回送信を終了した位置と次のパケット境界位置との差だけ前の位置へ進めるように制御することを特徴とする動画像符号化装置。
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009092009A JP5227875B2 (ja) | 2009-04-06 | 2009-04-06 | 動画像符号化装置 |
| US12/749,695 US20100254456A1 (en) | 2009-04-06 | 2010-03-30 | Device and method of encoding moving image |
| CN201010159410A CN101860751A (zh) | 2009-04-06 | 2010-04-06 | 动态图像编码装置和动态图像编码方法 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009092009A JP5227875B2 (ja) | 2009-04-06 | 2009-04-06 | 動画像符号化装置 |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2010245822A JP2010245822A (ja) | 2010-10-28 |
| JP2010245822A5 JP2010245822A5 (ja) | 2011-09-22 |
| JP5227875B2 true JP5227875B2 (ja) | 2013-07-03 |
Family
ID=42826166
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009092009A Expired - Fee Related JP5227875B2 (ja) | 2009-04-06 | 2009-04-06 | 動画像符号化装置 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20100254456A1 (ja) |
| JP (1) | JP5227875B2 (ja) |
| CN (1) | CN101860751A (ja) |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008066851A (ja) * | 2006-09-05 | 2008-03-21 | Sony Corp | 情報処理装置および情報処理方法、記録媒体、並びに、プログラム |
| US9979958B2 (en) | 2012-04-20 | 2018-05-22 | Qualcomm Incorporated | Decoded picture buffer processing for random access point pictures in video sequences |
| US9225978B2 (en) * | 2012-06-28 | 2015-12-29 | Qualcomm Incorporated | Streaming adaption based on clean random access (CRA) pictures |
| JP6083964B2 (ja) * | 2012-06-29 | 2017-02-22 | キヤノン株式会社 | 送信装置、送信方法、及びプログラム |
| US9479776B2 (en) | 2012-07-02 | 2016-10-25 | Qualcomm Incorporated | Signaling of long-term reference pictures for video coding |
| JP6094126B2 (ja) * | 2012-10-01 | 2017-03-15 | 富士通株式会社 | 動画像復号装置 |
| SG11201607157SA (en) * | 2014-03-05 | 2016-10-28 | Ricoh Co Ltd | Data transmission system, terminal device, program, and method |
| JP6216756B2 (ja) * | 2015-09-30 | 2017-10-18 | Kddi株式会社 | 装置間通信システム、情報送信装置、及び情報受信装置 |
| KR101937247B1 (ko) * | 2016-12-28 | 2019-01-14 | 네이버 주식회사 | 실시간 라이브 환경에서 버퍼 기반 대역폭 측정 및 적응형 데이터 전송을 위한 방법 및 시스템 |
| CN107247676A (zh) * | 2017-05-18 | 2017-10-13 | 深圳市小牛在线互联网信息咨询有限公司 | 动态图播放方法、装置、存储介质和计算机设备 |
| JP6399189B2 (ja) * | 2017-10-11 | 2018-10-03 | 富士通株式会社 | 動画像符号化方法 |
| CN114584784B (zh) * | 2022-03-03 | 2024-07-16 | 杭州中天微系统有限公司 | 视频编码系统、硬件加速装置及硬件加速方法 |
Family Cites Families (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3154254B2 (ja) * | 1990-02-28 | 2001-04-09 | ソニー株式会社 | 画像データ符号化装置 |
| US5164828A (en) * | 1990-02-26 | 1992-11-17 | Sony Corporation | Video signal transmission and method and apparatus for coding video signal used in this |
| JP3194317B2 (ja) * | 1993-06-10 | 2001-07-30 | 日本電信電話株式会社 | 画像信号用可変レート符号化装置 |
| US5847765A (en) * | 1993-11-12 | 1998-12-08 | Nec Corporation | Moving picture decoding control system |
| JPH07193821A (ja) * | 1993-12-27 | 1995-07-28 | Canon Inc | 動画像符号化装置および方法 |
| JP3203168B2 (ja) * | 1994-11-30 | 2001-08-27 | 三洋電機株式会社 | Mpegビデオデコーダ |
| US6026232A (en) * | 1995-07-13 | 2000-02-15 | Kabushiki Kaisha Toshiba | Method and system to replace sections of an encoded video bitstream |
| US5896099A (en) * | 1995-06-30 | 1999-04-20 | Sanyo Electric Co., Ltd. | Audio decoder with buffer fullness control |
| JP3804099B2 (ja) * | 1996-04-12 | 2006-08-02 | ソニー株式会社 | 映像素材供給装置及び方法、映像素材挿入装置及び方法 |
| JPH1070727A (ja) * | 1996-06-21 | 1998-03-10 | Sanyo Electric Co Ltd | 動画像伝送方法および動画像伝送装置 |
| JPH11215508A (ja) * | 1998-01-27 | 1999-08-06 | Sanyo Electric Co Ltd | 符号発生量制御方法およびその方法を用いた符号化装置 |
| JP2001285868A (ja) * | 2000-03-29 | 2001-10-12 | Victor Co Of Japan Ltd | 動画像符号列切替装置及び動画像符号列切替方法 |
| US7082163B2 (en) * | 2000-11-20 | 2006-07-25 | Matsushita Electric Industrial Co., Ltd. | Picture coding method, picture coding apparatus and image relaying apparatus |
| JP2002271389A (ja) * | 2001-03-07 | 2002-09-20 | Hitachi Telecom Technol Ltd | パケット処理装置およびパケット処理方法 |
| JP2002300585A (ja) * | 2001-03-30 | 2002-10-11 | Toshiba Corp | 圧縮符号化装置 |
| JP2005072742A (ja) * | 2003-08-21 | 2005-03-17 | Sony Corp | 符号化装置及び符号化方法 |
| JP2006080788A (ja) * | 2004-09-08 | 2006-03-23 | Matsushita Electric Ind Co Ltd | 動画符号化装置 |
| JP4039417B2 (ja) * | 2004-10-15 | 2008-01-30 | 株式会社日立製作所 | 記録再生装置 |
| CN101341756A (zh) * | 2005-10-27 | 2009-01-07 | 高通股份有限公司 | 用于视频电话的视频源速率控制 |
-
2009
- 2009-04-06 JP JP2009092009A patent/JP5227875B2/ja not_active Expired - Fee Related
-
2010
- 2010-03-30 US US12/749,695 patent/US20100254456A1/en not_active Abandoned
- 2010-04-06 CN CN201010159410A patent/CN101860751A/zh active Pending
Also Published As
| Publication number | Publication date |
|---|---|
| CN101860751A (zh) | 2010-10-13 |
| US20100254456A1 (en) | 2010-10-07 |
| JP2010245822A (ja) | 2010-10-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5227875B2 (ja) | 動画像符号化装置 | |
| CN108965883B (zh) | 使用虚拟帧内帧对视频内容进行编码的系统和方法 | |
| CN1717935B (zh) | 根据请求进行ⅰ图像插入 | |
| US8320686B2 (en) | Detailed description of the invention | |
| CN1812587A (zh) | 视频编码 | |
| JP2006526908A (ja) | ピクチャを符号化する方法、ビットストリームからピクチャを復号化する方法、ピクチャを符号化するエンコーダ、ピクチャを符号化するエンコーダを備える送信装置、ビットストリームからピクチャを復号化するデコーダ、ビットストリームからピクチャを復号化するデコーダを備える受信装置、およびシステム | |
| US20070291131A1 (en) | Apparatus and Method for Controlling Image Coding Mode | |
| US20080189587A1 (en) | Video transmitting apparatus, video receiving apparatus, and video transmission system | |
| US9319682B2 (en) | Moving image encoding apparatus, control method therefor, and non-transitory computer readable storage medium | |
| JP2005192073A (ja) | マルチメディアデータ通信方法および装置 | |
| US20230034162A1 (en) | Transmission apparatus and transmission method | |
| JP2010011287A (ja) | 映像伝送方法および端末装置 | |
| CN115883855B (zh) | 播放数据处理方法、装置、计算机设备和存储介质 | |
| JP4662085B2 (ja) | 動画像蓄積システム、動画像蓄積方法および動画像蓄積プログラム | |
| WO2005025225A1 (ja) | 動画像データ変換方法および装置ならびにプログラム | |
| JP2007288604A (ja) | 映像伝送システム及び映像伝送方法 | |
| KR20140013148A (ko) | 모바일 무선환경에서의 비디오 프레임 장면전환 검출 및 인코딩장치 및 이를 이용한 방법 | |
| CN116055810B (zh) | 音视频播放方法、装置、系统、电子设备及存储介质 | |
| HK40084134B (zh) | 播放数据处理方法、装置、计算机设备和存储介质 | |
| WO2026005660A1 (en) | Video decoding adaptation for jitter | |
| JP2006352784A (ja) | 伝送方法、受信装置及びコンピュータプログラム | |
| JP2012120011A (ja) | 動画像通信装置、デジタルビデオカメラ、記録媒体および半導体集積回路 | |
| JP2011160280A (ja) | 動画符号化装置および方法およびそれらを用いた動画撮像装置 | |
| JP2009207007A (ja) | 送信装置および送信システム |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110808 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110808 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120411 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120417 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120613 |
|
| 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: 20130226 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130318 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160322 Year of fee payment: 3 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |