JP2009147827A5 - - Google Patents

Download PDF

Info

Publication number
JP2009147827A5
JP2009147827A5 JP2007325209A JP2007325209A JP2009147827A5 JP 2009147827 A5 JP2009147827 A5 JP 2009147827A5 JP 2007325209 A JP2007325209 A JP 2007325209A JP 2007325209 A JP2007325209 A JP 2007325209A JP 2009147827 A5 JP2009147827 A5 JP 2009147827A5
Authority
JP
Japan
Prior art keywords
stream
video
picture
amount
multiplexed stream
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
Application number
JP2007325209A
Other languages
Japanese (ja)
Other versions
JP5046907B2 (en
JP2009147827A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2007325209A priority Critical patent/JP5046907B2/en
Priority claimed from JP2007325209A external-priority patent/JP5046907B2/en
Publication of JP2009147827A publication Critical patent/JP2009147827A/en
Publication of JP2009147827A5 publication Critical patent/JP2009147827A5/ja
Application granted granted Critical
Publication of JP5046907B2 publication Critical patent/JP5046907B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Claims (6)

映像データを符号化し、映像ストリームを生成する映像符号化部と、
音声データを符号化し、音声ストリームを生成する音声符号化部と、
前記映像ストリームと前記音声ストリームとを多重化して多重化ストリームを生成する多重化部であって、先行する第1の多重化ストリームと後続の第2の多重化ストリームとを続けて1つの連続した多重化ストリームとして再生可能なように前記多重化ストリームを生成する多重化部と、
前記多重化ストリームを記録媒体に記録する記録部と、
前記多重化ストリームから取得されるストリームの種類に関わらず第1の速度で占有量が増加し、前記映像ストリームに含まれるピクチャの復号時刻に当該ピクチャの符号量に相当する量だけ占有量が減少する第1の仮想バッファと、
前記多重化ストリームから前記映像ストリームが取得される期間のみ、前記第1の速度よりも高速な第2の速度で占有量が増加し、前記映像ストリームに含まれるピクチャの復号時刻に当該ピクチャの符号量に相当する量だけ占有量が減少する第2の仮想バッファと、
前記映像データ中の符号化対象のピクチャの復号時刻における、前記第1の仮想バッファの減少前の占有量と前記第2の仮想バッファの減少前の占有量とを比較し、小さい方の占有量を当該符号化対象のピクチャに割り当てる符号量の上限値として前記映像符号化部に設定する制御部と、
を備えることを特徴とする記録装置。
A video encoding unit that encodes video data and generates a video stream;
An audio encoding unit that encodes audio data and generates an audio stream;
A multiplexing unit that multiplexes the video stream and the audio stream to generate a multiplexed stream, wherein the preceding first multiplexed stream and the succeeding second multiplexed stream are continued one by one A multiplexing unit for generating the multiplexed stream so as to be reproducible as a multiplexed stream;
A recording unit for recording the multiplexed stream on a recording medium;
The occupation amount increases at the first speed regardless of the type of stream acquired from the multiplexed stream, and the occupation amount decreases by an amount corresponding to the code amount of the picture at the decoding time of the picture included in the video stream. A first virtual buffer to
Only during the period when the video stream is acquired from the multiplexed stream, the occupation amount increases at a second speed higher than the first speed, and the code of the picture is decoded at the decoding time of the picture included in the video stream. A second virtual buffer whose occupancy decreases by an amount corresponding to the amount;
Compare the occupancy before the decrease of the first virtual buffer with the occupancy before the decrease of the second virtual buffer at the decoding time of the picture to be encoded in the video data, and the smaller occupancy A control unit that sets the upper limit of the amount of code to be assigned to the picture to be encoded in the video encoding unit;
A recording apparatus comprising:
前記制御部は、前記映像符号化部が前記第2の多重化ストリームのための符号化を開始した後に前記第2の仮想バッファの占有量が前記第1の仮想バッファの占有量よりも大きくなると前記比較を停止し、前記比較の停止中は、前記第1の仮想バッファの占有量を前記上限値として前記映像符号化部に設定することを特徴とする請求項1に記載の記録装置。   The control unit, when the occupancy of the second virtual buffer becomes larger than the occupancy of the first virtual buffer after the video encoding unit starts encoding for the second multiplexed stream. The recording apparatus according to claim 1, wherein the comparison is stopped, and the occupation amount of the first virtual buffer is set as the upper limit value in the video encoding unit while the comparison is stopped. 前記第1の仮想バッファはMPEG規格のVBVバッファであり、
前記第2の仮想バッファはMPEG規格のP−STDバッファである
ことを特徴とする請求項1又は2に記載の記録装置。
The first virtual buffer is an MPEG standard VBV buffer;
The recording apparatus according to claim 1, wherein the second virtual buffer is an MPEG standard P-STD buffer.
前記映像符号化部は、符号化されたピクチャの符号量が前記制御部により設定された前記上限値を超えないように、前記符号化対象のピクチャを符号化することを特徴とする請求項1乃至3のいずれか1項に記載の記録装置。   The video encoding unit encodes the encoding target picture so that a code amount of the encoded picture does not exceed the upper limit set by the control unit. 4. The recording apparatus according to any one of items 1 to 3. 映像データを符号化し、映像ストリームを生成する映像符号化部と、
音声データを符号化し、音声ストリームを生成する音声符号化部と、
前記映像ストリームと前記音声ストリームとを多重化して多重化ストリームを生成する多重化部であって、先行する第1の多重化ストリームと後続の第2の多重化ストリームとを続けて1つの連続した多重化ストリームとして再生可能なように前記多重化ストリームを生成する多重化部と、
前記多重化ストリームを記録媒体に記録する記録部と、
前記多重化ストリームから取得されるストリームの種類に関わらず第1の速度で占有量が増加し、前記映像ストリームに含まれるピクチャの復号時刻に当該ピクチャの符号量に相当する量だけ占有量が減少する第1の仮想バッファと、
前記多重化ストリームから前記映像ストリームが取得される期間のみ、前記第1の速度よりも高速な第2の速度で占有量が増加し、前記映像ストリームに含まれるピクチャの復号時刻に当該ピクチャの符号量に相当する量だけ占有量が減少する第2の仮想バッファと、
を備える記録装置の制御方法であって、
前記記録装置の制御手段が、前記映像データ中の符号化対象のピクチャの復号時刻における、前記第1の仮想バッファの減少前の占有量と前記第2の仮想バッファの減少前の占有量とを比較し、小さい方の占有量を当該符号化対象のピクチャに割り当てる符号量の上限値として前記映像符号化部に設定する制御工程
を備えることを特徴とする制御方法。
A video encoding unit that encodes video data and generates a video stream;
An audio encoding unit that encodes audio data and generates an audio stream;
A multiplexing unit that multiplexes the video stream and the audio stream to generate a multiplexed stream, wherein the preceding first multiplexed stream and the succeeding second multiplexed stream are continued one by one A multiplexing unit for generating the multiplexed stream so as to be reproducible as a multiplexed stream;
A recording unit for recording the multiplexed stream on a recording medium;
Regardless of the type of stream acquired from the multiplexed stream, the occupation amount increases at the first speed, and the occupation amount decreases by an amount corresponding to the code amount of the picture at the decoding time of the picture included in the video stream. A first virtual buffer to
Only during the period when the video stream is acquired from the multiplexed stream, the occupation amount increases at a second speed higher than the first speed, and the code of the picture is decoded at the decoding time of the picture included in the video stream. A second virtual buffer whose occupancy decreases by an amount corresponding to the amount;
A control method for a recording apparatus comprising:
The control means of the recording apparatus determines the occupation amount before the decrease of the first virtual buffer and the occupation amount before the decrease of the second virtual buffer at the decoding time of the picture to be encoded in the video data. A control method comprising: a control step of comparing and setting the smaller occupancy amount in the video encoding unit as an upper limit value of a code amount to be assigned to the picture to be encoded.
映像データを符号化し、映像ストリームを生成する映像符号化部と、
音声データを符号化し、音声ストリームを生成する音声符号化部と、
前記映像ストリームと前記音声ストリームとを多重化して多重化ストリームを生成する多重化部であって、先行する第1の多重化ストリームと後続の第2の多重化ストリームとを続けて1つの連続した多重化ストリームとして再生可能なように前記多重化ストリームを生成する多重化部と、
前記多重化ストリームを記録媒体に記録する記録部と、
前記多重化ストリームから取得されるストリームの種類に関わらず第1の速度で占有量が増加し、前記映像ストリームに含まれるピクチャの復号時刻に当該ピクチャの符号量に相当する量だけ占有量が減少する第1の仮想バッファと、
前記多重化ストリームから前記映像ストリームが取得される期間のみ、前記第1の速度よりも高速な第2の速度で占有量が増加し、前記映像ストリームに含まれるピクチャの復号時刻に当該ピクチャの符号量に相当する量だけ占有量が減少する第2の仮想バッファと、
を備える記録装置のコンピュータに、
前記映像データ中の符号化対象のピクチャの復号時刻における、前記第1の仮想バッファの減少前の占有量と前記第2の仮想バッファの減少前の占有量とを比較し、小さい方の占有量を当該符号化対象のピクチャに割り当てる符号量の上限値として前記映像符号化部に設定する制御工程
を実行させるためのプログラム。
A video encoding unit that encodes video data and generates a video stream;
An audio encoding unit that encodes audio data and generates an audio stream;
A multiplexing unit that multiplexes the video stream and the audio stream to generate a multiplexed stream, wherein the preceding first multiplexed stream and the succeeding second multiplexed stream are continued one by one A multiplexing unit for generating the multiplexed stream so as to be reproducible as a multiplexed stream;
A recording unit for recording the multiplexed stream on a recording medium;
Regardless of the type of stream acquired from the multiplexed stream, the occupation amount increases at the first speed, and the occupation amount decreases by an amount corresponding to the code amount of the picture at the decoding time of the picture included in the video stream. A first virtual buffer to
Only during the period when the video stream is acquired from the multiplexed stream, the occupation amount increases at a second speed higher than the first speed, and the code of the picture is decoded at the decoding time of the picture included in the video stream. A second virtual buffer whose occupancy decreases by an amount corresponding to the amount;
In a computer of a recording device comprising
Compare the occupancy before the decrease of the first virtual buffer with the occupancy before the decrease of the second virtual buffer at the decoding time of the picture to be encoded in the video data, and the smaller occupancy For executing the control step of setting the video encoding unit as the upper limit value of the code amount to be assigned to the picture to be encoded.
JP2007325209A 2007-12-17 2007-12-17 Recording apparatus, control method therefor, and program Expired - Fee Related JP5046907B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007325209A JP5046907B2 (en) 2007-12-17 2007-12-17 Recording apparatus, control method therefor, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007325209A JP5046907B2 (en) 2007-12-17 2007-12-17 Recording apparatus, control method therefor, and program

Publications (3)

Publication Number Publication Date
JP2009147827A JP2009147827A (en) 2009-07-02
JP2009147827A5 true JP2009147827A5 (en) 2011-01-27
JP5046907B2 JP5046907B2 (en) 2012-10-10

Family

ID=40917880

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007325209A Expired - Fee Related JP5046907B2 (en) 2007-12-17 2007-12-17 Recording apparatus, control method therefor, and program

Country Status (1)

Country Link
JP (1) JP5046907B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5685075B2 (en) * 2010-12-24 2015-03-18 キヤノン株式会社 Recording apparatus, recording method, and program
JP2012244542A (en) * 2011-05-23 2012-12-10 Sony Corp Coding device, coding method, and program
JP5947641B2 (en) * 2012-07-06 2016-07-06 キヤノン株式会社 Moving picture coding apparatus, control method therefor, and computer program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3403865B2 (en) * 1995-06-08 2003-05-06 株式会社東芝 Stream multiplexing apparatus and stream multiplexing method
JP3675464B2 (en) * 2003-10-29 2005-07-27 ソニー株式会社 Moving picture coding apparatus and moving picture coding control method

Similar Documents

Publication Publication Date Title
US8928804B2 (en) Managing encoder parameters for parallel transcoding
US9307258B2 (en) Parallel transcoding
US8976857B2 (en) Quality-based video compression
JP5788995B2 (en) Dynamic video switching
DE602004012540D1 (en) VIDEO CODIER AND VIDEO CODING METHOD
WO2006067374A8 (en) Rate control with buffer underflow prevention
JP2007520948A5 (en)
US8798162B2 (en) Encoding method, decoding method, encoder, and decoder
WO2012048141A3 (en) Switching between hardware acceleration and software execution of a video decoding process depending on video complexity and quality of service
TW200836510A (en) Method and system for switching elementary streams on a decoder with zero delay
RU2017123542A (en) METHOD OF ENCODING, METHOD OF DECODING, DEVICE FOR ENCODING, DEVICE FOR DECODING AND DEVICE FOR ENCODING AND DECODING
CN102413382B (en) Method for promoting smoothness of real-time video
US20090168900A1 (en) Encoding apparatus, encoding method, and program
JP2009147827A5 (en)
TW201206199A (en) Video encoding control method and apparatus
US10116952B2 (en) Bitstream decoding method and bitstream decoding circuit
JP2010527482A5 (en)
CN103024394A (en) Video file editing method and device
US20090052869A1 (en) Multiplexing method preventing overflow of audio decoder buffer
JP2009094644A5 (en)
CN104301805B (en) A kind of the method for estimating the length of the video and device
JP2009004897A (en) Motion picture encoder
JP2009171339A (en) Apparatus, method and program for encoding moving image
JP2008177874A5 (en)
JP2013115573A (en) Video content generation method for multistage fast playback